| 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.instrumentation |
The instrumentation package contains any logic for intercepting method calls.
|
| net.bytebuddy.instrumentation.field |
This package contains types and implementations for describing a Java field.
|
| net.bytebuddy.instrumentation.method |
This package contains types and implementations for describing a Java byte code method which can be any byte code
container, i.e.
|
| net.bytebuddy.instrumentation.method.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.instrumentation.method.bytecode.bind |
The types and classes of this package are responsible for binding a method call to calling another method.
|
| net.bytebuddy.instrumentation.method.bytecode.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.instrumentation.method.bytecode.stack |
This package offers an abstraction of creating Java byte code by only manipulating a method's operand stack.
|
| net.bytebuddy.instrumentation.method.bytecode.stack.assign.primitive |
Assigner implementations of this package
are capable of handling primitive types or the void type. |
| net.bytebuddy.instrumentation.method.bytecode.stack.assign.reference |
Assigner implementations of this package
are capable of assigning non-primitive types to each other. |
| net.bytebuddy.instrumentation.method.bytecode.stack.collection |
This package is dedicated to creating
StackManipulations
that create collections or arrays from a given number of values. |
| net.bytebuddy.instrumentation.method.bytecode.stack.constant |
StackManipulations in this package are responsible for
creating compile-time constants and pushing them onto the operand stack. |
| net.bytebuddy.instrumentation.method.bytecode.stack.member |
StackManipulations of this package are responsible for
accessing type or method members, i.e. |
| net.bytebuddy.instrumentation.type |
This package contains types and implementations for describing a Java type, i.e.
|
| net.bytebuddy.instrumentation.type.auxiliary |
Auxiliary types describe helper types that aid as a supplementary to a given
InstrumentedType. |
| net.bytebuddy.matcher |
Contains an API for matching Java byte code entities.
|
| net.bytebuddy.modifier |
The modifier package contains high-level and type-safe descriptions of Java modifiers.
|
| net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescriptions without
loading any classes. |
| net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
| Class and Description |
|---|
| Instrumentation
An instrumentation is responsible for implementing (or not implementing) methods of a dynamically created type.
|
| ModifierContributor.ForType
A marker interface for modifiers that can be applied to types.
|
| Class and Description |
|---|
| Instrumentation
An instrumentation is responsible for implementing (or not implementing) methods of a dynamically created type.
|
| Instrumentation.Context
The context for an instrumentation application.
|
| Instrumentation.Target
The target of an instrumentation.
|
| LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
| Class and Description |
|---|
| Instrumentation
An instrumentation is responsible for implementing (or not implementing) methods of a dynamically created type.
|
| LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
| ModifierContributor.ForField
A marker interface for modifiers that can be applied to fields.
|
| ModifierContributor.ForMethod
A marker interface for modifiers that can be applied to methods.
|
| ModifierContributor.ForType
A marker interface for modifiers that can be applied to types.
|
| Class and Description |
|---|
| Instrumentation
An instrumentation is responsible for implementing (or not implementing) methods of a dynamically created type.
|
| Instrumentation.Context
The context for an instrumentation application.
|
| Instrumentation.Context.ExtractableView
Represents an extractable view of an
Instrumentation.Context which
allows the retrieval of any registered auxiliary type. |
| Instrumentation.Target
The target of an instrumentation.
|
| Instrumentation.Target.Factory
A factory for creating an
Instrumentation.Target. |
| LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
| Class and Description |
|---|
| ByteCodeElement
Implementations describe an element represented in byte code, i.e.
|
| Instrumentation.Context
The context for an instrumentation application.
|
| Instrumentation.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.
|
| Instrumentation.Target
The target of an instrumentation.
|
| Instrumentation.Target.AbstractBase
An abstract base implementation for an
Instrumentation.Target. |
| Instrumentation.Target.Factory
A factory for creating an
Instrumentation.Target. |
| LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
| ModifierReviewable
Implementations of this interface can be described in terms of a Java modifier.
|
| ModifierReviewable.AbstractModifierReviewable
An abstract base implementation of a
ModifierReviewable class. |
| NamedElement
Represents a Java element with a name.
|
| Class and Description |
|---|
| ByteCodeElement
Implementations describe an element represented in byte code, i.e.
|
| Instrumentation.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.
|
| Instrumentation.Target
The target of an instrumentation.
|
| Instrumentation.Target.AbstractBase
An abstract base implementation for an
Instrumentation.Target. |
| Instrumentation.Target.Factory
A factory for creating an
Instrumentation.Target. |
| LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
| ModifierReviewable
Implementations of this interface can be described in terms of a Java modifier.
|
| ModifierReviewable.AbstractModifierReviewable
An abstract base implementation of a
ModifierReviewable class. |
| NamedElement
Represents a Java element with a name.
|
| Class and Description |
|---|
| ExceptionMethod.ConstructionDelegate
A construction delegate is responsible for calling a isThrowable'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.OwnerTypeLocatable
A field accessor that can be configured to locate a field in a specific manner.
|
| FixedValue
This instrumentation returns a fixed value for a method.
|
| FixedValue.AssignerConfigurable
Represents a fixed value instrumentation that is using a default assigner for attempting to assign
the fixed value to the return type of the instrumented method.
|
| Forwarding.PreparationHandler
A handler for preparing a
Forwarding instrumentation. |
| 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. |
| Instrumentation
An instrumentation is responsible for implementing (or not implementing) methods of a dynamically created type.
|
| Instrumentation.Context
The context for an instrumentation application.
|
| Instrumentation.Context.Default.AuxiliaryTypeNamingStrategy
Representation of a naming strategy for an auxiliary type.
|
| Instrumentation.Context.Default.FieldCacheEntry
A field cache entry for uniquely identifying a cached field.
|
| Instrumentation.Context.ExtractableView
Represents an extractable view of an
Instrumentation.Context which
allows the retrieval of any registered auxiliary type. |
| Instrumentation.Context.ExtractableView.InjectedCode
When draining an instrumentation context, a type initializer might be written to the created class
file.
|
| Instrumentation.Context.ExtractableView.InjectedCode.None
A canonical implementation of non-applicable injected code.
|
| Instrumentation.ForAbstractMethod
An instrumentation for an abstract method that does not append any code and will throw an exception if it is
attempted to be composed with other methods that do provide an implementation.
|
| Instrumentation.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.
|
| Instrumentation.SpecialMethodInvocation.Illegal
A canonical implementation of an illegal
Instrumentation.SpecialMethodInvocation. |
| Instrumentation.Target
The target of an instrumentation.
|
| Instrumentation.Target.MethodLookup
A strategy for looking up a method.
|
| Instrumentation.Target.MethodLookup.Default
Default implementations of a
Instrumentation.Target.MethodLookup. |
| InvocationHandlerAdapter
An adapter for adapting an
InvocationHandler. |
| InvocationHandlerAdapter.AssignerConfigurable
Allows for the configuration of an
Assigner
of an InvocationHandlerAdapter. |
| LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
| LoadedTypeInitializer.NoOp
A loaded type initializer that does not do anything.
|
| MethodDelegation
This instrumentation 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.InstrumentationDelegate
An instrumentation delegate is responsible for executing the actual method delegation.
|
| MethodDelegation.InstrumentationDelegate.ForStaticMethod
An instrumentation applied to a static method.
|
| ModifierContributor
An element that describes a type modifier as described in the
JVMS.
|
| ModifierContributor.ForField
A marker interface for modifiers that can be applied to fields.
|
| ModifierReviewable
Implementations of this interface can be described in terms of a Java modifier.
|
| NamedElement
Represents a Java element with a name.
|
| StubMethod
This instrumentation creates a method stub which does nothing but returning the default value of the return
type of the method.
|
| SuperMethodCall
This instrumentation will create a new method which simply calls its super method.
|
| Class and Description |
|---|
| ByteCodeElement
Implementations describe an element represented in byte code, i.e.
|
| ModifierReviewable
Implementations of this interface can be described in terms of a Java modifier.
|
| ModifierReviewable.AbstractModifierReviewable
An abstract base implementation of a
ModifierReviewable class. |
| NamedElement
Represents a Java element with a name.
|
| Class and Description |
|---|
| ByteCodeElement
Implementations describe an element represented in byte code, i.e.
|
| ModifierReviewable
Implementations of this interface can be described in terms of a Java modifier.
|
| ModifierReviewable.AbstractModifierReviewable
An abstract base implementation of a
ModifierReviewable class. |
| NamedElement
Represents a Java element with a name.
|
| Class and Description |
|---|
| Instrumentation.Context
The context for an instrumentation application.
|
| Class and Description |
|---|
| Instrumentation.Context
The context for an instrumentation application.
|
| Instrumentation.Target
The target of an instrumentation.
|
| Class and Description |
|---|
| Instrumentation
An instrumentation is responsible for implementing (or not implementing) methods of a dynamically created type.
|
| Instrumentation.Context
The context for an instrumentation application.
|
| Instrumentation.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.
|
| Instrumentation.Target
The target of an instrumentation.
|
| Class and Description |
|---|
| Instrumentation.Context
The context for an instrumentation application.
|
| Class and Description |
|---|
| Instrumentation.Context
The context for an instrumentation application.
|
| Class and Description |
|---|
| Instrumentation.Context
The context for an instrumentation application.
|
| Class and Description |
|---|
| Instrumentation.Context
The context for an instrumentation application.
|
| Class and Description |
|---|
| Instrumentation.Context
The context for an instrumentation application.
|
| Class and Description |
|---|
| Instrumentation.Context
The context for an instrumentation application.
|
| Class and Description |
|---|
| ByteCodeElement
Implementations describe an element represented in byte code, i.e.
|
| LoadedTypeInitializer
Implementations of this interface explicitly initialize a loaded type.
|
| ModifierReviewable
Implementations of this interface can be described in terms of a Java modifier.
|
| ModifierReviewable.AbstractModifierReviewable
An abstract base implementation of a
ModifierReviewable class. |
| NamedElement
Represents a Java element with a name.
|
| Class and Description |
|---|
| Instrumentation
An instrumentation is responsible for implementing (or not implementing) methods of a dynamically created type.
|
| Instrumentation.Context
The context for an instrumentation application.
|
| Instrumentation.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.
|
| Instrumentation.Target
The target of an instrumentation.
|
| ModifierContributor.ForType
A marker interface for modifiers that can be applied to types.
|
| Class and Description |
|---|
| ByteCodeElement
Implementations describe an element represented in byte code, i.e.
|
| ModifierReviewable
Implementations of this interface can be described in terms of a Java modifier.
|
| Class and Description |
|---|
| ModifierContributor
An element that describes a type modifier as described in the
JVMS.
|
| ModifierContributor.ForField
A marker interface for modifiers that can be applied to fields.
|
| ModifierContributor.ForMethod
A marker interface for modifiers that can be applied to methods.
|
| ModifierContributor.ForType
A marker interface for modifiers that can be applied to types.
|
| Class and Description |
|---|
| ByteCodeElement
Implementations describe an element represented in byte code, i.e.
|
| ModifierReviewable
Implementations of this interface can be described in terms of a Java modifier.
|
| ModifierReviewable.AbstractModifierReviewable
An abstract base implementation of a
ModifierReviewable class. |
| NamedElement
Represents a Java element with a name.
|
| Class and Description |
|---|
| ModifierContributor
An element that describes a type modifier as described in the
JVMS.
|
Copyright © 2014. All rights reserved.