public static IFolder configureProjectWithXtext(IProject project) throws CoreException {
  return configureProjectWithXtext(project,"src");
}

public static IFolder configureProjectWithXtext ( IProject project ) throws CoreException { return configureProjectWithXtext ( project , "src" ) ; }
applies the xtext nature to the project and creates ( if necessary ) and returns the source folder " src " .
