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