Look for @UiChild methods in supertypes. Issue 6554. http://gwt-code-reviews.appspot.com/1468806/ Patch by: Justin Hickman Review by: bobv git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@10437 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/uibinder/rebind/model/OwnerFieldClass.java b/user/src/com/google/gwt/uibinder/rebind/model/OwnerFieldClass.java index daa422c..66516a2 100644 --- a/user/src/com/google/gwt/uibinder/rebind/model/OwnerFieldClass.java +++ b/user/src/com/google/gwt/uibinder/rebind/model/OwnerFieldClass.java
@@ -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) {