public static class FieldRegistry.Default extends Object implements FieldRegistry
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FieldRegistry.Default.Compiled
A compiled default field registry.
|
protected static class |
FieldRegistry.Default.Entry
An entry of the default field registry.
|
protected static class |
FieldRegistry.Default.Prepared
A prepared default field registry.
|
FieldRegistry.Default, FieldRegistry.LatentFieldMatcher| Constructor and Description |
|---|
Default()
Creates a new field registry without any registered fields.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
FieldRegistry |
include(FieldRegistry.LatentFieldMatcher latentFieldMatcher,
FieldAttributeAppender.Factory attributeAppenderFactory,
Object defaultValue)
Creates a new field registry with the given attribute appender registered for the supplied field matcher.
|
FieldRegistry.Prepared |
prepare(TypeDescription instrumentedType)
Prepares the field registry for a given instrumented type.
|
String |
toString() |
public Default()
public FieldRegistry include(FieldRegistry.LatentFieldMatcher latentFieldMatcher, FieldAttributeAppender.Factory attributeAppenderFactory, Object defaultValue)
FieldRegistryinclude in interface FieldRegistrylatentFieldMatcher - The field matcher uniquely identifying the field to be registered.attributeAppenderFactory - The field attribute appender factory to be registered for this field.defaultValue - The field's default value or null if no such default value is set.public FieldRegistry.Prepared prepare(TypeDescription instrumentedType)
FieldRegistryprepare in interface FieldRegistryinstrumentedType - The instrumented type.Copyright © 2014–2015. All rights reserved.