Advertisement
liwgfr

Command

Apr 13th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. import java.lang.annotation.ElementType;
  2. import java.lang.annotation.Retention;
  3. import java.lang.annotation.RetentionPolicy;
  4. import java.lang.annotation.Target;
  5.  
  6. @Target(ElementType.METHOD)
  7. @Retention(RetentionPolicy.RUNTIME)
  8. public @interface Command {
  9.     String description();
  10.     String additionalInfo() default "Пока что функционал не определен";
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement