String className = method.getClassName(); Class clazz; Method m = new Method(method); if (method.isAbstract()) { clazz = this.getClass(abstractClasses, className); clazz.add(m); } clazz = this.getClass(classes, className); clazz.add(m); }
String className = method.getClassName(); Class clazz; Method m = new Method(method); if (method.isAbstract()) { clazz = this.getClass(abstractClasses, className); clazz.add(m); } clazz = this.getClass(classes, className); clazz.add(m);  JavaClass jc = repository.loadClass(className); String[] interfaces = jc.getInterfaceNames(); for (int i = 0; i < interfaces.length; i++) { if (!abstractClasses.containsKey(interfaces[i])) { clazz= repository.loadClass(interfaces[i], true); abstractClasses.put(interfaces[i], clazz); classes.put(interfaces[i], clazz); } } }
	private void addToClasses(MethodGen method) throws ClassNotFoundException {		String className = method.getClassName();		Class clazz;		Method m = new Method(method);		if (method.isAbstract()) {			clazz = this.getClass(abstractClasses, className);			clazz.add(m);		}		clazz = this.getClass(classes, className);		clazz.add(m);	}