Uses of Package
net.bytebuddy.asm
Packages that use net.bytebuddy.asm
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
The ASM package contains classes that are meant for direct interaction with the ASM API.
A package for types that allow for applying Byte Buddy transformation during a build process.
This package contains classes and interfaces that are connected to writing the byte stream that represents a Java
type that is dynamically created and for loading this type into a running JVM process.
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
All classes and types in this package are related to creating a
DynamicType
by
enhancing a given type.All classes and types in this package are related to creating a
DynamicType
by
creating a subclass of a given type.-
Classes in net.bytebuddy.asm used by net.bytebuddy.agent.builderClassDescriptionAdvice wrappers copy the code of blueprint methods to be executed before and/or after a matched method.An exception handler is responsible for providing byte code for handling an exception thrown from a suppressing advice method.A builder step for creating an
Advice
that uses custom mappings of annotations to constant pool values. -
Classes in net.bytebuddy.asm used by net.bytebuddy.asmClassDescriptionAdvice wrappers copy the code of blueprint methods to be executed before and/or after a matched method.A method visitor that weaves the advice methods' byte codes.An advice visitor that applies exit advice.Assigns an array containing all arguments of the instrumented method to the annotated parameter.Indicates that the annotated parameter should be mapped to the parameter with index
Advice.Argument.value()
of the instrumented method.An argument handler is responsible for resolving offsets of the local variable array in the context of the applied instrumentation.A factory for creating an argument handler.An argument handler that is used for resolving an advice method.A default implementation for an argument handler for an advice method.An argument handler that is used for resolving the instrumented method.A default implementation of an argument handler for an instrumented method.A post processor that uses the return value of an advice method to define values for fields, arguments, the instrumented method's return value or the exception being thrown.A dispatcher for skipping a default value.A factory for wrapping an assignment with an exception handler, if appropriate.A non-operational factory that does not produce an exception handler.A factory to create aAdvice.AssignReturned
post processor.A handler for anAdvice.AssignReturned
post processor to assign a value that was returned by advice to a value of the instrumented method.A factory for resolving a handler for a given advice method.Assigns the advice method's return value as an array to a number of arguments which are returned as an array where each element assigns a single value with the same index as the instrumented method's parameter.A factory to create a handler for aAdvice.AssignReturned.ToAllArguments
annotation.Assigns the advice method's return value to an argument of the instrumented method of the given index.A factory to create a handler for aAdvice.AssignReturned.ToArguments
annotation.Assigns the advice method's return value to a given field.A factory to create a handler for aAdvice.AssignReturned.ToFields
annotation.Assigns the advice method's return value to the instrumented method's return value.A factory to create a handler for aAdvice.AssignReturned.ToReturned
annotation.Assigns the advice method's return value to thethis
reference of the instrumented method.A handler factory for theAdvice.AssignReturned.ToThis
annotation which assigns an advice method's return value to the this reference of a non-static method.Assigns the advice method's return value to the instrumented method's return value.A factory to create a handler for aAdvice.AssignReturned.ToThrown
annotation.Materializes an advice invocation within a delegation.Invokes an advice method using a static method call.A dispatcher for implementing advice.A bound resolution of an advice method.A resolved version of a dispatcher.A bound advice method that copies the code by first extracting the exception table and later appending the code of the method without copying any meta data.A resolved dispatcher for implementing method enter advice.A resolved dispatcher for implementing method exit advice.An implementation for inactive devise that does not write any byte code.A resolved version of a dispatcher.A resolved dispatcher for implementing method enter advice.A resolved dispatcher for implementing method exit advice.A relocation handler is responsible for chaining the usual control flow of an instrumented method.A boundAdvice.Dispatcher.RelocationHandler
.A disabled relocation handler that does never trigger a relocation.A relocation handler that triggers a relocation for a default or non-default value.A relocator is responsible for triggering a relocation if a relocation handler triggers a relocating condition.Represents a resolved dispatcher.An abstract base implementation of aAdvice.Dispatcher.Resolved
dispatcher.Represents a resolved dispatcher for entering a method.Represents a resolved dispatcher for exiting a method.A suppression handler for optionally suppressing exceptions.A bound version of a suppression handler that must not be reused.A non-operational suppression handler that does not suppress any method.A dispatcher that is not yet resolved.Indicates that the annotated parameter should be mapped to the value that is returned by the advice method that is annotated byAdvice.OnMethodEnter
.An exception handler is responsible for providing byte code for handling an exception thrown from a suppressing advice method.Default implementations for commonly used exception handlers.Indicates that the annotated parameter should be mapped to the value that is returned by the advice method that is annotated byAdvice.OnMethodExit
.Indicates that the annotated parameter should be mapped to a field in the scope of the instrumented method.Declares the annotated parameter as a local variable that is created by Byte Buddy for the instrumented method.A handler for computing the instrumented method's size.A default implementation for a method size handler.A method size handler for an advice method.A method size handler for the instrumented method.A non-operational method size handler.Represents an offset mapping for an advice method to an alternative offset.Represents a factory for creating aAdvice.OffsetMapping
for a given parameter for a given annotation.Describes the type of advice being applied.A factory for an offset mapping that maps all arguments values of the instrumented method.An offset mapping for a given parameter of the instrumented method.A factory for a mapping of a parameter of the instrumented method.An offset mapping for a field.An offset mapping for a field that is resolved from the instrumented type by its name.A factory for aAdvice.OffsetMapping.ForField.Unresolved
offset mapping.Maps a constant representing the instrumented method.Maps the declaring type of the instrumented method.A factory for a method origin.A renderer for an origin pattern element.A renderer for a method descriptor.A renderer for a method's Java signature in binary form.A renderer for a method's internal name.A renderer for a property name.A renderer for a method's return type in binary form.A renderer for a method'sObject.toString()
representation.A renderer for a method declaring type's binary name.A factory for creating aAdvice.OffsetMapping.ForReturnValue
offset mapping.An offset mapping for a parameter where assignments are fully ignored and that is assigned a boxed version of the instrumented method's return value ornull
if the return type is not primitive orvoid
.A factory for creating aAdvice.OffsetMapping.ForThisReference
offset mapping.A factory for accessing an exception that was thrown by the instrumented method.A factory for an offset mapping for an unused value.Describes the sort of the executed advice.A target offset of an offset mapping.A target mapping for an array of all local variables.A target for an offset mapping that represents a non-operational value.A target for an offset mapping that loads a field value.A target for an offset mapping that represents a local variable.Indicates that the annotated parameter should be mapped to a string representation of the instrumented method, a constant representing theClass
declaring the adviced method or aMethod
,Constructor
orjava.lang.reflect.Executable
representing this method.A post processor for advice methods that is invoked after advice is executed.A factory for creating aAdvice.PostProcessor
.A non-operational advice post processor.Indicates that the annotated parameter should be mapped to the return value of the instrumented method.A handler for computing and translating stack map frames.A default implementation of a stack map frame handler for an instrumented method.Represents the initialization state of a stack value that can either be initialized or uninitialized.A translation mode that determines how the fixed frames of the instrumented method are written.A stack map frame handler that requires the original arguments of the instrumented method to be preserved in their original form.A stack map frame handler for an advice method.A stack map frame handler for an instrumented method.A stack map frame handler that can be used within a post processor.A non-operational stack map frame handler.Indicates that the annotated parameter should always return a default a boxed version of the instrumented methods return value (i.e.Indicates that the annotated parameter should be mapped to thethis
reference of the instrumented method.Indicates that the annotated parameter should be mapped to theThrowable
thrown by the instrumented method or tonull
if the method returned regularly.Indicates that the annotated parameter should always return a default value (i.e.A builder step for creating anAdvice
that uses custom mappings of annotations to constant pool values.A class visitor wrapper is used in order to register an intermediate ASMClassVisitor
which is applied to the main type created by aDynamicType.Builder
but not to anyAuxiliaryType
s, if any.An abstract base implementation of an ASM visitor wrapper that does not set any flags.An ASM visitor wrapper that allows to wrap declared fields of the instrumented type with aAsmVisitorWrapper.ForDeclaredFields.FieldVisitorWrapper
.An entry describing a field visitor wrapper paired with a matcher for fields to be wrapped.A field visitor wrapper that allows for wrapping aFieldVisitor
defining a declared field.An ASM visitor wrapper that allows to wrap declared methods of the instrumented type with aAsmVisitorWrapper.ForDeclaredMethods.MethodVisitorWrapper
.An entry describing a method visitor wrapper paired with a matcher for fields to be wrapped.A method visitor wrapper that allows for wrapping aMethodVisitor
defining a declared method.A class visitor wrapper that does not apply any changes.A visitor that adds attributes to a class member.A visitor that adds attributes to a field.A visitor that adds attributes to a method.A visitor wrapper that removes fields or methods that match a givenElementMatcher
.Substitutes field access or method invocations within a method's body.A replacement combines aMemberSubstitution.Substitution
and a way of choosing if this substitution should be applied for a discovered member.A binding for a replacement of a field or method access within another method.An unresolved binding.A factory for creating a replacement for an instrumented method.Describes a method invocation type.A non-operational replacement.A substitution replaces or enhances an interaction with a field or method within an instrumented method.A factory for creating a substitution chain.Represents a step of a substitution chain.Resolves a substitution for an instrumented method.A resolved substitution step.A factory for creating a substitution for an instrumented method.A method resolver for locating a field for a substitute.A method resolver for locating a method for a substitute.A factory for a substitution that invokes the instrumented method.A substitution that drops any field or method access and returns the expected return type's default value, i.enull
or zero for primitive types.A type pool resolver is responsible for resolving aTypePool
for locating substituted members.Returns the implicit type pool.A member substitution that lacks a specification for how to substitute the matched members references within a method body.Describes a member substitution that requires a specification for how to replace a field.Describes a member substitution that requires a specification for how to replace a method or constructor.A visitor wrapper that adjusts the modifiers of the instrumented type or its members.A description of a conditional adjustment.A class visitor that enforces a collection of modifier adjustments.This class visitor wrapper ensures that class files of a version previous to Java 5 do not store class entries in the generated class's constant pool.Adds an attribute value for all inner classes that are referenced by the instrumented type. -
Classes in net.bytebuddy.asm used by net.bytebuddy.buildClassDescriptionAn argument handler is responsible for resolving offsets of the local variable array in the context of the applied instrumentation.Represents an offset mapping for an advice method to an alternative offset.Describes the sort of the executed advice.A target offset of an offset mapping.Indicates that this method should be inlined before the matched method is invoked.Indicates that this method should be executed before exiting the instrumented method.Indicates that the annotated parameter should be mapped to the return value of the instrumented method.A method visitor wrapper that allows for wrapping a
MethodVisitor
defining a declared method. -
Classes in net.bytebuddy.asm used by net.bytebuddy.dynamicClassDescriptionA class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor
which is applied to the main type created by aDynamicType.Builder
but not to anyAuxiliaryType
s, if any. -
Classes in net.bytebuddy.asm used by net.bytebuddy.dynamic.scaffoldClassDescriptionA class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor
which is applied to the main type created by aDynamicType.Builder
but not to anyAuxiliaryType
s, if any. -
Classes in net.bytebuddy.asm used by net.bytebuddy.dynamic.scaffold.inlineClassDescriptionA class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor
which is applied to the main type created by aDynamicType.Builder
but not to anyAuxiliaryType
s, if any. -
Classes in net.bytebuddy.asm used by net.bytebuddy.dynamic.scaffold.subclassClassDescriptionA class visitor wrapper is used in order to register an intermediate ASM
ClassVisitor
which is applied to the main type created by aDynamicType.Builder
but not to anyAuxiliaryType
s, if any.