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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nls(capitalization=Sentence) @NotNull String
     
    void
    invoke(@NotNull com.intellij.openapi.project.Project project, com.intellij.openapi.editor.Editor editor, com.intellij.psi.PsiFile file)
     
    boolean
    isAvailable(@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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.intellij.codeInsight.intention.FileModifier

    getElementToMakeWritable, getFileModifierForPreview

    Methods 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