Package net.bytebuddy.dynamic.scaffold
Interface TypeWriter.FieldPool
-
- All Known Subinterfaces:
FieldRegistry.Compiled
- All Known Implementing Classes:
FieldRegistry.Compiled.NoOp
,FieldRegistry.Default.Compiled
- Enclosing interface:
- TypeWriter<T>
public static interface TypeWriter.FieldPool
An field pool that allows a lookup for how to implement a field.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
TypeWriter.FieldPool.Record
An entry of a field pool that describes how a field is implemented.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeWriter.FieldPool.Record
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.
-
-
-
Method Detail
-
target
TypeWriter.FieldPool.Record 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.- Parameters:
fieldDescription
- The field description of interest.- Returns:
- The registered field attribute appender for the given field or the default appender if no such appender was found.
-
-