writer.println("       int __key = __slot.hashCode();");
writer.println(" int __key = __slot.hashCode();"); writer.print("      ");
    private void writeDynamicSetter(PrintWriter writer, 	    String prototype,	    Map<String,Attributes> slots,	    boolean is_root) {	writer.println("\n\n    protected void setLocalValue(String __slot,");	writer.println("                                 Object __value) {");	boolean first = true;	for(Map.Entry<String,Attributes> entry : slots.entrySet()) {	    String slot = entry.getKey();	    if (isReadOnly(prototype, slot)) continue;	    String slot_hash_var = slotHashVar(slot);	    String method = "set" + fixName(slot, true) + AsObject;	    writer.print("      ");	    if (first) {		writer.println("       int __key = __slot.hashCode();");	    } else {		writer.print(" else");	    }	    writer.println(" if (" +slot_hash_var+ " == __key)");	    writer.println("            " +method+ "(__value);");	    first = false;	}	if (!is_root) {	    if (first) {		// no settable slots		writer.println("       super.setLocalValue(__slot, __value);");	    } else {		writer.println("       else");		writer.println("            super.setLocalValue(__slot, __value);");	    }	}	writer.println("    }");    }