Annotation Type Suggestable
-
@Target({FIELD,PARAMETER}) @Retention(RUNTIME) public @interface Suggestable
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]
parameters
This "list" will represent the parameter the caller will send to the suggestions implementation.
-
-
-
Element Detail
-
value
String value
- Returns:
- value of @
Suggestions
value method.
-
-
-
parameters
String[] parameters
This "list" will represent the parameter the caller will send to the suggestions implementation. Syntax is the following:- .: represents the decorated option (aka "this")
- ../foo: represents the
foo
option of the parent (if exists) of "." - bar: represents the
bar
sibling option of the decorated field - bar/dummy: represents the
dummy
option of the child bar of the decorated field
- Returns:
- parameters for the validation.
- Default:
- {"."}
-
-