U - A loaded type that the built type is guaranteed to be a subclass of.public abstract static class DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase<U> extends DynamicType.Builder.FieldDefinition.Optional.AbstractBase<U> implements DynamicType.Builder.FieldDefinition.Optional.Valuable<U>
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase.Adapter<V>An adapter for an optional field definition that allows for defining a value. | 
DynamicType.Builder.AbstractBase.Delegator<U>DynamicType.Builder.FieldDefinition.Optional.Valuable.AbstractBase<U>DynamicType.Builder.FieldDefinition.Optional.Valuable<V>DynamicType.Builder.FieldDefinition.Optional<U>DynamicType.Builder.FieldDefinition<S>, DynamicType.Builder.MethodDefinition<S>, DynamicType.Builder.TypeVariableDefinition<S>| Constructor and Description | 
|---|
| AbstractBase() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected abstract DynamicType.Builder.FieldDefinition.Optional<U> | defaultValue(Object defaultValue)Defines the supplied value as a default value of the previously defined or matched field. | 
| DynamicType.Builder.FieldDefinition.Optional<U> | value(boolean value)Defines the supplied  booleanvalue as a default value of the previously defined or matched field. | 
| DynamicType.Builder.FieldDefinition.Optional<U> | value(double value)Defines the supplied  doublevalue as a default value of the previously defined or matched field. | 
| DynamicType.Builder.FieldDefinition.Optional<U> | value(float value)Defines the supplied  floatvalue as a default value of the previously defined or matched field. | 
| DynamicType.Builder.FieldDefinition.Optional<U> | value(int value)Defines the supplied  intvalue as a default value of the previously defined or matched field. | 
| DynamicType.Builder.FieldDefinition.Optional<U> | value(long value)Defines the supplied  longvalue as a default value of the previously defined or matched field. | 
| DynamicType.Builder.FieldDefinition.Optional<U> | value(String value)Defines the supplied  Stringvalue as a default value of the previously defined or matched field. | 
annotateField, annotateField, annotateFieldannotateType, attribute, defineConstructor, defineField, defineMethod, field, ignoreAlso, ignoreAlso, implement, initializer, initializer, invokable, make, materialize, merge, modifiers, name, typeVariable, visitannotateType, annotateType, annotateType, constructor, define, define, define, define, define, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, field, implement, implement, implement, invokable, merge, method, modifiers, modifiers, serialVersionUid, typeVariable, typeVariable, typeVariable, typeVariableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotateField, annotateField, annotateField, annotateField, attribute, transformannotateType, annotateType, annotateType, annotateType, attribute, constructor, define, define, define, define, define, defineConstructor, defineConstructor, defineConstructor, defineField, defineField, defineField, defineField, defineField, defineField, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, defineMethod, field, field, ignoreAlso, ignoreAlso, implement, implement, implement, implement, initializer, initializer, invokable, invokable, make, merge, merge, method, modifiers, modifiers, modifiers, name, serialVersionUid, typeVariable, typeVariable, typeVariable, typeVariable, typeVariable, visitpublic DynamicType.Builder.FieldDefinition.Optional<U> value(boolean value)
DynamicType.Builder.FieldDefinition.Valuableboolean value as a default value of the previously defined or matched field.value in interface DynamicType.Builder.FieldDefinition.Valuable<U>value - The value to define as a default value of the defined field.public DynamicType.Builder.FieldDefinition.Optional<U> value(int value)
DynamicType.Builder.FieldDefinition.Valuableint value as a default value of the previously defined or matched field.value in interface DynamicType.Builder.FieldDefinition.Valuable<U>value - The value to define as a default value of the defined field.public DynamicType.Builder.FieldDefinition.Optional<U> value(long value)
DynamicType.Builder.FieldDefinition.Valuablelong value as a default value of the previously defined or matched field.value in interface DynamicType.Builder.FieldDefinition.Valuable<U>value - The value to define as a default value of the defined field.public DynamicType.Builder.FieldDefinition.Optional<U> value(float value)
DynamicType.Builder.FieldDefinition.Valuablefloat value as a default value of the previously defined or matched field.value in interface DynamicType.Builder.FieldDefinition.Valuable<U>value - The value to define as a default value of the defined field.public DynamicType.Builder.FieldDefinition.Optional<U> value(double value)
DynamicType.Builder.FieldDefinition.Valuabledouble value as a default value of the previously defined or matched field.value in interface DynamicType.Builder.FieldDefinition.Valuable<U>value - The value to define as a default value of the defined field.public DynamicType.Builder.FieldDefinition.Optional<U> value(String value)
DynamicType.Builder.FieldDefinition.ValuableString value as a default value of the previously defined or matched field.value in interface DynamicType.Builder.FieldDefinition.Valuable<U>value - The value to define as a default value of the defined field.protected abstract DynamicType.Builder.FieldDefinition.Optional<U> defaultValue(Object defaultValue)
defaultValue - The value to define as a default value of the defined field.Copyright © 2014–2016. All rights reserved.