Interface Patch<T>
- All Known Implementing Classes:
PatchAdd, PatchRemove
@NonExtendable
public interface Patch<T>
Do not implement this outside KamiCommon. This was a
sealed hierarchy until
spigot-utils dropped to Java 8 so that 1.8.x servers could load it; sealed is Java 17
and has no Java 8 spelling. The closed set is still enforced within the library by the
verifySealedHierarchies build task, which fails if an implementation appears that is
not on the permitted list (PatchAdd, PatchRemove). Nothing can enforce it in your code, hence this annotation.