public class DependencyGraphRecorder
extends com.google.gwt.core.ext.soyc.impl.DependencyRecorder
JType.getName()
) to class descriptors. Where
each class descriptor has methods and their dependents.Constructor and Description |
---|
DependencyGraphRecorder(java.io.OutputStream out,
com.google.gwt.dev.jjs.ast.JProgram jProgram) |
Modifier and Type | Method and Description |
---|---|
ClassDescriptor |
classDescriptorFrom(com.google.gwt.dev.jjs.ast.JDeclaredType classType)
Returns a class descriptor from a JDeclaredType.
|
java.util.Map<java.lang.String,ClassDescriptor> |
getCodeModel()
Returns the code model that maps fully qualified class names (eg.
|
protected boolean |
isValid(int n) |
MethodDescriptor |
methodDescriptorFrom(com.google.gwt.dev.jjs.ast.JMethod method) |
protected int |
nextPointerId() |
protected void |
printMethodDependencyBetween(com.google.gwt.dev.jjs.ast.JMethod curMethod,
com.google.gwt.dev.jjs.ast.JMethod depMethod) |
protected java.lang.String |
signatureFor(com.google.gwt.dev.jjs.ast.JMethod method) |
void |
startDependencyGraph(java.lang.String name,
java.lang.String extendz)
Start a new dependency graph.
|
public DependencyGraphRecorder(java.io.OutputStream out, com.google.gwt.dev.jjs.ast.JProgram jProgram)
protected int nextPointerId()
public java.util.Map<java.lang.String,ClassDescriptor> getCodeModel()
JType.getName()
) to class descriptors.public void startDependencyGraph(java.lang.String name, java.lang.String extendz)
com.google.gwt.dev.jjs.impl.codesplitter.MultipleDependencyGraphRecorder
startDependencyGraph
in interface com.google.gwt.dev.jjs.impl.codesplitter.MultipleDependencyGraphRecorder
startDependencyGraph
in class com.google.gwt.core.ext.soyc.impl.DependencyRecorder
protected void printMethodDependencyBetween(com.google.gwt.dev.jjs.ast.JMethod curMethod, com.google.gwt.dev.jjs.ast.JMethod depMethod)
printMethodDependencyBetween
in class com.google.gwt.core.ext.soyc.impl.DependencyRecorder
protected java.lang.String signatureFor(com.google.gwt.dev.jjs.ast.JMethod method)
public MethodDescriptor methodDescriptorFrom(com.google.gwt.dev.jjs.ast.JMethod method)
protected boolean isValid(int n)
public ClassDescriptor classDescriptorFrom(com.google.gwt.dev.jjs.ast.JDeclaredType classType)