if (!visited.add(name)) return; String[] parts = name.split("[.]");
String[] parts = name.split("[$.]");
  public void visit(JavaClass obj)     {	String name = obj.getClassName();	if (!visited.add(name)) return;	String[] parts = name.split("[.]");        baseClassName = parts[parts.length-1];	// System.out.println("base name of " + name + " is " + baseClassName);	super.visit(obj);	try {	JavaClass supers[] = Repository.getSuperClasses(obj);	for(int i = 0; i < supers.length; i++)		visit(supers[i]);	} catch (ClassNotFoundException e) {		// ignore it		}	}