code: public JAnnotation getAnnotation(String className)
    {
      JAnnotation []annList = getDeclaredAnnotations();
  
      for (int i = 0; i < annList.length; i++) {
        if (annList[i].getType().equals(className))
          return annList[i];
      }
      
      return null;
    }
docs: Returns the annotation.