title: When I try to know if there is an annotation in my method, it returns null (even when there is one)
body: <p>In a bukkit project, something to simplify the creation of commands, I did something that worked but I want to try new things (to learn how to use these things: Annotations!!) but in my code when I look in my code if there is an annotation "Command" on my method it returns "null" and I do not understand why </p>
  
  <p>My code that looks for the annotation "Order" in my class :</p>
  
  <pre class="lang-java prettyprint-override"><code>for(Method method : clazz.getMethods()) {
      Command ann = method.getAnnotation(Command.class);
      if(ann != null) {
           // Creates the command
      }
  }
  </code></pre>
  
  <p>My annotation class :</p>
  
  <pre class="lang-java prettyprint-override"><code>import java.lang.annotation.ElementType;
  import java.lang.annotation.Target;
  
  @Target(ElementType.METHOD)
  public @interface Command {
      String command();
      String name();
      String desc() default "";
      String[] aliases() default {};
      boolean admin() default true;
  }
  </code></pre>
  
  <p>I hope you'll help me find out where my mistake is.
  And I want to apologize for my English because I am a kind of French and I know that my English is not very good:/</p>
  
  <p>PS: I am a young developer so don't blame me if the answer is obvious, I try to learn by myself, everything I have learned is not with a teacher or another.... </p>