org.jetbrains.kotlin.psi
Class JetCallExpression

java.lang.Object
  extended by JetExpressionImpl
      extended by org.jetbrains.kotlin.psi.JetCallExpression
All Implemented Interfaces:
com.intellij.navigation.NavigationItem, com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.pom.Navigatable, com.intellij.psi.NavigatablePsiElement, com.intellij.psi.PsiElement, JetCallElement, JetElement, JetExpression, JetReferenceExpression

public class JetCallExpression
extends JetExpressionImpl
implements JetCallElement, JetReferenceExpression


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable
com.intellij.openapi.util.Iconable.IconFlags, com.intellij.openapi.util.Iconable.LastComputedIcon
 
Field Summary
 
Fields inherited from interface org.jetbrains.kotlin.psi.JetExpression
ARRAY_FACTORY, EMPTY_ARRAY
 
Fields inherited from interface com.intellij.openapi.util.Iconable
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY
 
Fields inherited from interface com.intellij.navigation.NavigationItem
EMPTY_NAVIGATION_ITEM_ARRAY
 
Constructor Summary
JetCallExpression(com.intellij.lang.ASTNode node)
           
 
Method Summary
<R,D> R
accept(JetVisitor<R,D> visitor, D data)
           
 JetExpression getCalleeExpression()
           
 java.util.List<JetFunctionLiteralArgument> getFunctionLiteralArguments()
          Normally there should be only one (or zero) function literal arguments.
 JetTypeArgumentList getTypeArgumentList()
           
 java.util.List<JetTypeProjection> getTypeArguments()
           
 JetValueArgumentList getValueArgumentList()
           
 java.util.List<JetValueArgument> getValueArguments()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetElement
acceptChildren, getContainingJetFile
 
Methods inherited from interface com.intellij.psi.PsiElement
accept, acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildRange, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getCopyableUserData, getFirstChild, getLanguage, getLastChild, getManager, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toString
 
Methods inherited from interface com.intellij.openapi.util.UserDataHolder
getUserData, putUserData
 
Methods inherited from interface com.intellij.openapi.util.Iconable
getIcon
 
Methods inherited from interface com.intellij.navigation.NavigationItem
getName, getPresentation
 
Methods inherited from interface com.intellij.pom.Navigatable
canNavigate, canNavigateToSource, navigate
 

Constructor Detail

JetCallExpression

public JetCallExpression(@NotNull
                         com.intellij.lang.ASTNode node)
Method Detail

accept

public <R,D> R accept(@NotNull
                      JetVisitor<R,D> visitor,
                      D data)
Specified by:
accept in interface JetElement
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