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)
FieldRegistry
include
in interface FieldRegistry
latentFieldMatcher
- 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)
FieldRegistry
prepare
in interface FieldRegistry
instrumentedType
- The instrumented type.Copyright © 2014. All rights reserved.