Flags

object Flags(source)

Properties

Link copied to clipboard

The flag that represents an abstract class

Link copied to clipboard

The flag that represents an annotation class

Link copied to clipboard
const val FLAG_IS_ENUM: Short

The flag that represents an enum class

Link copied to clipboard
Link copied to clipboard
const val FLAG_IS_FINAL: Short

The flag that represents a final class

Link copied to clipboard
Link copied to clipboard

The flag that represents an interface class

Link copied to clipboard

The flag that represents an object class

Link copied to clipboard

The flag that represents a private class

Link copied to clipboard

The flag that represents a protected class

Link copied to clipboard

The flag that represents a public class

Link copied to clipboard

The flag that represents a static class

Link copied to clipboard

The flag that represents a synthetic class

Functions

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

Get isAbstract from the given flags

Link copied to clipboard

Get isAnnotation from the given flags

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

Get isEnum from the given flags

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

Get isFinal from the given flags

Link copied to clipboard

Get isInterface from the given flags

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

Get isObject 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

Get isSynthetic from the given flags

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

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

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

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

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

Set isEnum 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 setInterface(flags: Short, value: Boolean = true): Short

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

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

Set isObject in the given flags (Sets the eleventh 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 setSynthetic(flags: Short, value: Boolean = true): Short

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