MutableAnonymousAttributeImpl

A mutable AnonymousAttributeImpl implementation without any custom properties This implementation can wrap any attribute.

Specification

Since

0.1.0

Parameters

pool

the MutableConstantPool of the attribute

nameConstant

the name of the attribute

value

the value of the attribute

See also

Constructors

Link copied to clipboard
constructor(pool: MutableConstantPool, nameConstant: Int, value: ByteArray)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override var name: String

The name of the attribute

Link copied to clipboard
open override var nameConstant: Int

The name of the attribute

Link copied to clipboard
open override val pool: MutableConstantPool

The MutableConstantPool of the attribute

Link copied to clipboard
open override var 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 override fun dump(): ByteArray
open override fun dump(stream: DataOutputStream)

Get the size of the attribute

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

Does the attribute equal the other object

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

Get the hash code of the attribute

Link copied to clipboard
open fun hashCodeHelper(): Int

Get the hash code of this Attribute