}
assert subPath.endsWith(".java");
buf.append(subPath.substring(0, subPath.length() - 5));
VolatileJavaFile file = new VolatileJavaFile(buf.toString());
register(file);
return new PrintWriter(file.openWriter());
}
private void register(VolatileJavaFile file) {
emitted.add(file);
}