Package com.google.api.core
Annotation Type ObsoleteApi
@BetaApi
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,CONSTRUCTOR,FIELD,METHOD,PACKAGE,TYPE})
@Documented
public @interface ObsoleteApi
Indicates a public API is obsolete, and will be deprecated in a future version.
Usage guidelines:
- This annotation must be used only on APIs with non-private visibility.
- This annotation should only be added if either an alternative API is provided and/or we plan to stop supporting the API in a future version.
- This annotation must be used with a description.
- Alternative APIs must be referenced in Javadoc and/or description if possible.
-
Required Element Summary
Required Elements
-
Element Details
-
value
String valueContext information such as reasons and alternatives.
-