genTypeFromStringMethod(type); genTypeFromFileMethod(type);
if (!typeConverter.isReserved(type.getId())) { genTypeFromStringMethod(type); genTypeFromFileMethod(type); }
    private void genTypeFromMethods(ADT api, boolean forwarding) {    	Set moduleToGen = new HashSet();    	if(!forwarding) {    		moduleToGen.add(module.getModulename().getName());    	} else {    		moduleToGen = api.getImportsClosureForModule(module.getModulename().getName());    		moduleToGen.remove(module.getModulename().getName());    	}    	Iterator moduleIt = moduleToGen.iterator();    	while(moduleIt.hasNext()) {    		String moduleName = (String) moduleIt.next();     		    		Iterator types = api.typeIterator(moduleName);        while (types.hasNext()) {            Type type = (Type) types.next();            genTypeFromStringMethod(type);            genTypeFromFileMethod(type);        }    	}    }