All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.nukkit.api.DeprecationDetails Maven / Gradle / Ivy

Go to download

A Minecraft Bedrock Edition server software implementation made in Java from scratch which supports all new features.

There is a newer version: 1.6.0.1-PN
Show newest version
package cn.nukkit.api;

import java.lang.annotation.*;

/**
 * Describe the deprecation with more details. This is persisted to the class file, so it can be read without javadocs.
 */
@Retention(RetentionPolicy.CLASS)
@Target({ElementType.CONSTRUCTOR, ElementType.METHOD, ElementType.ANNOTATION_TYPE, ElementType.TYPE,
        ElementType.FIELD, ElementType.PACKAGE})
@Documented
public @interface DeprecationDetails {
    /**
     * The version which marked this element as deprecated.
     */
    String since();

    /**
     * Why it is deprecated.
     */
    String reason();

    /**
     * What should be used or do instead.
     */
    String replaceWith() default "";

    /**
     * When the annotated element will be removed or have it's signature changed.
     */
    String toBeRemovedAt() default "";

    /**
     * The maintainer party that has added this depreciation. For example: PowerNukkit, Clourburst Nukkit, and Nukkit
     */
    String by() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy