org.jetbrains.kotlin.psi
Interface JetDeclarationWithBody

All Superinterfaces:
com.intellij.openapi.util.Iconable, JetAnnotated, JetDeclaration, JetExpression, JetModifierListOwner, com.intellij.psi.PsiElement, com.intellij.openapi.util.UserDataHolder
All Known Subinterfaces:
JetFunction
All Known Implementing Classes:
JetFunctionLiteral, JetFunctionNotStubbed, JetNamedFunction, JetPropertyAccessor

public interface JetDeclarationWithBody
extends JetDeclaration


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.JetDeclaration
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
 
Method Summary
 JetExpression getBodyExpression()
           
 com.intellij.psi.PsiElement getEqualsToken()
           
 java.lang.String getName()
           
 java.util.List<JetParameter> getValueParameters()
           
 boolean hasBlockBody()
           
 boolean hasBody()
           
 boolean hasDeclaredReturnType()
           
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetDeclaration
getDocComment
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetExpression
accept
 
Methods inherited from interface org.jetbrains.kotlin.psi.JetModifierListOwner
addAnnotationEntry, addModifier, getModifierList, hasModifier, removeModifier
 
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.JetAnnotated
getAnnotationEntries, getAnnotations
 

Method Detail

getBodyExpression

@Nullable
JetExpression getBodyExpression()

getEqualsToken

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

getName

@Nullable
java.lang.String getName()

hasBlockBody

boolean hasBlockBody()

hasBody

boolean hasBody()

hasDeclaredReturnType

boolean hasDeclaredReturnType()

getValueParameters

@NotNull
java.util.List<JetParameter> getValueParameters()