Skip to content

Commit

Permalink
format everything
Browse files Browse the repository at this point in the history
  • Loading branch information
vgskye committed Nov 2, 2024
1 parent e2b20f8 commit 369d689
Show file tree
Hide file tree
Showing 623 changed files with 33,405 additions and 30,190 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,18 @@
// yoinky sploinky

/**
* A purely-documentative annotation.
* This annotation is used by developers in xplat code. The annotated method is intended
* to "soft implement" a certain method in a loader specific interface that cannot be
* named in xplat code and thus cannot be checked with @Override.
* In this context, "soft implement" means to implement the method by matching the signature
* with the intended interface method.
* Examples of interfaces that we would use this for is IForgeItem or FabricItem.
* <p>
* The intent is that we audit such sites every major Minecraft version or so, to ensure
* that they still properly override the intended target.
* A purely-documentative annotation. This annotation is used by developers in xplat code. The
* annotated method is intended to "soft implement" a certain method in a loader specific interface
* that cannot be named in xplat code and thus cannot be checked with @Override. In this context,
* "soft implement" means to implement the method by matching the signature with the intended
* interface method. Examples of interfaces that we would use this for is IForgeItem or FabricItem.
*
* <p>The intent is that we audit such sites every major Minecraft version or so, to ensure that
* they still properly override the intended target.
*/
@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.METHOD)
public @interface SoftImplement {
/**
* What interface we're soft implementing
*/
String value();
/** What interface we're soft implementing */
String value();
}
Loading

0 comments on commit 369d689

Please sign in to comment.