public class InspectionEP extends LanguageExtensionPoint<InspectionProfileEntry>
LocalInspectionEP
Modifier and Type | Field and Description |
---|---|
boolean |
applyToDialects
Whether this inspection should be applied to dialects of specified language.
|
java.lang.String |
bundle
Message bundle, e.g.
|
boolean |
cleanupTool
If
true , the inspection can run as part of the code cleanup action. |
java.lang.String |
displayName
Non-localized display name used in UI (Settings|Editor|Inspections and "Inspection Results" tool window).
|
boolean |
enabledByDefault |
static ExtensionPointName<InspectionEP> |
GLOBAL_INSPECTION |
java.lang.String |
groupBundle
Message bundle, e.g.
|
java.lang.String |
groupDisplayName
Non-localized group display name used in UI (Settings|Editor|Inspections).
|
java.lang.String |
groupKey
Message key for
groupDisplayName . |
java.lang.String |
groupPath
Comma-delimited list of parent group names (excluding
groupName ) used in UI (Settings|Editor|Inspections), e.g. |
boolean |
hasStaticDescription
Whether inspection's description should use
InspectionProfileEntry.getStaticDescription() . |
boolean |
isInternal
Do not show internal inspections if IDE internal mode is off.
|
java.lang.String |
key
Message key for
displayName . |
java.lang.String |
level
Highlighting level for this inspection tool that is used in default settings, e.g.
|
java.lang.String |
presentation |
java.lang.String |
shortName
Usually generated automatically from FQN.
|
implementationClass, language
factoryArgument, factoryClass
Constructor and Description |
---|
InspectionEP() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDefaultDisplayName() |
java.lang.String |
getDefaultGroupDisplayName() |
HighlightDisplayLevel |
getDefaultLevel() |
java.lang.String |
getDefaultShortName() |
java.lang.String |
getDisplayName() |
java.lang.String |
getGroupDisplayName() |
java.lang.String |
getGroupKey() |
java.lang.String [] |
getGroupPath() |
java.lang.String |
getShortName() |
InspectionProfileEntry |
instantiateTool() |
java.lang.String |
toString() |
getImplementationClassName, getKey
createInstance
getInstance, getLoaderForClass, getPluginDescriptor, setPluginDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInstance
public static final ExtensionPointName<InspectionEP> GLOBAL_INSPECTION
GlobalInspectionTool
public java.lang.String shortName
Short name is used in two cases: \inspectionDescriptions\<short_name>.html
resource may contain short inspection
description to be shown in "Inspect Code..." dialog and also provide some file name convention when using offline
inspection or export to HTML function.
public java.lang.String key
displayName
.bundle
public java.lang.String bundle
"messages.InspectionsBundle"
.
If unspecified, plugin's <resource-bundle>
is used.key
public java.lang.String displayName
key
for I18N.public java.lang.String groupKey
groupDisplayName
.groupBundle
public java.lang.String groupBundle
"messages.InspectionsBundle"
.
If unspecified, will use bundle
, then plugin's <resource-bundle>
as fallback.groupKey
public java.lang.String groupDisplayName
groupKey
for I18N.public java.lang.String groupPath
groupName
) used in UI (Settings|Editor|Inspections), e.g. "Java,Java language level migration aids"
.public boolean enabledByDefault
public boolean applyToDialects
Language.getDialects()
public boolean cleanupTool
true
, the inspection can run as part of the code cleanup action.public java.lang.String level
"INFO", "ERROR"
.HighlightDisplayLevel
public boolean hasStaticDescription
InspectionProfileEntry.getStaticDescription()
.public java.lang.String presentation
InspectionToolPresentation
public boolean isInternal
public java.lang.String getShortName()
public java.lang.String getDisplayName()
public java.lang.String getGroupDisplayName()
public java.lang.String getGroupKey()
public java.lang.String [] getGroupPath()
public HighlightDisplayLevel getDefaultLevel()
public InspectionProfileEntry instantiateTool()
public java.lang.String getDefaultShortName()
public java.lang.String getDefaultDisplayName()
public java.lang.String getDefaultGroupDisplayName()
public java.lang.String toString()
toString
in class java.lang.Object