ClassfileWriter

dotty.tools.backend.jvm.ClassfileWriters.ClassfileWriter
See theClassfileWriter companion object
sealed trait ClassfileWriter extends TastyWriter

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.

Attributes

Companion
object
Graph
Supertypes
trait TastyWriter
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def close(): Unit

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

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

Attributes

def writeClass(name: InternalName, bytes: Array[Byte], sourceFile: AbstractFile): NullableFile

Write a classfile

Write a classfile

Attributes

Inherited and Abstract methods

def writeTasty(name: InternalName, bytes: Array[Byte], sourceFile: AbstractFile): Unit

Attributes

Inherited from:
TastyWriter