Package com.blackbuild.klum.ast.layer3
Annotation Interface DefaultValues
Marker interface to designate an annotation as a default value provider.
The attributes of the annotated annotation type will be used as default values for the annotated dsl object,
either as is, or, in the case of a closure member, the result of the closure.
The resulting default-value annotation can only be used on a
@DSL class or a field declared by one.-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf false (default), the setting will fail if a matching field in the target object does not exist.Maps the member 'values' of the annotated annotation to a specific target field in the annotated object.
-
Element Details
-
ignoreUnknownFields
boolean ignoreUnknownFieldsIf false (default), the setting will fail if a matching field in the target object does not exist. If true, missing fields are silently ignored.- Default:
- false
-
valueTarget
String valueTargetMaps the member 'values' of the annotated annotation to a specific target field in the annotated object.- Default:
- ""
-