scalap(1)

πŸ“¦
version 2.11.12 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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, like hello.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 πŸ›


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