Class BnfSuspiciousTokenInspection

java.lang.Object
com.intellij.codeInspection.InspectionProfileEntry
com.intellij.codeInspection.LocalInspectionTool
org.intellij.grammar.inspection.BnfSuspiciousTokenInspection
All Implemented Interfaces:
com.intellij.codeInspection.BatchSuppressableTool

public class BnfSuspiciousTokenInspection extends com.intellij.codeInspection.LocalInspectionTool
Created by IntelliJ IDEA. Date: 8/25/11 Time: 7:06 PM
  • Field Summary

    Fields inherited from class com.intellij.codeInspection.LocalInspectionTool

    EMPTY_ARRAY, VALID_ID_PATTERN
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull com.intellij.psi.PsiElementVisitor
    buildVisitor(@NotNull com.intellij.codeInspection.ProblemsHolder holder, boolean isOnTheFly)
     
    static boolean
     

    Methods inherited from class com.intellij.codeInspection.LocalInspectionTool

    buildVisitor, checkFile, getAlternativeID, getID, getProblemElement, getSuppressId, inspectionFinished, inspectionStarted, isValidID, processFile, runForWholeFile

    Methods inherited from class com.intellij.codeInspection.InspectionProfileEntry

    cleanup, createOptionsPanel, getBatchSuppressActions, getDefaultLevel, getDescriptionFileName, getDisplayName, getEditorAttributesKey, getGeneralGroupName, getGroupDisplayName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getShortName, getStaticDescription, getSuppressors, initialize, isEnabledByDefault, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions, writeSettings

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BnfSuspiciousTokenInspection

      public BnfSuspiciousTokenInspection()
  • Method Details

    • buildVisitor

      @NotNull public @NotNull com.intellij.psi.PsiElementVisitor buildVisitor(@NotNull @NotNull com.intellij.codeInspection.ProblemsHolder holder, boolean isOnTheFly)
      Overrides:
      buildVisitor in class com.intellij.codeInspection.LocalInspectionTool
    • isTokenTextSuspicious

      public static boolean isTokenTextSuspicious(String text)