Uses of Interface
net.bytebuddy.implementation.Implementation
-
Packages that use Implementation Package Description net.bytebuddy Byte Buddy is a library for creating Java classes at runtime of a Java program.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.dynamic 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.net.bytebuddy.dynamic.scaffold This package contains helper types and implementations that are responsible for the actual writing of a byte array representing a Java class.net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.implementation.auxiliary Auxiliary types describe helper types that aid as a supplementary to a givenInstrumentedType
.net.bytebuddy.implementation.bind.annotation 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 Implementation Modifier and Type Class Description protected static class
ByteBuddy.EnumerationImplementation
An implementation fo thevalues
method of an enumeration type. -
Uses of Implementation in net.bytebuddy.agent.builder
Classes in net.bytebuddy.agent.builder that implement Implementation Modifier and Type Class Description protected static class
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementation
Implements an explicit bridge method for a lambda expression.protected static class
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementation
Implements a lambda class's executing transformer.protected static class
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.FactoryImplementation
An implementation of a instance factory for a lambda expression's class.protected static class
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementation
Implements a lambda expression's functional method.protected static class
AgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementation
Implements thewriteReplace
method for serializable lambda expressions. -
Uses of Implementation in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement Implementation Modifier and Type Class Description class
Advice
Advice wrappers copy the code of blueprint methods to be executed before and/or after a matched method.Methods in net.bytebuddy.asm that return Implementation Modifier and Type Method Description Implementation
Advice. wrap(Implementation implementation)
Wraps the supplied implementation to have this advice applied around it.Methods in net.bytebuddy.asm with parameters of type Implementation Modifier and Type Method Description Implementation
Advice. wrap(Implementation implementation)
Wraps the supplied implementation to have this advice applied around it. -
Uses of Implementation in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic with parameters of type Implementation Modifier and Type Method Description DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter. intercept(Implementation implementation)
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter. intercept(Implementation implementation)
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter. intercept(Implementation implementation)
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>
DynamicType.Builder.MethodDefinition.ImplementationDefinition. intercept(Implementation implementation)
Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<X>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Annotatable.AbstractBase.Adapter. intercept(Implementation implementation)
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<X>
DynamicType.Builder.MethodDefinition.ParameterDefinition.Simple.Annotatable.AbstractBase.Adapter. intercept(Implementation implementation)
DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<X>
DynamicType.Builder.MethodDefinition.TypeVariableDefinition.Annotatable.AbstractBase.Adapter. intercept(Implementation implementation)
-
Uses of Implementation in net.bytebuddy.dynamic.scaffold
Constructors in net.bytebuddy.dynamic.scaffold with parameters of type Implementation Constructor Description ForImplementation(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.implementation Modifier and Type Interface Description static interface
FieldAccessor.AssignerConfigurable
A field accessor that can be configured to use a given assigner and runtime type use configuration.static interface
FieldAccessor.OwnerTypeLocatable
A field accessor that can be configured to locate a field in a specific manner.static interface
FieldAccessor.PropertyConfigurable
A field accessor that allows to define the access to be a field write of a given argument.static interface
FixedValue.AssignerConfigurable
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
Implementation.Composable
Represents an implementation that can be chained together with another implementation.protected static interface
InvocationHandlerAdapter.AssignerConfigurable
Allows for the configuration of anAssigner
of anInvocationHandlerAdapter
.Classes in net.bytebuddy.implementation that implement Implementation Modifier and Type Class Description class
DefaultMethodCall
ThisImplementation
invokes a default method for the methods it instruments.class
ExceptionMethod
This implementation causes aThrowable
to be thrown when the instrumented method is invoked.class
FieldAccessor
Defines a method to access a given field by following the Java bean conventions for getters and setters:protected static class
FieldAccessor.ForImplicitProperty
A field accessor for an implicit property where a getter or setter property is inferred from the signature.protected static class
FieldAccessor.ForParameterSetter
A field accessor that sets a parameters value of a given index.class
FixedValue
This implementation returns a fixed value for a method.protected static class
FixedValue.ForArgument
A fixed value implementation that returns a method's argument.protected static class
FixedValue.ForNullValue
A fixed value ofnull
.protected static class
FixedValue.ForOriginType
A fixed value that appends the origin type of the instrumented type.protected static class
FixedValue.ForPoolValue
A fixed value implementation that represents its fixed value as a value that is written to the instrumented class's constant pool.protected static class
FixedValue.ForThisValue
A fixed value ofthis
.protected static class
FixedValue.ForValue
A fixed value implementation that represents its fixed value as a static field of the instrumented class.static class
Implementation.Compound
A compound implementation that allows to combine several implementations.static class
Implementation.Simple
A simple implementation that does not register any members with the instrumented type.class
InvocationHandlerAdapter
An adapter for adapting anInvocationHandler
.protected static class
InvocationHandlerAdapter.ForField
An implementation of anInvocationHandlerAdapter
that delegates method invocations to an adapter that is stored in an instance field.protected static class
InvocationHandlerAdapter.ForInstance
An implementation of anInvocationHandlerAdapter
that delegates method invocations to an adapter that is stored in a static field.class
InvokeDynamic
An implementation that applies a dynamic method invocation.protected static class
InvokeDynamic.AbstractDelegator
An abstract delegator that allows to specify a configuration for any specification of an argument.static class
InvokeDynamic.WithImplicitArguments
Representation of anInvokeDynamic
implementation where the bootstrapped method is passed athis
reference, if available, and any arguments of the instrumented method.static class
InvokeDynamic.WithImplicitTarget
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
InvokeDynamic.WithImplicitType
AnInvokeDynamic
invocation where the last argument is assigned its implicit type.protected static class
InvokeDynamic.WithImplicitType.OfArgument
An invoke dynamic implementation where the last argument is an implicitly typed method argument.protected static class
InvokeDynamic.WithImplicitType.OfField
An invoke dynamic implementation where the last argument is an implicitly typed field value.protected static class
InvokeDynamic.WithImplicitType.OfInstance
A step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value.class
MethodCall
ThisImplementation
allows the invocation of a specified method while providing explicit arguments to this method.static class
MethodCall.WithoutSpecifiedTarget
Represents aMethodCall
that invokes a method without specifying an invocation method.class
MethodDelegation
This implementation delegates an method call to another method which can either bestatic
by providing a reference to aClass
or an instance method when another object is provided.class
StubMethod
This implementation creates a method stub which does nothing but returning the default value of the return type of the method.class
SuperMethodCall
This implementation will create a new method which simply calls its super method.protected static class
SuperMethodCall.WithoutReturn
A super method invocation where the return value is dropped instead of returning from the method.Methods in net.bytebuddy.implementation that return Implementation Modifier and Type Method Description Implementation
FieldAccessor.ForParameterSetter. andThen(Implementation implementation)
Implementation
Implementation.Composable. andThen(Implementation implementation)
Appends the supplied implementation to this implementation.Implementation
InvokeDynamic.AbstractDelegator. andThen(Implementation implementation)
Implementation
InvokeDynamic. andThen(Implementation implementation)
Implementation
MethodCall. andThen(Implementation implementation)
Implementation
MethodDelegation. andThen(Implementation implementation)
Implementation
SuperMethodCall. andThen(Implementation implementation)
static Implementation
FixedValue. nullValue()
Returns anull
value from an instrumented method.static Implementation
DefaultMethodCall. prioritize(java.lang.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(java.lang.Iterable<? extends java.lang.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(java.util.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
ExceptionMethod. throwing(java.lang.Class<? extends java.lang.Throwable> exceptionType)
Creates an implementation that creates a new instance of the given isThrowable type on each method invocation which is then thrown immediately.static Implementation
ExceptionMethod. throwing(java.lang.Class<? extends java.lang.Throwable> exceptionType, java.lang.String message)
Creates an implementation that creates a new instance of the given isThrowable type on each method invocation which is then thrown immediately.static Implementation
ExceptionMethod. throwing(TypeDescription exceptionType)
Creates an implementation that creates a new instance of the given isThrowable type on each method invocation which is then thrown immediately.static Implementation
ExceptionMethod. throwing(TypeDescription exceptionType, java.lang.String message)
Creates an implementation that creates a new instance of the given isThrowable type on each method invocation which is then thrown immediately.static Implementation
DefaultMethodCall. unambiguousOnly()
Creates aDefaultMethodCall
implementation without prioritizing any interface.Implementation
FixedValue.AssignerConfigurable. withAssigner(Assigner assigner, Assigner.Typing typing)
Defines an explicit assigner to this fixed value implementation.Implementation
FixedValue.ForArgument. withAssigner(Assigner assigner, Assigner.Typing typing)
Implementation
FixedValue.ForOriginType. withAssigner(Assigner assigner, Assigner.Typing typing)
Implementation
FixedValue.ForPoolValue. withAssigner(Assigner assigner, Assigner.Typing typing)
Implementation
FixedValue.ForThisValue. withAssigner(Assigner assigner, Assigner.Typing typing)
Implementation
FixedValue.ForValue. withAssigner(Assigner assigner, Assigner.Typing typing)
Implementation
InvocationHandlerAdapter.AssignerConfigurable. withAssigner(Assigner assigner)
Configures an assigner to use with this invocation handler adapter.Implementation
InvocationHandlerAdapter.ForField. withAssigner(Assigner assigner)
Implementation
InvocationHandlerAdapter.ForInstance. withAssigner(Assigner assigner)
Methods in net.bytebuddy.implementation with parameters of type Implementation Modifier and Type Method Description Implementation
FieldAccessor.ForParameterSetter. andThen(Implementation implementation)
Implementation
Implementation.Composable. andThen(Implementation implementation)
Appends the supplied implementation to this implementation.Implementation
InvokeDynamic.AbstractDelegator. andThen(Implementation implementation)
Implementation
InvokeDynamic. andThen(Implementation implementation)
Implementation
MethodCall. andThen(Implementation implementation)
Implementation
MethodDelegation. andThen(Implementation implementation)
Implementation
SuperMethodCall. andThen(Implementation implementation)
Constructors in net.bytebuddy.implementation with parameters of type Implementation Constructor Description Compound(Implementation... implementation)
Creates a new immutable compound implementation.Constructor parameters in net.bytebuddy.implementation with type arguments of type Implementation Constructor Description Compound(java.util.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 Implementation Modifier and Type Class Description protected static class
MethodCallProxy.ConstructorCall
An implementation for a constructor of aMethodCallProxy
.protected static class
MethodCallProxy.MethodCall
An implementation for a method of aMethodCallProxy
.protected class
TypeProxy.MethodCall
An implementation for a method call of aTypeProxy
.protected static class
TypeProxy.SilentConstruction
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 Implementation Modifier and Type Class Description protected static class
FieldProxy.Binder.FieldGetter
Implementation for a getter method.protected static class
FieldProxy.Binder.FieldSetter
Implementation for a setter method.protected static class
FieldProxy.Binder.InstanceFieldConstructor
Represents an implementation for implementing a proxy type constructor when a non-static field is accessed.protected static class
FieldProxy.Binder.StaticFieldConstructor
Represents an implementation for implementing a proxy type constructor when a static field is accessed.protected static class
Morph.Binder.RedirectionProxy.InstanceFieldConstructor
Creates an instance of the proxy when instrumenting an instance method.protected static class
Morph.Binder.RedirectionProxy.MethodCall
Implements a the method call of the morphing method.protected static class
Morph.Binder.RedirectionProxy.StaticFieldConstructor
Creates an instance of the proxy when instrumenting a static method.protected static class
Pipe.Binder.Redirection.ConstructorCall
The implementation to implement aPipe.Binder.Redirection
's constructor.protected static class
Pipe.Binder.Redirection.MethodCall
The implementation to implement aPipe.Binder.Redirection
's forwarding method.
-