mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-16 17:44:51 +00:00
API annotation updates
This commit is contained in:
2 files changed
+26
-3
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package com.falsepattern.lib;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
/**
|
||||
* Used together with {@link Deprecated} to specify when an API was marked stable, and when it was marked for deprecation.
|
||||
* Deprecated classes MAY be removed after a full deprecation cycle as described inside the {@link StableAPI} javadoc.
|
||||
*/
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@StableAPI(since = "0.10.0")
|
||||
public @interface DeprecationDetails {
|
||||
@StableAPI(since = "0.10.0")
|
||||
String stableSince() default "";
|
||||
@StableAPI(since = "0.10.0")
|
||||
String deprecatedSince();
|
||||
}
|
||||
Reference in new issue
Block a user