Files
CraftTweaker/ZenScript/src/main/java/stanhebben/zenscript/annotations/ZenClass.java
T
Stan Hebben 97c7f42400 - Added documentation to some classes
- Created script provider system
- Did some refactoring to improve the API
2014-06-10 21:12:55 +02:00

25 lines
609 B
Java

package stanhebben.zenscript.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Exposes this class to ZenScript. The class can then be imported and accessed
* into any script.
*
* @author Stan Hebben
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
public @interface ZenClass {
/**
* Contains the class' package and name. If omitted, the java package and
* name will be used.
*
* @return
*/
String value() default "";
}