< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/tree/TreeMaker.java

Print this page

        

*** 244,253 **** --- 244,259 ---- JCWhileLoop tree = new JCWhileLoop(cond, body); tree.pos = pos; return tree; } + public JCWithField WithField(JCExpression field, JCExpression value) { + JCWithField tree = new JCWithField(field, value); + tree.pos = pos; + return tree; + } + public JCForLoop ForLoop(List<JCStatement> init, JCExpression cond, List<JCExpressionStatement> step, JCStatement body) {
*** 816,825 **** --- 822,833 ---- tp = TypeIdent(ERROR); break; default: throw new AssertionError("unexpected type: " + t); } + if (t.tsym.isProjectedNullable()) + tp.setQuestioned(); return tp.setType(t); } /** Create a list of trees representing given list of types. */
< prev index next >