static Advice |
Advice.to(java.lang.Class<?> advice) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
static Advice |
Advice.to(java.lang.Class<?> enterAdvice,
java.lang.Class<?> exitAdvice) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
static Advice |
Advice.to(java.lang.Class<?> enterAdvice,
java.lang.Class<?> exitAdvice,
ClassFileLocator classFileLocator) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
static Advice |
Advice.to(java.lang.Class<?> advice,
ClassFileLocator classFileLocator) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
static Advice |
Advice.to(TypeDescription advice) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
protected static Advice |
Advice.to(TypeDescription advice,
Advice.PostProcessor.Factory postProcessorFactory,
ClassFileLocator classFileLocator,
java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
Advice.Delegator delegator) |
Creates a new advice.
|
static Advice |
Advice.to(TypeDescription enterAdvice,
TypeDescription exitAdvice) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
protected static Advice |
Advice.to(TypeDescription enterAdvice,
TypeDescription exitAdvice,
Advice.PostProcessor.Factory postProcessorFactory,
ClassFileLocator classFileLocator,
java.util.List<? extends Advice.OffsetMapping.Factory<?>> userFactories,
Advice.Delegator delegator) |
Creates a new advice.
|
static Advice |
Advice.to(TypeDescription enterAdvice,
TypeDescription exitAdvice,
ClassFileLocator classFileLocator) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
static Advice |
Advice.to(TypeDescription advice,
ClassFileLocator classFileLocator) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(java.lang.Class<?> advice) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(java.lang.Class<?> enterAdvice,
java.lang.Class<?> exitAdvice) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(java.lang.Class<?> enterAdvice,
java.lang.Class<?> exitAdvice,
ClassFileLocator classFileLocator) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(java.lang.Class<?> advice,
ClassFileLocator classFileLocator) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(TypeDescription enterAdvice,
TypeDescription exitAdvice) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(TypeDescription enterAdvice,
TypeDescription exitAdvice,
ClassFileLocator classFileLocator) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(TypeDescription advice,
ClassFileLocator classFileLocator) |
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.withAssigner(Assigner assigner) |
Configures this advice to use the specified assigner.
|
Advice |
Advice.withExceptionHandler(Advice.ExceptionHandler exceptionHandler) |
Configures this advice to execute the given exception handler upon a suppressed exception.
|
Advice |
Advice.withExceptionHandler(StackManipulation exceptionHandler) |
Configures this advice to execute the given stack manipulation upon a suppressed exception.
|
Advice |
Advice.withExceptionPrinting() |
Configures this advice to call Throwable.printStackTrace() upon a suppressed exception.
|