ADD week 5
This commit is contained in:
53
02-Easy5/E5/sources/org/jetbrains/annotations/ApiStatus.java
Normal file
53
02-Easy5/E5/sources/org/jetbrains/annotations/ApiStatus.java
Normal file
@ -0,0 +1,53 @@
|
||||
package org.jetbrains.annotations;
|
||||
|
||||
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;
|
||||
|
||||
/* loaded from: classes.dex */
|
||||
public final class ApiStatus {
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PACKAGE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface AvailableSince {
|
||||
String value();
|
||||
}
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PACKAGE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface Experimental {
|
||||
}
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PACKAGE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface Internal {
|
||||
}
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.METHOD})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface NonExtendable {
|
||||
}
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.METHOD})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface OverrideOnly {
|
||||
}
|
||||
|
||||
@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE, ElementType.METHOD, ElementType.CONSTRUCTOR, ElementType.FIELD, ElementType.PACKAGE})
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
public @interface ScheduledForRemoval {
|
||||
String inVersion() default "";
|
||||
}
|
||||
|
||||
private ApiStatus() {
|
||||
throw new AssertionError("ApiStatus should not be instantiated");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user