| 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.implementation |
The implementation package contains any logic for intercepting method calls.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeWriter.MethodPool.Entry.AbstractDefiningEntry
A base implementation of an abstract entry that defines a method.
|
static class |
TypeWriter.MethodPool.Entry.ForAbstractMethod
Describes an entry that defines a method but without byte code and without an annotation value.
|
static class |
TypeWriter.MethodPool.Entry.ForAnnotationDefaultValue
Describes an entry that defines a method with a default annotation value.
|
static class |
TypeWriter.MethodPool.Entry.ForImplementation
Describes an entry that defines a method as byte code.
|
static class |
TypeWriter.MethodPool.Entry.ForSkippedMethod
A canonical implementation of a skipped method.
|
| Modifier and Type | Method and Description |
|---|---|
TypeWriter.MethodPool.Entry |
MethodRegistry.Handler.ForAbstractMethod.assemble(MethodAttributeAppender attributeAppender) |
TypeWriter.MethodPool.Entry |
MethodRegistry.Handler.Compiled.assemble(MethodAttributeAppender attributeAppender)
Assembles this compiled entry with a method attribute appender.
|
TypeWriter.MethodPool.Entry |
MethodRegistry.Handler.ForImplementation.Compiled.assemble(MethodAttributeAppender attributeAppender) |
TypeWriter.MethodPool.Entry |
MethodRegistry.Handler.ForAnnotationValue.assemble(MethodAttributeAppender attributeAppender) |
TypeWriter.MethodPool.Entry |
TypeWriter.MethodPool.Entry.prepend(ByteCodeAppender byteCodeAppender)
Prepends the given method appender to this entry.
|
TypeWriter.MethodPool.Entry |
TypeWriter.MethodPool.Entry.ForSkippedMethod.prepend(ByteCodeAppender byteCodeAppender) |
TypeWriter.MethodPool.Entry |
TypeWriter.MethodPool.Entry.ForImplementation.prepend(ByteCodeAppender byteCodeAppender) |
TypeWriter.MethodPool.Entry |
TypeWriter.MethodPool.Entry.ForAbstractMethod.prepend(ByteCodeAppender byteCodeAppender) |
TypeWriter.MethodPool.Entry |
TypeWriter.MethodPool.Entry.ForAnnotationDefaultValue.prepend(ByteCodeAppender byteCodeAppender) |
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 |
|---|
AttributeObtainingMethodVisitor(MethodVisitor actualMethodVisitor,
TypeWriter.MethodPool.Entry entry,
MethodDescription methodDescription)
Creates a new attribute obtaining method visitor.
|
CodePreservingMethodVisitor(MethodVisitor actualMethodVisitor,
TypeWriter.MethodPool.Entry entry,
MethodDescription methodDescription)
Creates a new code preserving method visitor.
|
| Constructor and Description |
|---|
Compiled(TypeDescription instrumentedType,
LoadedTypeInitializer loadedTypeInitializer,
InstrumentedType.TypeInitializer typeInitializer,
Map<MethodDescription,TypeWriter.MethodPool.Entry> implementations)
Creates a new compiled version of a default method registry.
|
| Modifier and Type | Class and Description |
|---|---|
protected static class |
Implementation.Context.Default.AbstractDelegationEntry
An abstract method pool entry that delegates the implementation of a method to itself.
|
protected static class |
Implementation.Context.Default.AccessorMethodDelegation
An implementation of a
TypeWriter.MethodPool.Entry for implementing
an accessor method. |
protected static class |
Implementation.Context.Default.FieldGetter
An implementation for a field getter.
|
protected static class |
Implementation.Context.Default.FieldSetter
An implementation for a field setter.
|
| Modifier and Type | Method and Description |
|---|---|
TypeWriter.MethodPool.Entry |
Implementation.Context.Default.AbstractDelegationEntry.prepend(ByteCodeAppender byteCodeAppender) |
Copyright © 2014–2015. All rights reserved.