ClassFile/Struct/ConstantMethodrefInfo.pm

filter: Statementstmt 84.6% 22 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod n/a totaltotal 81.8% 27 / 33 SCAR 0.0
CC
1
Cov
85%
__ANON__
2.0
__ANON__
1.3
BEGIN
1.0
CRAP 1.0
« ClassFile/Struct/ConstantInvokeDynamicInfo.pm ↑ Summary ClassFile/Struct/ConstantNameAndTypeInfo.pm »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package MarpaX::Java::ClassFile::Struct::ConstantMethodrefInfo;
5 use MarpaX::Java::ClassFile::Struct::_Base
6 -tiny => [qw/_constant_pool tag class_index name_and_type_index/],
7 -oneLineDescriptionJoinString => '.',
8 '""' => [
9 0 ▶ [ sub { 'Class#' . $_[0]->class_index } => sub { $_[0]->_constant_pool->[$_[0]->class_index] } ],
Subroutine __ANON__: not called CC=1 SCAR=6.9
10 1 ▶ [ sub { 'Namd and type#' . $_[0]->name_and_type_index } => sub { $_[0]->_constant_pool->[$_[0]->name_and_type_index] } ]
Subroutine __ANON__: not called CC=1 SCAR=2.6
11 1 ▶ ];
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 # ABSTRACT: CONSTANT_Methodref_info
14  
15 1 our $VERSION = '0.008'; # VERSION
16  
17 1 our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY
18  
19 1 ▶use MarpaX::Java::ClassFile::Struct::_Types qw/U1 U2/;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 1 ▶use Types::Standard qw/ArrayRef/;
Subroutine BEGIN: called CC=1 SCAR=0.0
21  
22 1 has _constant_pool => ( is => 'rw', required => 1, isa => ArrayRef);
23 1 has tag => ( is => 'ro', required => 1, isa => U1 );
24 1 has class_index => ( is => 'ro', required => 1, isa => U2 );
25 1 has name_and_type_index => ( is => 'ro', required => 1, isa => U2 );
26  
27 1 1;
28  
29 __END__
30  
31 =pod
32  
33 =encoding UTF-8
34  
35 =head1 NAME
36  
37 MarpaX::Java::ClassFile::Struct::ConstantMethodrefInfo - CONSTANT_Methodref_info
38  
39 =head1 VERSION
40  
41 version 0.008
42  
43 =head1 AUTHOR
44  
45 Jean-Damien Durand <jeandamiendurand@free.fr>
46  
47 =head1 COPYRIGHT AND LICENSE
48  
49 This software is copyright (c) 2016 by Jean-Damien Durand.
50  
51 This is free software; you can redistribute it and/or modify it under
52 the same terms as the Perl 5 programming language system itself.
53  
54 =cut
« ClassFile/Struct/ConstantInvokeDynamicInfo.pm ↑ Summary ClassFile/Struct/ConstantNameAndTypeInfo.pm »