Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚒️ Add NoDoc annotation to test elements #6006

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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<String> {

private final static Pattern SIGNATURE_PATTERN = Pattern.compile("(?<class>.+)#(?<name>.+)\\((?<params>.*)\\)");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 {
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/ch/njol/skript/test/runner/EvtTestCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -32,6 +33,7 @@
import ch.njol.skript.registrations.EventValues;
import ch.njol.skript.util.Getter;

@NoDoc
public class EvtTestCase extends SkriptEvent {

static {
Expand Down