Flags

object Flags(source)

Properties

Link copied to clipboard

The flag that represents an abstract method

Link copied to clipboard

Flag for marking a constructor

Link copied to clipboard
const val FLAG_IS_FINAL: Short

The flag that represents a final method

Link copied to clipboard
Link copied to clipboard

The flag that represents a native method

Link copied to clipboard

The flag that represents a private method

Link copied to clipboard

The flag that represents a protected method

Link copied to clipboard

The flag that represents a public method

Link copied to clipboard

The flag that represents a static method

Link copied to clipboard

The flag that represents a strict method

Link copied to clipboard

The flag that represents a synchronized method

Functions

Link copied to clipboard
fun isAbstract(flags: Short): Boolean

Get isAbstract from the given flags

Link copied to clipboard

Get isConstructor from the given flags

Link copied to clipboard
fun isFinal(flags: Short): Boolean

Get isFinal from the given flags

Link copied to clipboard
fun isNative(flags: Short): Boolean

Get isNative from the given flags

Link copied to clipboard
fun isPrivate(flags: Short): Boolean

Get isPrivate from the given flags

Link copied to clipboard

Get isProtected from the given flags

Link copied to clipboard
fun isPublic(flags: Short): Boolean

Get isPublic from the given flags

Link copied to clipboard
fun isStatic(flags: Short): Boolean

Get isStatic from the given flags

Link copied to clipboard
fun isStrict(flags: Short): Boolean

Get isStrict from the given flags

Link copied to clipboard

Get isSynchronized from the given flags

Link copied to clipboard
fun setAbstract(flags: Short, value: Boolean = true): Short

Set isAbstract in the given flags (Sets the eighth bit of the flags)

Link copied to clipboard
fun setConstructor(flags: Short, value: Boolean = true): Short

Set isConstructor in the given flags (Sets the tenth bit of the flags)

Link copied to clipboard
fun setFinal(flags: Short, value: Boolean = true): Short

Set isFinal in the given flags (Sets the fifth bit of the flags)

Link copied to clipboard
fun setNative(flags: Short, value: Boolean = true): Short

Set isNative in the given flags (Sets the seventh bit of the flags)

Link copied to clipboard
fun setPrivate(flags: Short, value: Boolean = true): Short

Set isPrivate in the given flags (Sets the second bit of the flags)

Link copied to clipboard
fun setProtected(flags: Short, value: Boolean = true): Short

Set isProtected in the given flags (Sets the third bit of the flags)

Link copied to clipboard
fun setPublic(flags: Short, value: Boolean = true): Short

Set isPublic in the given flags (Sets the first bit of the flags)

Link copied to clipboard
fun setStatic(flags: Short, value: Boolean = true): Short

Set isStatic in the given flags (Sets the fourth bit of the flags)

Link copied to clipboard
fun setStrict(flags: Short, value: Boolean = true): Short

Set isStrict in the given flags (Sets the ninth bit of the flags)

Link copied to clipboard
fun setSynchronized(flags: Short, value: Boolean = true): Short

Set isSynchronized in the given flags (Sets the sixth bit of the flags)