Attribute

interface Attribute(source)

An attribute of a class, method or field

Specification

Since

0.1.0

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val name: String

The name of the attribute

Link copied to clipboard
abstract val nameConstant: Int

The constant pool index of the name of the attribute

Link copied to clipboard
abstract val pool: ConstantPool

The constant pool of the attribute

Link copied to clipboard
abstract val value: ByteArray

The value of the attribute

Functions

Link copied to clipboard
open fun compareHelper(other: Any?): Boolean

Compare this Attribute to another Attribute

Link copied to clipboard
open fun dump(): ByteArray

Dump the attribute to a ByteArray

open fun dump(stream: DataOutputStream)

Dump the attribute to a DataOutputStream

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

Compare this Attribute to another Any object

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

Get the hash code of this Attribute

Link copied to clipboard
open fun hashCodeHelper(): Int

Get the hash code of this Attribute