equal
deleted
inserted
replaced
114 /* *************************************************************************** |
114 /* *************************************************************************** |
115 * Visitor methods |
115 * Visitor methods |
116 ****************************************************************************/ |
116 ****************************************************************************/ |
117 |
117 |
118 public void visitTopLevel(JCCompilationUnit tree) { |
118 public void visitTopLevel(JCCompilationUnit tree) { |
|
119 tree.defs = translate(tree.defs); |
|
120 result = tree; |
|
121 } |
|
122 |
|
123 public void visitPackageDef(JCPackageDecl tree) { |
|
124 tree.annotations = translate(tree.annotations); |
119 tree.pid = translate(tree.pid); |
125 tree.pid = translate(tree.pid); |
120 tree.defs = translate(tree.defs); |
|
121 result = tree; |
126 result = tree; |
122 } |
127 } |
123 |
128 |
124 public void visitImport(JCImport tree) { |
129 public void visitImport(JCImport tree) { |
125 tree.qualid = translate(tree.qualid); |
130 tree.qualid = translate(tree.qualid); |