discord-jadx/app/src/main/java/androidx/annotation/RequiresPermission.java

34 lines
1.0 KiB
Java
Raw Normal View History

2021-06-27 20:44:35 +00:00
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.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PARAMETER})
@Documented
@Retention(RetentionPolicy.CLASS)
2022-03-01 22:12:19 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public @interface RequiresPermission {
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
2022-03-01 22:12:19 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public @interface Read {
RequiresPermission value() default @RequiresPermission;
}
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER})
2022-03-01 22:12:19 +00:00
/* loaded from: classes.dex */
2021-06-27 20:44:35 +00:00
public @interface Write {
RequiresPermission value() default @RequiresPermission;
}
String[] allOf() default {};
String[] anyOf() default {};
boolean conditional() default false;
String value() default "";
}