lombok-pg -

lombok
Annotation Type Validate


@Target(value={METHOD,CONSTRUCTOR})
@Retention(value=SOURCE)
public @interface Validate

Explicitly turns on validation for all method parameter annotated with @Validate.With("methodname"), @Validate.NotNull() or @Validate.NotEmpty().

Note: All lombok-pg method-level annotations automatically trigger a parameter validation.


lombok-pg -

Copyright © 2010-2011 Philipp Eichhorn, licensed under the MIT licence.