Package sootup.core.frontend
Interface BodySource
- All Known Implementing Classes:
AsmMethodSource
,DexMethodSource
,OverridingBodySource
public interface BodySource
A class which holds the information of a methods body and knows how to produce a Body for a
SootMethod.
-
Method Summary
Modifier and TypeMethodDescriptionresolveBody
(Iterable<MethodModifier> modifiers) Returns a filled-out body for the given SootMethod.
-
Method Details
-
resolveBody
@Nonnull Body resolveBody(@Nonnull Iterable<MethodModifier> modifiers) throws ResolveException, IOException Returns a filled-out body for the given SootMethod. This may be an expensive operation.- Parameters:
modifiers
- The collection of modifiers which are needed by BodyInterceptors to modify the body accordingly.- Throws:
ResolveException
IOException
-
resolveAnnotationsDefaultValue
Object resolveAnnotationsDefaultValue()- Returns:
- returns the default value of the Annotation for this method
-
getSignature
-