Package | Description |
---|---|
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.instrumentation |
The instrumentation package contains any logic for intercepting method calls.
|
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.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 | Method and Description |
---|---|
MethodRegistry.Compiled |
MethodRegistry.compile(InstrumentedType instrumentedType,
MethodLookupEngine methodLookupEngine,
Instrumentation.Target.Factory instrumentationTargetFactory,
TypeWriter.MethodPool.Entry fallback)
Once all entries for a method registry were registered, a method registry can be compiled in order to allow the
retrieval of a compiled entry for a known method.
|
MethodRegistry.Compiled |
MethodRegistry.Default.compile(InstrumentedType instrumentedType,
MethodLookupEngine methodLookupEngine,
Instrumentation.Target.Factory instrumentationTargetFactory,
TypeWriter.MethodPool.Entry fallback) |
Modifier and Type | Method and Description |
---|---|
static MethodDelegation |
MethodDelegation.to(Object delegate,
MethodLookupEngine methodLookupEngine)
Identical to
MethodDelegation.to(Object) but uses an explicit
MethodLookupEngine . |
static MethodDelegation |
MethodDelegation.to(Object delegate,
String fieldName,
MethodLookupEngine methodLookupEngine)
Identical to
MethodDelegation.to(Object, java.lang.String) but uses an
explicit MethodLookupEngine . |
static MethodDelegation |
MethodDelegation.toInstanceField(Class<?> type,
String fieldName,
MethodLookupEngine methodLookupEngine)
Identical to
MethodDelegation.toInstanceField(Class, String) but uses an
explicit MethodLookupEngine . |
Modifier and Type | Class and Description |
---|---|
static class |
MethodLookupEngine.Default
A default implementation of a method lookup engine.
|
Modifier and Type | Method and Description |
---|---|
MethodLookupEngine |
MethodLookupEngine.Factory.make(ClassFileVersion classFileVersion)
Returns a
MethodLookupEngine . |
MethodLookupEngine |
MethodLookupEngine.Default.Factory.make(ClassFileVersion classFileVersion) |
Modifier and Type | Class and Description |
---|---|
static class |
Pipe.Binder
A
TargetMethodAnnotationDrivenBinder.ParameterBinder
for binding the Pipe annotation. |
Modifier and Type | Method and Description |
---|---|
MethodLookupEngine |
Pipe.Binder.make(ClassFileVersion classFileVersion) |
Copyright © 2014. All rights reserved.