From 2bfd8e7e5efb25f648b8a6de934b1eff675481b1 Mon Sep 17 00:00:00 2001 From: Starmism Date: Wed, 30 Jun 2021 05:43:14 -0600 Subject: [PATCH] Re-add NotNull's --- .../clip/placeholderapi/expansion/PlaceholderExpansion.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java b/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java index 8f008d8..709a56f 100644 --- a/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java +++ b/src/main/java/me/clip/placeholderapi/expansion/PlaceholderExpansion.java @@ -45,6 +45,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook { * * @return placeholder identifier that is associated with this expansion */ + @NotNull public abstract String getIdentifier(); /** @@ -52,6 +53,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook { * * @return name of the author for this expansion */ + @NotNull public abstract String getAuthor(); /** @@ -59,6 +61,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook { * * @return current version of this expansion */ + @NotNull public abstract String getVersion(); /** @@ -66,6 +69,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook { * * @return {@link #getIdentifier()} by default, name of this expansion if specified */ + @NotNull public String getName() { return getIdentifier(); } @@ -85,6 +89,7 @@ public abstract class PlaceholderExpansion extends PlaceholderHook { * * @return placeholder list that this expansion provides */ + @NotNull public List getPlaceholders() { return Collections.emptyList(); }