18 lines
525 B
Java
18 lines
525 B
Java
package androidx.annotation;
|
|
|
|
import java.lang.annotation.Documented;
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PACKAGE})
|
|
@Documented
|
|
@Retention(RetentionPolicy.CLASS)
|
|
public @interface RequiresApi {
|
|
@IntRange(from = 1)
|
|
int api() default 1;
|
|
|
|
@IntRange(from = 1)
|
|
int value() default 1;
|
|
}
|