Package org.jetbrains.annotations
Annotation Interface ApiStatus.Obsolete
- Enclosing class:
ApiStatus
@Documented
@Retention(CLASS)
@Target({TYPE,ANNOTATION_TYPE,METHOD,CONSTRUCTOR,FIELD,PACKAGE})
public static @interface ApiStatus.Obsolete
Indicates that a public API of the annotated element (class, method or field) is subject to deprecation in a future version.
It's a weaker variant of Deprecated
annotation.
The annotated API is not supposed to be used in the new code because a better API exists,
but it's permitted to postpone the migration of the existing code, therefore the usage is not considered a warning.
-
Optional Element Summary
Optional Elements
-
Element Details
-
since
String sinceSpecifies in which version the API became obsolete.- Default:
""
-