public class MergeProvidesStatementsFix extends MergeModuleStatementsFix<PsiProvidesStatement>
LOG, myEndElement, myStartElement
EMPTY_ARRAY
EMPTY_ARRAY
Modifier and Type | Method and Description |
---|---|
static MergeModuleStatementsFix<?> |
createFix(PsiProvidesStatement statement) |
java.lang.String |
getFamilyName()
Returns the name of the family of intentions.
|
protected java.lang.String |
getReplacementText(java.util.List<? extends PsiProvidesStatement> statementsToMerge) |
protected java.util.List<PsiProvidesStatement> |
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
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 PsiProvidesStatement> statementsToMerge)
getReplacementText
in class MergeModuleStatementsFix<PsiProvidesStatement>
protected java.util.List<PsiProvidesStatement> getStatementsToMerge(PsiJavaModule javaModule)
getStatementsToMerge
in class MergeModuleStatementsFix<PsiProvidesStatement>
public static MergeModuleStatementsFix<?> createFix(PsiProvidesStatement statement)