public static class AstCallGraph.AstFakeRoot extends AbstractRootMethod
IMethod.SourcePositionContextItem.Value<T>cache, cha, insts, nextLocal, statementsdeclaringClass, 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, makeIRequals, 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, toStringpublic 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)
SyntheticMethodInducedCFG from an instruction array.
NOTE: SIDE EFFECT!!! ... nulls out phi instructions in the instruction array!makeControlFlowGraph in class SyntheticMethodpublic AstLexicalRead addGlobalRead(TypeReference type, String name)