@Documented @Target(value=METHOD) @Retention(value=RUNTIME) @Inherited public @interface SelfValidation
SelfValidating
,
will be executed to check if the object itself is valid.
For that it requires the signature public void methodName(ViolationCollector)
.Copyright © 2019. All rights reserved.