org.jetbrains.kotlin.psi
Class KtLambdaExpression

java.lang.Object
  extended by com.intellij.openapi.util.UserDataHolderBase
      extended by com.intellij.psi.impl.ElementBase
          extended by com.intellij.psi.impl.source.tree.TreeElement
              extended by com.intellij.psi.impl.source.tree.CompositeElement
                  extended by com.intellij.psi.impl.source.tree.LazyParseableElement
                      extended by com.intellij.psi.impl.source.tree.LazyParseablePsiElement
                          extended by org.jetbrains.kotlin.psi.KtLambdaExpression
All Implemented Interfaces:
com.intellij.lang.ASTNode, com.intellij.navigation.NavigationItem, com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.openapi.util.UserDataHolderEx, com.intellij.pom.Navigatable, com.intellij.psi.PsiElement, java.lang.Cloneable, KtExpression

public class KtLambdaExpression
extends com.intellij.psi.impl.source.tree.LazyParseablePsiElement
implements KtExpression


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 class com.intellij.psi.impl.source.tree.TreeElement
EMPTY_ARRAY
 
Fields inherited from class com.intellij.psi.impl.ElementBase
FLAGS_LOCKED, ICON_PLACEHOLDER
 
Fields inherited from interface org.jetbrains.kotlin.psi.KtExpression
ARRAY_FACTORY, EMPTY_ARRAY
 
Fields inherited from interface com.intellij.psi.PsiElement
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
KtLambdaExpression(java.lang.CharSequence text)
           
 
Method Summary
<R,D> R
accept(KtVisitor<R,D> visitor, D data)
           
 void accept(com.intellij.psi.PsiElementVisitor visitor)
           
<D> void
acceptChildren(KtVisitor<java.lang.Void,D> visitor, D data)
           
 KtElement asElement()
           
 KtBlockExpression getBodyExpression()
           
 KtFile getContainingKtFile()
           
 KtFunctionLiteral getFunctionLiteral()
           
 com.intellij.lang.ASTNode getLeftCurlyBrace()
           
 KtElement getPsiOrParent()
           
 com.intellij.lang.ASTNode getRightCurlyBrace()
           
 java.util.List<KtParameter> getValueParameters()
           
 boolean hasDeclaredReturnType()
           
 java.lang.String toString()
           
 
Methods inherited from class com.intellij.psi.impl.source.tree.LazyParseablePsiElement
acceptChildren, add, addAfter, addBefore, addRange, addRangeAfter, addRangeBefore, canNavigate, canNavigateToSource, checkAdd, checkDelete, clone, copy, delete, deleteChildRange, findChildByClass, findChildrenByClass, findElementAt, findReferenceAt, getChildren, getContainingFile, getContext, getFirstChild, getLanguage, getLastChild, getName, getNavigationElement, getNextSibling, getNode, getOriginalElement, getParent, getPresentation, getPrevSibling, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, navigate, processDeclarations, replace
 
Methods inherited from class com.intellij.psi.impl.source.tree.LazyParseableElement
clearCaches, copyTo, getChars, getFirstChildNode, getLastChildNode, getNotCachedLength, getText, getTextLength, hc, isParsed, rawAddChildrenWithoutNotifications, setParsingAllowed, textMatches
 
Methods inherited from class com.intellij.psi.impl.source.tree.CompositeElement
acceptTree, addChild, addChild, addChildren, addInternal, addLeaf, clearPsi, countChildren, createPsiNoLock, deleteChildInternal, findChildByRole, findChildByRoleAsPsiElement, findChildByType, findChildByType, findChildByType, findChildByType, findLeafElementAt, findPsiChildByType, findPsiChildByType, getCachedLength, getCachedPsi, getChildren, getChildrenAsPsiElements, getChildrenAsPsiElements, getChildRole, getChildRole, getModificationCount, getPsi, getPsi, rawAddChildren, rawFirstChild, rawLastChild, rawRemoveAllChildren, removeAllChildren, removeChild, removeRange, replaceAllChildrenToChildrenOf, replaceChild, replaceChildInternal, setPsi, subtreeChanged, textContains, textToCharArray
 
Methods inherited from class com.intellij.psi.impl.source.tree.TreeElement
copyElement, equals, getElementType, getStartOffset, getStartOffsetInParent, getTextOffset, getTextRange, getTreeNext, getTreeParent, getTreePrev, invalidate, onInvalidated, rawInsertAfterMe, rawInsertBeforeMe, rawRemove, rawRemoveUpTo, rawRemoveUpToLast, rawReplaceWithList, textMatches, textMatches, textMatches
 
Methods inherited from class com.intellij.psi.impl.ElementBase
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
 
Methods inherited from class com.intellij.openapi.util.UserDataHolderBase
changeUserMap, clearUserData, copyCopyableDataTo, copyUserDataTo, getCopyableUserData, getUserData, getUserDataString, getUserMap, isUserDataEmpty, putCopyableUserData, putUserData, putUserDataIfAbsent, replace, setUserMap
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.intellij.psi.PsiElement
getCopyableUserData, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, putCopyableUserData, textContains, textMatches, textMatches, textToCharArray
 
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.lang.ASTNode
getCopyableUserData, putCopyableUserData
 

Constructor Detail

KtLambdaExpression

public KtLambdaExpression(java.lang.CharSequence text)
Method Detail

accept

public <R,D> R accept(@NotNull
                      KtVisitor<R,D> visitor,
                      D data)
Specified by:
accept in interface KtExpression

getFunctionLiteral

@NotNull
public KtFunctionLiteral getFunctionLiteral()

getValueParameters

@NotNull
public java.util.List<KtParameter> getValueParameters()

getBodyExpression

@Nullable
public KtBlockExpression getBodyExpression()

hasDeclaredReturnType

public boolean hasDeclaredReturnType()

asElement

@NotNull
public KtElement asElement()

getLeftCurlyBrace

@NotNull
public com.intellij.lang.ASTNode getLeftCurlyBrace()

getRightCurlyBrace

@Nullable
public com.intellij.lang.ASTNode getRightCurlyBrace()

getContainingKtFile

@NotNull
public KtFile getContainingKtFile()

acceptChildren

public <D> void acceptChildren(@NotNull
                               KtVisitor<java.lang.Void,D> visitor,
                               D data)

accept

public final void accept(@NotNull
                         com.intellij.psi.PsiElementVisitor visitor)
Specified by:
accept in interface com.intellij.psi.PsiElement
Overrides:
accept in class com.intellij.psi.impl.source.tree.LazyParseablePsiElement

toString

public java.lang.String toString()
Specified by:
toString in interface com.intellij.psi.PsiElement
Overrides:
toString in class com.intellij.psi.impl.source.tree.LazyParseablePsiElement

getPsiOrParent

@NotNull
public KtElement getPsiOrParent()