title: Get field class in annotations processor
body: <p>I am writing my first Annotations processor and having trouble with something that seems trivial but I cannot find any information about it.</p>
  
  <p>I have a element annotated with my annotation</p>
  
  <pre><code>@MyAnnotation String property;
  </code></pre>
  
  <p>When I get this property as a element in my processor I can not seem to get the type of the element in any way. In this case a would want to get a Class or TypeElement instance representing String. </p>
  
  <p>I tried instantiating a class object of the container type with <code>Class.forName()</code> but it threw a ClassNotFoundException. I think this is because I do not have access to the class loader containing the class?</p>