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 classByteBuddy.EnumerationImplementationAn implementation fo thevaluesmethod of an enumeration type.protected static classByteBuddy.RecordConstructorStrategyA constructor strategy for implementing a Java record.protected static classByteBuddy.RecordObjectMethodImplements the object methods of the Java record 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 classAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.BridgeMethodImplementationImplements an explicit bridge method for a lambda expression.protected static classAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.ConstructorImplementationImplements a lambda class's executing transformer.protected static classAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.FactoryImplementationAn implementation of a instance factory for a lambda expression's class.protected static classAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.LambdaMethodImplementationImplements a lambda expression's functional method.protected static classAgentBuilder.LambdaInstrumentationStrategy.LambdaInstanceFactory.SerializationImplementationImplements thewriteReplacemethod for serializable lambda expressions. -
Uses of Implementation in net.bytebuddy.asm
Classes in net.bytebuddy.asm that implement Implementation Modifier and Type Class Description classAdviceAdvice wrappers copy the code of blueprint methods to be executed before and/or after a matched method.Fields in net.bytebuddy.asm declared as Implementation Modifier and Type Field Description private ImplementationAdvice. delegateThe delegate implementation to apply if this advice is used as an instrumentation.Methods in net.bytebuddy.asm that return Implementation Modifier and Type Method Description ImplementationAdvice. 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 ImplementationAdvice. wrap(Implementation implementation)Wraps the supplied implementation to have this advice applied around it.Constructors in net.bytebuddy.asm with parameters of type Implementation Constructor Description 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 Implementation Modifier and Type Method Description DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>DynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter. intercept(Implementation implementation)Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>DynamicType.Builder.AbstractBase.Adapter.MethodMatchAdapter. intercept(Implementation implementation)Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<U>DynamicType.Builder.AbstractBase.Adapter.OptionalMethodMatchAdapter. intercept(Implementation implementation)Implements the previously defined or matched method by the supplied 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)Implements the previously defined or matched method by the supplied implementation.DynamicType.Builder.MethodDefinition.ReceiverTypeDefinition<X>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.ReceiverTypeDefinition<X>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 Implementation Modifier and Type Field Description private ImplementationMethodRegistry.Handler.ForImplementation. implementationThe implementation to apply.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 interfaceFieldAccessor.AssignerConfigurableA field accessor that can be configured to use a given assigner and runtime type use configuration.static interfaceFieldAccessor.OwnerTypeLocatableA field accessor that can be configured to locate a field in a specific manner.static interfaceFieldAccessor.PropertyConfigurableA field accessor that allows to define the access to be a field write of a given argument.static interfaceFixedValue.AssignerConfigurableRepresents 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 interfaceImplementation.ComposableRepresents an implementation that can be chained together with another implementation.static interfaceInvocationHandlerAdapter.AssignerConfigurableAllows for the configuration of anAssignerof anInvocationHandlerAdapter.static interfaceInvocationHandlerAdapter.WithoutPrivilegeConfigurationAllows the configuration of privileged lookup for the resolution ofMethodconstants that are provided to the invocation handler.Classes in net.bytebuddy.implementation that implement Implementation Modifier and Type Class Description classDefaultMethodCallThisImplementationinvokes a default method for the methods it instruments.classEqualsMethodAn implementation ofObject.equals(Object)that takes a class's declared fields into consideration.classExceptionMethodThis implementation causes aThrowableto be thrown when the instrumented method is invoked.classFieldAccessorDefines a method to access a given field by following the Java bean conventions for getters and setters:protected static classFieldAccessor.ForImplicitPropertyA field accessor for an implicit property where a getter or setter property is inferred from the signature.protected static classFieldAccessor.ForSetter<T>A field accessor for a field setter.protected static classFieldAccessor.ForSetter.OfConstantValueAn instrumentation that sets a constant value to a field.protected static classFieldAccessor.ForSetter.OfDefaultValueA setter instrumentation that sets anullor a primitive type's default value.protected static classFieldAccessor.ForSetter.OfFieldValueA setter that reads a value of another field and sets this value.protected static classFieldAccessor.ForSetter.OfParameterValueA setter instrumentation for a parameter value.protected static classFieldAccessor.ForSetter.OfReferenceValueAn instrumentation that sets a field to a reference value that is stored in a static field of the instrumented type.classFixedValueThis implementation returns a fixed value for a method.protected static classFixedValue.ForArgumentA fixed value implementation that returns a method's argument.protected static classFixedValue.ForNullValueA fixed value ofnull.protected static classFixedValue.ForOriginTypeA fixed value that appends the origin type of the instrumented type.protected static classFixedValue.ForPoolValueA fixed value implementation that represents its fixed value as a value that is written to the instrumented class's constant pool.protected static classFixedValue.ForThisValueA fixed value ofthis.protected static classFixedValue.ForValueA fixed value implementation that represents its fixed value as a static field of the instrumented class.classHashCodeMethodAn implementation ofObject.hashCode()that takes a class's declared fields into consideration.static classImplementation.CompoundA compound implementation that allows to combine several implementations.static classImplementation.Compound.ComposableA compound implementation that allows to combine several implementations and that isImplementation.Composable.static classImplementation.SimpleA simple implementation that does not register any members with the instrumented type.classInvocationHandlerAdapterAn adapter for adapting anInvocationHandler.protected static classInvocationHandlerAdapter.ForFieldAn implementation of anInvocationHandlerAdapterthat delegates method invocations to an adapter that is stored in an instance field.protected static classInvocationHandlerAdapter.ForInstanceAn implementation of anInvocationHandlerAdapterthat delegates method invocations to an adapter that is stored in a static field.classInvokeDynamicAn implementation that applies a dynamic method invocation.protected static classInvokeDynamic.AbstractDelegatorAn abstract delegator that allows to specify a configuration for any specification of an argument.static classInvokeDynamic.WithImplicitArgumentsRepresentation of anInvokeDynamicimplementation where the bootstrapped method is passed athisreference, if available, and any arguments of the instrumented method.static classInvokeDynamic.WithImplicitTargetRepresentation of anInvokeDynamicimplementation where the bootstrapped method is passed athisreference, if available, and any arguments of the instrumented method and where the invocation target is implicit.static classInvokeDynamic.WithImplicitTypeAnInvokeDynamicinvocation where the last argument is assigned its implicit type.protected static classInvokeDynamic.WithImplicitType.OfArgumentAn invoke dynamic implementation where the last argument is an implicitly typed method argument.protected static classInvokeDynamic.WithImplicitType.OfFieldAn invoke dynamic implementation where the last argument is an implicitly typed field value.protected static classInvokeDynamic.WithImplicitType.OfInstanceA step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value.classMethodCallThisImplementationallows the invocation of a specified method while providing explicit arguments to this method.static classMethodCall.FieldSettingAMethodCallthat sets the call's result as the value of a field.static classMethodCall.WithoutSpecifiedTargetRepresents aMethodCallthat invokes a method without specifying an invocation method.classMethodDelegationThis implementation delegates an method call to another method which can either bestaticby providing a reference to aClassor an instance method when another object is provided.classStubMethodThis implementation creates a method stub which does nothing but returning the default value of the return type of the method.classSuperMethodCallThis implementation will create a new method which simply calls its super method.protected static classSuperMethodCall.WithoutReturnA super method invocation where the return value is dropped instead of returning from the method.classToStringMethodAn implementation ofObject.toString()that concatenates theStringrepresentation of all fields that are declared by a class.Fields in net.bytebuddy.implementation with type parameters of type Implementation Modifier and Type Field Description private java.util.List<Implementation>Implementation.Compound.Composable. implementationsAll implementation that are represented by this compound implementation.private java.util.List<Implementation>Implementation.Compound. implementationsAll implementation that are represented by this compound implementation.Methods in net.bytebuddy.implementation that return Implementation Modifier and Type Method Description ImplementationFieldAccessor.ForSetter.OfConstantValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationFieldAccessor.ForSetter.OfDefaultValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationFieldAccessor.ForSetter.OfFieldValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationFieldAccessor.ForSetter.OfParameterValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationFieldAccessor.ForSetter.OfReferenceValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationImplementation.Composable. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationImplementation.Compound.Composable. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationInvokeDynamic.AbstractDelegator. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationInvokeDynamic. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationMethodCall. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationMethodCall.FieldSetting. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationMethodDelegation. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationStubMethod. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationSuperMethodCall. andThen(Implementation implementation)Appends the supplied implementation to this implementation.static ImplementationFixedValue. nullValue()Returns anullvalue from an instrumented method.static ImplementationDefaultMethodCall. prioritize(java.lang.Class<?>... prioritizedInterface)Creates aDefaultMethodCallimplementation which searches the given list of interface types for a suitable default method in their order.static ImplementationDefaultMethodCall. prioritize(java.lang.Iterable<? extends java.lang.Class<?>> prioritizedInterfaces)Creates aDefaultMethodCallimplementation which searches the given list of interface types for a suitable default method in their order.static ImplementationDefaultMethodCall. prioritize(java.util.Collection<? extends TypeDescription> prioritizedInterfaces)Creates aDefaultMethodCallimplementation which searches the given list of interface types for a suitable default method in their order.static ImplementationDefaultMethodCall. prioritize(TypeDescription... prioritizedInterface)Creates aDefaultMethodCallimplementation which searches the given list of interface types for a suitable default method in their order.static ImplementationExceptionMethod. throwing(java.lang.Class<? extends java.lang.Throwable> throwableType)Creates an implementation that creates a new instance of the givenThrowabletype on each method invocation which is then thrown immediately.static ImplementationExceptionMethod. throwing(java.lang.Class<? extends java.lang.Throwable> throwableType, java.lang.String message)Creates an implementation that creates a new instance of the givenThrowabletype on each method invocation which is then thrown immediately.static ImplementationExceptionMethod. throwing(TypeDescription throwableType)Creates an implementation that creates a new instance of the givenThrowabletype on each method invocation which is then thrown immediately.static ImplementationExceptionMethod. throwing(TypeDescription throwableType, java.lang.String message)Creates an implementation that creates a new instance of the givenThrowabletype on each method invocation which is then thrown immediately.static ImplementationDefaultMethodCall. unambiguousOnly()Creates aDefaultMethodCallimplementation without prioritizing any interface.ImplementationFixedValue.AssignerConfigurable. withAssigner(Assigner assigner, Assigner.Typing typing)Defines an explicit assigner to this fixed value implementation.ImplementationFixedValue.ForArgument. withAssigner(Assigner assigner, Assigner.Typing typing)Defines an explicit assigner to this fixed value implementation.ImplementationFixedValue.ForOriginType. withAssigner(Assigner assigner, Assigner.Typing typing)Defines an explicit assigner to this fixed value implementation.ImplementationFixedValue.ForPoolValue. withAssigner(Assigner assigner, Assigner.Typing typing)Defines an explicit assigner to this fixed value implementation.ImplementationFixedValue.ForThisValue. withAssigner(Assigner assigner, Assigner.Typing typing)Defines an explicit assigner to this fixed value implementation.ImplementationFixedValue.ForValue. withAssigner(Assigner assigner, Assigner.Typing typing)Defines an explicit assigner to this fixed value implementation.ImplementationInvocationHandlerAdapter.AssignerConfigurable. withAssigner(Assigner assigner)Configures an assigner to use with this invocation handler adapter.ImplementationInvocationHandlerAdapter.ForField. withAssigner(Assigner assigner)ImplementationInvocationHandlerAdapter.ForInstance. withAssigner(Assigner assigner)abstract ImplementationInvocationHandlerAdapter. withAssigner(Assigner assigner)Configures an assigner to use with this invocation handler adapter.ImplementationHashCodeMethod. 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.ImplementationEqualsMethod. 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.ImplementationToStringMethod. withTokens(java.lang.String start, java.lang.String end, java.lang.String separator, java.lang.String definer)Changes the tokens used for theObject.toString()implementation.Methods in net.bytebuddy.implementation with parameters of type Implementation Modifier and Type Method Description ImplementationFieldAccessor.ForSetter.OfConstantValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationFieldAccessor.ForSetter.OfDefaultValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationFieldAccessor.ForSetter.OfFieldValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationFieldAccessor.ForSetter.OfParameterValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationFieldAccessor.ForSetter.OfReferenceValue. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationImplementation.Composable. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationImplementation.Compound.Composable. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationInvokeDynamic.AbstractDelegator. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationInvokeDynamic. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationMethodCall. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationMethodCall.FieldSetting. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationMethodDelegation. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationStubMethod. andThen(Implementation implementation)Appends the supplied implementation to this implementation.ImplementationSuperMethodCall. andThen(Implementation implementation)Appends the supplied implementation to this implementation.Constructors in net.bytebuddy.implementation with parameters of type Implementation Constructor Description Composable(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 Implementation Constructor Description Composable(java.util.List<? extends Implementation> implementations, Implementation.Composable composable)Creates a new compound composable.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 classMethodCallProxy.ConstructorCallAn implementation for a constructor of aMethodCallProxy.protected static classMethodCallProxy.MethodCallAn implementation for a method of aMethodCallProxy.protected classTypeProxy.MethodCallAn implementation for a method call of aTypeProxy.protected static classTypeProxy.SilentConstructionAn 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 classFieldProxy.Binder.FieldGetterImplementation for a getter method.protected static classFieldProxy.Binder.FieldSetterImplementation for a setter method.protected static classFieldProxy.Binder.InstanceFieldConstructorRepresents an implementation for implementing a proxy type constructor when a non-static field is accessed.protected static classFieldProxy.Binder.StaticFieldConstructorRepresents an implementation for implementing a proxy type constructor when a static field is accessed.protected static classMorph.Binder.RedirectionProxy.InstanceFieldConstructorCreates an instance of the proxy when instrumenting an instance method.protected static classMorph.Binder.RedirectionProxy.MethodCallImplements a the method call of the morphing method.protected static classMorph.Binder.RedirectionProxy.StaticFieldConstructorCreates an instance of the proxy when instrumenting a static method.protected static classPipe.Binder.Redirection.ConstructorCallThe implementation to implement aPipe.Binder.Redirection's constructor.protected static classPipe.Binder.Redirection.MethodCallThe implementation to implement aPipe.Binder.Redirection's forwarding method.
-