public class NonCodeUsageInfo extends MoveRenameUsageInfo
Modifier and Type | Field and Description |
---|---|
java.lang.String |
newText |
EMPTY_ARRAY, isNonCodeUsage, myDynamicUsage
Modifier and Type | Method and Description |
---|---|
static NonCodeUsageInfo |
create(PsiFile file,
int startOffset,
int endOffset,
PsiElement referencedElement,
java.lang.String newText) |
PsiReference |
getReference() |
NonCodeUsageInfo |
replaceElement(PsiElement newElement) |
getReferencedElement, getUpToDateReferencedElement
compareToByStartOffset, copy, equals, getElement, getFile, getNavigationOffset, getNavigationRange, getProject, getPsiFileRange, getRangeInElement, getSegment, getSmartPointer, getTooltipText, getVirtualFile, hashCode, isDynamicUsage, isFileOrBinary, isNonCodeUsage, isValid, isWritable, setDynamicUsage, toString
public static NonCodeUsageInfo create(PsiFile file, int startOffset, int endOffset, PsiElement referencedElement, java.lang.String newText)
public PsiReference getReference()
getReference
in class MoveRenameUsageInfo
public NonCodeUsageInfo replaceElement(PsiElement newElement)