protected class DynamicType.Builder.AbstractBase.DefaultFieldValueTarget extends DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder<S> implements DynamicType.Builder.FieldValueTarget<S>
DynamicType.Builder for which a field was recently defined such that attributes
 can be added to this recently defined field.DynamicType.Builder.FieldValueTarget.NumericRangeValidatorDynamicType.Builder.AbstractBase<S>, DynamicType.Builder.ExceptionDeclarableMethodInterception<S>, DynamicType.Builder.FieldAnnotationTarget<S>, DynamicType.Builder.FieldValueTarget<S>, DynamicType.Builder.MatchedMethodInterception<S>, DynamicType.Builder.MethodAnnotationTarget<S>, DynamicType.Builder.OptionalMatchedMethodInterception<S>| Modifier and Type | Method and Description | 
|---|---|
| DynamicType.Builder.FieldAnnotationTarget<S> | annotateField(Annotation... annotation)Defines annotations to be added to the currently selected field. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | annotateField(AnnotationDescription... annotation)Defines annotations to be added to the currently selected field. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | annotateField(Collection<? extends AnnotationDescription> annotations)Defines annotations to be added to the currently selected field. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | annotateField(Iterable<? extends Annotation> annotations)Defines annotations to be added to the currently selected field. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | attribute(FieldAttributeAppender.Factory attributeAppenderFactory)Defines an attribute appender factory to be applied onto the currently selected field. | 
| boolean | equals(Object other) | 
| int | hashCode() | 
| protected DynamicType.Builder<S> | materialize()Materializes the current state of the build before applying another modification. | 
| String | toString() | 
| DynamicType.Builder.FieldAnnotationTarget<S> | value(boolean value)Defines a  booleanvalue to become the optional default value for the recently definedstaticfield. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | value(double value)Defined a default value for a  double-typedstaticfield. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | value(float value)Defined a default value for a  float-typedstaticfield. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | value(int value)Defines an  intvalue to be become the optional default value for the recently definedstaticfield. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | value(long value)Defined a default value for a  long-typedstaticfield. | 
| DynamicType.Builder.FieldAnnotationTarget<S> | value(String value)Defined a default value for a  String-typedstaticfield. | 
annotateType, annotateType, annotateType, annotateType, attribute, bridgeMethodResolverFactory, classFileVersion, classVisitor, constructor, define, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, ignoreMethods, implement, implement, implement, implement, invokable, invokable, make, method, methodLookupEngine, modifiers, modifiers, name, name, nameclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotateType, annotateType, annotateType, annotateType, attribute, bridgeMethodResolverFactory, classFileVersion, classVisitor, constructor, define, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, ignoreMethods, implement, implement, implement, implement, invokable, invokable, make, method, methodLookupEngine, modifiers, modifiers, name, name, nameprotected DynamicType.Builder<S> materialize()
DynamicType.Builder.AbstractBase.AbstractDelegatingBuildermaterialize in class DynamicType.Builder.AbstractBase.AbstractDelegatingBuilder<S>public DynamicType.Builder.FieldAnnotationTarget<S> value(boolean value)
DynamicType.Builder.FieldValueTargetboolean value to become the optional default value for the recently defined
 static field. Defining such a boolean default value is only legal for fields that are
 represented as an integer within the Java virtual machine. These types are the boolean type,
 the byte type, the short type, the char type and the int type.value in interface DynamicType.Builder.FieldValueTarget<S>value - The value to be defined as a default value for the recently defined field.public DynamicType.Builder.FieldAnnotationTarget<S> value(int value)
DynamicType.Builder.FieldValueTargetint value to be become the optional default value for the recently defined
 static field. Defining such an integer default value is only legal for fields that are
 represented as an integer within the Java virtual machine. These types are the boolean type,
 the byte type, the short type, the char type and the int type. By
 extension, integer types can also be defined for long types and are automatically converted.value in interface DynamicType.Builder.FieldValueTarget<S>value - The value to be defined as a default value for the recently defined field.public DynamicType.Builder.FieldAnnotationTarget<S> value(long value)
DynamicType.Builder.FieldValueTargetlong-typed static field. This is only legal if the
 defined field is also of type long.value in interface DynamicType.Builder.FieldValueTarget<S>value - The value to be defined as a default value for the recently defined field.public DynamicType.Builder.FieldAnnotationTarget<S> value(float value)
DynamicType.Builder.FieldValueTargetfloat-typed static field. This is only legal if the
 defined field is also of type float.value in interface DynamicType.Builder.FieldValueTarget<S>value - The value to be defined as a default value for the recently defined field.public DynamicType.Builder.FieldAnnotationTarget<S> value(double value)
DynamicType.Builder.FieldValueTargetdouble-typed static field. This is only legal if the
 defined field is also of type double.value in interface DynamicType.Builder.FieldValueTarget<S>value - The value to be defined as a default value for the recently defined field.public DynamicType.Builder.FieldAnnotationTarget<S> value(String value)
DynamicType.Builder.FieldValueTargetString-typed static field. This is only legal if
 the defined field is also of type String. The string must not be null.value in interface DynamicType.Builder.FieldValueTarget<S>value - The value to be defined as a default value for the recently defined field.public DynamicType.Builder.FieldAnnotationTarget<S> attribute(FieldAttributeAppender.Factory attributeAppenderFactory)
DynamicType.Builder.FieldAnnotationTargetattribute in interface DynamicType.Builder.FieldAnnotationTarget<S>attributeAppenderFactory - The attribute appender factory to apply onto the currently selected
                                 field.public DynamicType.Builder.FieldAnnotationTarget<S> annotateField(Annotation... annotation)
DynamicType.Builder.FieldAnnotationTargetNote: The annotations will not be visible to
Implementations.annotateField in interface DynamicType.Builder.FieldAnnotationTarget<S>annotation - The annotations to add to the currently selected field.public DynamicType.Builder.FieldAnnotationTarget<S> annotateField(Iterable<? extends Annotation> annotations)
DynamicType.Builder.FieldAnnotationTargetNote: The annotations will not be visible to
Implementations.annotateField in interface DynamicType.Builder.FieldAnnotationTarget<S>annotations - The annotations to add to the currently selected field.public DynamicType.Builder.FieldAnnotationTarget<S> annotateField(AnnotationDescription... annotation)
DynamicType.Builder.FieldAnnotationTargetNote: The annotations will not be visible to
Implementations.annotateField in interface DynamicType.Builder.FieldAnnotationTarget<S>annotation - The annotations to add to the currently selected field.public DynamicType.Builder.FieldAnnotationTarget<S> annotateField(Collection<? extends AnnotationDescription> annotations)
DynamicType.Builder.FieldAnnotationTargetNote: The annotations will not be visible to
Implementations.annotateField in interface DynamicType.Builder.FieldAnnotationTarget<S>annotations - The annotations to add to the currently selected field.Copyright © 2014–2015. All rights reserved.