com.intellij.codeInspection
Class InspectionManager
java.lang.Object
com.intellij.codeInspection.InspectionManager
public abstract class InspectionManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InspectionManager
public InspectionManager()
getInstance
public static InspectionManager getInstance(Project project)
createProblemDescriptor
public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix fix,
ProblemHighlightType highlightType)
- Factory method for ProblemDescriptor. Should be called from LocalInspectionTool.checkXXX() methods.
- Parameters:
psiElement - problem is reported againstdescriptionTemplate - problem message. Use #ref for a link to problem piece of code and #loc for location in source code.fix - should be null if no fix is provided.
- Returns:
createProblemDescriptor
public abstract ProblemDescriptor createProblemDescriptor(PsiElement psiElement,
java.lang.String descriptionTemplate,
LocalQuickFix[] fixes,
ProblemHighlightType highlightType)
getProject
public abstract Project getProject()