Package | Description |
---|---|
net.bytebuddy.agent.builder |
An agent builder is used to easily implement load-time class-transformations using a Java agent.
|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
net.bytebuddy.build |
A package for types that allow for applying Byte Buddy transformation during a build process.
|
Modifier and Type | Method and Description |
---|---|
protected AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper |
AgentBuilder.Transformer.ForAdvice.wrap(TypeDescription typeDescription,
ClassLoader classLoader,
JavaModule module,
ProtectionDomain protectionDomain,
Advice advice)
Allows for decoration of advice for subclass implementations of this transformer.
|
Modifier and Type | Class and Description |
---|---|
class |
Advice
Advice wrappers copy the code of blueprint methods to be executed before and/or after a matched method.
|
protected static class |
AsmVisitorWrapper.ForDeclaredMethods.Entry
An entry describing a method visitor wrapper paired with a matcher for fields to be wrapped.
|
static class |
MemberAttributeExtension.ForMethod
A visitor that adds attributes to a method.
|
class |
MemberSubstitution
Substitutes field access, method invocations or constructor calls within a method's body.
|
Modifier and Type | Method and Description |
---|---|
AsmVisitorWrapper.ForDeclaredMethods |
AsmVisitorWrapper.ForDeclaredMethods.constructor(ElementMatcher<? super MethodDescription> matcher,
AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper... methodVisitorWrapper)
Defines a new method visitor wrapper to be applied on any constructor if the given method matcher is matched.
|
AsmVisitorWrapper.ForDeclaredMethods |
AsmVisitorWrapper.ForDeclaredMethods.invokable(ElementMatcher<? super MethodDescription> matcher,
AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper... methodVisitorWrapper)
Defines a new method visitor wrapper to be applied on any method or constructor if the given method matcher is matched.
|
AsmVisitorWrapper.ForDeclaredMethods |
AsmVisitorWrapper.ForDeclaredMethods.method(ElementMatcher<? super MethodDescription> matcher,
AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper... methodVisitorWrapper)
Defines a new method visitor wrapper to be applied on any method if the given method matcher is matched.
|
Modifier and Type | Method and Description |
---|---|
AsmVisitorWrapper.ForDeclaredMethods |
AsmVisitorWrapper.ForDeclaredMethods.constructor(ElementMatcher<? super MethodDescription> matcher,
List<? extends AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper> methodVisitorWrappers)
Defines a new method visitor wrapper to be applied on any constructor if the given method matcher is matched.
|
AsmVisitorWrapper.ForDeclaredMethods |
AsmVisitorWrapper.ForDeclaredMethods.invokable(ElementMatcher<? super MethodDescription> matcher,
List<? extends AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper> methodVisitorWrappers)
Defines a new method visitor wrapper to be applied on any method or constructor if the given method matcher is matched.
|
AsmVisitorWrapper.ForDeclaredMethods |
AsmVisitorWrapper.ForDeclaredMethods.method(ElementMatcher<? super MethodDescription> matcher,
List<? extends AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper> methodVisitorWrappers)
Defines a new method visitor wrapper to be applied on any method if the given method matcher is matched.
|
Constructor and Description |
---|
Entry(ElementMatcher<? super MethodDescription> matcher,
List<? extends AsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper> methodVisitorWrappers)
Creates a new entry.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
AccessControllerPlugin.AccessControlWrapper
An wrapper for a method that represents a method of
AccessController which is weaved. |
Copyright © 2014–2024. All rights reserved.