BugAnnotation
, XMLWriteable
, XMLWriteableWithMessages
, java.io.Serializable
, java.lang.Cloneable
, java.lang.Comparable<BugAnnotation>
PackageMemberAnnotation
, TypeAnnotation
public abstract class BugAnnotationWithSourceLines extends java.lang.Object implements BugAnnotation
Modifier and Type | Field | Description |
---|---|---|
protected java.lang.String |
sourceFileName |
|
protected SourceLineAnnotation |
sourceLines |
MESSAGE_TAG
Constructor | Description |
---|---|
BugAnnotationWithSourceLines() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
|
java.lang.String |
getSourceFileName() |
Get the source file name.
|
SourceLineAnnotation |
getSourceLines() |
Get the SourceLineAnnotation describing the source lines
where the method is defined.
|
void |
setSourceLines(SourceLineAnnotation sourceLines) |
Set a SourceLineAnnotation describing the source lines
where the package element is defined.
|
java.lang.String |
toString(ClassAnnotation primaryClass) |
accept, format, getDescription, isSignificant, setDescription
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeXML
writeXML
protected java.lang.String sourceFileName
protected SourceLineAnnotation sourceLines
public java.lang.Object clone()
clone
in interface BugAnnotation
clone
in class java.lang.Object
public final java.lang.String getSourceFileName()
public void setSourceLines(SourceLineAnnotation sourceLines)
public SourceLineAnnotation getSourceLines()
public java.lang.String toString(ClassAnnotation primaryClass)
toString
in interface BugAnnotation
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.