Class CreateRuleFromTokenFix

  • All Implemented Interfaces:
    com.intellij.codeInsight.intention.FileModifier, com.intellij.codeInspection.LocalQuickFix, com.intellij.codeInspection.QuickFix<com.intellij.codeInspection.ProblemDescriptor>, com.intellij.openapi.application.WriteActionAware

    public class CreateRuleFromTokenFix
    extends java.lang.Object
    implements com.intellij.codeInspection.LocalQuickFix
    Created by IntelliJ IDEA. Date: 8/25/11 Time: 7:45 PM
    • 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.codeInspection.LocalQuickFix

        EMPTY_ARRAY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void applyFix​(@NotNull com.intellij.openapi.project.Project project, @NotNull com.intellij.codeInspection.ProblemDescriptor descriptor)  
      @NotNull java.lang.String getFamilyName()  
      @NotNull java.lang.String getName()  
      • 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.codeInspection.LocalQuickFix

        availableInBatchMode
      • Methods inherited from interface com.intellij.openapi.application.WriteActionAware

        startInWriteAction
    • Constructor Detail

      • CreateRuleFromTokenFix

        public CreateRuleFromTokenFix​(java.lang.String name)
    • Method Detail

      • getName

        @NotNull
        public @NotNull java.lang.String getName()
        Specified by:
        getName in interface com.intellij.codeInspection.QuickFix<com.intellij.codeInspection.ProblemDescriptor>
      • getFamilyName

        @NotNull
        public @NotNull java.lang.String getFamilyName()
        Specified by:
        getFamilyName in interface com.intellij.codeInspection.QuickFix<com.intellij.codeInspection.ProblemDescriptor>
      • applyFix

        public void applyFix​(@NotNull
                             @NotNull com.intellij.openapi.project.Project project,
                             @NotNull
                             @NotNull com.intellij.codeInspection.ProblemDescriptor descriptor)
        Specified by:
        applyFix in interface com.intellij.codeInspection.QuickFix<com.intellij.codeInspection.ProblemDescriptor>