Class MethodRegistry.Default

  • All Implemented Interfaces:
    MethodRegistry
    Enclosing interface:
    MethodRegistry

    public static class MethodRegistry.Default
    extends java.lang.Object
    implements MethodRegistry
    A default implementation of a method registry.
    • Constructor Detail

      • Default

        public Default()
        Creates a new default method registry without entries.
    • Method Detail

      • prepare

        public MethodRegistry.Prepared prepare​(InstrumentedType instrumentedType,
                                               MethodGraph.Compiler methodGraphCompiler,
                                               TypeValidation typeValidation,
                                               LatentMatcher<? super MethodDescription> ignoredMethods)
        Description copied from interface: MethodRegistry
        Prepares this method registry.
        Specified by:
        prepare in interface MethodRegistry
        Parameters:
        instrumentedType - The instrumented type that should be created.
        methodGraphCompiler - The method graph compiler to be used for analyzing the fully assembled instrumented type.
        typeValidation - Determines if a type should be explicitly validated.
        ignoredMethods - A filter that only matches methods that should be instrumented.
        Returns:
        A prepared version of this method registry.