final Integer index = i;
Method getter = getters[i];
String name = getter.getName();
final int base = prefix(name).length();
addMapping(name.substring(base), index);
final UML annotation = getter.getAnnotation(UML.class);
if (annotation != null) {
addMapping(annotation.identifier(), index);
}
/*
* Now try to infer the setter from the getter. We replace the "get" prefix by
* "set" and look for a parameter of the same type than the getter return type.
*/