Relates :
|
|
Relates :
|
The enum com.sun.source.tree.Tree.Kind should have a method like this: public Class<? extends Tree> asInterface(); Conversely, a method like this might also be convenient: public static Tree.Kind asKind(Class<? extends Tree> clz); This should also be considered for JSR 269. See: http://forums.java.net/jive/thread.jspa?forumID=23&threadID=1779
|