S - A loaded type that the built type is guaranteed to be a subclass of.public static interface DynamicType.Builder.FieldDefinition<S>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
DynamicType.Builder.FieldDefinition.Optional<U>
A builder for an optional field definition.
|
static interface |
DynamicType.Builder.FieldDefinition.Valuable<U>
A builder for a field definition that allows for defining a value.
|
| Modifier and Type | Method and Description |
|---|---|
DynamicType.Builder.FieldDefinition.Optional<S> |
annotateField(Annotation... annotation)
Annotates the previously defined or matched field with the supplied annotations.
|
DynamicType.Builder.FieldDefinition.Optional<S> |
annotateField(AnnotationDescription... annotation)
Annotates the previously defined or matched field with the supplied annotations.
|
DynamicType.Builder.FieldDefinition.Optional<S> |
annotateField(Collection<? extends AnnotationDescription> annotations)
Annotates the previously defined or matched field with the supplied annotations.
|
DynamicType.Builder.FieldDefinition.Optional<S> |
annotateField(List<? extends Annotation> annotations)
Annotates the previously defined or matched field with the supplied annotations.
|
DynamicType.Builder.FieldDefinition.Optional<S> |
attribute(FieldAttributeAppender.Factory fieldAttributeAppenderFactory)
Applies the supplied attribute appender factory onto the previously defined or matched field.
|
DynamicType.Builder.FieldDefinition.Optional<S> |
transform(FieldTransformer fieldTransformer)
Applies the supplied field transformer onto the previously defined or matched field.
|
DynamicType.Builder.FieldDefinition.Optional<S> annotateField(Annotation... annotation)
annotation - The annotations to declare on the previously defined or matched field.DynamicType.Builder.FieldDefinition.Optional<S> annotateField(List<? extends Annotation> annotations)
annotations - The annotations to declare on the previously defined or matched field.DynamicType.Builder.FieldDefinition.Optional<S> annotateField(AnnotationDescription... annotation)
annotation - The annotations to declare on the previously defined or matched field.DynamicType.Builder.FieldDefinition.Optional<S> annotateField(Collection<? extends AnnotationDescription> annotations)
annotations - The annotations to declare on the previously defined or matched field.DynamicType.Builder.FieldDefinition.Optional<S> attribute(FieldAttributeAppender.Factory fieldAttributeAppenderFactory)
fieldAttributeAppenderFactory - The field attribute appender factory that should be applied on the
previously defined or matched field.DynamicType.Builder.FieldDefinition.Optional<S> transform(FieldTransformer fieldTransformer)
fieldTransformer - The field transformer to apply to the previously defined or matched field.Copyright © 2014–2016. All rights reserved.