public Collection<IClasspathEntry> getJars() {
Set<IClasspathEntry> results = new HashSet<IClasspathEntry>();
if (getLibrary() != null){
List jars = getLibrary().getArchiveFiles();
for (Iterator it= jars.iterator();it.hasNext();){
ArchiveFile jar = (ArchiveFile)it.next();
String path = jar.getResolvedSourceLocation();
results.add(JavaCore.newLibraryEntry(new Path(path), null, null));
}
}
return results;
}