code: private void addSources( final Collection<File> items, final Collection<String> sourceRoots )
      {
          for ( String path : sourceRoots )
          {
              items.add( new File( path ) );
          }
      }
docs: Add source path and resource paths of the project to the list of classpath items.
  
  @param items Classpath items.
  @param sourceRoots