ClassConstant

class ClassConstant(val identifier: Int) : ConstantPoolEntry(source)

A ClassConstant is a constant pool entry that contains a class identifier

Specification

Since

0.1.0

Parameters

identifier

the class identifier of the entry

See also

Constructors

Link copied to clipboard
constructor(identifier: Int)

creates a new ClassConstant

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The class identifier of the entry

Functions

Link copied to clipboard

Dump the entry into a byte array

open override fun dump(stream: DataOutputStream)

Dump the class constant to the given stream

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean

Check if the class constant is equal to the given other object

Link copied to clipboard
open override fun hashCode(): Int

Get the hash code of the class constant

Link copied to clipboard
open override fun toString(): String

Get a string representation of the class constant