@Test
public void testJavaParser() throws IOException {

    String code = new String(
            Files.readAllBytes(new File("src/test/java/com/github/davidmoten/bean/Example.java").toPath()),
            StandardCharsets.UTF_8);
    System.out.println(ImmutableBeanGenerator.generate(code).generatedCode());
}