jv-scan(1)

jv-scan1

Print information about java source file

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 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.

Releases

3 releases since Debian 2.2 (Potato); the text changed 2 times.

  1. 2.2
  2. 3.0
  3. 3.1

--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).

From gcj 4:3.3.5-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.