Annotate all the things

This commit is contained in:
FalsePattern committed 2022-08-06 13:12:55 +02:00
1 parent 980e8a8776
commit da1ef6c8c7
63 files changed
+623 -369

No files matched your search

@@ -31,18 +31,18 @@ import javax.annotation.Nullable;
@SideOnly(Side.CLIENT)
@StableAPI(since = "0.10.0")
public class GuiToast {
@StableAPI(since = "0.10.0")
@Nullable
@StableAPI.Expose
public static <T extends IToast> T getToast(Class<? extends T> toastClass, Object type) {
return GuiToastImpl.getInstance().getToast(toastClass, type);
}
@StableAPI(since = "0.10.0")
@StableAPI.Expose
public static void clear() {
GuiToastImpl.getInstance().clear();
}
@StableAPI(since = "0.10.0")
@StableAPI.Expose
public static void add(IToast toastIn) {
GuiToastImpl.getInstance().add(toastIn);
}