Annotation Type GeneratedFieldType
-
@Retention(SOURCE) @Target(METHOD) public @interface GeneratedFieldType
Specifies the default implementation with a no-args constructor for a container property (e.g. a List} or aMap
).Applicable to a setter of a single key from the map (e.g.
setAttribute
) or an adder to a collection (e.g.addWebOrigin
). This is used to override default type generated by the generator in case the entry does not exist yet and a new container needs to be instantiated. Example:- Author:
- hmlnarik
-
-
Element Detail
-
value
Class<?> value
- Default:
- java.lang.Void.class
-
-