title: How to get the super class name in annotation processing
body: <p>I run an annotation processor written by my self to generate some new java code based on annotated classes. Following is what i tried to get the super class name of a currently processed class.</p>
  
  <pre><code>TypeMirror superTypeMirror = typeElement.getSuperclass();
  final TypeKind superClassName = superTypeMirror.getKind();
  log("A==================" + superClassName.getClass());
  log("B==================" + superClassName.getDeclaringClass());
  </code></pre>
  
  <p>typeElement returns me the current class that annotation processor is processing. I want to know which classes this extends and which classes are implemented by this class. The methods i used are not helpful at all.</p>
  
  <p>Thankx</p>