Build system changes

This commit is contained in:
Zach Brown
2016-03-01 00:16:08 +01:00
parent 136bc4ed8e
commit 74b3d383cc
2 changed files with 48 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
package io.papermc.paper.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.jetbrains.annotations.ApiStatus;
/**
* Annotation used to mark methods or constructors which should not be called.
*
* <p>Separate from {@link Deprecated} to differentiate from the large amount of deprecations.</p>
*/
@ApiStatus.Internal
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.CONSTRUCTOR})
public @interface DoNotUse {
}