@Deprecated(since="22.0") public final class FrameUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getBooleanSafe(Frame frame,
FrameSlot frameSlot)
Deprecated.
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
a guard or statically known).
|
static byte |
getByteSafe(Frame frame,
FrameSlot frameSlot)
Deprecated.
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
a guard or statically known).
|
static double |
getDoubleSafe(Frame frame,
FrameSlot frameSlot)
Deprecated.
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
a guard or statically known).
|
static float |
getFloatSafe(Frame frame,
FrameSlot frameSlot)
Deprecated.
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
a guard or statically known).
|
static int |
getIntSafe(Frame frame,
FrameSlot frameSlot)
Deprecated.
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
a guard or statically known).
|
static long |
getLongSafe(Frame frame,
FrameSlot frameSlot)
Deprecated.
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
a guard or statically known).
|
static Object |
getObjectSafe(Frame frame,
FrameSlot frameSlot)
Deprecated.
Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
a guard or statically known).
|
public static Object getObjectSafe(Frame frame, FrameSlot frameSlot)
frameSlot - the slot of the variableIllegalStateException - if the slot kind does not matchpublic static byte getByteSafe(Frame frame, FrameSlot frameSlot)
frameSlot - the slot of the variableIllegalStateException - if the slot kind does not matchpublic static boolean getBooleanSafe(Frame frame, FrameSlot frameSlot)
frameSlot - the slot of the variableIllegalStateException - if the slot kind does not matchpublic static int getIntSafe(Frame frame, FrameSlot frameSlot)
frameSlot - the slot of the variableIllegalStateException - if the slot kind does not matchpublic static long getLongSafe(Frame frame, FrameSlot frameSlot)
frameSlot - the slot of the variableIllegalStateException - if the slot kind does not matchpublic static double getDoubleSafe(Frame frame, FrameSlot frameSlot)
frameSlot - the slot of the variableIllegalStateException - if the slot kind does not matchpublic static float getFloatSafe(Frame frame, FrameSlot frameSlot)
frameSlot - the slot of the variableIllegalStateException - if the slot kind does not match