scalap1
Scala class file decoder for the scala 2 language
Usage
scalap [<options>]
<class
name>
Parameters
<options>
|
Command line options. See OPTIONS below. |
|---|---|
<class name>
|
Full-qualified name of a class to be decoded (such as hello.HelloWorld). |
Overview
The scalap tool reads a class file generated by theScala compiler, and displays object and class definitions.
By default, scalap looks for the given class file in the current directory. You can specify a separate classpath with -classpath (see OPTIONS, below).
Options
The decoder has a set of standard options that are supported on the current development environment and will be supported in future releases.
Standard Options
-
-help -
Display this usage message.
-
-private -
Print private definitions.
-
-verbose -
Print out additional information.
-
-version -
Print product version and exit.
-
-cp | -classpath -
Specify where to find user class files.
Examples
- Display definitions for a generated class file
-
scalaphello.HelloWorld
Exit status
scalap returns a zero exist status if it succeeds to process the specified input files. Non zero is returned in case of failure.
Releases
3 releases since Debian 4.0 (Etch); the text changed 1 time.