use of net.sourceforge.pmd.lang.java.Java17Parser in project controller by opendaylight.
the class AbstractGeneratedObjectTest method parse.
protected Node parse(File dstFile) throws IOException {
assertNotNull(dstFile);
LOG.debug(Files.toString(dstFile, StandardCharsets.UTF_8));
Parser parser = new Java17Parser(new ParserOptions());
return parser.parse(dstFile.toString(), new FileReader(dstFile));
}
Aggregations