private List<IRuntimeClasspathEntry> dependenciesForProject(IJavaProject project) throws CoreException {
  ArrayList<IRuntimeClasspathEntry> out=new ArrayList<IRuntimeClasspathEntry>();
  String[] deps=JavaRuntime.computeDefaultRuntimeClassPath(project);
  for (  String dep : deps) {
    IRuntimeClasspathEntry cpEntry=JavaRuntime.newArchiveRuntimeClasspathEntry(new Path(dep));
    out.add(cpEntry);
  }
  return out;
}

private List < IRuntimeClasspathEntry > dependenciesForProject ( IJavaProject project ) throws CoreException { ArrayList < IRuntimeClasspathEntry > out = new ArrayList < IRuntimeClasspathEntry > ( ) ; String [ ] deps = JavaRuntime . computeDefaultRuntimeClassPath ( project ) ; for ( String dep : deps ) { IRuntimeClasspathEntry cpEntry = JavaRuntime . newArchiveRuntimeClasspathEntry ( new Path ( dep ) ) ; out . add ( cpEntry ) ; } return out ; }
expand out the list of dependencies for a given ijavaproject .
