mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-06-28 23:34:43 +02:00
Add retention policy etc. to MethodOrder.
This commit is contained in:
parent
f2b245010f
commit
bb5afe0d2e
|
@ -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 "";
|
||||
|
|
Loading…
Reference in New Issue
Block a user