175176177178179180181182183184185
} } }); // write dependencies for (Dependency dep : pss.getDependencies()) { jw.object(dep); } jw.endObject(); } finally { w.close(); }
275276277278279280281282283284285
for (ParsedType pt : pkg.getValue()) { names[idx++] = pt.getPackageLocalName(); } Arrays.sort(names); for (String n : names) { js.object(n); } js.endArray(); js.endObject(); } js.endArray();
4243444546474849505152
// builds a top-down tree. for (TreePath t : e.getValue()) root.add(t).getLeaves().add(t); // then write it out! w.object(root); } w.endObject(); pw.println(");"); pw.close(); }
183184185186187188189190191192193
jw.property("packages",packageNames); jw.endObject(); } // write dependencies for (Dependency dep : pss.getDependencies()) jw.object(dep); jw.endArray(); w.println(");"); } finally { w.close(); }
262263264265266267268269270271272