public void resolveClasspathEntries(List<ClasspathEntryDto> entries){
  libs=new HashSet<>();
  containers=new HashSet<>();
  sources=new HashSet<>();
  projects=new HashSet<>();
  for (  ClasspathEntryDto entry : entries) {
switch (entry.getEntryKind()) {
case ClasspathEntryKind.LIBRARY:
      libs.add(entry.getPath());
    break;
case ClasspathEntryKind.CONTAINER:
  containers.add(entry);
break;
case ClasspathEntryKind.SOURCE:
sources.add(entry.getPath());
break;
case ClasspathEntryKind.PROJECT:
projects.add(WORKSPACE_PATH + entry.getPath());
break;
default :
}
}
}

public void resolveClasspathEntries ( List < ClasspathEntryDto > entries ) { libs = new HashSet < > ( ) ; containers = new HashSet < > ( ) ; sources = new HashSet < > ( ) ; projects = new HashSet < > ( ) ; for ( ClasspathEntryDto entry : entries ) { switch ( entry . getEntryKind ( ) ) { case ClasspathEntryKind . LIBRARY : libs . add ( entry . getPath ( ) ) ; break ; case ClasspathEntryKind . CONTAINER : containers . add ( entry ) ; break ; case ClasspathEntryKind . SOURCE : sources . add ( entry . getPath ( ) ) ; break ; case ClasspathEntryKind . PROJECT : projects . add ( WORKSPACE_PATH + entry . getPath ( ) ) ; break ; default : } } }
reads and parses classpath entries .
