jetbrick-commons/src/main/java/jetbrick/reflect/KlassInfo.java
public static KlassInfo create(final Class<?> clazz) {
        KlassInfo klass = pool.get(clazz);
        if (klass == null) {
            klass = new KlassInfo(clazz);
            KlassInfo old = pool.putIfAbsent(clazz, klass);
            if (old != null) {
                klass = old;
            }
        }
        return klass;
    }
public static KlassInfo create(final Class<?> clazz) {
        KlassInfo klass = pool.get(clazz);
        if (klass == null) {
            klass = new KlassInfo(clazz);
            KlassInfo old = pool.putIfAbsent(clazz, klass);
            if (old != null) {
                klass = old;
            }
        }
        return klass;
    }
public static KlassInfo create ( final Class < ? > clazz ) { KlassInfo klass = pool . get ( clazz ) ; if ( klass == null ) { klass = new KlassInfo ( clazz ) ; KlassInfo old = pool . putIfAbsent ( clazz , klass ) ; if ( old != null ) { klass = old ; } } return klass ; }
将 Class 对象转成 KlassInfo 对象 (有缓存).

@param clazz - 原始对象
@return KlassInfo 对象
将 Class 对象转成 KlassInfo 对象 ( 有缓存 ) .