move deprecated since to javadoc (java 8 moment)

This commit is contained in:
FalsePattern committed 2025-06-03 15:11:14 +02:00
1 parent ee328483eb
commit 09696b5e6f
5 files changed
+20 -8

No files matched your search

@@ -32,8 +32,9 @@ 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.
* @since 0.10.0
* @deprecated since 1.7.0
*/
@Deprecated(since = "1.7.0")
@Deprecated
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface DeprecationDetails {
@@ -50,8 +51,9 @@ public @interface DeprecationDetails {
* This marks an API for removal in a future version.
*
* @since 0.12.0
* @deprecated since 1.7.0
*/
@Deprecated(since = "1.7.0")
@Deprecated
@Documented
@Retention(RetentionPolicy.RUNTIME)
@interface RemovedInVersion {
@@ -54,9 +54,10 @@ import java.lang.annotation.Target;
* is highly experimental and may be removed or change at any time, however, using it in third party projects is not an
* error, unlike __INTERNAL__, but if any issues arise from the usage of the API or the API changing, the API developer
* shall not be blamed for it.
* @deprecated since 1.7.0
* @since 0.6.0
*/
@Deprecated(since = "1.7.0")
@Deprecated
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@@ -78,9 +79,10 @@ public @interface StableAPI {
* Also note that this only works for class members (methods and fields),
* inner classes still need to use {@link StableAPI}.
*
* @deprecated since 1.7.0
* @since 0.10.0
*/
@Deprecated(since = "1.7.0")
@Deprecated
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR})
@@ -96,9 +98,10 @@ public @interface StableAPI {
* Library consumers should never use class members marked with this annotation, as said members can be freely
* changed or removed in any version in the library without prior notice.
*
* @deprecated since 1.7.0
* @since 0.10.0
*/
@Deprecated(since = "1.7.0")
@Deprecated
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.CONSTRUCTOR})
@@ -26,8 +26,10 @@ import org.objectweb.asm.tree.ClassNode;
/**
* See: {@link com.falsepattern.lib.turboasm.TurboClassTransformer}.
* This class will not be removed, for backwards compatibility reasons.
*
* @deprecated since 1.2.0
*/
@Deprecated(since = "1.2.0")
@Deprecated
public interface IClassNodeTransformer {
String getName();
@@ -36,8 +36,10 @@ import java.util.List;
/**
* See: {@link com.falsepattern.lib.turboasm.MergeableTurboTransformer}.
* This class will not be removed, for backwards compatibility reasons.
*
* @deprecated since 1.2.0
*/
@Deprecated(since = "1.2.0")
@Deprecated
public interface SmartTransformer extends IClassTransformer {
Logger logger();
@@ -53,7 +53,10 @@ public interface IMixinPlugin extends IMixinConfigPlugin {
return LogManager.getLogger(modName + " Mixin Loader");
}
@Deprecated(since = "1.4.0")
/**
* @deprecated since 1.4.0
*/
@Deprecated
static File findJarOf(final ITargetedMod mod) {
File result = null;
try (val stream = walk(MODS_DIRECTORY_PATH)) {