public class SafeDeleteReferenceSimpleDeleteUsageInfo extends SafeDeleteReferenceUsageInfo
mySafeDelete
EMPTY_ARRAY, isNonCodeUsage, myDynamicUsage
Constructor and Description |
---|
SafeDeleteReferenceSimpleDeleteUsageInfo(PsiElement element,
PsiElement referencedElement,
boolean isSafeDelete) |
SafeDeleteReferenceSimpleDeleteUsageInfo(PsiElement element,
PsiElement referencedElement,
int startOffset,
int endOffset,
boolean isNonCodeUsage,
boolean isSafeDelete) |
Modifier and Type | Method and Description |
---|---|
void |
deleteElement() |
isSafeDelete, 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 SafeDeleteReferenceSimpleDeleteUsageInfo(PsiElement element, PsiElement referencedElement, boolean isSafeDelete)
public SafeDeleteReferenceSimpleDeleteUsageInfo(PsiElement element, PsiElement referencedElement, int startOffset, int endOffset, boolean isNonCodeUsage, boolean isSafeDelete)
public void deleteElement() throws IncorrectOperationException
deleteElement
in class SafeDeleteReferenceUsageInfo
IncorrectOperationException