Package org.intellij.grammar.intention
Class BnfFlipChoiceIntention
java.lang.Object
org.intellij.grammar.intention.BnfFlipChoiceIntention
- All Implemented Interfaces:
com.intellij.codeInsight.intention.FileModifier,com.intellij.codeInsight.intention.IntentionAction,com.intellij.openapi.application.WriteActionAware
public class BnfFlipChoiceIntention
extends Object
implements com.intellij.codeInsight.intention.IntentionAction
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.intellij.codeInsight.intention.FileModifier
com.intellij.codeInsight.intention.FileModifier.SafeFieldForPreview, com.intellij.codeInsight.intention.FileModifier.SafeTypeForPreview -
Field Summary
Fields inherited from interface com.intellij.codeInsight.intention.IntentionAction
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull String@NotNull StringgetText()voidinvoke(@NotNull com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, com.intellij.psi.PsiFile file) booleanisAvailable(@NotNull com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, com.intellij.psi.PsiFile file) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.intellij.codeInsight.intention.FileModifier
getElementToMakeWritable, getFileModifierForPreviewMethods inherited from interface com.intellij.codeInsight.intention.IntentionAction
generatePreview, invokeForPreview
-
Constructor Details
-
BnfFlipChoiceIntention
public BnfFlipChoiceIntention()
-
-
Method Details
-
getText
- Specified by:
getTextin interfacecom.intellij.codeInsight.intention.IntentionAction
-
getFamilyName
- Specified by:
getFamilyNamein interfacecom.intellij.codeInsight.intention.IntentionAction
-
isAvailable
public boolean isAvailable(@NotNull @NotNull com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, com.intellij.psi.PsiFile file) - Specified by:
isAvailablein interfacecom.intellij.codeInsight.intention.IntentionAction
-
invoke
public void invoke(@NotNull @NotNull com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, com.intellij.psi.PsiFile file) throws com.intellij.util.IncorrectOperationException - Specified by:
invokein interfacecom.intellij.codeInsight.intention.IntentionAction- Throws:
com.intellij.util.IncorrectOperationException
-
startInWriteAction
public boolean startInWriteAction()- Specified by:
startInWriteActionin interfacecom.intellij.codeInsight.intention.IntentionAction- Specified by:
startInWriteActionin interfacecom.intellij.openapi.application.WriteActionAware
-