org.jetbrains.kotlin.psi
Class KtCallExpression
java.lang.Object
KtExpressionImpl
org.jetbrains.kotlin.psi.KtCallExpression
- All Implemented Interfaces:
- KtCallElement, KtExpression, KtReferenceExpression
public class KtCallExpression
- extends KtExpressionImpl
- implements KtCallElement, KtReferenceExpression
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KtCallExpression
public KtCallExpression(@NotNull
com.intellij.lang.ASTNode node)
accept
public <R,D> R accept(@NotNull
KtVisitor<R,D> visitor,
D data)
- Specified by:
accept
in interface KtExpression
getCalleeExpression
@Nullable
public KtExpression getCalleeExpression()
- Specified by:
getCalleeExpression
in interface KtCallElement
getValueArgumentList
@Nullable
public KtValueArgumentList getValueArgumentList()
- Specified by:
getValueArgumentList
in interface KtCallElement
getTypeArgumentList
@Nullable
public KtTypeArgumentList getTypeArgumentList()
- Specified by:
getTypeArgumentList
in interface KtCallElement
getLambdaArguments
@NotNull
public java.util.List<KtLambdaArgument> getLambdaArguments()
- Normally there should be only one (or zero) function literal arguments.
The returned value is a list for better handling of commonly made mistake of a function taking a lambda and returning another function.
Most of users can simply ignore lists of more than one element.
- Specified by:
getLambdaArguments
in interface KtCallElement
getValueArguments
@NotNull
public java.util.List<KtValueArgument> getValueArguments()
- Specified by:
getValueArguments
in interface KtCallElement
getTypeArguments
@NotNull
public java.util.List<KtTypeProjection> getTypeArguments()
- Specified by:
getTypeArguments
in interface KtCallElement