Package soot.dexpler
Class DexMethod
- java.lang.Object
-
- soot.dexpler.DexMethod
-
public class DexMethod extends Object
DexMethod is a container for all methods that are declared in a class. It holds information about its name, the class it belongs to, its access flags, thrown exceptions, the return type and parameter types as well as the encoded method itself.
-
-
Field Summary
Fields Modifier and Type Field Description protected SootClassdeclaringClassprotected org.jf.dexlib2.iface.MultiDexContainer.DexEntry<? extends org.jf.dexlib2.iface.DexFile>dexEntry
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MethodSourcecreateMethodSource(org.jf.dexlib2.iface.Method method)protected List<Type>getParameterTypes(org.jf.dexlib2.iface.Method method)protected List<SootClass>getThrownExceptions(org.jf.dexlib2.iface.Method method)SootMethodmakeSootMethod(org.jf.dexlib2.iface.Method method)Retrieve the SootMethod equivalent of this method
-
-
-
Field Detail
-
dexEntry
protected final org.jf.dexlib2.iface.MultiDexContainer.DexEntry<? extends org.jf.dexlib2.iface.DexFile> dexEntry
-
declaringClass
protected final SootClass declaringClass
-
-
Constructor Detail
-
DexMethod
public DexMethod(org.jf.dexlib2.iface.MultiDexContainer.DexEntry<? extends org.jf.dexlib2.iface.DexFile> dexFile, SootClass declaringClass)
-
-
Method Detail
-
makeSootMethod
public SootMethod makeSootMethod(org.jf.dexlib2.iface.Method method)
Retrieve the SootMethod equivalent of this method- Returns:
- the SootMethod of this method
-
createMethodSource
protected MethodSource createMethodSource(org.jf.dexlib2.iface.Method method)
-
-