public abstract class InspectionManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<Condition<PsiElement>> |
CANT_BE_STATIC_EXTENSION |
Constructor and Description |
---|
InspectionManager() |
Modifier and Type | Method and Description |
---|---|
abstract GlobalInspectionContext |
createNewGlobalContext() |
abstract GlobalInspectionContext |
createNewGlobalContext(boolean reuse)
Deprecated.
use
createNewGlobalContext() instead |
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement startElement,
PsiElement endElement,
java.lang.String descriptionTemplate,
ProblemHighlightType highlightType,
boolean onTheFly,
LocalQuickFix... fixes) |
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement startElement,
PsiElement endElement,
java.lang.String descriptionTemplate,
ProblemHighlightType highlightType,
LocalQuickFix... fixes)
|
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
boolean onTheFly,
LocalQuickFix[] fixes,
ProblemHighlightType highlightType) |
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
boolean showTooltip,
ProblemHighlightType highlightType,
boolean onTheFly,
LocalQuickFix... fixes) |
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix[] fixes,
ProblemHighlightType highlightType)
Deprecated.
|
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix[] fixes,
ProblemHighlightType highlightType,
boolean isAfterEndOfLine)
|
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix [] fixes,
ProblemHighlightType highlightType,
boolean onTheFly,
boolean isAfterEndOfLine) |
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix fix,
ProblemHighlightType highlightType)
Deprecated.
|
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix fix,
ProblemHighlightType highlightType,
boolean onTheFly)
Factory method for ProblemDescriptor.
|
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
TextRange rangeInElement,
java.lang.String descriptionTemplate,
ProblemHighlightType highlightType,
boolean onTheFly,
LocalQuickFix... fixes) |
abstract ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
TextRange rangeInElement,
java.lang.String descriptionTemplate,
ProblemHighlightType highlightType,
LocalQuickFix... fixes)
|
abstract ModuleProblemDescriptor |
createProblemDescriptor(java.lang.String descriptionTemplate,
Module module,
QuickFix... fixes) |
abstract CommonProblemDescriptor |
createProblemDescriptor(java.lang.String descriptionTemplate,
QuickFix... fixes) |
static InspectionManager |
getInstance(Project project) |
abstract Project |
getProject() |
public static final ExtensionPointName<Condition<PsiElement>> CANT_BE_STATIC_EXTENSION
public static InspectionManager getInstance(Project project)
public abstract Project getProject()
public abstract CommonProblemDescriptor createProblemDescriptor(java.lang.String descriptionTemplate, QuickFix... fixes)
public abstract ModuleProblemDescriptor createProblemDescriptor(java.lang.String descriptionTemplate, Module module, QuickFix... fixes)
public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix fix, ProblemHighlightType highlightType, boolean onTheFly)
psiElement
- problem is reported againstdescriptionTemplate
- problem message. Use #ref
for a link to problem piece of code and #loc
for location in source code (see CommonProblemDescriptor.getDescriptionTemplate()
).fix
- should be null if no fix is provided.onTheFly
- for local tools on batch runpublic abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, boolean onTheFly, LocalQuickFix[] fixes, ProblemHighlightType highlightType)
public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix [] fixes, ProblemHighlightType highlightType, boolean onTheFly, boolean isAfterEndOfLine)
public abstract ProblemDescriptor createProblemDescriptor(PsiElement startElement, PsiElement endElement, java.lang.String descriptionTemplate, ProblemHighlightType highlightType, boolean onTheFly, LocalQuickFix... fixes)
public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement, TextRange rangeInElement, java.lang.String descriptionTemplate, ProblemHighlightType highlightType, boolean onTheFly, LocalQuickFix... fixes)
public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, boolean showTooltip, ProblemHighlightType highlightType, boolean onTheFly, LocalQuickFix... fixes)
@Deprecated public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix fix, ProblemHighlightType highlightType)
createProblemDescriptor(PsiElement, String, boolean, LocalQuickFix[], ProblemHighlightType)
instead@Deprecated public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix[] fixes, ProblemHighlightType highlightType)
createProblemDescriptor(PsiElement, String, boolean, LocalQuickFix[], ProblemHighlightType)
instead@Deprecated public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix[] fixes, ProblemHighlightType highlightType, boolean isAfterEndOfLine)
@Deprecated public abstract ProblemDescriptor createProblemDescriptor(PsiElement startElement, PsiElement endElement, java.lang.String descriptionTemplate, ProblemHighlightType highlightType, LocalQuickFix... fixes)
@Deprecated public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement, TextRange rangeInElement, java.lang.String descriptionTemplate, ProblemHighlightType highlightType, LocalQuickFix... fixes)
@Deprecated public abstract GlobalInspectionContext createNewGlobalContext(boolean reuse)
createNewGlobalContext()
insteadpublic abstract GlobalInspectionContext createNewGlobalContext()