| 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.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 given
InstrumentedType. |
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ByteBuddy.EnumerationImplementation
An implementation fo the
values method of an enumeration type. |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MethodRegistry.Handler
A handler for implementing a method.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodRegistry.Handler.ForAbstractMethod
A handler for defining an abstract or native method.
|
static class |
MethodRegistry.Handler.ForAnnotationValue
A handler for defining a default annotation value for a method.
|
static class |
MethodRegistry.Handler.ForImplementation
A handler for a method that is implemented as byte code.
|
static class |
MethodRegistry.Handler.ForVisibilityBridge
A handler for implementing a visibility bridge.
|
| Modifier and Type | Interface and 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.FieldDefinable
Determines a field accessor that accesses a field of a given name which might not yet be
defined.
|
static interface |
FieldAccessor.OwnerTypeLocatable
A field accessor that can be configured to locate a field in a specific manner.
|
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.
|
interface |
Implementation
An implementation is responsible for implementing methods of a dynamically created type as byte code.
|
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 an
Assigner
of an InvocationHandlerAdapter. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultMethodCall
This
Implementation invokes a default method for the methods it instruments. |
class |
ExceptionMethod
This implementation causes a
Throwable 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:
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. |
protected static class |
FieldAccessor.ForNamedField
Implementation of a field accessor implementation where the field name is given explicitly.
|
protected static class |
FieldAccessor.ForUnnamedField
Implementation of a field accessor implementation where a field is identified by a method's name following
the Java specification for bean properties.
|
class |
FixedValue
This implementation returns a fixed value for a method.
|
protected static class |
FixedValue.ForNullValue
A fixed value of
null. |
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.ForStaticField
A fixed value implementation that represents its fixed value as a static field of the instrumented class.
|
class |
Forwarding
This implementation forwards method invocations to another instance.
|
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 an
InvocationHandler. |
protected static class |
InvocationHandlerAdapter.ForInstanceDelegation
An implementation of an
InvocationHandlerAdapter that delegates method
invocations to an adapter that is stored in an instance field. |
protected static class |
InvocationHandlerAdapter.ForStaticDelegation
An implementation of an
InvocationHandlerAdapter 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 an
InvokeDynamic implementation where the bootstrapped
method is passed a this reference, if available, and any arguments of the instrumented method. |
static class |
InvokeDynamic.WithImplicitArgumentType
An invoke dynamic implementation where the last argument is an implicitly typed method argument.
|
static class |
InvokeDynamic.WithImplicitFieldType
A step in the invoke dynamic domain specific language that allows to explicitly specify a field type for a reference value.
|
static class |
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. |
class |
MethodCall
This
Implementation allows the invocation of a specified method while
providing explicit arguments to this method. |
static class |
MethodCall.WithoutSpecifiedTarget
Represents a
MethodCall that invokes a method without specifying
an invocation method. |
class |
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. |
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.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodCallProxy.ConstructorCall
An implementation for a constructor of a
MethodCallProxy. |
protected static class |
MethodCallProxy.MethodCall
An implementation for a method of a
MethodCallProxy. |
protected class |
TypeProxy.MethodCall
An implementation for a method call of a
TypeProxy. |
protected static class |
TypeProxy.SilentConstruction
An implementation of a silent construction of a given type by using the non-standardized
ReflectionFactory. |
| Modifier and Type | Class and 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 a
Pipe.Binder.Redirection's
constructor. |
protected static class |
Pipe.Binder.Redirection.MethodCall
The implementation to implement a
Pipe.Binder.Redirection's
forwarding method. |
Copyright © 2014–2016. All rights reserved.