Package org.teavm.callgraph
Interface CallGraph
-
public interface CallGraphRoot object for traversing through call graph. Graph does not represent polymorphic calls. Instead, it generated multiple call sites for one location.
- Author:
- Alexey Andreev
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<? extends FieldAccessSite>getFieldAccess(FieldReference reference)CallGraphNodegetNode(MethodReference method)Get node corresponding to the specific method.
-
-
-
Method Detail
-
getNode
CallGraphNode getNode(MethodReference method)
Get node corresponding to the specific method.
- Parameters:
method- a method to lookup node for.- Returns:
- the node that corresponds to the specified method or
null, if this method is never called.
-
getFieldAccess
Collection<? extends FieldAccessSite> getFieldAccess(FieldReference reference)
-
-