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, myStartElementEMPTY_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, isAvailableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementToMakeWritablestartInWriteActionprotected MethodThrowsFix(PsiMethod method, PsiClassType exceptionType, boolean showClassName)
protected abstract java.lang.String getTextMessageKey()
public final java.lang.String getText()
getText in class LocalQuickFixOnPsiElementpublic final java.lang.String getFamilyName()
QuickFix.getName().public final boolean isAvailable(Project project, PsiFile file, PsiElement startElement, PsiElement endElement)
isAvailable in class LocalQuickFixOnPsiElement