public abstract class InspectionValidator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ProjectExtensionPointName<InspectionValidator> |
EP_NAME |
Modifier | Constructor and Description |
---|---|
protected |
InspectionValidator(java.lang.String description,
java.lang.String progressIndicatorText) |
protected |
InspectionValidator(java.lang.String description,
java.lang.String progressIndicatorText,
java.lang.Class<? extends InspectionToolProvider> providerClass) |
protected |
InspectionValidator(java.lang.String description,
java.lang.String progressIndicatorText,
java.lang.Class<? extends LocalInspectionTool>... inspectionToolClasses)
Deprecated.
Provide inspection classes via
getInspectionToolClasses(CompileContext) instead. |
protected |
InspectionValidator(java.lang.String description,
java.lang.String progressIndicatorText,
InspectionToolProvider provider) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ProblemDescriptor,HighlightDisplayLevel> |
checkAdditionally(PsiFile file) |
CompilerMessageCategory |
getCategoryByHighlightDisplayLevel(HighlightDisplayLevel severity,
VirtualFile virtualFile,
CompileContext context) |
java.util.Collection<? extends PsiElement> |
getDependencies(PsiFile psiFile) |
java.lang.String |
getDescription() |
abstract java.util.Collection<VirtualFile> |
getFilesToProcess(Project project,
CompileContext context) |
java.lang.Class<? extends LocalInspectionTool> [] |
getInspectionToolClasses(CompileContext context) |
java.lang.String |
getProgressIndicatorText() |
abstract boolean |
isAvailableOnScope(CompileScope scope) |
public static final ProjectExtensionPointName<InspectionValidator> EP_NAME
protected InspectionValidator(java.lang.String description, java.lang.String progressIndicatorText)
@Deprecated @SafeVarargs protected InspectionValidator(java.lang.String description, java.lang.String progressIndicatorText, java.lang.Class<? extends LocalInspectionTool>... inspectionToolClasses)
getInspectionToolClasses(CompileContext)
instead.protected InspectionValidator(java.lang.String description, java.lang.String progressIndicatorText, InspectionToolProvider provider)
protected InspectionValidator(java.lang.String description, java.lang.String progressIndicatorText, java.lang.Class<? extends InspectionToolProvider> providerClass) throws java.lang.IllegalAccessException, java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.InstantiationException
public abstract boolean isAvailableOnScope(CompileScope scope)
public abstract java.util.Collection<VirtualFile> getFilesToProcess(Project project, CompileContext context)
public java.util.Collection<? extends PsiElement> getDependencies(PsiFile psiFile)
public java.lang.Class<? extends LocalInspectionTool> [] getInspectionToolClasses(CompileContext context)
public final java.lang.String getDescription()
public final java.lang.String getProgressIndicatorText()
public CompilerMessageCategory getCategoryByHighlightDisplayLevel(HighlightDisplayLevel severity, VirtualFile virtualFile, CompileContext context)
public java.util.Map<ProblemDescriptor,HighlightDisplayLevel> checkAdditionally(PsiFile file)