jv-scan-3.31
Print information about java source file
Part of jv-scan(1).
Usage
jv-scan [--no-assert]
[--complexity]
[--encoding=name]
[--print-main]
[--list-class]
[--list-filename]
[--version]
[--help]
[-o
file]
inputfile ...
Overview
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
gcjoption.
-
--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.