public static class AstCallGraph.AstFakeRoot extends AbstractRootMethod
IMethod.SourcePosition
ContextItem.Value<T>
cache, cha, insts, nextLocal, statements
declaringClass, NO_STATEMENTS, resolvedMethod
Constructor and Description |
---|
AstFakeRoot(MethodReference rootMethod,
IClassHierarchy cha,
AnalysisOptions options,
AnalysisCache cache) |
AstFakeRoot(MethodReference rootMethod,
IClass declaringClass,
IClassHierarchy cha,
AnalysisOptions options,
AnalysisCache cache) |
Modifier and Type | Method and Description |
---|---|
AstLexicalRead |
addGlobalRead(TypeReference type,
String name) |
InducedCFG |
makeControlFlowGraph(SSAInstruction[] statements)
Create an
InducedCFG from an instruction array. |
add1DArrayAllocation, addAllocation, addAllocationWithoutCtor, addCheckcast, addGetArrayField, addGetInstance, addGetStatic, addInvocation, addLocal, addPhi, addReturn, addSetArrayField, addSetInstance, addSetStatic, getInterpreter, getStatements, getValueNumberForByteConstant, getValueNumberForCharConstant, getValueNumberForIntConstant, makeIR
equals, getAnnotations, getBytecodeStream, getClassHierarchy, getDeclaredExceptions, getDeclaringClass, getDescriptor, getLineNumber, getLocalVariableName, getMaxLocals, getMaxStackHeight, getName, getNumberOfParameters, getParameterSourcePosition, getParameterType, getPoison, getPoisonLevel, getReference, getReturnType, getSelector, getSignature, getSourcePosition, getStatements, hasExceptionHandler, hashCode, hasLocalVariableTable, hasPoison, isAbstract, isBridge, isClinit, isFactoryMethod, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, toString
public AstFakeRoot(MethodReference rootMethod, IClass declaringClass, IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache)
public AstFakeRoot(MethodReference rootMethod, IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache)
public InducedCFG makeControlFlowGraph(SSAInstruction[] statements)
SyntheticMethod
InducedCFG
from an instruction array.
NOTE: SIDE EFFECT!!! ... nulls out phi instructions in the instruction array!makeControlFlowGraph
in class SyntheticMethod
public AstLexicalRead addGlobalRead(TypeReference type, String name)