From 555218f0351dab3c4ded8befa86867b7a0189637 Mon Sep 17 00:00:00 2001 From: Ayham Al-Ali <20037329+AyhamAl-Ali@users.noreply.github.com> Date: Fri, 15 Sep 2023 15:51:11 +0300 Subject: [PATCH] Add NoDoc annotation to test elements --- src/main/java/ch/njol/skript/test/runner/CondMethodExists.java | 2 ++ .../java/ch/njol/skript/test/runner/CondMinecraftVersion.java | 2 ++ src/main/java/ch/njol/skript/test/runner/EvtTestCase.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/main/java/ch/njol/skript/test/runner/CondMethodExists.java b/src/main/java/ch/njol/skript/test/runner/CondMethodExists.java index 0735ea997ab..3103d6379ba 100644 --- a/src/main/java/ch/njol/skript/test/runner/CondMethodExists.java +++ b/src/main/java/ch/njol/skript/test/runner/CondMethodExists.java @@ -19,6 +19,7 @@ package ch.njol.skript.test.runner; import ch.njol.skript.conditions.base.PropertyCondition; +import ch.njol.skript.doc.NoDoc; import org.apache.commons.lang.StringUtils; import org.bukkit.event.Event; import org.eclipse.jdt.annotation.Nullable; @@ -42,6 +43,7 @@ @Description("Checks if a method exists") @Examples("if method \"org.bukkit.Bukkit#getPluginCommand(java.lang.String)") @Since("2.7") +@NoDoc public class CondMethodExists extends PropertyCondition { private final static Pattern SIGNATURE_PATTERN = Pattern.compile("(?.+)#(?.+)\\((?.*)\\)"); diff --git a/src/main/java/ch/njol/skript/test/runner/CondMinecraftVersion.java b/src/main/java/ch/njol/skript/test/runner/CondMinecraftVersion.java index bc5f1436349..24a47479a49 100644 --- a/src/main/java/ch/njol/skript/test/runner/CondMinecraftVersion.java +++ b/src/main/java/ch/njol/skript/test/runner/CondMinecraftVersion.java @@ -18,6 +18,7 @@ */ package ch.njol.skript.test.runner; +import ch.njol.skript.doc.NoDoc; import org.bukkit.event.Event; import org.eclipse.jdt.annotation.Nullable; @@ -36,6 +37,7 @@ @Description("Checks if current Minecraft version is given version or newer.") @Examples("running minecraft \"1.14\"") @Since("2.5") +@NoDoc public class CondMinecraftVersion extends Condition { static { diff --git a/src/main/java/ch/njol/skript/test/runner/EvtTestCase.java b/src/main/java/ch/njol/skript/test/runner/EvtTestCase.java index cec92f1dadc..0fc0a79a8c2 100644 --- a/src/main/java/ch/njol/skript/test/runner/EvtTestCase.java +++ b/src/main/java/ch/njol/skript/test/runner/EvtTestCase.java @@ -18,6 +18,7 @@ */ package ch.njol.skript.test.runner; +import ch.njol.skript.doc.NoDoc; import org.bukkit.Location; import org.bukkit.block.Block; import org.bukkit.event.Event; @@ -32,6 +33,7 @@ import ch.njol.skript.registrations.EventValues; import ch.njol.skript.util.Getter; +@NoDoc public class EvtTestCase extends SkriptEvent { static {