Annotation Type Restrictions


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Documented
    public @interface Restrictions
    An annotation which serves as container for applying multiple @RestrictedTo annotations. This container annotation is used implicitly and should usually not be applied manually. Just use multiple @RestrictedTo annotations on the same class instead.
    See Also:
    @RestrictedTo
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      RestrictedTo[] value
      Returns the restrictions for the annotated command.
    • Element Detail

      • value

        RestrictedTo[] value
        Returns the restrictions for the annotated command.
        Returns:
        the restrictions for the annotated command