@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Repeatable(value=OverridesAttribute.List.class) public @interface OverridesAttribute
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
constraint |
Modifier and Type | Optional Element and Description |
---|---|
int |
constraintIndex
The index of the targeted constraint declaration when using
multiple constraints of the same type.
|
java.lang.String |
name
Name of the Constraint attribute overridden.
|
public abstract java.lang.Class<? extends java.lang.annotation.Annotation> constraint
public abstract java.lang.String name
@OverridesAttribute
.public abstract int constraintIndex
The index represents the index of the constraint in the
value()
array.
By default, no index is defined and the single constraint declaration is targeted.