public class AstContextInsensitiveSSAContextInterpreter extends ContextInsensitiveSSAInterpreter
ContextInsensitiveSSAInterpreter
that uses the IR for
iterateNewSites(CGNode)
and iterateCallSites(CGNode)
when
we have an AstMethod
. (ContextInsensitiveSSAInterpreter
defaults to using CodeScanner
, which only works for bytecodes.)options
Constructor and Description |
---|
AstContextInsensitiveSSAContextInterpreter(AnalysisOptions options,
AnalysisCache cache) |
Modifier and Type | Method and Description |
---|---|
Iterator<CallSiteReference> |
iterateCallSites(CGNode N) |
Iterator<NewSiteReference> |
iterateNewSites(CGNode N) |
boolean |
understands(IMethod method,
Context context) |
getCFG, getDU, getIR, getNumberOfStatements, recordFactoryType
getAnalysisCache, iterateFieldsRead, iterateFieldsWritten
understands
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterateFieldsRead, iterateFieldsWritten
understands
public AstContextInsensitiveSSAContextInterpreter(AnalysisOptions options, AnalysisCache cache)
public Iterator<NewSiteReference> iterateNewSites(CGNode N)
iterateNewSites
in interface RTAContextInterpreter
iterateNewSites
in class ContextInsensitiveRTAInterpreter
public Iterator<CallSiteReference> iterateCallSites(CGNode N)
iterateCallSites
in interface CHAContextInterpreter
iterateCallSites
in class ContextInsensitiveCHAContextInterpreter