TreeMap pkgClasses = new TreeMap();
Enumeration classes = pkg.getClassTypes();
while ( classes.hasMoreElements() )
{
ClassType clazz = (ClassType) classes.nextElement();
String className = clazz.getName();
Map classInfo = new HashMap();
if ( clazz.getFilename() != null )
{
classInfo.put( "filename", clazz.getFilename() );
}
else
{
classInfo.put( "filename", "" );
}