Skip to content

Commit

Permalink
format everything
Browse files Browse the repository at this point in the history
  • Loading branch information
vgskye committed Nov 12, 2024
1 parent 7029b8a commit 057a4c5
Show file tree
Hide file tree
Showing 625 changed files with 33,489 additions and 30,272 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 057a4c5

Please sign in to comment.