java.lang.Cloneable
, java.lang.Comparable<BugAnnotation>
, java.io.Serializable
, XMLWriteable
, XMLWriteableWithMessages
BugAnnotationWithSourceLines
, ClassAnnotation
, FieldAnnotation
, IntAnnotation
, LocalVariableAnnotation
, MethodAnnotation
, PackageMemberAnnotation
, SourceLineAnnotation
, StringAnnotation
, TypeAnnotation
public interface BugAnnotation extends java.lang.Comparable<BugAnnotation>, XMLWriteableWithMessages, java.io.Serializable, java.lang.Cloneable
BugInstance
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
MESSAGE_TAG |
XML tag for a formatted text message describing the annotation.
|
Modifier and Type | Method | Description |
---|---|---|
void |
accept(BugAnnotationVisitor visitor) |
Accept a BugAnnotationVisitor.
|
java.lang.Object |
clone() |
|
java.lang.String |
format(java.lang.String key,
ClassAnnotation primaryClass) |
Format the annotation as a String.
|
java.lang.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(java.lang.String description) |
Set a description of this bug annotation.
|
java.lang.String |
toString(ClassAnnotation primaryClass) |
writeXML
writeXML
static final java.lang.String MESSAGE_TAG
java.lang.Object clone()
void accept(BugAnnotationVisitor visitor)
visitor
- the visitor to acceptjava.lang.String format(java.lang.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.java.lang.String getDescription()
void setDescription(java.lang.String description)
boolean isSignificant()
java.lang.String toString(ClassAnnotation primaryClass)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.