src/share/classes/com/sun/tools/javac/tree/Pretty.java

changeset 550
a6f2911a7c55
parent 470
b96ad32c004a
child 554
9d9f26857129
equal deleted inserted replaced
549:c399da99fa16 550:a6f2911a7c55
1180 } catch (IOException e) { 1180 } catch (IOException e) {
1181 throw new UncheckedIOException(e); 1181 throw new UncheckedIOException(e);
1182 } 1182 }
1183 } 1183 }
1184 1184
1185 public void visitTypeDisjoint(JCTypeDisjoint tree) {
1186 try {
1187 printExprs(tree.components, " | ");
1188 } catch (IOException e) {
1189 throw new UncheckedIOException(e);
1190 }
1191 }
1192
1185 public void visitTypeParameter(JCTypeParameter tree) { 1193 public void visitTypeParameter(JCTypeParameter tree) {
1186 try { 1194 try {
1187 print(tree.name); 1195 print(tree.name);
1188 if (tree.bounds.nonEmpty()) { 1196 if (tree.bounds.nonEmpty()) {
1189 print(" extends "); 1197 print(" extends ");

mercurial