title: Annotation Processor - How to get the Class it is processing
body: <p>I am trying to write a custom Anntoation processor.
  The annotation processor will process each class file at compile time to check annotations,
  But how am i able to get the class that it is currently processing?
  I am only able to get the class name in the following codes.</p>
  
  <pre><code>public class AnnotationProcessor extends AbstractProcessor {
    ......
      @Override
       public boolean process(Set&lt;? extends TypeElement&gt; annotations,
          RoundEnvironment roundEnv) {
  
       Set&lt;? extends Element&gt; rootE=roundEnv.getRootElements();
         for(Element e: rootE) {
          if(e.getKind()==ElementKind.CLASS) {
              String className= e.getSimpleName().toString();
              processingEnv.getMessager().printMessage( javax.tools.Diagnostic.Kind.WARNING,className, e); 
          }
       }
  }
  </code></pre>