mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-17 02:45:07 +00:00
30 lines
787 B
Java
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 "";
|
|
}
|