Definition

data class Definition(val definitionType: NamesIndex.DefinitionType, val manifestIndex: Int)

A definition of a method, macro, or restriction in this module.

Constructors

Link copied to clipboard
constructor(binaryStream: DataInputStream)

Reconstruct a DefinitionType whose data was previously serialized onto a stream of bytes that can be read from the DataInputStream.

constructor(definitionType: NamesIndex.DefinitionType, manifestIndex: Int)

Properties

Link copied to clipboard

The DefinitionType identifying the nature of this definition.

Link copied to clipboard

An index into the ManifestRecord for the current module, indicating which manifest entry is responsible for this definition.

Functions

Link copied to clipboard
fun write(binaryStream: DataOutputStream)

Serialize the receiver onto the given DataOutputStream, in a form suitable for reconstruction via the Definition constructor taking a DataInputStream.