Annotation Interface SelfValidation


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