| 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.Entry.NoOp
A default implementation of a compiled field registry that simply returns a no-op
FieldAttributeAppender.Factory
for any field. |
static class |
TypeWriter.FieldPool.Entry.Simple
A simple entry that creates a specific
FieldAttributeAppender.Factory
for any field. |
| Modifier and Type | Method and Description |
|---|---|
TypeWriter.FieldPool.Entry |
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.
|
TypeWriter.FieldPool.Entry |
FieldRegistry.Compiled.NoOp.target(FieldDescription fieldDescription) |
TypeWriter.FieldPool.Entry |
FieldRegistry.Default.Compiled.target(FieldDescription fieldDescription) |
| Modifier and Type | Method and Description |
|---|---|
FieldRegistry.Compiled |
FieldRegistry.Prepared.compile(TypeWriter.FieldPool.Entry fallback)
Compiled the field registry.
|
FieldRegistry.Compiled |
FieldRegistry.Default.Prepared.compile(TypeWriter.FieldPool.Entry fallback) |
| Constructor and Description |
|---|
Compiled(Map<String,TypeWriter.FieldPool.Entry> entries,
TypeWriter.FieldPool.Entry fallback)
Creates a new compiled default field registry.
|
| Constructor and Description |
|---|
Compiled(Map<String,TypeWriter.FieldPool.Entry> entries,
TypeWriter.FieldPool.Entry fallback)
Creates a new compiled default field registry.
|
Prepared(Map<String,TypeWriter.FieldPool.Entry> entries)
Creates a new prepared default field registry.
|
Copyright © 2014–2015. All rights reserved.