1scalap(1) USER COMMANDS scalap(1)
2
3
4
6 scalap - Scala class file decoder for the Scala 2 language
7
9 scalap [ <options> ] <class name>
10
12 <options>
13 Command line options. See OPTIONS below.
14
15 <class name>
16 Full-qualified name of a class to be decoded (such as hello.Hel‐
17 loWorld).
18
20 The scalap tool reads a class file generated by theScala compiler, and
21 displays object and class definitions.
22
23 By default, scalap looks for the given class file in the current direc‐
24 tory. You can specify a separate classpath with -classpath (see
25 OPTIONS, below).
26
28 The decoder has a set of standard options that are supported on the
29 current development environment and will be supported in future
30 releases.
31
32 Standard Options
33 -help Display this usage message.
34
35 -private
36 Print private definitions.
37
38 -verbose
39 Print out additional information.
40
41 -version
42 Print product version and exit.
43
44 -cp | -classpath
45 Specify where to find user class files.
46
48 Display definitions for a generated class file
49 scalap hello.HelloWorld
50
52 scalap returns a zero exit status if it succeeds to process the speci‐
53 fied input files. Non zero is returned in case of failure.
54
56 Written by Ilya Sergey.
57
59 Report bugs to https://github.com/scala/bug/issues.
60
62 This is open-source software, available to you under the Apache License
63 2.0. See accompanying "copyright" or "LICENSE" file for copying condi‐
64 tions. There is NO warranty; not even for MERCHANTABILITY or FITNESS
65 FOR A PARTICULAR PURPOSE.
66
68 fsc(1), scala(1), scalac(1), scaladoc(1)
69
70
71
72version 1.0 June 2006 scalap(1)