Annotation Interface SpecClassInArray
Specifies that the value of a field must have a specific class.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
Class<?>[] value- Returns:
- the classes that are allowed
-
-
-
strict
boolean strict- Returns:
trueto allow only the acceptable classes,falseto allow their subclasses too. Default isfalse.
- Default:
- false
-