org.jetbrains.kotlin.psi
Class KtFunctionLiteral

java.lang.Object
  extended by KtExpressionImpl
      extended by org.jetbrains.kotlin.psi.KtDeclarationImpl
          extended by org.jetbrains.kotlin.psi.KtFunctionNotStubbed
              extended by org.jetbrains.kotlin.psi.KtFunctionLiteral
All Implemented Interfaces:
com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.psi.PsiElement, com.intellij.psi.PsiNamedElement, com.intellij.psi.PsiNameIdentifierOwner, KtAnnotated, KtCallableDeclaration, KtDeclaration, KtDeclarationWithBody, KtExpression, KtFunction, KtModifierListOwner, KtNamed, KtNamedDeclaration, KtStatementExpression, KtTypeParameterListOwner

public class KtFunctionLiteral
extends KtFunctionNotStubbed


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.KtDeclaration
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
 
Constructor Summary
KtFunctionLiteral(com.intellij.lang.ASTNode node)
           
 
Method Summary
 com.intellij.psi.PsiElement getArrow()
           
 KtBlockExpression getBodyExpression()
           
 com.intellij.psi.PsiElement getEqualsToken()
           
 FqName getFqName()
           
 com.intellij.psi.PsiElement getLBrace()
           
 java.lang.String getName()
           
 Name getNameAsName()
          Deprecated.  
 Name getNameAsSafeName()
          Deprecated.  
 com.intellij.psi.PsiElement getNameIdentifier()
           
 com.intellij.psi.PsiElement getRBrace()
           
 int getTextOffset()
          Deprecated.  
 KtTypeConstraintList getTypeConstraintList()
          Deprecated.  
 java.util.List<KtTypeConstraint> getTypeConstraints()
          Deprecated.  
 KtTypeParameterList getTypeParameterList()
          Deprecated.  
 java.util.List<KtTypeParameter> getTypeParameters()
          Deprecated.  
 boolean hasBlockBody()
           
 boolean hasBody()
           
 boolean hasParameterSpecification()
           
 com.intellij.psi.PsiElement setName(java.lang.String name)
          Deprecated.  
 
Methods inherited from class org.jetbrains.kotlin.psi.KtFunctionNotStubbed
getColon, getReceiverTypeReference, getTypeReference, getValueParameterList, getValueParameters, hasDeclaredReturnType, isLocal, setTypeReference
 
Methods inherited from class org.jetbrains.kotlin.psi.KtDeclarationImpl
addAnnotationEntry, addModifier, getAnnotationEntries, getAnnotations, getDocComment, getModifierList, hasModifier, removeModifier
 
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.KtTypeParameterListOwner
getTypeConstraintList, getTypeConstraints, getTypeParameterList, getTypeParameters
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtNamedDeclaration
getNameAsSafeName
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtDeclaration
getDocComment
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtExpression
accept
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtModifierListOwner
addAnnotationEntry, addModifier, getModifierList, hasModifier, removeModifier
 
Methods inherited from interface org.jetbrains.kotlin.psi.KtAnnotated
getAnnotationEntries, getAnnotations
 
Methods inherited from interface com.intellij.psi.PsiNamedElement
setName
 
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 org.jetbrains.kotlin.psi.KtNamed
getNameAsName
 

Constructor Detail

KtFunctionLiteral

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

hasBlockBody

public boolean hasBlockBody()

getName

public java.lang.String getName()
Specified by:
getName in interface com.intellij.psi.PsiNamedElement
Specified by:
getName in interface KtDeclarationWithBody

getNameIdentifier

public com.intellij.psi.PsiElement getNameIdentifier()
Specified by:
getNameIdentifier in interface com.intellij.psi.PsiNameIdentifierOwner

hasParameterSpecification

public boolean hasParameterSpecification()

getBodyExpression

public KtBlockExpression getBodyExpression()

getEqualsToken

@Nullable
public com.intellij.psi.PsiElement getEqualsToken()

getLBrace

@NotNull
public com.intellij.psi.PsiElement getLBrace()

getRBrace

@Nullable
public com.intellij.psi.PsiElement getRBrace()

getArrow

@Nullable
public com.intellij.psi.PsiElement getArrow()

getFqName

@Nullable
public FqName getFqName()

hasBody

public boolean hasBody()

getTypeParameterList

@Nullable
public KtTypeParameterList getTypeParameterList()
Deprecated. 
Specified by:
getTypeParameterList in interface KtTypeParameterListOwner

getTypeConstraintList

@Nullable
public KtTypeConstraintList getTypeConstraintList()
Deprecated. 
Specified by:
getTypeConstraintList in interface KtTypeParameterListOwner

getTypeConstraints

@NotNull
public java.util.List<KtTypeConstraint> getTypeConstraints()
Deprecated. 
Specified by:
getTypeConstraints in interface KtTypeParameterListOwner

getTypeParameters

@NotNull
public java.util.List<KtTypeParameter> getTypeParameters()
Deprecated. 
Specified by:
getTypeParameters in interface KtTypeParameterListOwner

getNameAsName

public Name getNameAsName()
Deprecated. 
Specified by:
getNameAsName in interface KtNamed

getNameAsSafeName

@NotNull
public Name getNameAsSafeName()
Deprecated. 
Specified by:
getNameAsSafeName in interface KtNamedDeclaration

setName

public com.intellij.psi.PsiElement setName(@NonNls@NotNull
                                           java.lang.String name)
                                    throws com.intellij.util.IncorrectOperationException
Deprecated. 
Specified by:
setName in interface com.intellij.psi.PsiNamedElement
Throws:
com.intellij.util.IncorrectOperationException

getTextOffset

public int getTextOffset()
Deprecated. 
Specified by:
getTextOffset in interface com.intellij.psi.PsiElement