title: Initialize variable with annotations
body: <p>i want to make my own annotation to initialize a class field. I need something like this:</p>
  
  <pre><code>public class MyAnnotationClass{
      Map&lt;String,String&gt; myMap;
  
      public String getValue(String key) {
          return myMap.get(key);
      }
  }
  
  @Retention(RetentionPolicy.RUNTIME)
  public @interface MyAnnotation {
      String[] keys default {};
      String[] vlaues default {};
  }
  
  public class MyClass implements MyInterface {
      @MyAnnotation(keys={"a","b"},values={"A","B"})
      MyAnnotationClass myAnnotationClass;
  
      public MyAnnotationClass getMyAnnotationClass() {
          return this.myAnnotationClass;
      }
  }
  </code></pre>
  
  <p>I don't know how to initialize the variable, or what i'm missing.</p>
  
  <p>Thanks you!</p>
  
  <p>EDIT:
  I'ts a little more complex than that. I need to initialize it that way. </p>
  
  <p>Also i'm using play framework</p>