Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Target(ElementType.METHOD)
- @Retention(RetentionPolicy.RUNTIME)
- public @interface Arg {
- String arg();
- Permission[] allow() default metodo_que_está_anotado.getClass().getAnnotation(Cmd.class).allow();
- Permission[] disallow() default metodo_que_está_anotado.getClass().getAnnotation(Cmd.class).disallow();
- String description();
- String usage();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement