| 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::FieldInfo; | ||
| 5 | 1 | ▶ | use MarpaX::Java::ClassFile::Util::ArrayStringification qw/arrayStringificator/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use MarpaX::Java::ClassFile::Util::AccessFlagsStringification qw/accessFlagsStringificator/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | use MarpaX::Java::ClassFile::Struct::_Base | ||
| 8 | -tiny => [qw/_constant_pool access_flags name_index descriptor_index attributes_count attributes/], | ||
| 9 | '""' => [ | ||
| 10 | 0 | ▶ | [ sub { 'Name#' . $_[0]->name_index } => sub { $_[0]->_constant_pool->[$_[0]->name_index] } ], |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 11 | 0 | ▶ | [ sub { 'Descriptor#' . $_[0]->descriptor_index } => sub { $_[0]->_constant_pool->[$_[0]->descriptor_index] } ], |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 12 | 0 | ▶ | [ sub { 'Access flags' } => sub { $_[0]->accessFlagsStringificator($_[0]->access_flags) } ], |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 13 | 0 | ▶ | [ sub { 'Attributes count' } => sub { $_[0]->attributes_count } ], |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 14 | 1 | ▶ | [ sub { 'Attributes' } => sub { $_[0]->arrayStringificator($_[0]->attributes) } ] |
|
Subroutine
__ANON__: not called CC=1 SCAR=2.6
| |||
| 15 | 1 | ▶ | ]; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | # ABSTRACT: field_info | ||
| 18 | |||
| 19 | 1 | our $VERSION = '0.008'; # VERSION | |
| 20 | |||
| 21 | 1 | our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY | |
| 22 | |||
| 23 | 1 | ▶ | use MarpaX::Java::ClassFile::Struct::_Types qw/U2 AttributeInfo/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 24 | 1 | ▶ | use Types::Standard qw/ArrayRef/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | |||
| 26 | 1 | has _constant_pool => ( is => 'rw', required => 1, isa => ArrayRef); | |
| 27 | 1 | has access_flags => ( is => 'ro', required => 1, isa => U2 ); | |
| 28 | 1 | has name_index => ( is => 'ro', required => 1, isa => U2 ); | |
| 29 | 1 | has descriptor_index => ( is => 'ro', required => 1, isa => U2 ); | |
| 30 | 1 | has attributes_count => ( is => 'ro', required => 1, isa => U2 ); | |
| 31 | 1 | has attributes => ( is => 'ro', required => 1, isa => ArrayRef[AttributeInfo] ); | |
| 32 | |||
| 33 | 1 | 1; | |
| 34 | |||
| 35 | __END__ | ||
| 36 | |||
| 37 | =pod | ||
| 38 | |||
| 39 | =encoding UTF-8 | ||
| 40 | |||
| 41 | =head1 NAME | ||
| 42 | |||
| 43 | MarpaX::Java::ClassFile::Struct::FieldInfo - field_info | ||
| 44 | |||
| 45 | =head1 VERSION | ||
| 46 | |||
| 47 | version 0.008 | ||
| 48 | |||
| 49 | =head1 AUTHOR | ||
| 50 | |||
| 51 | Jean-Damien Durand <jeandamiendurand@free.fr> | ||
| 52 | |||
| 53 | =head1 COPYRIGHT AND LICENSE | ||
| 54 | |||
| 55 | This software is copyright (c) 2016 by Jean-Damien Durand. | ||
| 56 | |||
| 57 | This is free software; you can redistribute it and/or modify it under | ||
| 58 | the same terms as the Perl 5 programming language system itself. | ||
| 59 | |||
| 60 | =cut | ||