sub get_all_class_attributes
{
- shift->compute_all_applicable_class_attributes(@_);
-}
-
-sub compute_all_applicable_class_attributes
-{
my $self = shift;
my %attrs =
return values %attrs;
}
+sub compute_all_applicable_class_attributes
+{
+ warn 'The compute_all_applicable_class_attributes method has been deprecated.'
+ . " Use get_all_class_attributes instead.\n";
+
+ shift->compute_all_applicable_class_attributes(@_);
+}
+
sub find_class_attribute_by_name
{
my $self = shift;
=head2 $meta->get_all_class_attributes()
-=head2 $meta->compute_all_applicable_class_attributes()
-
-These methods return a list of attribute objects for the class and all
+This method returns a list of attribute objects for the class and all
its parent classes.
=head2 $meta->find_class_attribute_by_name($name)