public interface BugAnnotation extends Comparable<BugAnnotation>, XMLWriteableWithMessages, Serializable, Cloneable
BugInstance| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_TAG
XML tag for a formatted text message describing the annotation.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
toString(ClassAnnotation primaryClass) |
compareTowriteXMLwriteXMLstatic final String MESSAGE_TAG
Object clone()
void accept(BugAnnotationVisitor visitor)
visitor - the visitor to acceptString format(String key, ClassAnnotation primaryClass)
key - how the annotation should be formattedprimaryClass - The primary class for the bug; some bug annotation format msgs
are simplified in relation to that class.String getDescription()
void setDescription(String description)
boolean isSignificant()
String toString(ClassAnnotation primaryClass)
Copyright © 2003–2015. All rights reserved.