Java::Javap - Java to Perl 6 API translator
java2perl6api java.somepackage.Module
See java2perl6api for instructions and advice on use of this module.
java2perl6api
This particular module is only a place holder for the version number of this project (see below).
Call this as a class method.
Parameters: an abstract syntax tree you got from calling comp_unit an a Java::Javap::Grammar object.
Java::Javap::Grammar
Returns: an array reference of the types in arguments to methods, or return values (thrown types are not reported).
Invokes the javap process and return the output. Throws an exception if something goes wrong, like javap is not found.
javap
List of classes to be decompiled. It can also be supplied as a string, if a single class should be decompiled.
Options to be passed to the javap process.
my @classes = ('java.lang.String'); my @options = (); my $output = Java::Javap->javap(\@classes, \@options); # or ... my $output = Java::Javap->javap('java.lang.String');
Java::Javap::Generator
Java::Javap::Generator::Perl6
javap.grammar
Philip Crow, <crow.phil@gmail.com> Cosimo Streppone, <cosimo@cpan.org>
Copyright (C) 2007 by Philip Crow
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install Java::Javap, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Java::Javap
CPAN shell
perl -MCPAN -e shell install Java::Javap
For more information on module installation, please visit the detailed CPAN module installation guide.