Packages

class JavapClass extends Javap

Javap command implementation.

Source
JavapClass.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavapClass
  2. Javap
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavapClass(loader: ScalaClassLoader, printWriter: PrintWriter, intp: IMain)

Type Members

  1. class JavapTool extends AnyRef

Value Members

  1. def apply(args: Seq[String]): List[JpResult]

    Run the tool.

    Run the tool. Option args start with "-", except that "-" itself denotes the last REPL result. The default options are "-protected -verbose". Byte data for filename args is retrieved with findBytes.

    returns

    results for invoking JpResult.show()

    Definition Classes
    JavapClassJavap
  2. def findBytes(path: String): Array[Byte]
  3. val loader: ScalaClassLoader
  4. val printWriter: PrintWriter
  5. lazy val tool: JavapTool
  6. def tryClass(path: String): Array[Byte]

    Assume the string is a fully qualified class name and try to find the class object it represents.

    Assume the string is a fully qualified class name and try to find the class object it represents. There are other symbols of interest, too:

    • a definition that is wrapped in an enclosing class
    • a synthetic that is not in scope but its associated class is
  7. def tryFile(path: String): Option[Array[Byte]]

    Assume the string is a path and try to find the classfile it represents.

  8. object JavapTool