EclipseProject extends Project { @Override @SuppressWarnings("try") public Project parseProject(File projectRoot, File current) throws ProjectParseException { try (TelemetryUtils.ScopedSpan scope = TelemetryUtils.startScopedSpan("EclipseProject.parseProject")) { TelemetryUtils.ScopedSpan.addAnnotation( TelemetryUtils.annotationBuilder() .put("projectRoot", projectRoot.getPath()) .put("current", current.getPath()) .build("args")); parseClassPathFile(this.classPathFile); return this; } } EclipseProject(File projectRoot); @Override @SuppressWarnings("try") Project parseProject(File projectRoot, File current); @Override InputStream runTask(List<String> args); @Override String getProjectType();  }
@Ignore @Test public void testParseProject1() throws IOException { File classPathFile = new File("./src/test/resources/.classpath").getCanonicalFile(); File root = classPathFile.getParentFile(); EclipseProject eclipseProject = new EclipseProject(root); Project project = eclipseProject.parseProject(root, root); System.out.println(project.toString()); }