public class MergePackageAccessibilityStatementsFix extends MergeModuleStatementsFix<PsiPackageAccessibilityStatement>
myEndElement, myStartElement
EMPTY_ARRAY
EMPTY_ARRAY
Modifier | Constructor and Description |
---|---|
protected |
MergePackageAccessibilityStatementsFix(PsiJavaModule javaModule,
java.lang.String packageName,
PsiPackageAccessibilityStatement.Role role) |
Modifier and Type | Method and Description |
---|---|
static MergeModuleStatementsFix<?> |
createFix(PsiPackageAccessibilityStatement statement) |
java.lang.String |
getFamilyName()
Returns the name of the family of intentions.
|
protected java.lang.String |
getReplacementText(java.util.List<? extends PsiPackageAccessibilityStatement> statementsToMerge) |
protected java.util.List<PsiPackageAccessibilityStatement> |
getStatementsToMerge(PsiJavaModule javaModule) |
java.lang.String |
getText()
Returns text to be shown in the list of available actions, if this action
is available.
|
createFix, invoke, isAvailable, joinUniqueNames
invoke, invoke, isAvailable, isAvailable, startInWriteAction
applyFix, applyFix, getEndElement, getName, getStartElement, isAvailable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementToMakeWritable
protected MergePackageAccessibilityStatementsFix(PsiJavaModule javaModule, java.lang.String packageName, PsiPackageAccessibilityStatement.Role role)
public java.lang.String getText()
IntentionAction
getText
in interface IntentionAction
getText
in class LocalQuickFixOnPsiElement
IntentionAction.isAvailable(Project, Editor, PsiFile)
public java.lang.String getFamilyName()
IntentionAction
IntentionManager.registerIntentionAndMetaData(IntentionAction, String...)
protected java.lang.String getReplacementText(java.util.List<? extends PsiPackageAccessibilityStatement> statementsToMerge)
getReplacementText
in class MergeModuleStatementsFix<PsiPackageAccessibilityStatement>
protected java.util.List<PsiPackageAccessibilityStatement> getStatementsToMerge(PsiJavaModule javaModule)
getStatementsToMerge
in class MergeModuleStatementsFix<PsiPackageAccessibilityStatement>
public static MergeModuleStatementsFix<?> createFix(PsiPackageAccessibilityStatement statement)