edu.umd.cs.findbugs
public class ClassAnnotation extends PackageMemberAnnotation
See Also: BugAnnotation BugInstance
Constructor Summary | |
---|---|
ClassAnnotation(String className)
Constructor.
|
Method Summary | |
---|---|
void | accept(BugAnnotationVisitor visitor) |
int | compareTo(BugAnnotation o) |
boolean | contains(ClassAnnotation other) |
static ClassAnnotation | fromClassDescriptor(ClassDescriptor classDescriptor)
Factory method to create a ClassAnnotation from a ClassDescriptor.
|
ClassAnnotation | getTopLevelClass() |
void | writeXML(XMLOutput xmlOutput) |
void | writeXML(XMLOutput xmlOutput, boolean addMessages) |
Parameters: className the name of the class
Parameters: classDescriptor the ClassDescriptor
Returns: the ClassAnnotation