edu.umd.cs.findbugs
public interface BugAnnotation extends Comparable<BugAnnotation>, XMLWriteableWithMessages, Serializable, Cloneable
See Also: BugInstance
| Field Summary | |
|---|---|
| static String | MESSAGE_TAG
XML tag for a formatted text message describing the annotation. |
| Method Summary | |
|---|---|
| void | accept(BugAnnotationVisitor visitor)
Accept a BugAnnotationVisitor.
|
| Object | clone() |
| String | format(String key, ClassAnnotation primaryClass)
Format the annotation as a String.
|
| String | getDescription()
Get a description of this bug annotation.
|
| boolean | isSignificant()
Is this annotation used to compute instance hashes or match bug instances across versions |
| void | setDescription(String description)
Set a description of this bug annotation.
|
Parameters: visitor the visitor to accept
Parameters: key how the annotation should be formatted primaryClass TODO
Returns: true if significant