mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-12 00:07:52 +00:00
25 lines
609 B
Java
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 "";
|
|
}
|