Annotation Type SelfValidation
-
@Documented @Target(METHOD) @Retention(RUNTIME) public @interface SelfValidation
This method, if used in conjunction withSelfValidating, will be executed to check if the object itself is valid. For that it requires the signaturepublic void methodName(ViolationCollector).