Class FakeRootMethod
java.lang.Object
com.ibm.wala.classLoader.SyntheticMethod
com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
com.ibm.wala.ipa.callgraph.impl.FakeRootMethod
- All Implemented Interfaces:
IMember, IMethod, ContextItem, IClassHierarchyDweller
A synthetic method that models the fake root node.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ContextItem
ContextItem.Value<T>Nested classes/interfaces inherited from interface IMethod
IMethod.SourcePosition -
Field Summary
FieldsFields inherited from class AbstractRootMethod
cache, cha, insts, nextLocal, statementsFields inherited from class SyntheticMethod
declaringClass, NO_STATEMENTS, resolvedMethod -
Constructor Summary
ConstructorsConstructorDescriptionFakeRootMethod(IClass fakeRootClass, AnalysisOptions options, IAnalysisCacheView cache) -
Method Summary
Methods inherited from class AbstractRootMethod
add1DArrayAllocation, addAllocation, addAllocationWithoutCtor, addCheckcast, addGetArrayField, addGetInstance, addGetStatic, addInvocation, addLocal, addPhi, addReturn, addSetArrayField, addSetInstance, addSetStatic, getInterpreter, getStatements, getValueNumberForByteConstant, getValueNumberForCharConstant, getValueNumberForIntConstant, makeIRMethods inherited from class SyntheticMethod
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, isAnnotation, isBridge, isClinit, isEnum, isFactoryMethod, isFinal, isInit, isModule, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, isWalaSynthetic, makeControlFlowGraph, toStringMethods inherited from interface IMethod
getNumberOfDefaultParameters
-
Field Details
-
name
-
descr
-
-
Constructor Details
-
FakeRootMethod
-
-
Method Details
-
isFakeRootMethod
- Returns:
- true iff m is the fake root method.
- Throws:
IllegalArgumentException- if m is null
-
isFromFakeRoot
- Returns:
- true iff block is a basic block in the fake root method
- Throws:
IllegalArgumentException- if block is null
-