Package org.intellij.grammar.intention
Class BnfConvertOptExpressionIntention
java.lang.Object
com.intellij.codeInsight.intention.impl.BaseIntentionAction
org.intellij.grammar.intention.BnfConvertOptExpressionIntention
- All Implemented Interfaces:
com.intellij.codeInsight.intention.FileModifier,com.intellij.codeInsight.intention.IntentionAction,com.intellij.openapi.application.WriteActionAware
public class BnfConvertOptExpressionIntention
extends com.intellij.codeInsight.intention.impl.BaseIntentionAction
-
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@Nls(capitalization=Sentence) @NotNull Stringvoidinvoke(@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) Methods inherited from class com.intellij.codeInsight.intention.impl.BaseIntentionAction
canModify, getText, setText, startInWriteAction, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
-
BnfConvertOptExpressionIntention
public BnfConvertOptExpressionIntention()
-
-
Method Details
-
getFamilyName
@Nls(capitalization=Sentence) @NotNull public @Nls(capitalization=Sentence) @NotNull String getFamilyName() -
isAvailable
public boolean isAvailable(@NotNull @NotNull com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, com.intellij.psi.PsiFile file) -
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 - Throws:
com.intellij.util.IncorrectOperationException
-