code: @SuppressWarnings("unchecked")
      static final <T> Beans<T> of(Class<T> clazz) {
          return ((CachedBeans<T>)CachedBeans.CACHE).getBeans(clazz);
      }
docs: Returns the bean mappings for a given class (caches the results).