for (Map.Entry<String, Method> methodEntry : getters.entrySet()) {
String name = methodEntry.getKey();
Method getter = methodEntry.getValue();
Class<?> propertyType = types.get(name);
Type genericType = genericTypes.get(name);
GetPropertyMethod getPropertyMethod = new GetPropertyMethod(getter, name, propertyType, genericType);
typeMethods.add(getPropertyMethod);
getPropertyMethods.put(name, getPropertyMethod);
}
for (Map.Entry<String, Method> methodEntry : setters.entrySet()) {
String name = methodEntry.getKey();
Method setter = methodEntry.getValue();
GetPropertyMethod getPropertyMethod = getPropertyMethods.get(name);
Class<?> propertyType = types.get(name);
Type genericType = genericTypes.get(name);
SetPropertyMethod setPropertyMethod = new SetPropertyMethod(setter, getPropertyMethod, name, propertyType, genericType);
typeMethods.add(setPropertyMethod);
}