@Documented @Target(value=TYPE) @Retention(value=RUNTIME) public @interface SupportedValidationTarget
ConstraintValidatorcan validate. A
ConstraintValidatorcan target the (returned) element annotated by the constraint, the array of parameters of a method or constructor (aka cross-parameter) or both. If
@SupportedValidationTargetis not present, the
ConstraintValidatortargets the (returned) element annotated by the constraint. A
ConstraintValidatortargeting cross-parameter must accept
Object) as the type of object it validates.
public abstract ValidationTarget value
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.