Java Doc for SourceInfoMap.java in  » Code-Analyzer » findbugs » edu » umd » cs » findbugs » ba » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Code Analyzer » findbugs » edu.umd.cs.findbugs.ba 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   edu.umd.cs.findbugs.ba.SourceInfoMap

SourceInfoMap
public class SourceInfoMap (Code)
Global information about the source code for an application. Currently, this object contains a map of source line information for fields and classes (items we don't get line number information for directly in classfiles), and also source line information for methods that don't appear directly in classfiles, such as abstract and native methods.
author:
   David Hovemeyer

Inner Class :static class FieldDescriptor implements Comparable<FieldDescriptor>
Inner Class :static class MethodDescriptor implements Comparable<MethodDescriptor>
Inner Class :public static class SourceLineRange


Constructor Summary
public  SourceInfoMap()
     Constructor.

Method Summary
public  voidaddClassLine(String className, SourceLineRange range)
     Add line number entry for a class.
public  voidaddFieldLine(String className, String fieldName, SourceLineRange range)
     Add a line number entry for a field.
public  voidaddMethodLine(String className, String methodName, String methodSignature, SourceLineRange range)
     Add a line number entry for a method.
public  booleanfallBackToClassfile()
    
public  SourceLineRangegetClassLine(String className)
     Look up the line number range for a class.
public  SourceLineRangegetFieldLine(String className, String fieldName)
     Look up the line number range for a field.
public  SourceLineRangegetMethodLine(String className, String methodName, String methodSignature)
     Look up the line number range for a method.
public  booleanisEmpty()
    
public  voidread(InputStream inputStream)
     Read source info from given InputStream.


Constructor Detail
SourceInfoMap
public SourceInfoMap()(Code)
Constructor. Creates an empty object.




Method Detail
addClassLine
public void addClassLine(String className, SourceLineRange range)(Code)
Add line number entry for a class.
Parameters:
  className - name of class
Parameters:
  range - the line numbers of the class



addFieldLine
public void addFieldLine(String className, String fieldName, SourceLineRange range)(Code)
Add a line number entry for a field.
Parameters:
  className - name of class containing the field
Parameters:
  fieldName - name of field
Parameters:
  range - the line number(s) of the field



addMethodLine
public void addMethodLine(String className, String methodName, String methodSignature, SourceLineRange range)(Code)
Add a line number entry for a method.
Parameters:
  className - name of class containing the method
Parameters:
  methodName - name of method
Parameters:
  methodSignature - signature of method
Parameters:
  range - the line number of the method



fallBackToClassfile
public boolean fallBackToClassfile()(Code)



getClassLine
public SourceLineRange getClassLine(String className)(Code)
Look up the line number range for a class.
Parameters:
  className - name of the class the line number range, or null if no line number is known for the class



getFieldLine
public SourceLineRange getFieldLine(String className, String fieldName)(Code)
Look up the line number range for a field.
Parameters:
  className - name of class containing the field
Parameters:
  fieldName - name of field the line number range, or null if no line number is known for the field



getMethodLine
public SourceLineRange getMethodLine(String className, String methodName, String methodSignature)(Code)
Look up the line number range for a method.
Parameters:
  className - name of class containing the method
Parameters:
  methodName - name of method
Parameters:
  methodSignature - signature of method the line number range, or null if no line number is known for the method



isEmpty
public boolean isEmpty()(Code)



read
public void read(InputStream inputStream) throws IOException(Code)
Read source info from given InputStream. The stream is guaranteed to be closed.
Parameters:
  inputStream - the InputStream
throws:
  IOException - if an I/O error occurs, or if the format is invalid



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.