@Documented
@Target(value={METHOD,FIELD})
public @interface InputDefault
If a method is annotated with this annotation then it must also comply with the following constraints:
@Input
annotated methodIf a field is annotated with this annotation then it must also comply with the following constraints:
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name
Return the name of the associated input.
|
@Nonnull public abstract java.lang.String name
If the annotation is applied to a method, this value will be derived if the method name matches the pattern "get[Name]Default", otherwise it must be specified.
If the annotation is applied to a field, this value will be derived if the field name matches the pattern "DEFAULT_[NAME]", otherwise it must be specified.