public class DomTarget extends DelegatePsiTarget implements PsiDeclaredTarget, PomRenameableTarget
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
DomElement |
getDomElement() |
java.lang.String |
getName() |
TextRange |
getNameIdentifierRange() |
static DomTarget |
getTarget(DomElement element) |
static DomTarget |
getTarget(DomElement element,
GenericDomValue nameElement) |
int |
hashCode() |
boolean |
isWritable() |
java.lang.Object |
setName(java.lang.String newName) |
canNavigate, canNavigateToSource, getNavigationElement, getTextOffset, isValid, navigate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getNavigationElement
canNavigate, canNavigateToSource, navigate
public static DomTarget getTarget(DomElement element)
public static DomTarget getTarget(DomElement element, GenericDomValue nameElement)
public TextRange getNameIdentifierRange()
getNameIdentifierRange
in interface PsiDeclaredTarget
PsiTarget.getNavigationElement()
resultpublic boolean isWritable()
isWritable
in interface PomRenameableTarget
public java.lang.Object setName(java.lang.String newName)
setName
in interface PomRenameableTarget
newName
- new namepublic java.lang.String getName()
getName
in interface PomNamedTarget
public boolean equals(java.lang.Object o)
equals
in class DelegatePsiTarget
public int hashCode()
hashCode
in class DelegatePsiTarget
public DomElement getDomElement()