currently if you have a java class and if you want to parse it(or obtain it) recursively.we need to do.
for(org.jboss.forge.roaster.model.JavaType jtypes:javaClass.getNestedTypes()){
org.jboss.forge.roaster.model.source.JavaClassSource assumetypeiscls=(org.jboss.forge.roaster.model.source.JavaClassSource)jtypes;
.........
is there any way to just not cast it into a classsource?or maybe cast to a more genric type? that may include interface.