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 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

      @NonNull MethodSignature getSignature()