code: public static List<ElementConfig> getElements(Class clazz) {
        if (!cacheEC.containsKey(clazz)) {
           cacheEC.put(clazz, new ArrayList<>(1));
           Element e = (Element) clazz.getAnnotation(Element.class);
           if (e != null) {
              cacheEC.get(clazz).add(fromAnnotation(e));
           }
           Elements es = (Elements) clazz.getAnnotation(com.vectorprint.report.itext.annotations.Elements.class);
           if (es != null) {
              for (Element s : es.elements()) {
                 cacheEC.get(clazz).add(fromAnnotation(s));
              }
           }
        }
        return cacheEC.get(clazz);
     }
docs: Find a datamapping to create an element based on class annotation, uses static cache.
  
  @param clazz
  @return