Uses of Class
net.bytebuddy.agent.builder.AgentBuilder.Transformer.ForAdvice
Packages that use AgentBuilder.Transformer.ForAdvice
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
-
Uses of AgentBuilder.Transformer.ForAdvice in net.bytebuddy.agent.builder
Methods in net.bytebuddy.agent.builder that return AgentBuilder.Transformer.ForAdviceModifier and TypeMethodDescriptionAgentBuilder.Transformer.ForAdvice.advice
(ElementMatcher<? super MethodDescription> matcher, String name) Applies the given advice class onto all methods that satisfy the supplied matcher.AgentBuilder.Transformer.ForAdvice.advice
(ElementMatcher<? super MethodDescription> matcher, String enter, String exit) Applies the given advice class onto all methods that satisfy the supplied matcher.AgentBuilder.Transformer.ForAdvice.advice
(LatentMatcher<? super MethodDescription> matcher, String name) Applies the given advice class onto all methods that satisfy the supplied matcher.AgentBuilder.Transformer.ForAdvice.advice
(LatentMatcher<? super MethodDescription> matcher, String enter, String exit) Applies the given advice class onto all methods that satisfy the supplied matcher.AgentBuilder.Transformer.ForAdvice.include
(ClassLoader... classLoader) Includes the supplied class loaders as a source for looking up an advice class or its dependencies.AgentBuilder.Transformer.ForAdvice.include
(List<? extends ClassFileLocator> classFileLocators) Includes the supplied class file locators as a source for looking up an advice class or its dependencies.AgentBuilder.Transformer.ForAdvice.include
(ClassFileLocator... classFileLocator) Includes the supplied class file locators as a source for looking up an advice class or its dependencies.AgentBuilder.Transformer.ForAdvice.with
(AgentBuilder.LocationStrategy locationStrategy) Registers a location strategy for creating aClassFileLocator
from the class loader that is supplied during transformation that should be used for looking up advice-relevant classes.AgentBuilder.Transformer.ForAdvice.with
(AgentBuilder.PoolStrategy poolStrategy) Registers a pool strategy for creating aTypePool
that should be used for creating the advice class.Registers an assigner to be used by the advice class.AgentBuilder.Transformer.ForAdvice.withExceptionHandler
(Advice.ExceptionHandler exceptionHandler) Registers an exception handler for suppressed exceptions to use by the registered advice.