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 .