Class DexFakeRootMethod
- java.lang.Object
-
- com.ibm.wala.classLoader.SyntheticMethod
-
- com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
-
- com.ibm.wala.dalvik.ipa.callgraph.impl.DexFakeRootMethod
-
- All Implemented Interfaces:
IMember,IMethod,ContextItem,IClassHierarchyDweller
@Deprecated public class DexFakeRootMethod extends AbstractRootMethod
Deprecated.building the Android-model uses a "normal" fake-root now
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.ibm.wala.ipa.callgraph.ContextItem
ContextItem.Value<T>
-
Nested classes/interfaces inherited from interface com.ibm.wala.classLoader.IMethod
IMethod.SourcePosition
-
-
Field Summary
Fields Modifier and Type Field Description static DescriptordescrDeprecated.static AtomnameDeprecated.static Map<TypeReference,Integer>referenceTypeMapDeprecated.static MethodReferencerootMethodDeprecated.-
Fields inherited from class com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
cache, cha, insts, nextLocal, statements
-
Fields inherited from class com.ibm.wala.classLoader.SyntheticMethod
declaringClass, NO_STATEMENTS, resolvedMethod
-
-
Constructor Summary
Constructors Constructor Description DexFakeRootMethod(IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SSANewInstructionaddAllocation(TypeReference T)Deprecated.Add a New statement of the given type Side effect: adds call to default constructor of given type if one exists.static MethodReferencegetRootMethod()Deprecated.static booleanisFakeRootMethod(MemberReference m)Deprecated.static booleanisFromFakeRoot(IBasicBlock<?> block)Deprecated.-
Methods inherited from class com.ibm.wala.ipa.callgraph.impl.AbstractRootMethod
add1DArrayAllocation, addAllocationWithoutCtor, addCheckcast, addGetArrayField, addGetInstance, addGetStatic, addInvocation, addLocal, addPhi, addReturn, addSetArrayField, addSetInstance, addSetStatic, getInterpreter, getStatements, getValueNumberForByteConstant, getValueNumberForCharConstant, getValueNumberForIntConstant, makeIR
-
Methods inherited from class com.ibm.wala.classLoader.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, isBridge, isClinit, isFactoryMethod, isFinal, isInit, isNative, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isSynthetic, makeControlFlowGraph, toString
-
-
-
-
Field Detail
-
name
public static final Atom name
Deprecated.
-
descr
public static final Descriptor descr
Deprecated.
-
rootMethod
public static final MethodReference rootMethod
Deprecated.
-
referenceTypeMap
public static Map<TypeReference,Integer> referenceTypeMap
Deprecated.
-
-
Constructor Detail
-
DexFakeRootMethod
public DexFakeRootMethod(IClassHierarchy cha, AnalysisOptions options, AnalysisCache cache)
Deprecated.
-
-
Method Detail
-
addAllocation
public SSANewInstruction addAllocation(TypeReference T)
Deprecated.Description copied from class:AbstractRootMethodAdd a New statement of the given type Side effect: adds call to default constructor of given type if one exists.- Overrides:
addAllocationin classAbstractRootMethod- Returns:
- instruction added, or null
-
isFakeRootMethod
public static boolean isFakeRootMethod(MemberReference m)
Deprecated.- Returns:
- true iff m is the fake root method.
- Throws:
IllegalArgumentException- if m is null
-
isFromFakeRoot
public static boolean isFromFakeRoot(IBasicBlock<?> block)
Deprecated.- Returns:
- true iff block is a basic block in the fake root method
- Throws:
IllegalArgumentException- if block is null
-
getRootMethod
public static MethodReference getRootMethod()
Deprecated.
-
-