my $buildall = $class->_generate_BUILDALL($metaclass);
my $buildargs = $class->_generate_BUILDARGS($metaclass);
-
+ my $initializer = $class->_generate_initialize_object($metaclass);
my $source = sprintf(<<'EOT', __LINE__, __FILE__, $metaclass->name, $buildargs, $buildall);
#line %d %s
package %s;
# BUILDARGS
%s;
my $instance = bless {}, $class;
- $metaclass->_initialize_object($instance, $args, 0);
+ $metaclass->$initializer($instance, $args, 0);
# BUILDALL
%s;
return $instance;