[jboss-dev-forums] [Embedded JBoss Development] - Re: SHRINKWRAP-106: Inner Classes
ALRubinger
do-not-reply at jboss.com
Sat Dec 12 03:28:13 EST 2009
"dan.j.allen" wrote : 1. Is it possible to do addClasses(TopLevelClass.class, TopLevelClass.InnerClass.class) ?
Yup, but if InnerClass is private or otherwise isn't visible to the calling code...then... :)
"dan.j.allen" wrote : 2. How about a type that could represent a star import for class and it's decendants: addClasses(new ClassAndDependentsLiteral<TopLevelClass>() {});
We could to a star import for class and all *parents*. Feel free to open a JIRA enhancement request for that one. But of course the generics wouldn't matter to the runtime as they'd be lost after compilation.
Maybe like:
addClassAndParents(Class<?> clazz)
?
S,
ALR
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4270325#4270325
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4270325
More information about the jboss-dev-forums
mailing list