public static <T> ReferencedObject<T> getWrappedObject(final Class<T> clazz, final T obj)
    {
        return new ReferencedObject<>(clazz, null, obj);
    }
public static <T> ReferencedObject<T> getWrappedObject(final Class<T> clazz, final T obj)
    {
        return new ReferencedObject<>(clazz, null, obj);
    }
public static < T > ReferencedObject < T > getWrappedObject ( final Class < T > clazz , final T obj ) { return new ReferencedObject <> ( clazz , null , obj ) ; }
Create a ReferencedObject that directly wraps an object without a reference.

@param clazz the class of the object
@param obj the object to wrapper
@param <T> the type of the object
@return a new ReferencedObject instance that directly wraps the object specified
Create a ReferencedObject that directly wraps an object without a reference .