// writeAssignment() on the ResourceGenerator
for (JMethod m : generatorMethods) {
// Strip off all but the access modifiers
sw.print(m.getReadableDeclaration(false, true, true, true, true));
sw.println(" {");
sw.indent();
String fieldName = (m.getName() + "_instance").toUpperCase();
fieldNames.add(fieldName);
sw.println("return " + fieldName + ";");