@Target(value={ANNOTATION_TYPE,PARAMETER})
@Retention(value=RUNTIME)
@Documented
@API(status=EXPERIMENTAL,
since="1.1")
public @interface UseType
Applies to any parameter that is annotated with @ForAll
.
Only the raw type of a parameter is considered.
Parameterized and generic types are forbidden.
If no value
is given, the default is to use public constructors and
factory methods from the annotated type.
ForAll
Modifier and Type | Optional Element and Description |
---|---|
UseTypeMode[] |
value |
public abstract UseTypeMode[] value