protected static class FieldRegistry.Default.Compiled extends Object implements FieldRegistry.Compiled
FieldRegistry.Compiled.NoOp
TypeWriter.FieldPool.Entry
Constructor and Description |
---|
Compiled(Map<String,TypeWriter.FieldPool.Entry> entries,
TypeWriter.FieldPool.Entry fallback)
Creates a new compiled default field registry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
TypeWriter.FieldPool.Entry |
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.
|
String |
toString() |
public Compiled(Map<String,TypeWriter.FieldPool.Entry> entries, TypeWriter.FieldPool.Entry fallback)
entries
- A map of entries by field names.fallback
- The fallback entry.public TypeWriter.FieldPool.Entry target(FieldDescription fieldDescription)
TypeWriter.FieldPool
target
in interface TypeWriter.FieldPool
fieldDescription
- The field description of interest.Copyright © 2014–2015. All rights reserved.