< prev index next >

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

Print this page

        

*** 297,307 **** scan(tree.expr); } public void visitTypeTest(JCInstanceOf tree) { scan(tree.expr); ! scan(tree.clazz); } public void visitIndexed(JCArrayAccess tree) { scan(tree.indexed); scan(tree.index); --- 297,312 ---- scan(tree.expr); } public void visitTypeTest(JCInstanceOf tree) { scan(tree.expr); ! scan(tree.pattern); ! } ! ! public void visitBindingPattern(JCBindingPattern tree) { ! if (tree.vartype != null) ! scan(tree.vartype); } public void visitIndexed(JCArrayAccess tree) { scan(tree.indexed); scan(tree.index);
< prev index next >