public class StaticImportConstantFix extends StaticImportMemberFix<PsiField,PsiJavaCodeReferenceElement>
myRef
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
protected StaticImportMethodQuestionAction<PsiField> |
createQuestionAction(java.util.List<? extends PsiField> methodsToImport,
Project project,
Editor editor) |
protected java.lang.String |
getBaseText() |
protected PsiElement |
getElement() |
protected java.lang.String |
getMemberPresentableText(PsiField field) |
protected java.util.List<PsiField> |
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
protected java.lang.String getBaseText()
getBaseText
in class StaticImportMemberFix<PsiField,PsiJavaCodeReferenceElement>
protected java.lang.String getMemberPresentableText(PsiField field)
getMemberPresentableText
in class StaticImportMemberFix<PsiField,PsiJavaCodeReferenceElement>
protected java.util.List<PsiField> getMembersToImport(boolean applicableOnly, StaticMembersProcessor.SearchMode searchMode)
getMembersToImport
in class StaticImportMemberFix<PsiField,PsiJavaCodeReferenceElement>
protected StaticImportMethodQuestionAction<PsiField> createQuestionAction(java.util.List<? extends PsiField> methodsToImport, Project project, Editor editor)
createQuestionAction
in class StaticImportMemberFix<PsiField,PsiJavaCodeReferenceElement>
protected PsiElement getElement()
getElement
in class StaticImportMemberFix<PsiField,PsiJavaCodeReferenceElement>
protected PsiElement getQualifierExpression()
getQualifierExpression
in class StaticImportMemberFix<PsiField,PsiJavaCodeReferenceElement>
protected PsiElement resolveRef()
resolveRef
in class StaticImportMemberFix<PsiField,PsiJavaCodeReferenceElement>
protected boolean toAddStaticImports()
toAddStaticImports
in class StaticImportMemberFix<PsiField,PsiJavaCodeReferenceElement>