private void addClassesInFolder(List<String> classes, File folder, String packageName, boolean recurse) {
		for (File f : folder.listFiles()) {
			if (!f.isDirectory()) {
				if (f.getName().endsWith(".class")) {
					classes.add(packageName + "." + f.getName().substring(0, f.getName().length() - 6));
				}
			} else if (f.isDirectory() && recurse) {
				addClassesInFolder(classes, f, packageName + "." + f.getName(), recurse);
			}
		}
	}