edu.umd.cs.findbugs.ba
public class SourceInfoMap extends Object
| Nested Class Summary | |
|---|---|
| static class | SourceInfoMap.SourceLineRange
A range of source lines. |
| Constructor Summary | |
|---|---|
| SourceInfoMap()
Constructor.
| |
| Method Summary | |
|---|---|
| void | addClassLine(String className, SourceInfoMap.SourceLineRange range)
Add line number entry for a class.
|
| void | addFieldLine(String className, String fieldName, SourceInfoMap.SourceLineRange range)
Add a line number entry for a field.
|
| void | addMethodLine(String className, String methodName, String methodSignature, SourceInfoMap.SourceLineRange range)
Add a line number entry for a method.
|
| boolean | fallBackToClassfile() |
| boolean | isEmpty() |
| void | read(InputStream inputStream)
Read source info from given InputStream.
|
Parameters: className name of class range the line numbers of the class
Parameters: className name of class containing the field fieldName name of field range the line number(s) of the field
Parameters: className name of class containing the method methodName name of method methodSignature signature of method range the line number of the method
Parameters: inputStream the InputStream
Throws: IOException if an I/O error occurs, or if the format is invalid