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.
|
Modifier and Type | Class and Description |
---|---|
static class |
TypeWriter.FieldPool.Record.ForExplicitField
A record for a rich field with attributes and a potential default value.
|
static class |
TypeWriter.FieldPool.Record.ForImplicitField
A record for a simple field without a default value where all of the field's declared annotations are appended.
|
Modifier and Type | Method and Description |
---|---|
protected TypeWriter.FieldPool.Record |
FieldRegistry.Default.Compiled.Entry.bind(TypeDescription instrumentedType,
FieldDescription fieldDescription)
Binds this entry to the provided field description.
|
TypeWriter.FieldPool.Record |
FieldRegistry.Compiled.NoOp.target(FieldDescription fieldDescription) |
TypeWriter.FieldPool.Record |
FieldRegistry.Default.Compiled.target(FieldDescription fieldDescription) |
TypeWriter.FieldPool.Record |
TypeWriter.FieldPool.target(FieldDescription fieldDescription)
Returns the field attribute appender that matches a given field description or a default field
attribute appender if no appender was registered for the given field.
|
Modifier and Type | Method and Description |
---|---|
protected org.objectweb.asm.FieldVisitor |
TypeWriter.Default.ForInlining.RedefinitionClassVisitor.redefine(TypeWriter.FieldPool.Record record,
Object defaultValue)
Redefines a field using the given explicit field pool record and default value.
|
Constructor and Description |
---|
AttributeObtainingFieldVisitor(org.objectweb.asm.FieldVisitor fieldVisitor,
TypeWriter.FieldPool.Record record)
Creates a new attribute obtaining field visitor.
|
Copyright © 2014–2017. All rights reserved.