class ModuleAutoFinder implements ModuleList {

	protected Set<File> getFilesFromClasspath() {
		Set<File> files = new HashSet<>();
		String paths = System.getProperty("java.class.path");

		// split classpathes like a.jar;b.jar
		// pathSeparator is ";" on Windows and ":" on Linux and MAC
		StringTokenizer st = new StringTokenizer(paths, File.pathSeparator + "\n");

		while (st.hasMoreTokens()) {
			String path = st.nextToken();
			File f = new File(path);

			if (f.exists()) {
				try {
					f = f.getCanonicalFile();
					files.add(f);
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
		return files;
	}

	@Inject public  ModuleAutoFinder();
	public  ModuleAutoFinder(Transformer<Class<? extends Module>, Boolean> accept,
			Transformer<Class<? extends Module>, Boolean> ignore);

}