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

    Modifier and Type
    Method
    Description
    @NotNull String
     
    @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)
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

    • BnfFlipChoiceIntention

      public BnfFlipChoiceIntention()
  • Method Details

    • getText

      @NotNull public @NotNull String getText()
      Specified by:
      getText in interface com.intellij.codeInsight.intention.IntentionAction
    • getFamilyName

      @NotNull public @NotNull String getFamilyName()
      Specified by:
      getFamilyName in interface com.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:
      isAvailable in interface com.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:
      invoke in interface com.intellij.codeInsight.intention.IntentionAction
      Throws:
      com.intellij.util.IncorrectOperationException
    • startInWriteAction

      public boolean startInWriteAction()
      Specified by:
      startInWriteAction in interface com.intellij.codeInsight.intention.IntentionAction
      Specified by:
      startInWriteAction in interface com.intellij.openapi.application.WriteActionAware