public class JetNamespaceHeader extends JetReferenceExpression
Constructor and Description |
---|
JetNamespaceHeader(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) |
FqName |
getFqName() |
JetSimpleNameExpression |
getLastPartExpression() |
java.lang.String |
getName() |
Name |
getNameAsName() |
com.intellij.psi.PsiElement |
getNameIdentifier() |
FqName |
getParentFqName(JetReferenceExpression nameExpression) |
java.util.List<JetSimpleNameExpression> |
getParentNamespaceNames() |
java.lang.String |
getQualifiedName() |
com.intellij.psi.PsiReference |
getReference() |
com.intellij.psi.PsiReference[] |
getReferences() |
boolean |
isRoot() |
void |
subtreeChanged() |
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, getTextOffset, getTextRange, putCopyableUserData, replace, replaceChildInternal, textContains, textToCharArray
acceptChildren, canNavigate, canNavigateToSource, findChildByClass, findChildrenByClass, findNotNullChildByClass, findReferenceAt, getContainingFile, getContext, getNavigationElement, getOriginalElement, getPresentation, getProject, 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
acceptChildren
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, getResolveScope, getStartOffsetInParent, getText, getTextLength, getTextOffset, getTextRange, getUseScope, isEquivalentTo, isPhysical, isValid, isWritable, processDeclarations, putCopyableUserData, replace, textContains, textMatches, textMatches, textToCharArray, toString
public JetNamespaceHeader(@NotNull com.intellij.lang.ASTNode node)
@NotNull public java.util.List<JetSimpleNameExpression> getParentNamespaceNames()
@Nullable public JetSimpleNameExpression getLastPartExpression()
@NotNull public com.intellij.psi.PsiReference[] getReferences()
getReferences
in interface com.intellij.psi.PsiElement
getReferences
in class com.intellij.psi.impl.PsiElementBase
@Nullable public com.intellij.psi.PsiReference getReference()
getReference
in interface com.intellij.psi.PsiElement
getReference
in class com.intellij.psi.impl.PsiElementBase
@Nullable public com.intellij.psi.PsiElement getNameIdentifier()
@NotNull public java.lang.String getName()
getName
in interface com.intellij.navigation.NavigationItem
getName
in class com.intellij.psi.impl.PsiElementBase
@NotNull public Name getNameAsName()
public boolean isRoot()
@NotNull public FqName getParentFqName(JetReferenceExpression nameExpression)
@NotNull public java.lang.String getQualifiedName()
public void subtreeChanged()
subtreeChanged
in class com.intellij.extapi.psi.ASTDelegatePsiElement
public void accept(@NotNull JetVisitorVoid visitor)
accept
in interface JetElement
accept
in interface JetExpression
accept
in class JetElementImpl
public <R,D> R accept(@NotNull JetVisitor<R,D> visitor, D data)
accept
in interface JetElement
accept
in interface JetExpression
accept
in class JetElementImpl
protected JetExpression findExpressionUnder(JetNodeType type)