code: public static TypeDeclaration getTypeDeclaration(CompilationUnit compilationUnit, ClassAnnotation classAnno)
              throws TypeDeclarationNotFoundException {
          requireNonNull(classAnno, "class annotation");
          return getTypeDeclaration(compilationUnit, classAnno.getClassName());
      }
docs: Returns the <CODE>TypeDeclaration</CODE> for the specified
  <CODE>ClassAnnotation</CODE>. The type has to be declared in the
  specified <CODE>CompilationUnit</CODE>.
  
  @param compilationUnit
  The <CODE>CompilationUnit</CODE>, where the
  <CODE>TypeDeclaration</CODE> is declared in.
  @param classAnno
  The <CODE>ClassAnnotation</CODE>, which contains the class
  name of the <CODE>TypeDeclaration</CODE>.
  @return the <CODE>TypeDeclaration</CODE> found in the specified
  <CODE>CompilationUnit</CODE>.
  @throws TypeDeclarationNotFoundException
  if no matching <CODE>TypeDeclaration</CODE> was found.