public class InspectionEngine
extends java.lang.Object
Constructor and Description |
---|
InspectionEngine() |
Modifier and Type | Method and Description |
---|---|
static void |
acceptElements(java.util.List<? extends PsiElement> elements,
PsiElementVisitor elementVisitor,
java.util.Set<java.lang.String> elementDialectIds,
java.util.Set<java.lang.String> dialectIdsSpecifiedForTool) |
static java.util.Set<java.lang.String> |
calcElementDialectIds(java.util.List<? extends PsiElement> elements) |
static java.util.Set<java.lang.String> |
calcElementDialectIds(java.util.List<? extends PsiElement> inside,
java.util.List<? extends PsiElement> outside) |
static PsiElementVisitor |
createVisitorAndAcceptElements(LocalInspectionTool tool,
ProblemsHolder holder,
boolean isOnTheFly,
LocalInspectionToolSession session,
java.util.List<? extends PsiElement> elements,
java.util.Set<java.lang.String> elementDialectIds,
java.util.Set<java.lang.String> dialectIdsSpecifiedForTool) |
static java.util.Set<java.lang.String> |
getDialectIdsSpecifiedForTool(LocalInspectionToolWrapper wrapper) |
static java.util.Map<LocalInspectionToolWrapper,java.util.Set<java.lang.String>> |
getToolsToSpecifiedLanguages(java.util.List<? extends LocalInspectionToolWrapper> toolWrappers) |
static java.util.Map<java.lang.String,java.util.List<ProblemDescriptor>> |
inspectEx(java.util.List<? extends LocalInspectionToolWrapper> toolWrappers,
PsiFile file,
InspectionManager iManager,
boolean isOnTheFly,
ProgressIndicator indicator) |
static java.util.List<ProblemDescriptor> |
runInspectionOnFile(PsiFile file,
InspectionToolWrapper toolWrapper,
GlobalInspectionContext inspectionContext) |
public static PsiElementVisitor createVisitorAndAcceptElements(LocalInspectionTool tool, ProblemsHolder holder, boolean isOnTheFly, LocalInspectionToolSession session, java.util.List<? extends PsiElement> elements, java.util.Set<java.lang.String> elementDialectIds, java.util.Set<java.lang.String> dialectIdsSpecifiedForTool)
public static void acceptElements(java.util.List<? extends PsiElement> elements, PsiElementVisitor elementVisitor, java.util.Set<java.lang.String> elementDialectIds, java.util.Set<java.lang.String> dialectIdsSpecifiedForTool)
public static java.util.Map<java.lang.String,java.util.List<ProblemDescriptor>> inspectEx(java.util.List<? extends LocalInspectionToolWrapper> toolWrappers, PsiFile file, InspectionManager iManager, boolean isOnTheFly, ProgressIndicator indicator)
public static java.util.List<ProblemDescriptor> runInspectionOnFile(PsiFile file, InspectionToolWrapper toolWrapper, GlobalInspectionContext inspectionContext)
public static java.util.Map<LocalInspectionToolWrapper,java.util.Set<java.lang.String>> getToolsToSpecifiedLanguages(java.util.List<? extends LocalInspectionToolWrapper> toolWrappers)
public static java.util.Set<java.lang.String> getDialectIdsSpecifiedForTool(LocalInspectionToolWrapper wrapper)
public static java.util.Set<java.lang.String> calcElementDialectIds(java.util.List<? extends PsiElement> inside, java.util.List<? extends PsiElement> outside)
public static java.util.Set<java.lang.String> calcElementDialectIds(java.util.List<? extends PsiElement> elements)