scalap(1)
π scalap(1) β the Scala 2 class file decoder, bestie edition π
okay so this is a page from the USER COMMANDS manual, and it's all about scalap, the Scala class file decoder for the Scala 2 language. yes it's giving niche. yes it's iconic. let's get into it π«Ά
β¨ NAME β¨
scalap β Scala class file decoder for the Scala 2 language πΈ
π¦ SYNOPSIS π¦
scalap [ <options> ] <class name>
π PARAMETERS π
<options>β the command line options, babe. full deets in OPTIONS down below π<class name>β the full-qualified name of a class to be decoded, likehello.HelloWorld. full-qualified, not vibes-qualified, okay? β
π DESCRIPTION π
The scalap tool reads a class file that was generated by the Scala compiler, and then it displays object and class definitions. like, it opens up the class file and shows you what's inside. main character energy for real π₯
By default, scalap looks for the given class file in the current directory. But bestie, you can specify a separate classpath with -classpath (see OPTIONS, below) if your class file is living somewhere else. no cap π§
β¨ OPTIONS β¨
The decoder has a set of standard options that are supported on the current development environment and will be supported in future releases. so like, these are forever options. periodt π
π Standard Options π
-helpβ Display this usage message. your lil helper fr π-privateβ Print private definitions. yes, the private ones too, we're nosy and that's valid π-verboseβ Print out additional information. extra. more. all of it π-versionβ Print product version and exit. then it dips β¨-cp|-classpathβ Specify where to find user class files. two names, one job, iconic π
πΈ EXAMPLES πΈ
Display definitions for a generated class file:
scalap hello.HelloWorld
that's it. that's the example. ate and left no crumbs π
β EXIT STATUS β
scalap returns a zero exit status if it succeeds in processing the specified input files. A non-zero status is returned in case of failure. so zero = slay, non-zero = not slay π
π«Ά AUTHOR π«Ά
Written by Ilya Sergey. thank you king π
π REPORTING BUGS π
Found a bug? Report bugs to https://issues.scala-lang.org/. don't suffer in silence bestie, tell the maintainers π
π COPYRIGHT π
This is open-source software, available to you under a BSD-like license. See the accompanying "copyright" or "LICENSE" file for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, none. zero. nada. read the license fr fr π
π SEE ALSO π
the whole friend group, love that for them π«Ά
version 1.0 π June 2006 π β yeah she's been around since 2006 and she's still serving. legacy icon behavior, no notes. bye bestie, go decode some class files β¨π
π¦ where this page comes from
- debian bookworm: scala 2.11.12-5 Β· BSD-3-Clause
- debian trixie: scala 2.11.12-6 Β· BSD-3-Clause
- ubuntu jammy: scala 2.11.12-5 Β· BSD-3-Clause
- ubuntu noble: scala 2.11.12-5 Β· BSD-3-Clause
- ubuntu questing: scala 2.11.12-6
- ubuntu resolute: scala 2.11.12-6build1 Β· BSD-3-Clause
- ubuntu stonking: scala 2.11.12-6build1 Β· BSD-3-Clause
- (c) 2002-2013, LAMP/EPFL #
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms