Interface MethodRebaseResolver

  • All Known Implementing Classes:
    MethodRebaseResolver.Default, MethodRebaseResolver.Disabled

    public interface MethodRebaseResolver
    A method rebase resolver is responsible for mapping methods of an instrumented type to an alternative signature. This way a method can exist in two versions within a class:
    1. The rebased method which represents the original implementation as it is present in a class file.
    2. An overridden method which implements user code which is still able to invoke the original, rebased method.
    • Method Detail

      • getAuxiliaryTypes

        java.util.List<DynamicType> getAuxiliaryTypes()
        Returns a (potentially empty) list of auxiliary types that are required by this method rebase resolver.
        Returns:
        A list of auxiliary types that are required by this method rebase resolver.