public static interface TypeWriter.FieldPool.Record
TypeWriter.FieldPool| Modifier and Type | Interface and Description |
|---|---|
static class |
TypeWriter.FieldPool.Record.ForRichField
A record for a rich field with attributes and a potential default value.
|
static class |
TypeWriter.FieldPool.Record.ForSimpleField
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 |
|---|---|
void |
apply(ClassVisitor classVisitor)
Writes this entry to a given class visitor.
|
Object |
getDefaultValue()
Returns the default value for the field that is represented by this entry.
|
FieldAttributeAppender |
getFieldAppender()
Returns the field attribute appender for a given field.
|
FieldAttributeAppender getFieldAppender()
Object getDefaultValue()
null if no such value is set.void apply(ClassVisitor classVisitor)
classVisitor - The class visitor to which this entry is to be written to.Copyright © 2014–2015. All rights reserved.