程序包 cn.nukkit.api
Annotation Interface DeprecationDetails
@PowerNukkitOnly
@Retention(CLASS)
@Target({CONSTRUCTOR,METHOD,ANNOTATION_TYPE,TYPE,FIELD,PACKAGE})
@Documented
public @interface DeprecationDetails
Describe the deprecation with more details. This is persisted to the class file, so it can be read without javadocs.
-
必需元素概要
-
可选元素概要
修饰符和类型可选元素说明The maintainer party that has added this depreciation.What should be used or do instead.When the annotated element will be removed or have it's signature changed.
-
元素详细资料
-
since
The version which marked this element as deprecated. -
reason
Why it is deprecated.
-
-
-
replaceWith
What should be used or do instead.- 默认值:
- ""
-
toBeRemovedAt
When the annotated element will be removed or have it's signature changed.- 默认值:
- ""
-
by
The maintainer party that has added this depreciation. For example: PowerNukkit, Cloudburst Nukkit, and Nukkit- 默认值:
- ""
-