jw.startObject();
jw.property("name",t.getSimpleName());
jw.property("kind",getKindString(t.getKind()));
jw.property("script",t.getQualifiedName().toString().replace('.','/')+".js");
jw.property("access",getAccessLevel(t));
jw.endObject();
}
jw.endArray();
w.println(");");
} finally {
w.close();