Add retention policy etc. to MethodOrder.

This commit is contained in:
asofold 2016-11-22 19:09:03 +01:00
parent f2b245010f
commit bb5afe0d2e

View File

@ -14,11 +14,20 @@
*/
package fr.neatmonster.nocheatplus.event;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation to allow per-method method-order. Empty strings are regarded as "not set".
* @author mc_dev
*
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface MethodOrder {
public String tag() default "";
public String beforeTag() default "";