public abstract class SafeDeleteReferenceUsageInfo extends SafeDeleteUsageInfo implements SafeDeleteCustomUsageInfo
Modifier and Type | Field and Description |
---|---|
protected boolean |
mySafeDelete |
EMPTY_ARRAY, isNonCodeUsage, myDynamicUsage
Constructor and Description |
---|
SafeDeleteReferenceUsageInfo(PsiElement element,
PsiElement referencedElement,
boolean safeDelete) |
SafeDeleteReferenceUsageInfo(PsiElement element,
PsiElement referencedElement,
int startOffset,
int endOffset,
boolean isNonCodeUsage,
boolean isSafeDelete) |
Modifier and Type | Method and Description |
---|---|
abstract void |
deleteElement() |
boolean |
isSafeDelete() |
void |
performRefactoring() |
getReferencedElement
compareToByStartOffset, copy, equals, getElement, getFile, getNavigationOffset, getNavigationRange, getProject, getPsiFileRange, getRangeInElement, getReference, getSegment, getSmartPointer, getTooltipText, getVirtualFile, hashCode, isDynamicUsage, isFileOrBinary, isNonCodeUsage, isValid, isWritable, setDynamicUsage, toString
public SafeDeleteReferenceUsageInfo(PsiElement element, PsiElement referencedElement, int startOffset, int endOffset, boolean isNonCodeUsage, boolean isSafeDelete)
public SafeDeleteReferenceUsageInfo(PsiElement element, PsiElement referencedElement, boolean safeDelete)
public boolean isSafeDelete()
public abstract void deleteElement() throws IncorrectOperationException
IncorrectOperationException
public void performRefactoring() throws IncorrectOperationException
performRefactoring
in interface SafeDeleteCustomUsageInfo
IncorrectOperationException