Package cn.nukkit.api
Annotation Interface API
@PowerNukkitDifference(since="1.4.0.0-PN",
info="Applicable to fields only in PowerNukkit")
@Retention(SOURCE)
@Target({CONSTRUCTOR,METHOD,ANNOTATION_TYPE,TYPE,FIELD})
public @interface API
Describes an API element.
- Author:
- Lin Mulan, Nukkit Project
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enum constant for API definition.static enum
Enum constant for API usage. -
Required Element Summary
Modifier and TypeRequired ElementDescriptionIndicates definition or the platforms this API element supports.Indicates the level of stability of an API element.
-
Element Details
-
usage
API.Usage usageIndicates the level of stability of an API element. The stability also describes when to use this API element.- Returns:
- The stability
- See Also:
-
definition
API.Definition definitionIndicates definition or the platforms this API element supports.- Returns:
- The definition
- See Also:
-