| 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.dynamic.scaffold.inline |
All classes and types in this package are related to creating a
DynamicType by
enhancing a given type. |
| net.bytebuddy.instrumentation |
The instrumentation package contains any logic for intercepting method calls.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MethodRegistry.Default.Compiled.Entry
An entry of a compiled default method registry.
|
static class |
TypeWriter.MethodPool.Entry.Simple
A default implementation of
TypeWriter.MethodPool.Entry
that is not to be ignored but is represented by a tuple of a byte code appender and a method attribute appender. |
static class |
TypeWriter.MethodPool.Entry.Skip
A skip entry that instructs to ignore a method.
|
| Modifier and Type | Method and Description |
|---|---|
TypeWriter.MethodPool.Entry |
TypeWriter.MethodPool.Entry.Skip.compile(Instrumentation.Target instrumentationTarget) |
TypeWriter.MethodPool.Entry |
TypeWriter.MethodPool.Entry.Factory.compile(Instrumentation.Target instrumentationTarget)
Compiles a
TypeWriter.MethodPool.Entry. |
TypeWriter.MethodPool.Entry |
TypeWriter.MethodPool.target(MethodDescription methodDescription)
Looks up a handler entry for a given method.
|
TypeWriter.MethodPool.Entry |
MethodRegistry.Default.Compiled.target(MethodDescription methodDescription) |
| Constructor and Description |
|---|
Compiled(TypeDescription instrumentedType,
LoadedTypeInitializer loadedTypeInitializer,
InstrumentedType.TypeInitializer typeInitializer,
MethodList invokableMethods,
List<MethodRegistry.Default.Compiled.Entry> entries,
TypeWriter.MethodPool.Entry fallback)
Creates a new compiled default method registry.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
InlineDynamicTypeBuilder.TargetHandler.Prepared.ForRebaseInstrumentation.MethodRebaseDelegation
A method pool entry with a rebase implementation as its default behavior.
|
| Modifier and Type | Method and Description |
|---|---|
TypeWriter.MethodPool.Entry |
InlineDynamicTypeBuilder.TargetHandler.Prepared.ForRebaseInstrumentation.MethodRebaseDelegation.Factory.compile(Instrumentation.Target instrumentationTarget) |
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Instrumentation.Context.Default.AccessorMethodDelegation
An implementation of a
TypeWriter.MethodPool.Entry for implementing
an accessor method. |
protected static class |
Instrumentation.Context.Default.FieldGetter
An implementation for a field getter.
|
protected static class |
Instrumentation.Context.Default.FieldSetter
An implementation for a field setter.
|
| Modifier and Type | Method and Description |
|---|---|
protected static TypeWriter.MethodPool.Entry |
Instrumentation.Context.Default.FieldCacheAppender.resolve(TypeWriter.MethodPool.Entry originalEntry,
Map<Instrumentation.Context.Default.FieldCacheEntry,FieldDescription> registeredFieldCacheEntries,
InstrumentedType.TypeInitializer typeInitializer,
Instrumentation.Context.ExtractableView.InjectedCode injectedCode)
Resolves the actual method pool entry to be applied for a given set of field cache entries and the
provided
Instrumentation.Context.ExtractableView.InjectedCode. |
| Modifier and Type | Method and Description |
|---|---|
protected static TypeWriter.MethodPool.Entry |
Instrumentation.Context.Default.FieldCacheAppender.resolve(TypeWriter.MethodPool.Entry originalEntry,
Map<Instrumentation.Context.Default.FieldCacheEntry,FieldDescription> registeredFieldCacheEntries,
InstrumentedType.TypeInitializer typeInitializer,
Instrumentation.Context.ExtractableView.InjectedCode injectedCode)
Resolves the actual method pool entry to be applied for a given set of field cache entries and the
provided
Instrumentation.Context.ExtractableView.InjectedCode. |
Copyright © 2014. All rights reserved.