Files
CraftTweaker/ZenScript/src/main/java/stanhebben/zenscript/annotations/ZenMethodStatic.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

30 lines
787 B
Java

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package stanhebben.zenscript.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Used to indicate static methods for expansions. For native classes, use ZenMethod
* instead on a static method.
*
* @author Stan Hebben
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface ZenMethodStatic {
/**
* Method name. If omitted, the annotated method name will be used.
*
* @return method name
*/
public String value() default "";
}