for (int i = 0; i < methods.length; i++) { methodMap.put(methods[i].getName(), methods[i].getSignature());
for (Method method1 : methods) { methodMap.put(method1.getName(), method1.getSignature());
	public void visit(JavaClass obj) {		try {			methodMap.clear();			badOverrideMap.clear();			JavaClass superClass = obj.getSuperClass();			if (superClass == null) return;			String packageName = superClass.getPackageName();			String className = superClass.getClassName();						//A more generic way to add Adapters would be nice here			isAdapter = ((className.endsWith("Adapter")) && (packageName.equals("java.awt.event") || packageName.equals("javax.swing.event")))			          ||((className.equals("DefaultHandler") && (packageName.equals("org.xml.sax.helpers"))));			if (isAdapter) {				Method[] methods = superClass.getMethods();				for (int i = 0; i < methods.length; i++) {					methodMap.put(methods[i].getName(), methods[i].getSignature());				}			}		} catch (ClassNotFoundException cnfe) {			bugReporter.reportMissingClass(cnfe);		}	}