org.jetbrains.kotlin.psi
Interface JetModifierListOwner

All Superinterfaces:
com.intellij.openapi.util.Iconable, JetAnnotated, com.intellij.psi.PsiElement, com.intellij.openapi.util.UserDataHolder
All Known Subinterfaces:
JetCallableDeclaration, JetDeclaration, JetDeclarationWithBody, JetFunction, JetNamedDeclaration, JetTypeParameterListOwner, JetVariableDeclaration
All Known Implementing Classes:
JetClassInitializer, JetFunctionLiteral, JetFunctionNotStubbed, JetModifierListOwnerStub, JetMultiDeclaration, JetMultiDeclarationEntry, JetNamedFunction, JetPackageDirective, JetParameter, JetProperty, JetPropertyAccessor, JetScript, JetTypedef, JetTypeParameter, JetTypeParameterListOwnerStub, JetTypeProjection

public interface JetModifierListOwner
extends com.intellij.psi.PsiElement, JetAnnotated


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
 JetAnnotationEntry addAnnotationEntry(JetAnnotationEntry annotationEntry)
           
 void addModifier(JetModifierKeywordToken modifier)
           
 JetModifierList getModifierList()
           
 boolean hasModifier(JetModifierKeywordToken modifier)
           
 void removeModifier(JetModifierKeywordToken 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.JetAnnotated
getAnnotationEntries, getAnnotations
 

Method Detail

getModifierList

@Nullable
JetModifierList getModifierList()

hasModifier

boolean hasModifier(@NotNull
                    JetModifierKeywordToken modifier)

addModifier

void addModifier(@NotNull
                 JetModifierKeywordToken modifier)

removeModifier

void removeModifier(@NotNull
                    JetModifierKeywordToken modifier)

addAnnotationEntry

@NotNull
JetAnnotationEntry addAnnotationEntry(@NotNull
                                              JetAnnotationEntry annotationEntry)