org.jetbrains.kotlin.psi
Interface KtDeclarationWithBody

All Superinterfaces:
com.intellij.openapi.util.Iconable, KtAnnotated, KtDeclaration, KtExpression, KtModifierListOwner, com.intellij.psi.PsiElement, com.intellij.openapi.util.UserDataHolder
All Known Subinterfaces:
KtFunction
All Known Implementing Classes:
KtFunctionLiteral, KtFunctionNotStubbed, KtNamedFunction, KtPropertyAccessor

public interface KtDeclarationWithBody
extends KtDeclaration


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
 
Method Summary
 KtExpression getBodyExpression()
           
 com.intellij.psi.PsiElement getEqualsToken()
           
 java.lang.String getName()
           
 java.util.List<KtParameter> getValueParameters()
           
 boolean hasBlockBody()
           
 boolean hasBody()
           
 boolean hasDeclaredReturnType()
           
 
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 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.KtAnnotated
getAnnotationEntries, getAnnotations
 

Method Detail

getBodyExpression

@Nullable
KtExpression 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<KtParameter> getValueParameters()