net.craftforge.essential.controller.annotations
Annotation Type DefaultValue
@Retention(value=RUNTIME)
@Target(value={FIELD,PARAMETER})
public @interface DefaultValue
Indicates the default value(s) to use if no parameter was found for initializing a field or method parameter.
If the annotation is not present at a field or method parameter then the parameter is required.
- Since:
- 28.01.2011
- Author:
- Christian Bick
|
Required Element Summary |
String[] |
value
The default value(s) to use if no parameter was found. |
value
public abstract String[] value
- The default value(s) to use if no parameter was found.
- Returns:
- The default value(s) as an array
Copyright © 2011. All Rights Reserved.