Companion

object Companion

Functions

Link copied to clipboard

Answer a Statistic for recording allocations for the given AbstractDescriptor. It will be cached within the descriptor for performance.

Link copied to clipboard
fun arithmeticBitShiftLong(value: Long, leftShift: Int): Long

Note: This is an arithmetic (i.e., signed) shift without Java's implicit modulus on the shift amount.

Link copied to clipboard

Extract the integer slot's List of BitFields, excluding ones marked with the annotation @HideFieldInDebugger.

Link copied to clipboard
fun bitShiftInt(value: Int, leftShift: Int): Int

Note: This is a logical shift without Java's implicit modulus on the shift amount.

Link copied to clipboard
fun bitShiftLong(value: Long, leftShift: Int): Long

Note: This is a logical shift without Java's implicit modulus on the shift amount.

Link copied to clipboard
fun describeIntegerSlot(self: AvailObject, value: Long, slot: IntegerSlotsEnum, bitFields: List<BitField>, builder: StringBuilder)

Describe the integer field onto the provided StringBuilder. The pre-extracted long value is provided, as well as the containing AvailObject and the IntegerSlotsEnum instance. Take into account annotations on the slot enumeration object which may define the way it should be described.

Link copied to clipboard
fun describeLong(value: Long, numBits: Int, builder: StringBuilder)

Write a description of this Long to the builder, taking note that the value is constrained to contain only numBits of content. Use conventions such as grouping into groups of at most four hex digits.

Link copied to clipboard

Answer the given value's TypeTag's ordinal.