org.jetbrains.kotlin.psi
Interface KtModifierListOwner

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

public interface KtModifierListOwner
extends com.intellij.psi.PsiElement, KtAnnotated


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 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
 
Method Summary
 KtAnnotationEntry addAnnotationEntry(KtAnnotationEntry annotationEntry)
           
 void addModifier(KtModifierKeywordToken modifier)
           
 KtModifierList getModifierList()
           
 boolean hasModifier(KtModifierKeywordToken modifier)
           
 void removeModifier(KtModifierKeywordToken modifier)
           
 
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

getModifierList

@Nullable
KtModifierList getModifierList()

hasModifier

boolean hasModifier(@NotNull
                    KtModifierKeywordToken modifier)

addModifier

void addModifier(@NotNull
                 KtModifierKeywordToken modifier)

removeModifier

void removeModifier(@NotNull
                    KtModifierKeywordToken modifier)

addAnnotationEntry

@NotNull
KtAnnotationEntry addAnnotationEntry(@NotNull
                                             KtAnnotationEntry annotationEntry)