Java Doc for CodeDependencyCollector.java in  » Code-Analyzer » DependencyFinder » com » jeantessier » dependency » 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 » DependencyFinder » com.jeantessier.dependency 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.jeantessier.dependency.VisitorBase
      com.jeantessier.classreader.CollectorBase
         com.jeantessier.dependency.CodeDependencyCollector

CodeDependencyCollector
public class CodeDependencyCollector extends CollectorBase (Code)

Traverses a Classfile and extracts dependencies from its code.

Known limitations:

  • Does not see dependencies on static final constants of primitive types or String
  • Does not look at local variables



Constructor Summary
public  CodeDependencyCollector()
    
public  CodeDependencyCollector(NodeFactory factory)
    
public  CodeDependencyCollector(NodeFactory factory, SelectionCriteria filterCriteria)
    

Method Summary
public  voidaddDependencyListener(DependencyListener listener)
    
protected  voidfireBeginClass(String classname)
    
protected  voidfireBeginSession()
    
protected  voidfireDependency(Node dependent, Node dependable)
    
protected  voidfireEndClass(String classname)
    
protected  voidfireEndSession()
    
public  Collection<String>getCollection()
    
public  NodeFactorygetFactory()
    
public  voidremoveDependencyListener(DependencyListener listener)
    
public  voidvisitClass_info(Class_info entry)
    
public  voidvisitClassfile(Classfile classfile)
    
public  voidvisitExceptionHandler(ExceptionHandler helper)
    
public  voidvisitFieldRef_info(FieldRef_info entry)
    
public  voidvisitField_info(Field_info entry)
    
public  voidvisitInstruction(Instruction helper)
    
public  voidvisitInterfaceMethodRef_info(InterfaceMethodRef_info entry)
    
public  voidvisitMethodRef_info(MethodRef_info entry)
    
public  voidvisitMethod_info(Method_info entry)
    


Constructor Detail
CodeDependencyCollector
public CodeDependencyCollector()(Code)



CodeDependencyCollector
public CodeDependencyCollector(NodeFactory factory)(Code)



CodeDependencyCollector
public CodeDependencyCollector(NodeFactory factory, SelectionCriteria filterCriteria)(Code)




Method Detail
addDependencyListener
public void addDependencyListener(DependencyListener listener)(Code)



fireBeginClass
protected void fireBeginClass(String classname)(Code)



fireBeginSession
protected void fireBeginSession()(Code)



fireDependency
protected void fireDependency(Node dependent, Node dependable)(Code)



fireEndClass
protected void fireEndClass(String classname)(Code)



fireEndSession
protected void fireEndSession()(Code)



getCollection
public Collection<String> getCollection()(Code)



getFactory
public NodeFactory getFactory()(Code)



removeDependencyListener
public void removeDependencyListener(DependencyListener listener)(Code)



visitClass_info
public void visitClass_info(Class_info entry)(Code)



visitClassfile
public void visitClassfile(Classfile classfile)(Code)



visitExceptionHandler
public void visitExceptionHandler(ExceptionHandler helper)(Code)



visitFieldRef_info
public void visitFieldRef_info(FieldRef_info entry)(Code)



visitField_info
public void visitField_info(Field_info entry)(Code)



visitInstruction
public void visitInstruction(Instruction helper)(Code)



visitInterfaceMethodRef_info
public void visitInterfaceMethodRef_info(InterfaceMethodRef_info entry)(Code)



visitMethodRef_info
public void visitMethodRef_info(MethodRef_info entry)(Code)



visitMethod_info
public void visitMethod_info(Method_info entry)(Code)



Methods inherited from com.jeantessier.classreader.CollectorBase
protected void add(String name)(Code)(Java Doc)
public Collection<String> getCollection()(Code)(Java Doc)

Methods inherited from com.jeantessier.dependency.VisitorBase
protected Node getCurrentNode()(Code)(Java Doc)
protected TraversalStrategy getStrategy()(Code)(Java Doc)
protected boolean isInScope(PackageNode node)(Code)(Java Doc)
protected boolean isInScope(ClassNode node)(Code)(Java Doc)
protected boolean isInScope(FeatureNode node)(Code)(Java Doc)
protected Node popNode()(Code)(Java Doc)
protected void postprocessBeforeDependenciesClassNode(ClassNode node)(Code)(Java Doc)
protected void postprocessBeforeDependenciesPackageNode(PackageNode node)(Code)(Java Doc)
protected void postprocessClassNode(ClassNode node)(Code)(Java Doc)
protected void postprocessFeatureNode(FeatureNode node)(Code)(Java Doc)
protected void postprocessPackageNode(PackageNode node)(Code)(Java Doc)
protected void preprocessAfterDependenciesClassNode(ClassNode node)(Code)(Java Doc)
protected void preprocessAfterDependenciesPackageNode(PackageNode node)(Code)(Java Doc)
protected void preprocessClassNode(ClassNode node)(Code)(Java Doc)
protected void preprocessFeatureNode(FeatureNode node)(Code)(Java Doc)
protected void preprocessPackageNode(PackageNode node)(Code)(Java Doc)
protected void pushNode(Node currentNode)(Code)(Java Doc)
protected void traverseInbound(Collection<? extends Node> nodes)(Code)(Java Doc)
public void traverseNodes(Collection<? extends Node> nodes)(Code)(Java Doc)
protected void traverseOutbound(Collection<? extends Node> nodes)(Code)(Java Doc)
public void visitClassNode(ClassNode node)(Code)(Java Doc)
public void visitFeatureNode(FeatureNode node)(Code)(Java Doc)
public void visitInboundClassNode(ClassNode node)(Code)(Java Doc)
public void visitInboundFeatureNode(FeatureNode node)(Code)(Java Doc)
public void visitInboundPackageNode(PackageNode node)(Code)(Java Doc)
public void visitOutboundClassNode(ClassNode node)(Code)(Java Doc)
public void visitOutboundFeatureNode(FeatureNode node)(Code)(Java Doc)
public void visitOutboundPackageNode(PackageNode node)(Code)(Java Doc)
public void visitPackageNode(PackageNode node)(Code)(Java Doc)

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.