public class ControlFlowRecorder extends JVisitor
Collects caller->callee, instantiating method->instantiated type, overridden method->overriding method, exported methods and other control flow information in TypeEnvironment indexes to support control flow based link time pruning.
LVALUE_CONTEXT, UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
ControlFlowRecorder(StringAnalyzableTypeEnvironment stringAnalyzableTypeEnvironment,
boolean onlyUpdate,
JProgram program) |
Modifier and Type | Method and Description |
---|---|
void |
endVisit(JClassLiteral x,
Context ctx) |
void |
endVisit(JFieldRef x,
Context ctx)
NOTE: not called from JsniFieldRef.
|
void |
endVisit(JsniFieldRef x,
Context ctx) |
void |
endVisit(JsniMethodRef x,
Context ctx) |
static void |
exec(JProgram program,
StringAnalyzableTypeEnvironment stringAnalyzableTypeEnvironment,
boolean onlyUpdate) |
boolean |
visit(JDeclaredType x,
Context ctx) |
boolean |
visit(JField x,
Context ctx) |
boolean |
visit(JMethodCall x,
Context ctx)
NOTE: not called from JsniMethodRef.
|
boolean |
visit(JMethod x,
Context ctx) |
accept, accept, accept, accept, accept, accept, acceptImmutable, acceptLvalue, acceptWithInsertRemove, acceptWithInsertRemoveImmutable, didChange, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, translateException, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public ControlFlowRecorder(StringAnalyzableTypeEnvironment stringAnalyzableTypeEnvironment, boolean onlyUpdate, JProgram program)
public static void exec(JProgram program, StringAnalyzableTypeEnvironment stringAnalyzableTypeEnvironment, boolean onlyUpdate)
public void endVisit(JClassLiteral x, Context ctx)
public void endVisit(JFieldRef x, Context ctx)
JVisitor
public void endVisit(JsniFieldRef x, Context ctx)
public void endVisit(JsniMethodRef x, Context ctx)
public boolean visit(JDeclaredType x, Context ctx)
public boolean visit(JMethodCall x, Context ctx)
JVisitor
Copyright © 2018. All rights reserved.