public void testImportsAnt()
throws ClassFormatException, IOException
{
File jxrjar = getSampleJar( "ant.jar" );
String classname = "org/apache/tools/ant/Target.class";
ClassParser classParser = new ClassParser( jxrjar.getAbsolutePath(), classname );
JavaClass javaClass = classParser.parse();
ImportVisitor importVisitor = new ImportVisitor( javaClass );
DescendingVisitor descVisitor = new DescendingVisitor( javaClass, importVisitor );
javaClass.accept( descVisitor );