| 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.
|
| net.bytebuddy.instrumentation.attribute |
All types and classes in this package are responsible for writing attributes for a given Java byte code element,
i.e.
|
| Modifier and Type | Method and Description |
|---|---|
MethodAttributeAppender |
TypeWriter.MethodPool.Entry.getAttributeAppender()
The method attribute appender that is to be used for the instrumentation by this entry.
|
MethodAttributeAppender |
TypeWriter.MethodPool.Entry.Skip.getAttributeAppender() |
MethodAttributeAppender |
TypeWriter.MethodPool.Entry.Simple.getAttributeAppender() |
| Constructor and Description |
|---|
Entry(ElementMatcher<? super MethodDescription> methodMatcher,
ByteCodeAppender byteCodeAppender,
MethodAttributeAppender attributeAppender)
Creates an entry of a compiled default method registry.
|
Simple(ByteCodeAppender byteCodeAppender,
MethodAttributeAppender methodAttributeAppender)
Creates a new simple entry of a method pool.
|
| Modifier and Type | Method and Description |
|---|---|
MethodAttributeAppender |
InlineDynamicTypeBuilder.TargetHandler.Prepared.ForRebaseInstrumentation.MethodRebaseDelegation.getAttributeAppender() |
| Modifier and Type | Method and Description |
|---|---|
MethodAttributeAppender |
Instrumentation.Context.Default.AccessorMethodDelegation.getAttributeAppender() |
MethodAttributeAppender |
Instrumentation.Context.Default.FieldGetter.getAttributeAppender() |
MethodAttributeAppender |
Instrumentation.Context.Default.FieldSetter.getAttributeAppender() |
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodAttributeAppender.Compound
A method attribute appender that combines several method attribute appenders to be represented as a single
method attribute appender.
|
static class |
MethodAttributeAppender.ForAnnotation
Appends an annotation to a method or method parameter.
|
static class |
MethodAttributeAppender.ForInstrumentedMethod
Implementation of a method attribute appender that writes all annotations of the instrumented method to the
method that is being created.
|
static class |
MethodAttributeAppender.ForLoadedConstructor
Implementation of a method attribute appender that writes all annotations of a given loaded constructor to the
method that is being created.
|
static class |
MethodAttributeAppender.ForLoadedMethod
Implementation of a method attribute appender that writes all annotations of a given loaded method to the
method that is being created.
|
static class |
MethodAttributeAppender.NoOp
A method attribute appender that does not append any attributes.
|
| Modifier and Type | Method and Description |
|---|---|
MethodAttributeAppender |
MethodAttributeAppender.NoOp.make(TypeDescription typeDescription) |
MethodAttributeAppender |
MethodAttributeAppender.ForInstrumentedMethod.make(TypeDescription typeDescription) |
MethodAttributeAppender |
MethodAttributeAppender.Factory.make(TypeDescription typeDescription)
Returns a method attribute appender that is applicable for a given type description.
|
MethodAttributeAppender |
MethodAttributeAppender.Factory.Compound.make(TypeDescription typeDescription) |
MethodAttributeAppender |
MethodAttributeAppender.ForAnnotation.make(TypeDescription typeDescription) |
MethodAttributeAppender |
MethodAttributeAppender.ForLoadedMethod.make(TypeDescription typeDescription) |
MethodAttributeAppender |
MethodAttributeAppender.ForLoadedConstructor.make(TypeDescription typeDescription) |
| Constructor and Description |
|---|
Compound(MethodAttributeAppender... methodAttributeAppender)
Creates a new compound method attribute appender.
|
Copyright © 2014. All rights reserved.