@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface Switch
/command -f
.
If used on a boolean type, then the flag will be a non-value flag. If used on any other type, then the flag will be a value flag.
Modifier and Type | Required Element and Description |
---|---|
char |
value
The flag character.
|