public abstract class MethodThrowsFix extends LocalQuickFixOnPsiElement
Modifier and Type | Class and Description |
---|---|
static class |
MethodThrowsFix.Add |
static class |
MethodThrowsFix.Remove |
static class |
MethodThrowsFix.RemoveFirst |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
myThrowsCanonicalText |
LOG, myEndElement, myStartElement
EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
MethodThrowsFix(PsiMethod method,
PsiClassType exceptionType,
boolean showClassName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFamilyName() |
java.lang.String |
getText() |
protected abstract java.lang.String |
getTextMessageKey() |
boolean |
isAvailable(Project project,
PsiFile file,
PsiElement startElement,
PsiElement endElement) |
applyFix, applyFix, getEndElement, getName, getStartElement, invoke, isAvailable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
startInWriteAction
protected MethodThrowsFix(PsiMethod method, PsiClassType exceptionType, boolean showClassName)
protected abstract java.lang.String getTextMessageKey()
public final java.lang.String getText()
getText
in class LocalQuickFixOnPsiElement
public final java.lang.String getFamilyName()
QuickFix.getName()
.public final boolean isAvailable(Project project, PsiFile file, PsiElement startElement, PsiElement endElement)
isAvailable
in class LocalQuickFixOnPsiElement