Class BnfFlipChoiceIntention

  • All Implemented Interfaces:
    com.intellij.codeInsight.intention.FileModifier, com.intellij.codeInsight.intention.IntentionAction, com.intellij.openapi.application.WriteActionAware

    public class BnfFlipChoiceIntention
    extends java.lang.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
    • Field Summary

      • Fields inherited from interface com.intellij.codeInsight.intention.IntentionAction

        EMPTY_ARRAY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String getFamilyName()  
      @NotNull java.lang.String getText()  
      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 startInWriteAction()  
      • 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
    • Constructor Detail

      • BnfFlipChoiceIntention

        public BnfFlipChoiceIntention()
    • Method Detail

      • getText

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

        @NotNull
        public @NotNull java.lang.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