private void addPath(final String path){
  if (!myPaths.contains(path)) {
    myPaths.add(path);
  }
}

private void addPath ( final String path ) { if ( ! myPaths . contains ( path ) ) { myPaths . add ( path ) ; } }
add path to class path . the methods checks if the path has been already added to the classpath .
