Package | Description |
---|---|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
Modifier and Type | Method and Description |
---|---|
static Advice |
Advice.to(Class<?> advice)
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(Class<?> advice)
Implements advice where every matched method is advised by the given type's advisory methods.
|
static Advice |
Advice.to(Class<?> enterAdvice,
Class<?> exitAdvice)
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(Class<?> enterAdvice,
Class<?> exitAdvice)
Implements advice where every matched method is advised by the given type's advisory methods.
|
static Advice |
Advice.to(Class<?> enterAdvice,
Class<?> exitAdvice,
ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(Class<?> enterAdvice,
Class<?> exitAdvice,
ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.
|
static Advice |
Advice.to(Class<?> advice,
ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.
|
Advice |
Advice.WithCustomMapping.to(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.
|
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(TypeDescription advice,
ClassFileLocator classFileLocator)
Implements advice where every matched method is advised by the given type's advisory methods.
|
protected static Advice |
Advice.to(TypeDescription advice,
ClassFileLocator classFileLocator,
List<? extends Advice.Dispatcher.OffsetMapping.Factory> userFactories)
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.
|
Advice |
Advice.WithCustomMapping.to(TypeDescription enterAdvice,
TypeDescription exitAdvice)
Implements advice where every matched method is advised by the given type's advisory methods.
|
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.
|
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.
|
protected static Advice |
Advice.to(TypeDescription enterAdvice,
TypeDescription exitAdvice,
ClassFileLocator classFileLocator,
List<? extends Advice.Dispatcher.OffsetMapping.Factory> userFactories)
Creates a new advice.
|
Advice |
Advice.withAssigner(Assigner assigner)
Configures this advice to use the specified assigner.
|
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. |
Constructor and Description |
---|
Appender(Advice advice,
Implementation.Target implementationTarget,
ByteCodeAppender delegate)
Creates a new appender for an advice component.
|
Copyright © 2014–2016. All rights reserved.