Package sootup.apk.frontend.dexpler
Class DexMethodSource
java.lang.Object
sootup.apk.frontend.dexpler.DexMethodSource
- All Implemented Interfaces:
BodySource
-
Constructor Summary
ConstructorDescriptionDexMethodSource
(Set<Local> locals, MethodSignature methodSignature, MutableStmtGraph mutableStmtGraph, org.jf.dexlib2.iface.Method method, List<BodyInterceptor> bodyInterceptors, View view) -
Method Summary
Modifier and TypeMethodDescriptionresolveBody
(Iterable<MethodModifier> modifiers) Returns a filled-out body for the given SootMethod.
-
Constructor Details
-
DexMethodSource
public DexMethodSource(Set<Local> locals, MethodSignature methodSignature, MutableStmtGraph mutableStmtGraph, org.jf.dexlib2.iface.Method method, List<BodyInterceptor> bodyInterceptors, @Nonnull View view)
-
-
Method Details
-
resolveBody
@Nonnull public Body resolveBody(@Nonnull Iterable<MethodModifier> modifiers) throws ResolveException, IOException Description copied from interface:BodySource
Returns a filled-out body for the given SootMethod. This may be an expensive operation.- Specified by:
resolveBody
in interfaceBodySource
- Parameters:
modifiers
- The collection of modifiers which are needed by BodyInterceptors to modify the body accordingly.- Throws:
ResolveException
IOException
-
makeSootMethod
-
resolveAnnotationsDefaultValue
- Specified by:
resolveAnnotationsDefaultValue
in interfaceBodySource
- Returns:
- returns the default value of the Annotation for this method
-
getSignature
- Specified by:
getSignature
in interfaceBodySource
-