Reference

jv-scan(1)

print information about Java source file

Part of jv-scan-3.3(1).

NAME

jv-scan - print information about Java source file

SYNOPSIS

jv-scan [--no-assert] [--complexity]
[--encoding=name] [--print-main]
[--list-class] [--list-filename]
[--version] [--help]
[-o file] inputfile...

DESCRIPTION

The "jv-scan" program can be used to print information about a Java source file (.java file).

OPTIONS

--no-assert

Don't recognize the "assert" keyword, for backwards compatibility with older versions of the language specification.

--complexity

This prints a complexity measure, related to cyclomatic complexity, for each input file.

--encoding=name

This works like the corresponding gcj option.

--print-main

This prints the name of the class in this file containing a "main" method.

--list-class

This lists the names of all classes defined in the input files.

--list-filename

If "--list-class" is given, this option causes "jv-scan" to also print the name of the file in which each class was found.

-o file

Print output to the named file.

--help

Print help, then exit.

--version

Print version number, then exit.

SEE ALSO

gcc(1), gcj(1), gcjh(1), gij(1), jcf-dump(1), gfdl(7), and the Info entries for gcj and gcc.

COPYRIGHT

Copyright (c) 2001, 2002 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with the Invariant Sections being ``GNU General Public License'', the Front-Cover texts being (a) (see below), and with the Back-Cover Texts being (b) (see below). A copy of the license is included in the man page gfdl(7).

(a) The FSF's Front-Cover Text is:

     A GNU Manual

(b) The FSF's Back-Cover Text is:

     You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development.

History

--complexity since Debian 3.0 (Woody); --encoding since Debian 3.0 (Woody); --help since Debian 3.0 (Woody); --list-class since Debian 3.0 (Woody); --list-filename since Debian 3.0 (Woody); --no-assert since Debian 3.1 (Sarge); --print-main since Debian 3.0 (Woody); --version since Debian 3.0 (Woody); -o since Debian 3.0 (Woody).