http://gwt-code-reviews.appspot.com/1359804/diff/1/3 File user/src/com/google/gwt/editor/rebind/model/EditorModel.java (right):
http://gwt-code-reviews.appspot.com/1359804/diff/1/3#newcode504 user/src/com/google/gwt/editor/rebind/model/EditorModel.java:504: String getterName = camelCase("get", parts[i]); Use JBeanMethod from the autobean rebind package instead. Build up something like a memoized Map<Class, Map<String, JMethod>> for any method matched by JBeanMethod.GET (which understands is/has), using the inferName() method to extract the property name. There's also an associated BeanMethod in autobean.server.impl that has the same setup, if you ever need to do something similar with reflection-based code. http://gwt-code-reviews.appspot.com/1359804/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
