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