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