addToProjectSourcePath

addToProject

Adds the collection of elements to the project. The elements
that could not be added to the project are removed from the
collection. The ask parameter determines if the user is ever
asked whether or not to modify the java source path of the project.