public class StaticImportMethodFix extends StaticImportMemberFix<PsiMethod,PsiMethodCallExpression>
myRef
EMPTY_ARRAY
Constructor and Description |
---|
StaticImportMethodFix(PsiFile file,
PsiMethodCallExpression methodCallExpression) |
Modifier and Type | Method and Description |
---|---|
protected StaticImportMethodQuestionAction<PsiMethod> |
createQuestionAction(java.util.List<? extends PsiMethod> methodsToImport,
Project project,
Editor editor) |
protected java.lang.String |
getBaseText() |
protected PsiElement |
getElement() |
protected java.lang.String |
getMemberPresentableText(PsiMethod method) |
protected java.util.List<PsiMethod> |
getMembersToImport(boolean applicableOnly,
StaticMembersProcessor.SearchMode searchMode) |
protected PsiElement |
getQualifierExpression() |
protected PsiElement |
resolveRef() |
protected boolean |
toAddStaticImports() |
getFamilyName, getText, invoke, isAvailable, isExcluded, showHint, startInWriteAction
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fixSilently
getElementToMakeWritable
public StaticImportMethodFix(PsiFile file, PsiMethodCallExpression methodCallExpression)
protected java.lang.String getBaseText()
getBaseText
in class StaticImportMemberFix<PsiMethod,PsiMethodCallExpression>
protected java.lang.String getMemberPresentableText(PsiMethod method)
getMemberPresentableText
in class StaticImportMemberFix<PsiMethod,PsiMethodCallExpression>
protected java.util.List<PsiMethod> getMembersToImport(boolean applicableOnly, StaticMembersProcessor.SearchMode searchMode)
getMembersToImport
in class StaticImportMemberFix<PsiMethod,PsiMethodCallExpression>
protected boolean toAddStaticImports()
toAddStaticImports
in class StaticImportMemberFix<PsiMethod,PsiMethodCallExpression>
protected StaticImportMethodQuestionAction<PsiMethod> createQuestionAction(java.util.List<? extends PsiMethod> methodsToImport, Project project, Editor editor)
createQuestionAction
in class StaticImportMemberFix<PsiMethod,PsiMethodCallExpression>
protected PsiElement getElement()
getElement
in class StaticImportMemberFix<PsiMethod,PsiMethodCallExpression>
protected PsiElement getQualifierExpression()
getQualifierExpression
in class StaticImportMemberFix<PsiMethod,PsiMethodCallExpression>
protected PsiElement resolveRef()
resolveRef
in class StaticImportMemberFix<PsiMethod,PsiMethodCallExpression>