driver-legacy/src/main/com/mongodb/ReflectionDBObject.java
public static JavaWrapper getWrapper(final Class c) {
        JavaWrapper w = _wrappers.get(c);
        if (w == null) {
            w = new JavaWrapper(c);
            _wrappers.put(c, w);
        }
        return w;
    }
public static JavaWrapper getWrapper(final Class c) {
        JavaWrapper w = _wrappers.get(c);
        if (w == null) {
            w = new JavaWrapper(c);
            _wrappers.put(c, w);
        }
        return w;
    }
Returns an existing Wrapper instance associated with a class, or creates a new one.

@param c the class to be wrapped
@return the wrapped