org.jetbrains.kotlin.psi
Interface KtDeclaration

All Superinterfaces:
com.intellij.openapi.util.Iconable, KtAnnotated, KtExpression, KtModifierListOwner, com.intellij.psi.PsiElement, com.intellij.openapi.util.UserDataHolder
All Known Subinterfaces:
KtCallableDeclaration, KtDeclarationWithBody, KtFunction, KtNamedDeclaration, KtTypeParameterListOwner, KtVariableDeclaration
All Known Implementing Classes:
KtDeclarationImpl, KtDeclarationStub, KtDestructuringDeclaration, KtDestructuringDeclarationEntry, KtFunctionLiteral, KtFunctionNotStubbed, KtNamedFunction, KtParameter, KtProperty, KtPropertyAccessor, KtScript, KtTypeParameter, KtTypeParameterListOwnerStub

public interface KtDeclaration
extends KtExpression, KtModifierListOwner


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
static com.intellij.util.ArrayFactory<KtDeclaration> ARRAY_FACTORY
           
static KtDeclaration[] 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
 KDoc 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
 

Field Detail

EMPTY_ARRAY

static final KtDeclaration[] EMPTY_ARRAY

ARRAY_FACTORY

static final com.intellij.util.ArrayFactory<KtDeclaration> ARRAY_FACTORY
Method Detail

getDocComment

@Nullable
KDoc getDocComment()