public class JetMultiDeclarationEntry extends JetElementImpl implements JetVariableDeclaration
Constructor and Description |
---|
JetMultiDeclarationEntry(com.intellij.lang.ASTNode node) |
Modifier and Type | Method and Description |
---|---|
<R,D> R |
accept(JetVisitor<R,D> visitor,
D data) |
void |
accept(JetVisitorVoid visitor) |
protected JetExpression |
findExpressionUnder(JetNodeType type) |
JetExpression |
getInitializer() |
JetModifierList |
getModifierList() |
java.lang.String |
getName()
Deprecated.
|
Name |
getNameAsName()
Deprecated.
|
Name |
getNameAsSafeName()
Deprecated.
|
com.intellij.psi.PsiElement |
getNameIdentifier()
Deprecated.
|
int |
getTextOffset()
Deprecated.
|
JetTypeReference |
getTypeRef() |
com.intellij.lang.ASTNode |
getValOrVarNode() |
boolean |
hasModifier(JetToken modifier) |
boolean |
isVar() |
com.intellij.psi.PsiElement |
setName(java.lang.String name)
Deprecated.
|
accept, acceptChildren, getLanguage, toString
add, addAfter, addBefore, addInternal, addRange, addRangeAfter, addRangeBefore, checkAdd, checkDelete, copy, delete, deleteChildInternal, deleteChildRange, findChildByFilter, findChildByType, findChildByType, findChildrenByType, findChildrenByType, findChildrenByType, findChildrenByType, findElementAt, findLastChildByType, findNotNullChildByFilter, findNotNullChildByType, findNotNullChildByType, getChildren, getCopyableUserData, getFirstChild, getLastChild, getManager, getNextSibling, getPrevSibling, getStartOffsetInParent, getText, getTextLength, getTextRange, putCopyableUserData, replace, replaceChildInternal, subtreeChanged, textContains, textToCharArray
acceptChildren, canNavigate, canNavigateToSource, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContainingFile, getContext, getNavigationElement, getOriginalElement, getPresentation, getProject, getReference, getReferences, getResolveScope, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, navigate, notNullChild, processDeclarations, textMatches, textMatches
buildRowIcon, computeBaseIcon, createLayeredIcon, getAdjustedBaseIcon, getBaseIcon, getElementIcon, getIcon, iconWithVisibilityIfNeeded, isNativeFileType, isVisibilitySupported, overlayIcons, registerIconLayer, transformFlags
clearUserData, clone, copyCopyableDataTo, copyUserDataTo, getUserData, getUserDataString, isUserDataEmpty, putUserData, putUserDataIfAbsent, replace
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNameAsSafeName
acceptChildren
canNavigate, canNavigateToSource, navigate
getModifierList, hasModifier
getNameAsName
public JetMultiDeclarationEntry(@NotNull com.intellij.lang.ASTNode node)
public JetTypeReference getTypeRef()
getTypeRef
in interface JetVariableDeclaration
public void accept(@NotNull JetVisitorVoid visitor)
accept
in interface JetElement
accept
in interface JetExpression
public <R,D> R accept(@NotNull JetVisitor<R,D> visitor, D data)
accept
in interface JetElement
accept
in interface JetExpression
public boolean isVar()
isVar
in interface JetVariableDeclaration
@Nullable public JetExpression getInitializer()
getInitializer
in interface JetWithExpressionInitializer
public com.intellij.lang.ASTNode getValOrVarNode()
getValOrVarNode
in interface JetVariableDeclaration
public java.lang.String getName()
getName
in interface com.intellij.navigation.NavigationItem
getName
in interface com.intellij.psi.PsiNamedElement
getName
in class com.intellij.psi.impl.PsiElementBase
public Name getNameAsName()
getNameAsName
in interface JetNamed
@NotNull public Name getNameAsSafeName()
getNameAsSafeName
in interface JetNamedDeclaration
public com.intellij.psi.PsiElement getNameIdentifier()
getNameIdentifier
in interface com.intellij.psi.PsiNameIdentifierOwner
public com.intellij.psi.PsiElement setName(@NonNls@NotNull java.lang.String name) throws com.intellij.util.IncorrectOperationException
setName
in interface com.intellij.psi.PsiNamedElement
com.intellij.util.IncorrectOperationException
public int getTextOffset()
getTextOffset
in interface com.intellij.psi.PsiElement
getTextOffset
in class com.intellij.extapi.psi.ASTDelegatePsiElement
@Nullable public JetModifierList getModifierList()
getModifierList
in interface JetModifierListOwner
public boolean hasModifier(JetToken modifier)
hasModifier
in interface JetModifierListOwner
protected JetExpression findExpressionUnder(JetNodeType type)