public void addProjectFolder(Object folderObj){
  File folder=project.file(folderObj);
  Preconditions.checkArgument(folder.isDirectory(),"Folder '%s' must be a directory containing a '" + DOT_PROJECT + "' file.");
  projectFiles.add(new File(folder,DOT_PROJECT));
}

public void addProjectFolder ( Object folderObj ) { File folder = project . file ( folderObj ) ; Preconditions . checkArgument ( folder . isDirectory ( ) , "Folder '%s' must be a directory containing a '" + DOT_PROJECT + "' file." ) ; projectFiles . add ( new File ( folder , DOT_PROJECT ) ) ; }
adds the given folder as an eclipse project .
