public class CommonProblemDescriptorImpl extends java.lang.Object implements CommonProblemDescriptor
ARRAY_FACTORY, DESCRIPTOR_COMPARATOR, EMPTY_ARRAY
Constructor and Description |
---|
CommonProblemDescriptorImpl(QuickFix [] fixes,
java.lang.String descriptionTemplate) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescriptionTemplate()
Returns the template (text or HTML) from which the problem description is built.
|
QuickFix [] |
getFixes()
Returns the quickfixes for the problem.
|
java.lang.String |
toString() |
public CommonProblemDescriptorImpl(QuickFix [] fixes, java.lang.String descriptionTemplate)
public java.lang.String getDescriptionTemplate()
CommonProblemDescriptor
The template may contain special markers:
#ref
is replaced with the text of the element in which the problem has been found#loc
is replaced with the filename and line number in exported inspection results and ignored when viewing within IDE#treeend
is used as cut-symbol for template when it's shown inside inspection result tree.
So any content after this marker is not visible in the tree node.getDescriptionTemplate
in interface CommonProblemDescriptor
public QuickFix [] getFixes()
CommonProblemDescriptor
getFixes
in interface CommonProblemDescriptor
public java.lang.String toString()
toString
in class java.lang.Object