Package 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.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThe 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.
-
Element Details
-
since
The version which marked this element as deprecated. -
reason
Why it is deprecated.
-
-
-
replaceWith
What should be used or do instead.- Default:
- ""
-
toBeRemovedAt
When the annotated element will be removed or have it's signature changed.- Default:
- ""
-
by
The maintainer party that has added this depreciation. For example: PowerNukkit, Cloudburst Nukkit, and Nukkit- Default:
- ""
-