@Target(value={FIELD,METHOD,PARAMETER})
public static @interface RequiresPermission.Read
When specified on a parameter, the annotation indicates that the method requires
a permission which depends on the value of the parameter (and typically
the corresponding field passed in will be one of a set of constants which have
been annotated with a @RequiresPermission
annotation.)
Modifier and Type | Optional Element and Description |
---|---|
RequiresPermission |
value |
public abstract RequiresPermission value