2014-06-09 20:33:30 +02:00
|
|
|
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 {
|
2014-06-10 21:12:55 +02:00
|
|
|
/**
|
|
|
|
|
* Contains the class' package and name. If omitted, the java package and
|
|
|
|
|
* name will be used.
|
|
|
|
|
*
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
2014-06-09 20:33:30 +02:00
|
|
|
String value() default "";
|
|
|
|
|
}
|