blob: 219b0c9bfbe6e0be1d80c9454ed702e9b4c2f48c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package de.hysky.skyblocker.annotations;
import java.lang.annotation.*;
@Documented
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.TYPE)
public @interface RegisterWidget {
/**
* The priority of the widget.
* The higher the number, the later the widget will be instantiated.
* Use this to ensure that your widget is instantiated after widget method if it depends on it.
*/
int priority() default 0;
}
|