@Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface SupportedValidationTarget
ConstraintValidator can target the (returned) element
annotated by the constraint, the array of parameters of a method
or constructor (aka cross-parameter) or both.
@SupportedValidationTarget is not present, the
ConstraintValidator targets the (returned) element annotated
by the constraint.
ConstraintValidator targeting cross-parameter must accept
Object) as the type of object it validates.
public abstract ValidationTarget value
Copyright © 2021 JBoss by Red Hat. All rights reserved.