@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @Repeatable(value=OverridesAttribute.List.class) public @interface OverridesAttribute
Modifier and Type | Required Element and Description |
---|---|
Class<? extends 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.
|
String |
name
Name of the Constraint attribute overridden.
|
public abstract Class<? extends Annotation> constraint
public abstract 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.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.