Annotate all packages with @NotNullByDefault and suppress warnings for unstable API usage.
This commit is contained in:
1 parent
da7ae49618
commit
981445a797
10 files changed
+50
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||||
|
@NotNullByDefault
|
||||||
|
package dev.overlord.zomboidforge.agent;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||||
|
@NotNullByDefault
|
||||||
|
package dev.overlord.zomboidforge.api;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||||
|
@NotNullByDefault
|
||||||
|
package dev.overlord.zomboidforge.compat.b42.patches;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||||
|
@NotNullByDefault
|
||||||
|
package dev.overlord.zomboidforge.compat.b42.patches.support;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||||
|
@NotNullByDefault
|
||||||
|
package dev.overlord.zomboidforge.compat.b42.hooks;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
+5
@@ -1,5 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* Build 42 runtime code: hooks that patched game classes call, and adapters between
|
* Build 42 runtime code: hooks that patched game classes call, and adapters between
|
||||||
* game classes and the version-independent {@code core} and {@code api}.
|
* game classes and the version-independent {@code core} and {@code api}.
|
||||||
|
*
|
||||||
|
* @noinspection UnstableApiUsage, RedundantSuppression
|
||||||
*/
|
*/
|
||||||
|
@NotNullByDefault
|
||||||
package dev.overlord.zomboidforge.compat.b42;
|
package dev.overlord.zomboidforge.compat.b42;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
+5
@@ -0,0 +1,5 @@
|
|||||||
|
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||||
|
@NotNullByDefault
|
||||||
|
package dev.overlord.zomboidforge.compat.b42.perf;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
@@ -1,5 +1,10 @@
|
|||||||
/**
|
/**
|
||||||
* Version-independent runtime: mod loading, events, configuration. Contains no
|
* Version-independent runtime: mod loading, events, configuration. Contains no
|
||||||
* references to game classes; game-specific code is in the compat modules.
|
* references to game classes; game-specific code is in the compat modules.
|
||||||
|
*
|
||||||
|
* @noinspection UnstableApiUsage, RedundantSuppression
|
||||||
*/
|
*/
|
||||||
|
@NotNullByDefault
|
||||||
package dev.overlord.zomboidforge.core;
|
package dev.overlord.zomboidforge.core;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||||
|
@NotNullByDefault
|
||||||
|
package dev.overlord.zomboidforge.patcher.Patches;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/** @noinspection UnstableApiUsage, RedundantSuppression */
|
||||||
|
@NotNullByDefault
|
||||||
|
package dev.overlord.zomboidforge.patcher;
|
||||||
|
|
||||||
|
import org.jetbrains.annotations.NotNullByDefault;
|
||||||
Reference in new issue
Block a user