@Test
    void name() throws Exception {
        final ObjectMapper objectMapper = new ObjectMapper();
//        final Events events = new Events();
        final List<String> xPaths = new ArrayList<>();
        inspectClass(objectMapper,
                xPaths,
                new StringBuilder(),
                "Events",
                Events.class,
                1,
                false);

        xPaths.stream()
                .sorted()
                .distinct()
                .forEach(System.out::println);
    }
<p>
This was a partial attempt at generating all the possible xpaths for the event logging schema,
baring infinite recursion.
</p><p>
Seems to be missing some elements due to getField returning null. Also is not doing anything about
choice elements or handling sub-classed things.
</p>
stroom-event-logging/stroom-event-logging-impl/src/test/java/stroom/event/logging/impl/GenerateXPaths.java