public function finalize(FinalizedClassDefinition $class = null) : FinalizedFormObjectDefinition
    {
        return new FinalizedFormObjectDefinition(
                $class ?: $this->class->finalize(),
                $this->propertyFieldMap,
                $this->build()
        );
    }