Fix @RequiresApi annotation

(1) Fix target types (allow it to be specified on
    classes, and not parameters)
(2) Use "value" instead of "api" such that in annotation
    usage you don't have to explicitly name the attribute.

Change-Id: Ib07724a92b3c750a0c9d6c4036f34bbfe76161b0
1 file changed