@Target(value={TYPE,FIELD,METHOD,PARAMETER,CONSTRUCTOR,LOCAL_VARIABLE})
@Retention(value=RUNTIME)
public @interface Mandatory
Indicates that a method/field should be set to a valid value. If a
method/filed is annotated with this annotation type but does not have a valid
value API will throw an error message.
- Version:
- 1.0
- Author:
- Rajakrishna V.
Reddy