| Package | Description |
|---|---|
| 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.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.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. |
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
AgentBuilder.Default.InitializationStrategy.SelfInjection.prepare(InstrumentedType instrumentedType) |
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
AgentBuilder.Default.InitializationStrategy.SelfInjection.prepare(InstrumentedType instrumentedType) |
| Modifier and Type | Method and Description |
|---|---|
protected InstrumentedType |
DynamicType.Builder.AbstractBase.applyRecordedMembersTo(InstrumentedType instrumentedType)
Adds all fields and methods to an instrumented type.
|
| Modifier and Type | Method and Description |
|---|---|
protected InstrumentedType |
DynamicType.Builder.AbstractBase.applyRecordedMembersTo(InstrumentedType instrumentedType)
Adds all fields and methods to an instrumented type.
|
| Modifier and Type | Method and Description |
|---|---|
MethodRegistry.Prepared |
MethodRegistry.prepare(InstrumentedType instrumentedType)
Prepares this method registry for a given instrumented type.
|
MethodRegistry.Prepared |
MethodRegistry.Default.prepare(InstrumentedType instrumentedType) |
| Modifier and Type | Class and Description |
|---|---|
class |
InlineInstrumentedType
An instrumented type which enhances a given type description by an extending redefinition.
|
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
InlineInstrumentedType.withField(String internalName,
TypeDescription fieldType,
int modifiers) |
InstrumentedType |
InlineInstrumentedType.withInitializer(LoadedTypeInitializer loadedTypeInitializer) |
InstrumentedType |
InlineInstrumentedType.withInitializer(StackManipulation stackManipulation) |
InstrumentedType |
InlineInstrumentedType.withMethod(String internalName,
TypeDescription returnType,
List<? extends TypeDescription> parameterTypes,
List<? extends TypeDescription> exceptionTypes,
int modifiers) |
| Modifier and Type | Class and Description |
|---|---|
class |
SubclassInstrumentedType
Represents a type instrumentation that creates a new type based on a given superclass.
|
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
SubclassInstrumentedType.withField(String internalName,
TypeDescription fieldType,
int modifiers) |
InstrumentedType |
SubclassInstrumentedType.withInitializer(LoadedTypeInitializer loadedTypeInitializer) |
InstrumentedType |
SubclassInstrumentedType.withInitializer(StackManipulation stackManipulation) |
InstrumentedType |
SubclassInstrumentedType.withMethod(String internalName,
TypeDescription returnType,
List<? extends TypeDescription> parameterTypes,
List<? extends TypeDescription> exceptionTypes,
int modifiers) |
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
SuperMethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
StubMethod.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.InstrumentationDelegate.prepare(InstrumentedType instrumentedType)
Prepares the instrumented type.
|
InstrumentedType |
MethodDelegation.InstrumentationDelegate.ForStaticMethod.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.InstrumentationDelegate.ForStaticField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.InstrumentationDelegate.ForInstanceField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.InstrumentationDelegate.ForConstruction.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
InvocationHandlerAdapter.ForStaticDelegation.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
InvocationHandlerAdapter.ForInstanceDelegation.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Instrumentation.prepare(InstrumentedType instrumentedType)
During the preparation phase of an instrumentation, implementations are eligible to adding fields or methods
to the currently instrumented type.
|
InstrumentedType |
Instrumentation.ForAbstractMethod.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Instrumentation.Compound.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Instrumentation.Simple.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Forwarding.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
FixedValue.ForPoolValue.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
FixedValue.ForStaticField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
FieldAccessor.ForUnnamedField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
FieldAccessor.ForNamedField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
ExceptionMethod.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
DefaultMethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Forwarding.PreparationHandler.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription fieldType)
Prepares the instrumented type.
|
InstrumentedType |
Forwarding.PreparationHandler.ForInstanceField.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription fieldType) |
InstrumentedType |
Forwarding.PreparationHandler.ForStaticField.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription fieldType) |
InstrumentedType |
Forwarding.PreparationHandler.ForStaticInstance.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription fieldType) |
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
SuperMethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
StubMethod.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.InstrumentationDelegate.prepare(InstrumentedType instrumentedType)
Prepares the instrumented type.
|
InstrumentedType |
MethodDelegation.InstrumentationDelegate.ForStaticMethod.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.InstrumentationDelegate.ForStaticField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.InstrumentationDelegate.ForInstanceField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodDelegation.InstrumentationDelegate.ForConstruction.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
InvocationHandlerAdapter.ForStaticDelegation.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
InvocationHandlerAdapter.ForInstanceDelegation.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Instrumentation.prepare(InstrumentedType instrumentedType)
During the preparation phase of an instrumentation, implementations are eligible to adding fields or methods
to the currently instrumented type.
|
InstrumentedType |
Instrumentation.ForAbstractMethod.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Instrumentation.Compound.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Instrumentation.Simple.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Forwarding.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
FixedValue.ForPoolValue.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
FixedValue.ForStaticField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
FieldAccessor.ForUnnamedField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
FieldAccessor.ForNamedField.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
ExceptionMethod.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
DefaultMethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Forwarding.PreparationHandler.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription fieldType)
Prepares the instrumented type.
|
InstrumentedType |
Forwarding.PreparationHandler.ForInstanceField.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription fieldType) |
InstrumentedType |
Forwarding.PreparationHandler.ForStaticField.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription fieldType) |
InstrumentedType |
Forwarding.PreparationHandler.ForStaticInstance.prepare(InstrumentedType instrumentedType,
String fieldName,
TypeDescription fieldType) |
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
Pipe.Binder.Redirection.ConstructorCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Pipe.Binder.Redirection.MethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Morph.Binder.RedirectionProxy.StaticFieldConstructor.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Morph.Binder.RedirectionProxy.InstanceFieldConstructor.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Morph.Binder.RedirectionProxy.MethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Field.Binder.StaticFieldConstructor.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Field.Binder.AccessType.Getter.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Field.Binder.AccessType.Setter.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Field.Binder.InstanceFieldConstructor.prepare(InstrumentedType instrumentedType) |
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
Pipe.Binder.Redirection.ConstructorCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Pipe.Binder.Redirection.MethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Morph.Binder.RedirectionProxy.StaticFieldConstructor.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Morph.Binder.RedirectionProxy.InstanceFieldConstructor.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Morph.Binder.RedirectionProxy.MethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Field.Binder.StaticFieldConstructor.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Field.Binder.AccessType.Getter.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Field.Binder.AccessType.Setter.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
Field.Binder.InstanceFieldConstructor.prepare(InstrumentedType instrumentedType) |
| Modifier and Type | Class and Description |
|---|---|
static class |
InstrumentedType.AbstractBase
An abstract base implementation of an instrumented type.
|
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
InstrumentedType.withField(String internalName,
TypeDescription fieldType,
int modifiers)
Creates a new instrumented type that includes a new field.
|
InstrumentedType |
InstrumentedType.withInitializer(LoadedTypeInitializer loadedTypeInitializer)
Creates a new instrumented type that includes the given
LoadedTypeInitializer. |
InstrumentedType |
InstrumentedType.withInitializer(StackManipulation stackManipulation)
Creates a new instrumented type that executes the given initializer in the instrumented type's
type initializer.
|
InstrumentedType |
InstrumentedType.withMethod(String internalName,
TypeDescription returnType,
List<? extends TypeDescription> parameterTypes,
List<? extends TypeDescription> exceptionTypes,
int modifiers)
Creates a new instrumented type that includes a new method or constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
TypeProxy.SilentConstruction.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
TypeProxy.MethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodCallProxy.ConstructorCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodCallProxy.MethodCall.prepare(InstrumentedType instrumentedType) |
| Modifier and Type | Method and Description |
|---|---|
InstrumentedType |
TypeProxy.SilentConstruction.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
TypeProxy.MethodCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodCallProxy.ConstructorCall.prepare(InstrumentedType instrumentedType) |
InstrumentedType |
MethodCallProxy.MethodCall.prepare(InstrumentedType instrumentedType) |
Copyright © 2014. All rights reserved.