< prev index next >

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

Print this page
*** 178,10 ***
--- 178,16 ---
          tree.cond = translate(tree.cond);
          tree.body = translate(tree.body);
          result = tree;
      }
  
+     public void visitWithField(JCWithField tree) {
+         tree.field = translate(tree.field);
+         tree.value = translate(tree.value);
+         result = tree;
+     }
+ 
      public void visitForLoop(JCForLoop tree) {
          tree.init = translate(tree.init);
          tree.cond = translate(tree.cond);
          tree.step = translate(tree.step);
          tree.body = translate(tree.body);

*** 390,10 ***
--- 396,15 ---
      public void visitSelect(JCFieldAccess tree) {
          tree.selected = translate(tree.selected);
          result = tree;
      }
  
+     public void visitDefaultValue(JCDefaultValue tree) {
+         tree.clazz = translate(tree.clazz);
+         result = tree;
+     }
+ 
      public void visitReference(JCMemberReference tree) {
          tree.expr = translate(tree.expr);
          result = tree;
      }
  
< prev index next >