src/share/classes/com/sun/tools/javac/comp/Flow.java

changeset 1442
fcf89720ae71
parent 1415
01c9d4161882
child 1521
71f35e4b93a5
equal deleted inserted replaced
1441:c78acf6c2f3e 1442:fcf89720ae71
244 * This is the speculative DA/DU analysis mode used to speculatively 244 * This is the speculative DA/DU analysis mode used to speculatively
245 * derive assertions within loop bodies 245 * derive assertions within loop bodies
246 */ 246 */
247 SPECULATIVE_LOOP("var.might.be.assigned.in.loop", true); 247 SPECULATIVE_LOOP("var.might.be.assigned.in.loop", true);
248 248
249 String errKey; 249 final String errKey;
250 boolean isFinal; 250 final boolean isFinal;
251 251
252 FlowKind(String errKey, boolean isFinal) { 252 FlowKind(String errKey, boolean isFinal) {
253 this.errKey = errKey; 253 this.errKey = errKey;
254 this.isFinal = isFinal; 254 this.isFinal = isFinal;
255 } 255 }
293 JCTree getTarget(JCTree tree) { 293 JCTree getTarget(JCTree tree) {
294 return ((JCContinue)tree).target; 294 return ((JCContinue)tree).target;
295 } 295 }
296 }; 296 };
297 297
298 JCTree.Tag treeTag; 298 final JCTree.Tag treeTag;
299 299
300 private JumpKind(Tag treeTag) { 300 private JumpKind(Tag treeTag) {
301 this.treeTag = treeTag; 301 this.treeTag = treeTag;
302 } 302 }
303 303

mercurial