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 |
---|---|
FieldAttributeAppender |
TypeWriter.FieldPool.Entry.getFieldAppender()
Returns the field attribute appender for a given field.
|
FieldAttributeAppender |
TypeWriter.FieldPool.Entry.NoOp.getFieldAppender() |
FieldAttributeAppender |
TypeWriter.FieldPool.Entry.Simple.getFieldAppender() |
Constructor and Description |
---|
Simple(FieldAttributeAppender attributeAppender,
Object defaultValue)
Creates a new simple entry for a given attribute appender factory.
|
Modifier and Type | Class and Description |
---|---|
static class |
FieldAttributeAppender.Compound
A field attribute appender that combines several method attribute appenders to be represented as a single
field attribute appender.
|
static class |
FieldAttributeAppender.ForAnnotation
Appends an annotation to a field.
|
static class |
FieldAttributeAppender.ForField
Writes all annotations that are found on a field that belongs to a loaded type of the JVM as visible
annotations.
|
static class |
FieldAttributeAppender.NoOp
A field attribute appender that does not append any attributes.
|
Modifier and Type | Method and Description |
---|---|
FieldAttributeAppender |
FieldAttributeAppender.NoOp.make(TypeDescription typeDescription) |
FieldAttributeAppender |
FieldAttributeAppender.Factory.make(TypeDescription typeDescription)
Returns a field attribute appender that is applicable for a given type description.
|
FieldAttributeAppender |
FieldAttributeAppender.Factory.Compound.make(TypeDescription typeDescription) |
FieldAttributeAppender |
FieldAttributeAppender.ForAnnotation.make(TypeDescription typeDescription) |
FieldAttributeAppender |
FieldAttributeAppender.ForField.make(TypeDescription typeDescription) |
Constructor and Description |
---|
Compound(FieldAttributeAppender... fieldAttributeAppender)
Creates a new compound field attribute appender.
|
Copyright © 2014–2015. All rights reserved.