com.intellij.codeInspection
Class InspectionManager

java.lang.Object
  extended by com.intellij.codeInspection.InspectionManager

public abstract class InspectionManager
extends java.lang.Object


Constructor Summary
InspectionManager()
           
 
Method Summary
abstract  ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix[] fixes, ProblemHighlightType highlightType)
           
abstract  ProblemDescriptor createProblemDescriptor(PsiElement psiElement, java.lang.String descriptionTemplate, LocalQuickFix fix, ProblemHighlightType highlightType)
          Factory method for ProblemDescriptor.
static InspectionManager getInstance(Project project)
           
abstract  Project getProject()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InspectionManager

public InspectionManager()
Method Detail

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 against
descriptionTemplate - 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()