Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.eclipse.jdt.graph
Class DependGraphAction.ClassCallGraphBuilder  view DependGraphAction.ClassCallGraphBuilder download DependGraphAction.ClassCallGraphBuilder.java

java.lang.Object
  extended bycom.port80.eclipse.jdt.graph.DependGraphAction.ClassCallGraphBuilder
All Implemented Interfaces:
IGraphAction
Enclosing class:
DependGraphAction

class DependGraphAction.ClassCallGraphBuilder
extends java.lang.Object
implements IGraphAction

Find type references in a compiled AST.

  • Create vertex for each declared type in the selected object.
  • Create vertex for each referenced type if scope is SCOPE_CONNECTED.
  • Each vertex also have following attributes defined:
    -superClasses The Set of superclasses (String of fulltypename) of the type (should have only one member).
    -superInterfaces The Set of superinterfaces (String of fulltypename) of the type.
    -callers The Set of methods (MethodWrapper) that called other methods (including its own methods).
    -invokes The Set of methods (MethodWrapper) called by the type.

  • Field Summary
    private static java.lang.String NAME
               
     
    Constructor Summary
    (package private) DependGraphAction.ClassCallGraphBuilder()
               
     
    Method Summary
     int addRef(java.lang.String srcpath, org.eclipse.jdt.core.dom.CompilationUnit ast, com.port80.graph.IGraph graph, java.util.Map filemap)
               
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    NAME

    private static final java.lang.String NAME
    See Also:
    Constant Field Values
    Constructor Detail

    DependGraphAction.ClassCallGraphBuilder

    DependGraphAction.ClassCallGraphBuilder()
    Method Detail

    addRef

    public int addRef(java.lang.String srcpath,
                      org.eclipse.jdt.core.dom.CompilationUnit ast,
                      com.port80.graph.IGraph graph,
                      java.util.Map filemap)
    Specified by:
    addRef in interface IGraphAction