while (i.hasNext()) { Class baseClass = repository.loadClass((String) i.next(), true); JavaClass[] classes = repository.findClass(baseClass.getName()).getSuperClasses(); overridedMethods.addAll(this.getOverridedMethods(baseClass, classes)); classes = repository.findClass(baseClass.getName()).getAllInterfaces(); overridedMethods.addAll(this.getOverridedMethods(baseClass, classes));
while (ii.hasNext()) { Class baseClass = (Class) abstractClasses.get(ii.next()); Class[] sub = ((Class) sourceClasses.get(baseClass.getName())) .getSubClasses(); for (int i = 0; i < sub.length; i++) { Set ms = this.getOverridedMethods(baseClass, sub[i]); overridedMethods.addAll(ms); log.debug("Find " + ms.size() + " overrided methods in sub class: " + sub[i].getName() + " from super class: " + baseClass.getName()); }
	private Set analiseAbstractMethods() throws ClassNotFoundException {		Iterator i = repository.getProgramClasses().iterator();		Set overridedMethods = new HashSet();		while (i.hasNext()) {			Class baseClass = repository.loadClass((String) i.next(), true);			JavaClass[] classes = repository.findClass(baseClass.getName()).getSuperClasses();			overridedMethods.addAll(this.getOverridedMethods(baseClass, classes));			classes = repository.findClass(baseClass.getName()).getAllInterfaces();			overridedMethods.addAll(this.getOverridedMethods(baseClass, classes));		}		abstractClasses.clear();		return overridedMethods;	}