equal
deleted
inserted
replaced
1115 // separately later. |
1115 // separately later. |
1116 } |
1116 } |
1117 |
1117 |
1118 @Override |
1118 @Override |
1119 public void visitNewClass(JCNewClass tree) { |
1119 public void visitNewClass(JCNewClass tree) { |
1120 if (tree.def == null) { |
1120 scan(tree.encl); |
1121 // For an anonymous class instantiation the class |
1121 scan(tree.typeargs); |
1122 // will be visited separately. |
1122 scan(tree.clazz); |
1123 super.visitNewClass(tree); |
1123 scan(tree.args); |
1124 } |
1124 // the anonymous class instantiation if any will be visited separately. |
1125 } |
1125 } |
1126 } |
1126 } |
1127 |
1127 |
1128 /********************* |
1128 /********************* |
1129 * Completer support * |
1129 * Completer support * |