org.jetbrains.kotlin.psi
Class KtMultiDeclaration

java.lang.Object
  extended by KtExpressionImpl
      extended by org.jetbrains.kotlin.psi.KtMultiDeclaration
All Implemented Interfaces:
com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.psi.PsiElement, KtAnnotated, KtDeclaration, KtExpression, KtModifierListOwner, KtValVarKeywordOwner

public class KtMultiDeclaration
extends KtExpressionImpl
implements KtValVarKeywordOwner


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
 
Fields inherited from interface org.jetbrains.kotlin.psi.KtDeclaration
ARRAY_FACTORY, EMPTY_ARRAY
 
Constructor Summary
KtMultiDeclaration(com.intellij.lang.ASTNode node)
           
 
Method Summary
<R,D> R
accept(KtVisitor<R,D> visitor, D data)
           
 KtAnnotationEntry addAnnotationEntry(KtAnnotationEntry annotationEntry)
           
 void addModifier(KtModifierKeywordToken modifier)
           
 java.util.List<KtAnnotationEntry> getAnnotationEntries()
           
 java.util.List<KtAnnotation> getAnnotations()
           
 KDoc getDocComment()
           
 java.util.List<KtMultiDeclarationEntry> getEntries()
           
 KtExpression getInitializer()
           
 com.intellij.psi.PsiElement getLPar()
           
 KtModifierList getModifierList()
           
 com.intellij.psi.PsiElement getRPar()
           
 com.intellij.psi.PsiElement getValOrVarKeyword()
           
 boolean hasModifier(KtModifierKeywordToken modifier)
           
 void removeModifier(KtModifierKeywordToken modifier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

KtMultiDeclaration

public KtMultiDeclaration(@NotNull
                          com.intellij.lang.ASTNode node)
Method Detail

accept

public <R,D> R accept(@NotNull
                      KtVisitor<R,D> visitor,
                      D data)
Specified by:
accept in interface KtExpression

getEntries

@NotNull
public java.util.List<KtMultiDeclarationEntry> getEntries()

getInitializer

@Nullable
public KtExpression getInitializer()

getValOrVarKeyword

@Nullable
public com.intellij.psi.PsiElement getValOrVarKeyword()
Specified by:
getValOrVarKeyword in interface KtValVarKeywordOwner

getRPar

@Nullable
public com.intellij.psi.PsiElement getRPar()

getLPar

@Nullable
public com.intellij.psi.PsiElement getLPar()

getModifierList

@Nullable
public KtModifierList getModifierList()
Specified by:
getModifierList in interface KtModifierListOwner

hasModifier

public boolean hasModifier(@NotNull
                           KtModifierKeywordToken modifier)
Specified by:
hasModifier in interface KtModifierListOwner

addModifier

public void addModifier(@NotNull
                        KtModifierKeywordToken modifier)
Specified by:
addModifier in interface KtModifierListOwner

removeModifier

public void removeModifier(@NotNull
                           KtModifierKeywordToken modifier)
Specified by:
removeModifier in interface KtModifierListOwner

addAnnotationEntry

@NotNull
public KtAnnotationEntry addAnnotationEntry(@NotNull
                                                    KtAnnotationEntry annotationEntry)
Specified by:
addAnnotationEntry in interface KtModifierListOwner

getAnnotationEntries

@NotNull
public java.util.List<KtAnnotationEntry> getAnnotationEntries()
Specified by:
getAnnotationEntries in interface KtAnnotated

getAnnotations

@NotNull
public java.util.List<KtAnnotation> getAnnotations()
Specified by:
getAnnotations in interface KtAnnotated

getDocComment

@Nullable
public KDoc getDocComment()
Specified by:
getDocComment in interface KtDeclaration