|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.squawk.vm.AddressType
public final class AddressType
This class defines the constants that can be used to describe the type of the value stored at a given address. This type information is used when the VM is built with runtime type checking enabled.
Field Summary | |
---|---|
static byte |
ANY
Denotes that an address that has been zeroed and thus can be safely read as the default value for any type. |
static int |
ANY_WORD
A constant denoting a word full of ANY s. |
static byte |
BYTE
Denotes that an address contains a byte value. |
static byte |
BYTECODE
Denotes that an address contains a bytecode instruction. |
static byte |
DOUBLE
Denotes that an address contains the first word of a double value. |
static byte |
DOUBLE2
Denotes that an address contains the second word of a double value. |
static byte |
FLOAT
Denotes that an address contains a float value. |
static byte |
INT
Denotes that an address contains an int value. |
static byte |
LONG
Denotes that an address contains the first word of a long value. |
static byte |
LONG2
Denotes that an address contains the second word of a long value. |
static String |
Mnemonics
A char array (encoded in a string) provided a char representation for each valid address type constant. |
static int |
MUTATION_TYPE_SHIFT
The amount by which an address type value must be right shifted to extract the encoded mutation type. |
static byte |
REF
Denotes that an address contains a reference value. |
static byte |
SHORT
Denotes that an address contains a short value. |
static int |
TYPE_MASK
The mask applied to an address type value to extract the type information without the mutation type information. |
static byte |
UNDEFINED
Denotes that an address that has never been written to or zeroed. |
static long |
UNDEFINED_WORD
A constant denoting a word full of UNDEFINED s. |
static byte |
UWORD
Denotes that an address contains a word (or offset) value. |
Method Summary | |
---|---|
static String |
getMnemonic(byte type)
Gets the mnemonic for an address type value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte UNDEFINED
public static final byte ANY
public static final byte BYTECODE
public static final byte BYTE
public static final byte SHORT
public static final byte INT
public static final byte FLOAT
public static final byte LONG
public static final byte LONG2
public static final byte DOUBLE
public static final byte DOUBLE2
public static final byte REF
public static final byte UWORD
public static final int TYPE_MASK
public static final int MUTATION_TYPE_SHIFT
public static final long UNDEFINED_WORD
UNDEFINED
s.
public static final int ANY_WORD
ANY
s.
public static final String Mnemonics
Method Detail |
---|
public static String getMnemonic(byte type)
type
- the value to get a mnemonic representation for
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |