Skip to content

Commit

Permalink
Add NoDoc annotation to test elements
Browse files Browse the repository at this point in the history
  • Loading branch information
AyhamAl-Ali committed Sep 15, 2023
1 parent bd134d0 commit 2f4b890
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
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

0 comments on commit 2f4b890

Please sign in to comment.