« ClassFile/Struct/RuntimeInvisibleTypeAnnotationsAttribute.pm
↑ Summary
ClassFile/Struct/RuntimeVisibleParameterAnnotationsAttribute.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::RuntimeVisibleAnnotationsAttribute; | ||
| 5 | 1 | ▶ | use MarpaX::Java::ClassFile::Util::ArrayStringification qw/arrayStringificator/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | use MarpaX::Java::ClassFile::Struct::_Base | ||
| 7 | -tiny => [qw/_constant_pool attribute_name_index attribute_length num_annotations annotations/], | ||
| 8 | '""' => [ | ||
| 9 | 0 | ▶ | [ sub { 'Annotations count' } => sub { $_[0]->num_annotations } ], |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 10 | 1 | ▶ | [ sub { 'Annotations' } => sub { $_[0]->arrayStringificator($_[0]->annotations) } ] |
|
Subroutine
__ANON__: not called CC=1 SCAR=2.6
| |||
| 11 | 1 | ▶ | ]; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | # ABSTRACT: RuntimeVisibleAnnotations_attribute | ||
| 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/U2 U4 Annotation/; |
|
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 attribute_name_index => ( is => 'ro', required => 1, isa => U2 ); | |
| 24 | 1 | has attribute_length => ( is => 'ro', required => 1, isa => U4 ); | |
| 25 | 1 | has num_annotations => ( is => 'ro', required => 1, isa => U2 ); | |
| 26 | 1 | has annotations => ( is => 'ro', required => 1, isa => ArrayRef[Annotation] ); | |
| 27 | |||
| 28 | 1 | 1; | |
| 29 | |||
| 30 | __END__ | ||
| 31 | |||
| 32 | =pod | ||
| 33 | |||
| 34 | =encoding UTF-8 | ||
| 35 | |||
| 36 | =head1 NAME | ||
| 37 | |||
| 38 | MarpaX::Java::ClassFile::Struct::RuntimeVisibleAnnotationsAttribute - RuntimeVisibleAnnotations_attribute | ||
| 39 | |||
| 40 | =head1 VERSION | ||
| 41 | |||
| 42 | version 0.008 | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | Jean-Damien Durand <jeandamiendurand@free.fr> | ||
| 47 | |||
| 48 | =head1 COPYRIGHT AND LICENSE | ||
| 49 | |||
| 50 | This software is copyright (c) 2016 by Jean-Damien Durand. | ||
| 51 | |||
| 52 | This is free software; you can redistribute it and/or modify it under | ||
| 53 | the same terms as the Perl 5 programming language system itself. | ||
| 54 | |||
| 55 | =cut | ||