net.sf.oval.guard
Annotation Type PostValidateThis


@Documented
@Retention(value=RUNTIME)
@Target(value={METHOD,CONSTRUCTOR})
public @interface PostValidateThis

After the annotated method has been executed all field and getter constraints (invariants) of this object are validated.

In case of constraint violations the annotated method will throw an ConstraintsViolatedException.

Author:
Sebastian Thomschke



Copyright © 2005–2015 The OVal Development Team. All rights reserved.