Class AgentBuilder.Transformer.ForAdvice.Entry

    • Constructor Detail

      • Entry

        protected Entry​(LatentMatcher<? super MethodDescription> matcher)
        Creates a new entry.
        Parameters:
        matcher - The matcher for advised methods.
    • Method Detail

      • getMatcher

        protected LatentMatcher<? super MethodDescription> getMatcher()
        Returns the matcher for advised methods.
        Returns:
        The matcher for advised methods.
      • resolve

        protected abstract Advice resolve​(Advice.WithCustomMapping advice,
                                          TypePool typePool,
                                          ClassFileLocator classFileLocator)
        Resolves the advice for this entry.
        Parameters:
        advice - The advice configuration.
        typePool - The type pool to use.
        classFileLocator - The class file locator to use.
        Returns:
        The resolved advice.