Uses of Interface
net.bytebuddy.implementation.Implementation
Packages that use Implementation
Package
Description
Byte Buddy is a library for creating Java classes at runtime of a Java program.
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.
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.
The implementation package contains any logic for intercepting method calls.
Auxiliary types describe helper types that aid as a supplementary to a given
InstrumentedType
.This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
-
Uses of Implementation in net.bytebuddy
Classes in net.bytebuddy that implement ImplementationModifier and TypeClassDescriptionprotected static class
An implementation fo thevalues
method of an enumeration type.protected static enum
A constructor strategy for implementing a Java record.protected static enum
Implements the object methods of the Java record type. -
Uses of Implementation in net.bytebuddy.agent.builder
Classes in net.bytebuddy.agent.builder that implement ImplementationModifier and TypeClassDescriptionprotected static class
Implements an explicit bridge method for a lambda expression.protected static enum
Implements a lambda class's executing transformer.protected static enum
An implementation of a instance factory for a lambda expression's class.protected static class
Implements a lambda expression's functional method.protected static class
Implements thewriteReplace
method for serializable lambda expressions. -
Uses of Implementation in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement ImplementationModifier and TypeClassDescriptionclass
Advice wrappers copy the code of blueprint methods to be executed before and/or after a matched method.Fields in net.bytebuddy.asm declared as ImplementationModifier and TypeFieldDescriptionprivate final Implementation
Advice.delegate
The delegate implementation to apply if this advice is used as an instrumentation.Methods in net.bytebuddy.asm that return ImplementationModifier and TypeMethodDescriptionAdvice.wrap
(Implementation implementation) Wraps the supplied implementation to have this advice applied around it.Methods in net.bytebuddy.asm with parameters of type ImplementationModifier and TypeMethodDescriptionprivate static DynamicType.Builder
<?> ClassVisitorFactory.toVisitorBuilder
(ByteBuddy byteBuddy, Class<?> sourceVisitor, Class<?> targetVisitor, Class<?> sourceTypePath, Class<?> targetTypePath, Implementation appendix) Creates a builder for a visitor type.Advice.wrap
(Implementation implementation) Wraps the supplied implementation to have this advice applied around it.Constructors in net.bytebuddy.asm with parameters of type ImplementationModifierConstructorDescriptionprivate
Advice
(Advice.Dispatcher.Resolved.ForMethodEnter methodEnter, Advice.Dispatcher.Resolved.ForMethodExit methodExit, Assigner assigner, Advice.ExceptionHandler exceptionHandler, Implementation delegate) Creates a new advice. -
Uses of Implementation in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic with parameters of type ImplementationModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter.intercept
(Implementation implementation) Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter.intercept
(Implementation implementation) Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter.intercept
(Implementation implementation) Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.MethodDefinition.ImplementationDefinition.intercept
(Implementation implementation) Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter.intercept
(Implementation implementation) Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter.intercept
(Implementation implementation) Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter.intercept
(Implementation implementation) Implements the previously defined or matched method by the supplied implementation. -
Uses of Implementation in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold declared as ImplementationModifier and TypeFieldDescriptionprivate final Implementation
MethodRegistry.Handler.ForImplementation.implementation
The implementation to apply.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type ImplementationModifierConstructorDescriptionForImplementation
(Implementation implementation) Creates a new handler for implementing a method with byte code. -
Uses of Implementation in net.bytebuddy.implementation
Subinterfaces of Implementation in net.bytebuddy.implementationModifier and TypeInterfaceDescriptionstatic interface
A field accessor that can be configured to use a given assigner and runtime type use configuration.static interface
A field accessor that can be configured to locate a field in a specific manner.static interface
A field accessor that allows to define the access to be a field write of a given argument.static interface
Represents a fixed value implementation that is using a default assigner for attempting to assign the fixed value to the return type of the instrumented method.static interface
Represents an implementation that can be chained together with another implementation.static interface
Allows for the configuration of anAssigner
of anInvocationHandlerAdapter
.static interface
Allows the configuration of privileged lookup for the resolution ofMethod
constants that are provided to the invocation handler.Classes in net.bytebuddy.implementation that implement ImplementationModifier and TypeClassDescriptionclass
ThisImplementation
invokes a default method for the methods it instruments.class
An implementation ofObject.equals(Object)
that takes a class's declared fields into consideration.class
This implementation causes aThrowable
to be thrown when the instrumented method is invoked.class
Defines a method to access a given field by following the Java bean conventions for getters and setters:protected static class
A field accessor for an implicit property where a getter or setter property is inferred from the signature.protected static class
A field accessor for a field setter.protected static class
An instrumentation that sets a constant value to a field.protected static class
A setter instrumentation that sets anull
or a primitive type's default value.protected static class
A setter that reads a value of another field and sets this value.protected static class
A setter instrumentation for a parameter value.protected static class
An instrumentation that sets a field to a reference value that is stored in a static field of the instrumented type.class
This implementation returns a fixed value for a method.protected static class
A fixed value implementation that returns a method's argument.protected static class
A fixed value implementation that represents its fixed value as a constant pool value or a byte code instruction.protected static enum
A fixed value ofnull
.protected static class
A fixed value that appends the origin type of the instrumented type.protected static class
A fixed value ofthis
.protected static class
A fixed value implementation that represents its fixed value as a static field of the instrumented class.class
An implementation ofObject.hashCode()
that takes a class's declared fields into consideration.static class
A compound implementation that allows to combine several implementations.static class
A compound implementation that allows to combine several implementations and that isImplementation.Composable
.static class
A simple implementation that does not register any members with the instrumented type.protected static class
AByteCodeAppender
for a dispatcher.class
An adapter for adapting anInvocationHandler
.protected static class
An implementation of anInvocationHandlerAdapter
that delegates method invocations to an adapter that is stored in an instance field.protected static class
An implementation of anInvocationHandlerAdapter
that delegates method invocations to an adapter that is stored in a static field.class
An implementation that applies a dynamic method invocation.protected static class
An abstract delegator that allows to specify a configuration for any specification of an argument.static class
Representation of anInvokeDynamic
implementation where the bootstrapped method is passed athis
reference, if available, and any arguments of the instrumented method.static class
Representation of anInvokeDynamic
implementation where the bootstrapped method is passed athis
reference, if available, and any arguments of the instrumented method and where the invocation target is implicit.static class
AnInvokeDynamic
invocation where the last argument is assigned its implicit type.protected static class
An invoke dynamic implementation where the last argument is an implicitly typed method argument.protected static class
An invoke dynamic implementation where the last argument is an implicitly typed field value.protected static class
A step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value.class
ThisImplementation
allows the invocation of a specified method while providing explicit arguments to this method.static class
AMethodCall
that sets the call's result as the value of a field.static class
Represents aMethodCall
that invokes a method without specifying an invocation method.class
This implementation delegates a method call to another method which can either bestatic
by providing a reference to aClass
or an instance method when another object is provided.enum
This implementation creates a method stub which does nothing but returning the default value of the return type of the method.enum
This implementation will create a new method which simply calls its super method.protected static enum
A super method invocation where the return value is dropped instead of returning from the method.class
An implementation ofObject.toString()
that concatenates theString
representation of all fields that are declared by a class.Fields in net.bytebuddy.implementation with type parameters of type ImplementationModifier and TypeFieldDescriptionprivate final List
<Implementation> Implementation.Compound.Composable.implementations
All implementation that are represented by this compound implementation.private final List
<Implementation> Implementation.Compound.implementations
All implementation that are represented by this compound implementation.Methods in net.bytebuddy.implementation that return ImplementationModifier and TypeMethodDescriptionFieldAccessor.ForSetter.OfConstantValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.FieldAccessor.ForSetter.OfDefaultValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.FieldAccessor.ForSetter.OfFieldValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.FieldAccessor.ForSetter.OfParameterValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.FieldAccessor.ForSetter.OfReferenceValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.Implementation.Composable.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.Implementation.Compound.Composable.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.InvocationHandlerAdapter.ForField.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.InvocationHandlerAdapter.ForInstance.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.InvokeDynamic.AbstractDelegator.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.InvokeDynamic.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.MethodCall.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.MethodCall.FieldSetting.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.MethodDelegation.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.StubMethod.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.SuperMethodCall.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.static Implementation
FixedValue.nullValue()
Returns anull
value from an instrumented method.static Implementation
Implementation.Simple.of
(Implementation.Simple.Dispatcher dispatcher) Resolves a simple implementation that applies the given dispatcher without defining additional local variables.static Implementation
Implementation.Simple.of
(Implementation.Simple.Dispatcher dispatcher, int additionalVariableLength) Resolves a simple implementation that applies the given dispatcher.static Implementation
Implementation.Simple.of
(Implementation.Simple.Dispatcher dispatcher, InstrumentedType.Prepareable prepareable) Resolves a simple implementation that applies the given dispatcher without defining additional local variables.static Implementation
Implementation.Simple.of
(Implementation.Simple.Dispatcher dispatcher, InstrumentedType.Prepareable prepareable, int additionalVariableLength) Resolves a simple implementation that applies the given dispatcher.static Implementation
DefaultMethodCall.prioritize
(Class<?>... prioritizedInterface) Creates aDefaultMethodCall
implementation which searches the given list of interface types for a suitable default method in their order.static Implementation
DefaultMethodCall.prioritize
(Iterable<? extends Class<?>> prioritizedInterfaces) Creates aDefaultMethodCall
implementation which searches the given list of interface types for a suitable default method in their order.static Implementation
DefaultMethodCall.prioritize
(Collection<? extends TypeDescription> prioritizedInterfaces) Creates aDefaultMethodCall
implementation which searches the given list of interface types for a suitable default method in their order.static Implementation
DefaultMethodCall.prioritize
(TypeDescription... prioritizedInterface) Creates aDefaultMethodCall
implementation which searches the given list of interface types for a suitable default method in their order.static Implementation
Creates an implementation that creates a new instance of the givenThrowable
type on each method invocation which is then thrown immediately.static Implementation
Creates an implementation that creates a new instance of the givenThrowable
type on each method invocation which is then thrown immediately.static Implementation
ExceptionMethod.throwing
(TypeDescription throwableType) Creates an implementation that creates a new instance of the givenThrowable
type on each method invocation which is then thrown immediately.static Implementation
ExceptionMethod.throwing
(TypeDescription throwableType, String message) Creates an implementation that creates a new instance of the givenThrowable
type on each method invocation which is then thrown immediately.static Implementation
DefaultMethodCall.unambiguousOnly()
Creates aDefaultMethodCall
implementation without prioritizing any interface.FixedValue.AssignerConfigurable.withAssigner
(Assigner assigner, Assigner.Typing typing) Defines an explicit assigner to this fixed value implementation.FixedValue.ForArgument.withAssigner
(Assigner assigner, Assigner.Typing typing) Defines an explicit assigner to this fixed value implementation.FixedValue.ForConstantValue.withAssigner
(Assigner assigner, Assigner.Typing typing) Defines an explicit assigner to this fixed value implementation.FixedValue.ForOriginType.withAssigner
(Assigner assigner, Assigner.Typing typing) Defines an explicit assigner to this fixed value implementation.FixedValue.ForThisValue.withAssigner
(Assigner assigner, Assigner.Typing typing) Defines an explicit assigner to this fixed value implementation.FixedValue.ForValue.withAssigner
(Assigner assigner, Assigner.Typing typing) Defines an explicit assigner to this fixed value implementation.abstract Implementation
InvocationHandlerAdapter.withAssigner
(Assigner assigner) Configures an assigner to use with this invocation handler adapter.HashCodeMethod.withMultiplier
(int multiplier) Returns a new version of this hash code method implementation that uses the given multiplier onto any given hash code before adding a field's hash code.EqualsMethod.withSubclassEquality()
Returns a new version of this equals method implementation that permits subclasses of the instrumented type to be equal to instances of the instrumented type instead of requiring an exact match.ToStringMethod.withTokens
(String start, String end, String separator, String definer) Changes the tokens used for theObject.toString()
implementation.Methods in net.bytebuddy.implementation with parameters of type ImplementationModifier and TypeMethodDescriptionFieldAccessor.ForSetter.OfConstantValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.FieldAccessor.ForSetter.OfDefaultValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.FieldAccessor.ForSetter.OfFieldValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.FieldAccessor.ForSetter.OfParameterValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.FieldAccessor.ForSetter.OfReferenceValue.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.Implementation.Composable.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.Implementation.Compound.Composable.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.InvocationHandlerAdapter.ForField.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.InvocationHandlerAdapter.ForInstance.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.InvokeDynamic.AbstractDelegator.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.InvokeDynamic.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.MethodCall.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.MethodCall.FieldSetting.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.MethodDelegation.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.StubMethod.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.SuperMethodCall.andThen
(Implementation implementation) Appends the supplied implementation to this implementation.Constructors in net.bytebuddy.implementation with parameters of type ImplementationModifierConstructorDescriptionComposable
(Implementation implementation, Implementation.Composable composable) Creates a new compound composable.Compound
(Implementation... implementation) Creates a new immutable compound implementation.Constructor parameters in net.bytebuddy.implementation with type arguments of type ImplementationModifierConstructorDescriptionComposable
(List<? extends Implementation> implementations, Implementation.Composable composable) Creates a new compound composable.Compound
(List<? extends Implementation> implementations) Creates a new immutable compound implementation. -
Uses of Implementation in net.bytebuddy.implementation.auxiliary
Classes in net.bytebuddy.implementation.auxiliary that implement ImplementationModifier and TypeClassDescriptionprotected static enum
An implementation for a constructor of aMethodCallProxy
.protected static class
An implementation for a method of aMethodCallProxy
.protected class
An implementation for a method call of aTypeProxy
.protected static enum
An implementation of a silent construction of a given type by using the non-standardizedReflectionFactory
. -
Uses of Implementation in net.bytebuddy.implementation.bind.annotation
Classes in net.bytebuddy.implementation.bind.annotation that implement ImplementationModifier and TypeClassDescriptionprotected static class
Implementation for a getter method.protected static class
Implementation for a setter method.protected static class
Represents an implementation for implementing a proxy type constructor when a non-static field is accessed.protected static enum
Represents an implementation for implementing a proxy type constructor when a static field is accessed.protected static class
Creates an instance of the proxy when instrumenting an instance method.protected static class
Implements a the method call of the morphing method.protected static enum
Creates an instance of the proxy when instrumenting a static method.protected static enum
The implementation to implement aPipe.Binder.RedirectionProxy
's constructor.protected static class
The implementation to implement aPipe.Binder.RedirectionProxy
's forwarding method.