Revision: 10437
Author: b...@google.com
Date: Mon Jul 11 04:39:27 2011
Log: Look for @UiChild methods in supertypes.
Issue 6554.
http://gwt-code-reviews.appspot.com/1468806/
Patch by: Justin Hickman
Review by: bobv
http://code.google.com/p/google-web-toolkit/source/detail?r=10437
Modified:
/trunk/user/src/com/google/gwt/uibinder/rebind/model/OwnerFieldClass.java
=======================================
---
/trunk/user/src/com/google/gwt/uibinder/rebind/model/OwnerFieldClass.java
Wed May 4 09:28:35 2011
+++
/trunk/user/src/com/google/gwt/uibinder/rebind/model/OwnerFieldClass.java
Mon Jul 11 04:39:27 2011
@@ -294,8 +294,8 @@
*/
private void findUiChildren(JClassType ownerType)
throws UnableToCompleteException {
- JMethod[] methods = ownerType.getMethods();
while (ownerType != null) {
+ JMethod[] methods = ownerType.getMethods();
for (JMethod method : methods) {
UiChild annotation = method.getAnnotation(UiChild.class);
if (annotation != null) {
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors