code: public JAnnotation getAnnotation(String className)
    {
      for (JAnnotation ann : getDeclaredAnnotations()) {
        if (ann.getType().equals(className))
          return ann;
      }
      
      return null;
    }
docs: Returns the annotation.