params.setShowWarnings(false);
// process the included sources
if (javaFiles!=null)
for (int i = 0; i < javaFiles.length; i++)
params.includeSourceFile(javaFiles[i]);
//params.setVerbose(DirectoryScanner.class);
// add the sourcepath and classpath, if specified
params.addClassLoader(this.getClass().getClassLoader());