public class ManipulatableTarget extends DelegatePsiTarget implements PsiDeclaredTarget, PomRenameableTarget<java.lang.Object>
EMPTY_ARRAY
Constructor and Description |
---|
ManipulatableTarget(PsiElement element) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName() |
TextRange |
getNameIdentifierRange() |
boolean |
isWritable() |
java.lang.Object |
setName(java.lang.String newName) |
canNavigate, canNavigateToSource, equals, getNavigationElement, getTextOffset, hashCode, isValid, navigate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getNavigationElement
canNavigate, canNavigateToSource, navigate
public ManipulatableTarget(PsiElement element)
public TextRange getNameIdentifierRange()
getNameIdentifierRange
in interface PsiDeclaredTarget
PsiTarget.getNavigationElement()
resultpublic boolean isWritable()
isWritable
in interface PomRenameableTarget<java.lang.Object>
public java.lang.Object setName(java.lang.String newName)
setName
in interface PomRenameableTarget<java.lang.Object>
newName
- new namepublic java.lang.String getName()
getName
in interface PomNamedTarget