The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use strict;
use warnings FATAL => 'all';
-tiny => [qw/_constant_pool name_index access_flags/],
'""' => [
#
# name_index can be zero
#
[ sub { 'Name#' . $_[0]->name_index } => sub { ($_[0]->name_index > 0) ? $_[0]->_constant_pool->[$_[0]->name_index] : '' } ],
[ sub { 'Access flags' } => sub { $_[0]->accessFlagsStringificator($_[0]->access_flags) } ]
];
# ABSTRACT: parameter
our $VERSION = '0.009'; # VERSION
our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY
use Types::Standard qw/ArrayRef/;
has _constant_pool => ( is => 'rw', required => 1, isa => ArrayRef);
has name_index => ( is => 'ro', required => 1, isa => U2 );
has access_flags => ( is => 'ro', required => 1, isa => U2 );
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
MarpaX::Java::ClassFile::Struct::Parameter - parameter
=head1 VERSION
version 0.009
=head1 AUTHOR
Jean-Damien Durand <jeandamiendurand@free.fr>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Jean-Damien Durand.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut