AgentBuilder.Transformer.ForAdvice |
AgentBuilder.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 |
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 |
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 |
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 |
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 |
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 |
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 |
AgentBuilder.Transformer.ForAdvice.with(AgentBuilder.LocationStrategy locationStrategy) |
Registers a location strategy for creating a ClassFileLocator from the class loader that is supplied during transformation
that should be used for looking up advice-relevant classes.
|
AgentBuilder.Transformer.ForAdvice |
AgentBuilder.Transformer.ForAdvice.with(AgentBuilder.PoolStrategy poolStrategy) |
Registers a pool strategy for creating a TypePool that should be used for creating the advice class.
|
AgentBuilder.Transformer.ForAdvice |
AgentBuilder.Transformer.ForAdvice.with(Assigner assigner) |
Registers an assigner to be used by the advice class.
|
AgentBuilder.Transformer.ForAdvice |
AgentBuilder.Transformer.ForAdvice.withExceptionHandler(Advice.ExceptionHandler exceptionHandler) |
Registers an exception handler for suppressed exceptions to use by the registered advice.
|