http://gwt-code-reviews.appspot.com/126802/diff/1/2
File dev/core/src/com/google/gwt/core/ext/typeinfo/JClassType.java
(right):

http://gwt-code-reviews.appspot.com/126802/diff/1/2#newcode462
Line 462: return getFlattenedSuperTypeHierarchy(this);
Just FYI:

I could use this in UiBinder if I had some control over its ordering. My
specific need is "breadth first", with myself and my interfaces at the
head of the list, and then the same treatment for each super class and
super interface. That is:

com.google.gwt.uibinder.rebind.UiBinderWriter.getClassHierarchyBreadthFirst(JClassType)

http://gwt-code-reviews.appspot.com/126802/diff/1/9
File user/src/com/google/gwt/resources/ext/ResourceGeneratorUtil.java
(right):

http://gwt-code-reviews.appspot.com/126802/diff/1/9#newcode312
Line 312: public static JMethod getMethodByPath(TreeLogger logger,
JClassType rootType,
Perhaps this could be an instance method on JClassType, where the
receiver is the rootType?

http://gwt-code-reviews.appspot.com/126802/diff/1/9#newcode328
Line 328: throw new NotFoundException();
Rather than doing your own logging, why not define your own exception
type and let callers decide what to do wrt logs and the exception's
message? Or perhaps stick with NotFoundException and promise a decent
message?

Signed,
Potential Caller

http://gwt-code-reviews.appspot.com/126802

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to