MutableMethod

class MutableMethod(pool: MutableConstantPool, var qualifiedNameConstant: Int, var flags: Short, attributes: MutableList<Attribute>) : Method(source)

A mutable version of Method

Since

0.1.0

Parameters

pool

The MutableConstantPool of the method

qualifiedNameConstant

The constant of the qualified name of the method

flags

The flags of the method

attributes

The attributes of the method

See also

Constructors

Link copied to clipboard
constructor(pool: MutableConstantPool, qualifiedNameConstant: Int, flags: Short, attributes: MutableList<Attribute>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The attributes of the method

Link copied to clipboard
open override var flags: Short

The flags of the method

Link copied to clipboard
open override var isAbstract: Boolean

Is this method abstract?

Link copied to clipboard
open override var isConstructor: Boolean

Is this method a constructor?

Link copied to clipboard
open override var isFinal: Boolean

Is this method final?

Link copied to clipboard
open override var isNative: Boolean

Is this method native?

Link copied to clipboard
open override var isPrivate: Boolean

Is this method private?

Link copied to clipboard
open override var isProtected: Boolean

Is this method protected?

Link copied to clipboard
open override var isPublic: Boolean

Is this method public?

Link copied to clipboard
open override var isStatic: Boolean

Is this method static?

Link copied to clipboard
open override var isStrict: Boolean

Is this method strict?

Link copied to clipboard
open override var isSynchronized: Boolean

Is this method synchronized?

Link copied to clipboard
open val name: String

Returns the name of the method

Link copied to clipboard
open override val pool: MutableConstantPool

The MutableConstantPool of the bytecode

Link copied to clipboard
open override var qualifiedName: String

The qualified name of the method

Link copied to clipboard
open override var qualifiedNameConstant: Int

The index of an utf8 constant in the ConstantPool that represents the qualified name of the method

Functions

Link copied to clipboard

Dumps the Method to a ByteArray

fun dump(stream: DataOutputStream)

Dumps the Method to the given stream

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

Returns if the given other object is equal to this Method

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

Returns the hash code of this Method