public abstract class InspectionManagerBase extends InspectionManager
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
myCurrentProfileName |
CANT_BE_STATIC_EXTENSION
Constructor and Description |
---|
InspectionManagerBase(Project project) |
Modifier and Type | Method and Description |
---|---|
ProblemDescriptor |
createProblemDescriptor(PsiElement startElement,
PsiElement endElement,
java.lang.String descriptionTemplate,
ProblemHighlightType highlightType,
boolean onTheFly,
LocalQuickFix... fixes) |
ProblemDescriptor |
createProblemDescriptor(PsiElement startElement,
PsiElement endElement,
java.lang.String descriptionTemplate,
ProblemHighlightType highlightType,
LocalQuickFix... fixes)
Deprecated.
|
ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
boolean onTheFly,
LocalQuickFix[] fixes,
ProblemHighlightType highlightType) |
ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
boolean showTooltip,
ProblemHighlightType highlightType,
boolean onTheFly,
LocalQuickFix... fixes) |
ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix[] fixes,
ProblemHighlightType highlightType)
Deprecated.
|
ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix[] fixes,
ProblemHighlightType highlightType,
boolean isAfterEndOfLine)
Deprecated.
|
ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix [] fixes,
ProblemHighlightType highlightType,
boolean onTheFly,
boolean isAfterEndOfLine) |
ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix fix,
ProblemHighlightType highlightType)
Deprecated.
|
ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix fix,
ProblemHighlightType highlightType,
boolean onTheFly)
Factory method for ProblemDescriptor.
|
ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
TextRange rangeInElement,
java.lang.String descriptionTemplate,
ProblemHighlightType highlightType,
boolean onTheFly,
LocalQuickFix... fixes) |
ProblemDescriptor |
createProblemDescriptor(PsiElement psiElement,
TextRange rangeInElement,
java.lang.String descriptionTemplate,
ProblemHighlightType highlightType,
LocalQuickFix... fixes)
Deprecated.
|
ModuleProblemDescriptor |
createProblemDescriptor(java.lang.String descriptionTemplate,
Module module,
QuickFix... fixes) |
CommonProblemDescriptor |
createProblemDescriptor(java.lang.String descriptionTemplate,
QuickFix... fixes) |
java.lang.String |
getCurrentProfile() |
Project |
getProject() |
createNewGlobalContext, createNewGlobalContext, getInstance
public InspectionManagerBase(Project project)
public Project getProject()
getProject
in class InspectionManager
public CommonProblemDescriptor createProblemDescriptor(java.lang.String descriptionTemplate, QuickFix... fixes)
createProblemDescriptor
in class InspectionManager
public ModuleProblemDescriptor createProblemDescriptor(java.lang.String descriptionTemplate, Module module, QuickFix... fixes)
createProblemDescriptor
in class InspectionManager
public ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix fix, ProblemHighlightType highlightType, boolean onTheFly)
InspectionManager
createProblemDescriptor
in class InspectionManager
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 ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, boolean onTheFly, LocalQuickFix[] fixes, ProblemHighlightType highlightType)
createProblemDescriptor
in class InspectionManager
public ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix [] fixes, ProblemHighlightType highlightType, boolean onTheFly, boolean isAfterEndOfLine)
createProblemDescriptor
in class InspectionManager
public ProblemDescriptor createProblemDescriptor(PsiElement startElement, PsiElement endElement, java.lang.String descriptionTemplate, ProblemHighlightType highlightType, boolean onTheFly, LocalQuickFix... fixes)
createProblemDescriptor
in class InspectionManager
public ProblemDescriptor createProblemDescriptor(PsiElement psiElement, TextRange rangeInElement, java.lang.String descriptionTemplate, ProblemHighlightType highlightType, boolean onTheFly, LocalQuickFix... fixes)
createProblemDescriptor
in class InspectionManager
public ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, boolean showTooltip, ProblemHighlightType highlightType, boolean onTheFly, LocalQuickFix... fixes)
createProblemDescriptor
in class InspectionManager
@Deprecated public ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix fix, ProblemHighlightType highlightType)
createProblemDescriptor
in class InspectionManager
@Deprecated public ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix[] fixes, ProblemHighlightType highlightType)
createProblemDescriptor
in class InspectionManager
@Deprecated public ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix[] fixes, ProblemHighlightType highlightType, boolean isAfterEndOfLine)
createProblemDescriptor
in class InspectionManager
@Deprecated public ProblemDescriptor createProblemDescriptor(PsiElement startElement, PsiElement endElement, java.lang.String descriptionTemplate, ProblemHighlightType highlightType, LocalQuickFix... fixes)
createProblemDescriptor
in class InspectionManager
@Deprecated public ProblemDescriptor createProblemDescriptor(PsiElement psiElement, TextRange rangeInElement, java.lang.String descriptionTemplate, ProblemHighlightType highlightType, LocalQuickFix... fixes)
createProblemDescriptor
in class InspectionManager
public java.lang.String getCurrentProfile()