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.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 |
---|---|
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) |
Constructor and Description |
---|
ForAbstractMethod(MethodAttributeAppender methodAttributeAppender)
Creates a new entry for a method that is defines but does not append byte code, i.e.
|
ForAnnotationDefaultValue(Object annotationValue,
MethodAttributeAppender methodAttributeAppender)
Creates a new entry for defining a method with a default annotation value.
|
ForImplementation(ByteCodeAppender byteCodeAppender,
MethodAttributeAppender methodAttributeAppender)
Creates a new entry for a method that defines a method as byte code.
|
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–2015. All rights reserved.