line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This file is part of MooseX-Attribute-Deflator |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2012 by Moritz Onken. |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# The (three-clause) BSD License |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
package MooseX::Attribute::LazyInflator::Meta::Role::ApplicationToClass; |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
$MooseX::Attribute::LazyInflator::Meta::Role::ApplicationToClass::VERSION = '2.1.11'; # TRIAL |
13
|
|
|
|
|
|
|
} |
14
|
4
|
|
|
4
|
|
90
|
use Moose::Role; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
22
|
|
15
|
4
|
|
|
4
|
|
14688
|
use MooseX::Attribute::LazyInflator::Role::Class; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
413
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
around apply => sub { |
18
|
|
|
|
|
|
|
my $orig = shift; |
19
|
|
|
|
|
|
|
my $self = shift; |
20
|
|
|
|
|
|
|
my $role = shift; |
21
|
|
|
|
|
|
|
my $class = shift; |
22
|
|
|
|
|
|
|
$class = |
23
|
|
|
|
|
|
|
Moose::Util::MetaRole::apply_metaroles( |
24
|
|
|
|
|
|
|
for => $class, |
25
|
|
|
|
|
|
|
class_metaroles => { |
26
|
|
|
|
|
|
|
constructor => [ |
27
|
|
|
|
|
|
|
'MooseX::Attribute::LazyInflator::Meta::Role::Method::Constructor' |
28
|
|
|
|
|
|
|
], |
29
|
|
|
|
|
|
|
} ) if ( Moose->VERSION < 1.9900 ); |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Moose::Util::MetaRole::apply_base_class_roles( |
32
|
|
|
|
|
|
|
for => $class->name, |
33
|
|
|
|
|
|
|
roles => ['MooseX::Attribute::LazyInflator::Role::Class'] |
34
|
|
|
|
|
|
|
); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
$self->$orig( $role, $class ); |
37
|
|
|
|
|
|
|
}; |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__END__ |
42
|
|
|
|
|
|
|
=pod |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 NAME |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
MooseX::Attribute::LazyInflator::Meta::Role::ApplicationToClass |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 VERSION |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
version 2.1.11 |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 AUTHOR |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Moritz Onken |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This software is Copyright (c) 2012 by Moritz Onken. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This is free software, licensed under: |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
The (three-clause) BSD License |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=cut |
65
|
|
|
|
|
|
|
|