edu.umd.cs.findbugs
public class LocalVariableAnnotation extends Object implements BugAnnotation
See Also: BugAnnotation
Constructor Summary | |
---|---|
LocalVariableAnnotation(String name, int register, int pc)
Constructor.
|
Method Summary | |
---|---|
void | accept(BugAnnotationVisitor visitor) |
int | compareTo(BugAnnotation o) |
String | format(String key, ClassAnnotation primaryClass) |
String | getDescription() |
static LocalVariableAnnotation | getLocalVariableAnnotation(Method method, Location location, IndexedInstruction ins) |
static LocalVariableAnnotation | getLocalVariableAnnotation(Method method, int local, int position1, int position2) |
String | getName() |
boolean | isSignificant() |
void | setDescription(String description) |
void | writeXML(XMLOutput xmlOutput) |
void | writeXML(XMLOutput xmlOutput, boolean addMessages) |
Parameters: name the name of the local variable register the local variable index pc the bytecode offset of the instruction that mentions this local variable
Returns: name of local variable