public abstract class Annotations
extends java.lang.Object
Constructor and Description |
---|
Annotations() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getAuthor(int lineNumber)
Get the author of the last change for the given
lineNumber |
java.util.Collection<java.lang.Integer> |
getBugNumbers(int lineNumber)
Get the bug numbers associated with the given line number.
|
abstract java.util.Date |
getChanged(int lineNumber)
Get the date of the last change for the given
lineNumber |
java.lang.String |
getComment(int lineNumber)
Get the comment associated with the given line number.
|
java.lang.String |
getExtendedRevision(int lineNumber)
Get the an extended revision of the last change for the given
lineNumber . |
abstract java.lang.String |
getLine(int lineNumber)
Get the content (line itself) of the given
lineNumber |
abstract int |
getLineCount()
Get the number of annotated lines
|
abstract java.lang.String |
getRevision(int lineNumber)
Get the revision of the last change for the given
lineNumber |
public abstract java.util.Date getChanged(int lineNumber)
lineNumber
lineNumber
- public abstract java.lang.String getRevision(int lineNumber)
lineNumber
lineNumber
- public java.lang.String getExtendedRevision(int lineNumber)
lineNumber
. This could be the branch and revision identifer,
if a non value is return, the value is used in preference to getRevisionlineNumber
- public abstract java.lang.String getAuthor(int lineNumber)
lineNumber
lineNumber
- public abstract java.lang.String getLine(int lineNumber)
lineNumber
lineNumber
- public abstract int getLineCount()
public java.lang.String getComment(int lineNumber)
lineNumber
- the line numbernull
if there is no commentpublic java.util.Collection<java.lang.Integer> getBugNumbers(int lineNumber)
lineNumber
- the line number