if (superClass == null) return;
    public void visit(JavaClass obj) {    	try {	    	methodMap.clear();			JavaClass superClass = obj.getSuperClass();			String packageName = superClass.getPackageName();			String className = superClass.getClassName();			isAdapter = ((className.endsWith("Adapter")) && (packageName.equals( "java.awt.event") || packageName.equals( "javax.swing.event" )));			if (isAdapter) {				Method[] methods = superClass.getMethods();				for (int i = 0; i < methods.length; i++) {					methodMap.put(methods[i].getName(), methods[i].getSignature());				}				classReported = false;			}		}		catch (ClassNotFoundException cnfe) {            bugReporter.reportMissingClass(cnfe);		}    }