my $type_constraint = Stopwatch->meta->get_attribute('timer')->type_constraint; print $type_constraint->name; # prints DateTime