createUninitializedObject

Create a mutable object using the provided ObjectLayoutVariant, but without initializing its fields. The caller is responsible for initializing the fields before use.

Return

The new object.

Parameters

variant

The ObjectLayoutVariant to instantiate as an object.