org.jetbrains.kotlin.psi
Class JetCallExpression
java.lang.Object
JetExpressionImpl
org.jetbrains.kotlin.psi.JetCallExpression
- All Implemented Interfaces:
- JetCallElement, JetExpression, JetReferenceExpression
public class JetCallExpression
- extends JetExpressionImpl
- implements JetCallElement, JetReferenceExpression
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JetCallExpression
public JetCallExpression(@NotNull
com.intellij.lang.ASTNode node)
accept
public <R,D> R accept(@NotNull
JetVisitor<R,D> visitor,
D data)
- Specified by:
accept
in interface JetExpression
getCalleeExpression
@Nullable
public JetExpression getCalleeExpression()
- Specified by:
getCalleeExpression
in interface JetCallElement
getValueArgumentList
@Nullable
public JetValueArgumentList getValueArgumentList()
- Specified by:
getValueArgumentList
in interface JetCallElement
getTypeArgumentList
@Nullable
public JetTypeArgumentList getTypeArgumentList()
- Specified by:
getTypeArgumentList
in interface JetCallElement
getFunctionLiteralArguments
@NotNull
public java.util.List<JetFunctionLiteralArgument> getFunctionLiteralArguments()
- 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:
getFunctionLiteralArguments
in interface JetCallElement
getValueArguments
@NotNull
public java.util.List<JetValueArgument> getValueArguments()
- Specified by:
getValueArguments
in interface JetCallElement
getTypeArguments
@NotNull
public java.util.List<JetTypeProjection> getTypeArguments()
- Specified by:
getTypeArguments
in interface JetCallElement