@Target({METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(RUNTIME)
@Repeatable(AssertTrue.List.class)
@Documented
@Constraint(validatedBy={})
public @interface AssertTrue
The annotated element must be true.
Supported types are
boolean
and Boolean
.
null
elements are considered valid.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
Defines severalAssertTrue
annotations on the same element. -
Optional Element Summary