public class DelegatingSSAContextInterpreter extends DelegatingRTAContextInterpreter implements SSAContextInterpreter
SSAContextInterpreter
that first checks with A, then defaults to B.Constructor and Description |
---|
DelegatingSSAContextInterpreter(SSAContextInterpreter A,
SSAContextInterpreter B)
neither A nor B should be null.
|
Modifier and Type | Method and Description |
---|---|
ControlFlowGraph<SSAInstruction,ISSABasicBlock> |
getCFG(CGNode node) |
DefUse |
getDU(CGNode node) |
IR |
getIR(CGNode node) |
int |
getNumberOfStatements(CGNode node) |
boolean |
recordFactoryType(CGNode node,
IClass klass)
record that the "factory" method of a node should be interpreted to allocate a particular class.
|
boolean |
understands(CGNode node)
Does this object understand the given method? The caller had better check this before inquiring on other properties.
|
iterateCallSites, iterateFieldsRead, iterateFieldsWritten, iterateNewSites, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
iterateFieldsRead, iterateFieldsWritten, iterateNewSites
iterateCallSites
public DelegatingSSAContextInterpreter(SSAContextInterpreter A, SSAContextInterpreter B)
public IR getIR(CGNode node)
getIR
in interface SSAContextInterpreter
public int getNumberOfStatements(CGNode node)
getNumberOfStatements
in interface SSAContextInterpreter
public boolean understands(CGNode node)
CHAContextInterpreter
understands
in interface CHAContextInterpreter
understands
in class DelegatingRTAContextInterpreter
public boolean recordFactoryType(CGNode node, IClass klass)
RTAContextInterpreter
recordFactoryType
in interface RTAContextInterpreter
recordFactoryType
in class DelegatingRTAContextInterpreter
public ControlFlowGraph<SSAInstruction,ISSABasicBlock> getCFG(CGNode node)
getCFG
in interface SSAContextInterpreter
public DefUse getDU(CGNode node)
getDU
in interface SSAContextInterpreter