---
name: "scalap"
section: "1"
platform: "linux"
package: "scala"
version: "2.9.2+dfsg-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/scalap"
---

# scalap(1)

Scala class file decoder for the Scala 2 language

## NAME

**scalap** - Scala class file decoder for the Scala 2 language

## SYNOPSIS

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

## DESCRIPTION

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

  **scalap** hello.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.

## AUTHOR

Written by Ilya Sergey.

## REPORTING BUGS

Report bugs to http://lampsvn.epfl.ch/trac/scala.

## COPYRIGHT

This is open-source software, available to you under a BSD-like license. See accomponying "copyright" or "LICENSE" file for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

## SEE ALSO

[**fsc**(1)](/fsc/1.md), **sbaz**(1), [**scala**(1)](/scala/1.md), [**scalac**(1)](/scalac/1.md), [**scaladoc**(1)](/scaladoc/1.md)
