/*
* Sort the standard methods before to add the extra methods (if any) in order to
* keep the extra methods last. The code checking for the extra methods require
* them to be last.
*/
Arrays.sort(getters, 0, count, new PropertyComparator(implementation));
if (!hasExtraGetter) {
if (getters.length == count) {
getters = Arrays.copyOf(getters, count+1);
}
getters[count++] = EXTRA_GETTER;