String owner = ancestorForSlot(prototype, slot);
String owner = null; while (owner == null) { Attributes attrs = (Attributes) proto_attrs.get(prototype); prototype = attrs.getValue("container"); System.out.println("### Looking for owner of " +slot+ " in " +prototype); if (prototype == null) break; owner = ancestorForSlot(prototype, slot); }
    private void writeContainerDescriptionGetter(PrintWriter writer, 						 String prototype,						 String slot)    {	String accessor_name = fixName(slot, true);	String owner = ancestorForSlot(prototype, slot);	writer.println("\n\n    public SlotDescription " 		       +slotDescriptionMethod(slot)+ "()");	writer.println("    {");	writer.println("        SlotDescription __desc = new SlotDescription();");	writer.println("        __desc.name = \"" +slot+ "\";");	writer.println("        __desc.prototype = \"" +owner+ "\";");	writer.println("        __desc.value = get" +accessor_name+ "();");	writer.println("        __desc.is_overridden = false;");	writer.println("        __desc.is_writable = false;");	writer.println("        return __desc;");	writer.println("    }");    }