Package org.teavm.callgraph
Interface CallGraph
public interface CallGraph
Root object for traversing through call graph. Graph does not represent polymorphic calls. Instead, it generated multiple call sites for one location.
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends FieldAccessSite>
getFieldAccess
(FieldReference reference) getNode
(MethodReference method) Get node corresponding to the specific method.
-
Method Details
-
getNode
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
-