summaryrefslogtreecommitdiff
path: root/src/com/redstoner/annotations
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/redstoner/annotations')
-rw-r--r--src/com/redstoner/annotations/Commands.java (renamed from src/com/redstoner/annotations/Debugable.java)13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/com/redstoner/annotations/Debugable.java b/src/com/redstoner/annotations/Commands.java
index be6ec1c..537bff0 100644
--- a/src/com/redstoner/annotations/Debugable.java
+++ b/src/com/redstoner/annotations/Commands.java
@@ -5,10 +5,11 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
-/** Debugable annotation, to be added to methods that invoke the Debugger.notifyMethod method for debugging purposes.
- *
- * @author Pepich */
-@Target(ElementType.METHOD)
+import com.redstoner.misc.CommandHolderType;
+
+@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
-public @interface Debugable
-{}
+public @interface Commands
+{
+ CommandHolderType value();
+}