From 305949487e70cbaa65231ac47842f97f8dc2f061 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 28 May 2020 07:05:19 -0400 Subject: [PATCH] Add @UnstableApi annotation. Resolves #313 --- .../api/annotations/UnstableApi.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 api/src/main/java/com/velocitypowered/api/annotations/UnstableApi.java diff --git a/api/src/main/java/com/velocitypowered/api/annotations/UnstableApi.java b/api/src/main/java/com/velocitypowered/api/annotations/UnstableApi.java new file mode 100644 index 000000000..7d2859a77 --- /dev/null +++ b/api/src/main/java/com/velocitypowered/api/annotations/UnstableApi.java @@ -0,0 +1,14 @@ +package com.velocitypowered.api.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Target; + +/** + * Marks unstable API interfaces that are still maturing. These interfaces may change drastically + * between minor releases of Velocity, and it is not guaranteed that the APIs marked with this + * annotation will be stable over time. + */ +@Target({ ElementType.METHOD, ElementType.TYPE, ElementType.PACKAGE }) +public @interface UnstableApi { + +}