org.jetbrains.kotlin.psi
Class KtMultiDeclarationEntry
java.lang.Object
KtExpressionImpl
org.jetbrains.kotlin.psi.KtMultiDeclarationEntry
- All Implemented Interfaces:
- com.intellij.openapi.util.Iconable, com.intellij.openapi.util.UserDataHolder, com.intellij.psi.PsiElement, com.intellij.psi.PsiNamedElement, com.intellij.psi.PsiNameIdentifierOwner, KtAnnotated, KtCallableDeclaration, KtDeclaration, KtExpression, KtModifierListOwner, KtNamed, KtNamedDeclaration, KtStatementExpression, KtTypeParameterListOwner, KtValVarKeywordOwner, KtVariableDeclaration, KtWithExpressionInitializer
public class KtMultiDeclarationEntry
- extends KtExpressionImpl
- implements KtVariableDeclaration
Nested classes/interfaces inherited from interface com.intellij.openapi.util.Iconable |
com.intellij.openapi.util.Iconable.IconFlags, com.intellij.openapi.util.Iconable.LastComputedIcon |
Fields inherited from interface com.intellij.openapi.util.Iconable |
ICON_FLAG_CLOSED, ICON_FLAG_OPEN, ICON_FLAG_READ_STATUS, ICON_FLAG_VISIBILITY |
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.PsiNameIdentifierOwner |
getNameIdentifier |
Methods inherited from interface com.intellij.psi.PsiNamedElement |
getName, setName |
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, 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 |
KtMultiDeclarationEntry
public KtMultiDeclarationEntry(@NotNull
com.intellij.lang.ASTNode node)
getTypeReference
public KtTypeReference getTypeReference()
- Specified by:
getTypeReference
in interface KtCallableDeclaration
setTypeReference
@Nullable
public KtTypeReference setTypeReference(@Nullable
KtTypeReference typeRef)
- Specified by:
setTypeReference
in interface KtCallableDeclaration
getColon
@Nullable
public com.intellij.psi.PsiElement getColon()
- Specified by:
getColon
in interface KtCallableDeclaration
getValueParameterList
@Nullable
public KtParameterList getValueParameterList()
- Specified by:
getValueParameterList
in interface KtCallableDeclaration
getValueParameters
@NotNull
public java.util.List<KtParameter> getValueParameters()
- Specified by:
getValueParameters
in interface KtCallableDeclaration
getReceiverTypeReference
@Nullable
public KtTypeReference getReceiverTypeReference()
- Specified by:
getReceiverTypeReference
in interface KtCallableDeclaration
getTypeParameterList
@Nullable
public KtTypeParameterList getTypeParameterList()
- Specified by:
getTypeParameterList
in interface KtTypeParameterListOwner
getTypeConstraintList
@Nullable
public KtTypeConstraintList getTypeConstraintList()
- Specified by:
getTypeConstraintList
in interface KtTypeParameterListOwner
getTypeConstraints
@NotNull
public java.util.List<KtTypeConstraint> getTypeConstraints()
- Specified by:
getTypeConstraints
in interface KtTypeParameterListOwner
getTypeParameters
@NotNull
public java.util.List<KtTypeParameter> getTypeParameters()
- Specified by:
getTypeParameters
in interface KtTypeParameterListOwner
accept
public <R,D> R accept(@NotNull
KtVisitor<R,D> visitor,
D data)
- Specified by:
accept
in interface KtExpression
isVar
public boolean isVar()
- Specified by:
isVar
in interface KtVariableDeclaration
getInitializer
@Nullable
public KtExpression getInitializer()
- Specified by:
getInitializer
in interface KtWithExpressionInitializer
hasInitializer
public boolean hasInitializer()
- Specified by:
hasInitializer
in interface KtWithExpressionInitializer
getValOrVarKeyword
public com.intellij.psi.PsiElement getValOrVarKeyword()
- Specified by:
getValOrVarKeyword
in interface KtValVarKeywordOwner
getFqName
@Nullable
public FqName getFqName()
- Specified by:
getFqName
in interface KtNamedDeclaration
getUseScope
@NotNull
public com.intellij.psi.search.SearchScope getUseScope()
- Specified by:
getUseScope
in interface com.intellij.psi.PsiElement
getName
public java.lang.String getName()
- Deprecated.
- Specified by:
getName
in interface com.intellij.psi.PsiNamedElement
getNameAsName
public Name getNameAsName()
- Deprecated.
- Specified by:
getNameAsName
in interface KtNamed
getNameAsSafeName
@NotNull
public Name getNameAsSafeName()
- Deprecated.
- Specified by:
getNameAsSafeName
in interface KtNamedDeclaration
getNameIdentifier
public com.intellij.psi.PsiElement getNameIdentifier()
- Deprecated.
- Specified by:
getNameIdentifier
in interface com.intellij.psi.PsiNameIdentifierOwner
setName
public com.intellij.psi.PsiElement setName(@NonNls@NotNull
java.lang.String name)
throws com.intellij.util.IncorrectOperationException
- Deprecated.
- Specified by:
setName
in interface com.intellij.psi.PsiNamedElement
- Throws:
com.intellij.util.IncorrectOperationException
getTextOffset
public int getTextOffset()
- Deprecated.
- Specified by:
getTextOffset
in interface com.intellij.psi.PsiElement
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