public class InspectionProfileWrapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Key<java.util.function.Function<InspectionProfileImpl,InspectionProfileWrapper>> |
CUSTOMIZATION_KEY
Key that is assumed to hold strategy that customizes
InspectionProfileWrapper object to use. |
protected InspectionProfileImpl |
myProfile |
Constructor and Description |
---|
InspectionProfileWrapper(InspectionProfileImpl profile) |
Modifier and Type | Method and Description |
---|---|
static void |
checkInspectionsDuplicates(InspectionToolWrapper [] toolWrappers) |
HighlightDisplayLevel |
getErrorLevel(HighlightDisplayKey inspectionToolKey,
PsiElement element) |
InspectionProfileImpl |
getInspectionProfile() |
InspectionToolWrapper |
getInspectionTool(java.lang.String shortName,
PsiElement element) |
boolean |
isToolEnabled(HighlightDisplayKey key,
PsiElement element) |
public static final Key<java.util.function.Function<InspectionProfileImpl,InspectionProfileWrapper>> CUSTOMIZATION_KEY
InspectionProfileWrapper
object to use.
I.e. given strategy (if any) receives InspectionProfileWrapper
object that is going to be used so far and returns
InspectionProfileWrapper
object that should be used later.protected final InspectionProfileImpl myProfile
public InspectionProfileWrapper(InspectionProfileImpl profile)
public static void checkInspectionsDuplicates(InspectionToolWrapper [] toolWrappers)
public boolean isToolEnabled(HighlightDisplayKey key, PsiElement element)
public HighlightDisplayLevel getErrorLevel(HighlightDisplayKey inspectionToolKey, PsiElement element)
public InspectionToolWrapper getInspectionTool(java.lang.String shortName, PsiElement element)
public InspectionProfileImpl getInspectionProfile()