|
lombok-pg - | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||
@Target(value=PARAMETER) @Retention(value=SOURCE) public static @interface Validate.With
Specify a custom validation method.
This annotation also triggers a null-check before the custom validation.
Note: This works with all types, but the parameter type has to match the method signature.
| Required Element Summary | |
|---|---|
String |
value
Name of method that should be used to validate the parameter. |
| Element Detail |
|---|
public abstract String value
|
lombok-pg - | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||