code: @DefinedBy(Api.LANGUAGE_MODEL)
      public <A extends Annotation> A getAnnotation(Class<A> annoType) {
  
          if (!annoType.isAnnotation())
              throw new IllegalArgumentException("Not an annotation type: " + annoType);
  
          Attribute.Compound c = getAttribute(annoType);
          return c == null ? null : AnnotationProxyMaker.generateAnnotation(c, annoType);
      }
docs: This method is part of the javax.lang.model API, do not use this in javac code.