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.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.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
net.bytebuddy.dynamic.scaffold.subclass |
All classes and types in this package are related to creating a
DynamicType by
creating a subclass of a given type. |
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 given
InstrumentedType . |
net.bytebuddy.implementation.bind |
The types and classes of this package are responsible for binding a method call to calling another method.
|
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.
|
net.bytebuddy.implementation.bytecode |
Types and classes in this package are responsible for creating Java byte code for a given byte code target
which is represented by a
MethodDescription . |
net.bytebuddy.implementation.bytecode.assign |
An
Assigner is responsible for transforming
a given TypeDescription into another one. |
net.bytebuddy.implementation.bytecode.assign.primitive |
Assigner implementations of this package
are capable of handling primitive types or the void type. |
net.bytebuddy.implementation.bytecode.collection |
This package is dedicated to creating
StackManipulation s
that create collections or arrays from a given number of values. |
net.bytebuddy.implementation.bytecode.constant |
StackManipulation s in this package are responsible for
creating compile-time constants and pushing them onto the operand stack. |
net.bytebuddy.implementation.bytecode.member |
StackManipulation s of this package are responsible for
accessing type or method members, i.e. reading and writing of fields, invoking of methods, access of local variables
within a method invocation or returning values from method invocations. |
Class and Description |
---|
Implementation
An implementation is responsible for implementing methods of a dynamically created type as byte code.
|
Implementation.Context
The context for an implementation application.
|
Implementation.Context.Factory
A factory for creating a new implementation context.
|
Implementation.Target
The target of an implementation.
|
Class and Description |
---|
Implementation.Context
The context for an implementation application.
|
LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
Class and Description |
---|
Implementation
An implementation is responsible for implementing methods of a dynamically created type as byte code.
|
Implementation.Context.Factory
A factory for creating a new implementation context.
|
LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
Class and Description |
---|
Implementation
An implementation is responsible for implementing methods of a dynamically created type as byte code.
|
Implementation.Context
The context for an implementation application.
|
Implementation.Context.ExtractableView
Represents an extractable view of an
Implementation.Context which
allows the retrieval of any registered auxiliary type. |
Implementation.Context.ExtractableView.InjectedCode
When draining an implementation context, a type initializer might be written to the created class
file.
|
Implementation.Context.Factory
A factory for creating a new implementation context.
|
Implementation.Target
The target of an implementation.
|
Implementation.Target.Factory
A factory for creating an
Implementation.Target . |
LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
Class and Description |
---|
Implementation.Context
The context for an implementation application.
|
Implementation.Context.Factory
A factory for creating a new implementation context.
|
Implementation.SpecialMethodInvocation
Represents an type-specific method invocation on the current instrumented type which is not legal from outside
the type such as a super method or default method invocation.
|
Implementation.SpecialMethodInvocation.AbstractBase
An abstract base implementation of a valid special method invocation.
|
Implementation.Target
The target of an implementation.
|
Implementation.Target.AbstractBase
An abstract base implementation for an
Implementation.Target . |
Implementation.Target.Factory
A factory for creating an
Implementation.Target . |
Class and Description |
---|
Implementation.Context.Factory
A factory for creating a new implementation context.
|
Implementation.SpecialMethodInvocation
Represents an type-specific method invocation on the current instrumented type which is not legal from outside
the type such as a super method or default method invocation.
|
Implementation.Target
The target of an implementation.
|
Implementation.Target.AbstractBase
An abstract base implementation for an
Implementation.Target . |
Implementation.Target.Factory
A factory for creating an
Implementation.Target . |
Class and Description |
---|
ExceptionMethod.ConstructionDelegate
A construction delegate is responsible for calling a Throwable's constructor.
|
FieldAccessor
Defines a method to access a given field by following the Java bean conventions for getters and setters:
Getter: A method named
getFoo() will be instrumented to read and return the value of a field foo
or another field if one was specified explicitly. |
FieldAccessor.AssignerConfigurable
A field accessor that can be configured to use a given assigner and runtime type use configuration.
|
FieldAccessor.FieldDefinable
Determines a field accessor that accesses a field of a given name which might not yet be
defined.
|
FieldAccessor.FieldLocator
A field locator allows to determine a field name for a given method.
|
FieldAccessor.FieldLocator.Factory
A factory for creating a
FieldAccessor.FieldLocator . |
FieldAccessor.FieldLocator.ForInstrumentedType
A factory that only looks up fields in the instrumented type.
|
FieldAccessor.FieldLocator.ForInstrumentedTypeHierarchy.Factory
A field locator factory creating a
FieldAccessor.FieldLocator.ForInstrumentedTypeHierarchy . |
FieldAccessor.FieldNameExtractor
A field name extractor is responsible for determining a field name to a method that is implemented
to access this method.
|
FieldAccessor.FieldNameExtractor.ForBeanProperty
A
FieldAccessor.FieldNameExtractor that determines a field name
according to the rules of Java bean naming conventions. |
FieldAccessor.ForNamedField.PreparationHandler
A preparation handler is responsible for defining a field value on an implementation, if necessary.
|
FieldAccessor.ForNamedField.PreparationHandler.NoOp
A non-operational preparation handler that does not alter the field.
|
FieldAccessor.OwnerTypeLocatable
A field accessor that can be configured to locate a field in a specific manner.
|
FixedValue
This implementation returns a fixed value for a method.
|
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.
|
FixedValue.ForNullValue
A fixed value of
null . |
Forwarding.PreparationHandler
A handler for preparing a
Forwarding implementation. |
Forwarding.PreparationHandler.ForInstanceField
A preparation handler for an unset instance that is stored in an instance field.
|
Forwarding.PreparationHandler.ForStaticField
A preparation handler for an unset instance that is stored in a
static field. |
Implementation
An implementation is responsible for implementing methods of a dynamically created type as byte code.
|
Implementation.Composable
Represents an implementation that can be chained together with another implementation.
|
Implementation.Context
The context for an implementation application.
|
Implementation.Context.Default.AbstractDelegationRecord
An abstract method pool entry that delegates the implementation of a method to itself.
|
Implementation.Context.Default.AbstractPropertyAccessorMethod
A base implementation of a method that accesses a property of an instrumented type.
|
Implementation.Context.Default.Factory
A factory for creating a
Implementation.Context.Default . |
Implementation.Context.Disabled.Factory
A factory for creating a
Implementation.Context.Disabled . |
Implementation.Context.ExtractableView
Represents an extractable view of an
Implementation.Context which
allows the retrieval of any registered auxiliary type. |
Implementation.Context.ExtractableView.InjectedCode
When draining an implementation context, a type initializer might be written to the created class
file.
|
Implementation.Context.ExtractableView.InjectedCode.None
A canonical implementation of non-applicable injected code.
|
Implementation.Context.Factory
A factory for creating a new implementation context.
|
Implementation.SpecialMethodInvocation
Represents an type-specific method invocation on the current instrumented type which is not legal from outside
the type such as a super method or default method invocation.
|
Implementation.SpecialMethodInvocation.AbstractBase
An abstract base implementation of a valid special method invocation.
|
Implementation.SpecialMethodInvocation.Illegal
A canonical implementation of an illegal
Implementation.SpecialMethodInvocation . |
Implementation.Target
The target of an implementation.
|
InvocationHandlerAdapter
An adapter for adapting an
InvocationHandler . |
InvocationHandlerAdapter.AssignerConfigurable
Allows for the configuration of an
Assigner
of an InvocationHandlerAdapter . |
InvokeDynamic
An implementation that applies a
dynamic method invocation.
|
InvokeDynamic.AbstractDelegator
An abstract delegator that allows to specify a configuration for any specification of an argument.
|
InvokeDynamic.InvocationProvider
An invocation provider is responsible for loading the arguments of the invoked method onto the operand
stack and for creating the actual invoke dynamic instruction.
|
InvokeDynamic.InvocationProvider.ArgumentProvider
An argument provider is responsible for loading arguments to a bootstrapped method onto the operand
stack and providing the types of these arguments.
|
InvokeDynamic.InvocationProvider.ArgumentProvider.ConstantPoolWrapper
Represents wrapper types and types that could be stored in a class's constant pool as such
constant pool values.
|
InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodInstanceAndParameters
An argument provider that loads a reference to the intercepted instance and all arguments of
the intercepted method.
|
InvokeDynamic.InvocationProvider.ArgumentProvider.ForInterceptedMethodParameters
An argument provider that loads all arguments of the intercepted method.
|
InvokeDynamic.InvocationProvider.ArgumentProvider.Resolved |
InvokeDynamic.InvocationProvider.Default.Target
A target for a synthetically bound method call.
|
InvokeDynamic.InvocationProvider.NameProvider
Provides the name of the method that is to be bound by a dynamic method call.
|
InvokeDynamic.InvocationProvider.NameProvider.ForInterceptedMethod
A name provider that provides the name of the intercepted method.
|
InvokeDynamic.InvocationProvider.ReturnTypeProvider
Provides the return type that is requested from the bootstrap method.
|
InvokeDynamic.InvocationProvider.ReturnTypeProvider.ForInterceptedMethod
Requests the return type of the intercepted method.
|
InvokeDynamic.InvocationProvider.Target
A target for a dynamic method invocation.
|
InvokeDynamic.InvocationProvider.Target.Resolved
Represents a resolved
InvokeDynamic.InvocationProvider.Target . |
InvokeDynamic.TerminationHandler
A termination handler is responsible to handle the return value of a method that is invoked via a
InvokeDynamic . |
InvokeDynamic.TerminationHandler.ForChainedInvocation
Drops the return value of the dynamic invocation from the operand stack without returning from the
intercepted method.
|
InvokeDynamic.TerminationHandler.ForMethodReturn
Returns the return value of the dynamic invocation from the intercepted method.
|
InvokeDynamic.WithImplicitArguments
Representation of an
InvokeDynamic implementation where the bootstrapped
method is passed a this reference, if available, and any arguments of the instrumented method. |
InvokeDynamic.WithImplicitArgumentType
An invoke dynamic implementation where the last argument is an implicitly typed method argument.
|
InvokeDynamic.WithImplicitFieldType
A step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value.
|
InvokeDynamic.WithImplicitTarget
Representation of an
InvokeDynamic implementation where the bootstrapped
method is passed a this reference, if available, and any arguments of the instrumented method and
where the invocation target is implicit. |
LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
LoadedTypeInitializer.NoOp
A loaded type initializer that does not do anything.
|
MethodCall
This
Implementation allows the invocation of a specified method while
providing explicit arguments to this method. |
MethodCall.ArgumentLoader
An argument loader is responsible for loading an argument for an invoked method
onto the operand stack.
|
MethodCall.ArgumentLoader.ForNullConstant
An argument loader that loads the
null value onto the operand stack. |
MethodCall.ArgumentLoader.ForOwnType
Loads the instrumented type onto the operand stack.
|
MethodCall.ArgumentLoader.ForThisReference
An argument loader that assigns the
this reference to a parameter. |
MethodCall.MethodInvoker
A method invoker is responsible for creating a method invocation that is to be applied by a
MethodCall . |
MethodCall.MethodInvoker.ForContextualInvocation
Applies a contextual invocation of the provided method, i.e. a static invocation for static methods,
a special invocation for constructors and private methods and a virtual invocation for any other method.
|
MethodCall.MethodInvoker.ForDefaultMethodInvocation
Invokes a method as a Java 8 default method.
|
MethodCall.MethodInvoker.ForSuperMethodInvocation
Applies a super method invocation of the provided method.
|
MethodCall.MethodInvoker.ForVirtualInvocation.WithImplicitType
A method invoker for a virtual method that uses an implicit target type.
|
MethodCall.MethodLocator
A method locator is responsible for identifying the method that is to be invoked
by a
MethodCall . |
MethodCall.MethodLocator.ForInterceptedMethod
A method locator that simply returns the intercepted method.
|
MethodCall.TargetHandler
A target handler is responsible for invoking a method for a
MethodCall . |
MethodCall.TargetHandler.ForConstructingInvocation
Invokes a method in order to construct a new instance.
|
MethodCall.TargetHandler.ForSelfOrStaticInvocation
A target handler that invokes a method either on the instance of the instrumented
type or as a static method.
|
MethodCall.TerminationHandler
A termination handler is responsible to handle the return value of a method that is invoked via a
MethodCall . |
MethodCall.TerminationHandler.ForChainedInvocation
Drops the return value of the called method from the operand stack without returning from the intercepted
method.
|
MethodCall.TerminationHandler.ForMethodReturn
Returns the return value of the method call from the intercepted method.
|
MethodCall.WithoutSpecifiedTarget
Represents a
MethodCall that invokes a method without specifying
an invocation method. |
MethodDelegation
This implementation delegates an method call to another method which can either be
static by providing
a reference to a Class or an instance method when another object is provided. |
MethodDelegation.ImplementationDelegate
An implementation delegate is responsible for executing the actual method delegation.
|
MethodDelegation.ImplementationDelegate.ForStaticMethod
An implementation applied to a static method.
|
MethodDelegation.MethodContainer
A method container collects methods that are considered as a target for delegation.
|
StubMethod
This implementation creates a method stub which does nothing but returning the default value of the return
type of the method.
|
SuperMethodCall
This implementation will create a new method which simply calls its super method.
|
SuperMethodCall.Appender.TerminationHandler
A handler that determines how to handle the method return value.
|
SuperMethodCall.WithoutReturn
A super method invocation where the return value is dropped instead of returning from the method.
|
Class and Description |
---|
Implementation
An implementation is responsible for implementing methods of a dynamically created type as byte code.
|
Implementation.Context
The context for an implementation application.
|
Implementation.SpecialMethodInvocation
Represents an type-specific method invocation on the current instrumented type which is not legal from outside
the type such as a super method or default method invocation.
|
Implementation.Target
The target of an implementation.
|
Class and Description |
---|
Implementation.Context
The context for an implementation application.
|
Implementation.Target
The target of an implementation.
|
Class and Description |
---|
Implementation
An implementation is responsible for implementing methods of a dynamically created type as byte code.
|
Implementation.Context
The context for an implementation application.
|
Implementation.SpecialMethodInvocation
Represents an type-specific method invocation on the current instrumented type which is not legal from outside
the type such as a super method or default method invocation.
|
Implementation.Target
The target of an implementation.
|
Class and Description |
---|
Implementation.Context
The context for an implementation application.
|
Class and Description |
---|
Implementation.Context
The context for an implementation application.
|
Class and Description |
---|
Implementation.Context
The context for an implementation application.
|
Class and Description |
---|
Implementation.Context
The context for an implementation application.
|
Class and Description |
---|
Implementation.Context
The context for an implementation application.
|
Class and Description |
---|
Implementation.Context
The context for an implementation application.
|
Copyright © 2014–2016. All rights reserved.