comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/frame/FrameUtil.java @ 19507:1cde96b96673

Fixed code format issues.
author Roland Schatz <roland.schatz@oracle.com>
date Thu, 19 Feb 2015 16:15:56 +0100
parents 0046afcda972
children
comparison
equal deleted inserted replaced
19506:8c7536965c95 19507:1cde96b96673
26 26
27 public final class FrameUtil { 27 public final class FrameUtil {
28 /** 28 /**
29 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by 29 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
30 * a guard or statically known). 30 * a guard or statically known).
31 * 31 *
32 * @param frameSlot the slot of the variable 32 * @param frameSlot the slot of the variable
33 * @throws IllegalStateException if the slot kind does not match 33 * @throws IllegalStateException if the slot kind does not match
34 * @see Frame#getObject(FrameSlot) 34 * @see Frame#getObject(FrameSlot)
35 */ 35 */
36 public static Object getObjectSafe(Frame frame, FrameSlot frameSlot) { 36 public static Object getObjectSafe(Frame frame, FrameSlot frameSlot) {
42 } 42 }
43 43
44 /** 44 /**
45 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by 45 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
46 * a guard or statically known). 46 * a guard or statically known).
47 * 47 *
48 * @param frameSlot the slot of the variable 48 * @param frameSlot the slot of the variable
49 * @throws IllegalStateException if the slot kind does not match 49 * @throws IllegalStateException if the slot kind does not match
50 * @see Frame#getByte(FrameSlot) 50 * @see Frame#getByte(FrameSlot)
51 */ 51 */
52 public static byte getByteSafe(Frame frame, FrameSlot frameSlot) { 52 public static byte getByteSafe(Frame frame, FrameSlot frameSlot) {
58 } 58 }
59 59
60 /** 60 /**
61 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by 61 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
62 * a guard or statically known). 62 * a guard or statically known).
63 * 63 *
64 * @param frameSlot the slot of the variable 64 * @param frameSlot the slot of the variable
65 * @throws IllegalStateException if the slot kind does not match 65 * @throws IllegalStateException if the slot kind does not match
66 * @see Frame#getBoolean(FrameSlot) 66 * @see Frame#getBoolean(FrameSlot)
67 */ 67 */
68 public static boolean getBooleanSafe(Frame frame, FrameSlot frameSlot) { 68 public static boolean getBooleanSafe(Frame frame, FrameSlot frameSlot) {
74 } 74 }
75 75
76 /** 76 /**
77 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by 77 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
78 * a guard or statically known). 78 * a guard or statically known).
79 * 79 *
80 * @param frameSlot the slot of the variable 80 * @param frameSlot the slot of the variable
81 * @throws IllegalStateException if the slot kind does not match 81 * @throws IllegalStateException if the slot kind does not match
82 * @see Frame#getInt(FrameSlot) 82 * @see Frame#getInt(FrameSlot)
83 */ 83 */
84 public static int getIntSafe(Frame frame, FrameSlot frameSlot) { 84 public static int getIntSafe(Frame frame, FrameSlot frameSlot) {
90 } 90 }
91 91
92 /** 92 /**
93 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by 93 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
94 * a guard or statically known). 94 * a guard or statically known).
95 * 95 *
96 * @param frameSlot the slot of the variable 96 * @param frameSlot the slot of the variable
97 * @throws IllegalStateException if the slot kind does not match 97 * @throws IllegalStateException if the slot kind does not match
98 * @see Frame#getLong(FrameSlot) 98 * @see Frame#getLong(FrameSlot)
99 */ 99 */
100 public static long getLongSafe(Frame frame, FrameSlot frameSlot) { 100 public static long getLongSafe(Frame frame, FrameSlot frameSlot) {
106 } 106 }
107 107
108 /** 108 /**
109 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by 109 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
110 * a guard or statically known). 110 * a guard or statically known).
111 * 111 *
112 * @param frameSlot the slot of the variable 112 * @param frameSlot the slot of the variable
113 * @throws IllegalStateException if the slot kind does not match 113 * @throws IllegalStateException if the slot kind does not match
114 * @see Frame#getDouble(FrameSlot) 114 * @see Frame#getDouble(FrameSlot)
115 */ 115 */
116 public static double getDoubleSafe(Frame frame, FrameSlot frameSlot) { 116 public static double getDoubleSafe(Frame frame, FrameSlot frameSlot) {
122 } 122 }
123 123
124 /** 124 /**
125 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by 125 * Read a frame slot that is guaranteed to be of the desired kind (either previously checked by
126 * a guard or statically known). 126 * a guard or statically known).
127 * 127 *
128 * @param frameSlot the slot of the variable 128 * @param frameSlot the slot of the variable
129 * @throws IllegalStateException if the slot kind does not match 129 * @throws IllegalStateException if the slot kind does not match
130 * @see Frame#getFloat(FrameSlot) 130 * @see Frame#getFloat(FrameSlot)
131 */ 131 */
132 public static float getFloatSafe(Frame frame, FrameSlot frameSlot) { 132 public static float getFloatSafe(Frame frame, FrameSlot frameSlot) {