changeset 3530 | 18fb7507984b |
parent 2678 | 57cf2a1c1a05 |
3384:bca2225b66d7 | 3530:18fb7507984b |
---|---|
109 pos = newPos; |
109 pos = newPos; |
110 |
110 |
111 return r; |
111 return r; |
112 } |
112 } |
113 |
113 |
114 /** |
|
115 * Returns true if this block is empty and does not contain |
|
116 * any statement. |
|
117 */ |
|
118 public boolean isEmpty() { |
|
119 return content.isEmpty(); |
|
120 } |
|
121 |
|
114 |
122 |
115 /** |
123 /** |
116 * Adds a local variable declaration to this block |
124 * Adds a local variable declaration to this block |
117 * |
125 * |
118 * @param type |
126 * @param type |