Packages

sealed trait ClassfileWriter extends OutputFileWriter with AutoCloseable

The interface to writing classfiles. GeneratedClassHandler calls these methods to generate the directory and files that are created, and eventually calls close when the writing is complete.

The companion object is responsible for constructing a appropriate and optimal implementation for the supplied settings.

Operations are threadsafe.

Source
ClassfileWriters.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassfileWriter
  2. AutoCloseable
  3. OutputFileWriter
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def close(): Unit

    Close the writer.

    Close the writer. Behavior is undefined after a call to close.

    Definition Classes
    ClassfileWriter → AutoCloseable
  2. abstract def writeClass(name: InternalName, bytes: Array[Byte], sourceFile: AbstractFile): Unit

    Write a classfile

  3. abstract def writeFile(relativeName: String, data: Array[Byte], outputDir: AbstractFile): Unit
    Definition Classes
    OutputFileWriter