Flags

object Flags(source)

Properties

Link copied to clipboard

The flag that represents an abstract field

Link copied to clipboard
const val FLAG_IS_FINAL: Short

The flag that represents a final field

Link copied to clipboard
Link copied to clipboard

The flag that represents a private field

Link copied to clipboard

The flag that represents a protected field

Link copied to clipboard

The flag that represents a public field

Link copied to clipboard

The flag that represents a static field

Functions

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

Get isAbstract from the given flags

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

Get isFinal 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 setAbstract(flags: Short, value: Boolean = true): Short

Set isAbstract in the given flags (Sets the sixth 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 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)