public List<ConfigPath> findAllRootPaths() {
        return paths.stream()
                .filter(it -> !it.getPath().contains(DOT))
                .collect(Collectors.toList());
    }
public List < ConfigPath > findAllRootPaths ( ) { return paths . stream ( ) . filter ( it -> ! it . getPath ( ) . contains ( DOT ) ) . collect ( Collectors . toList ( ) ) ; }
For example, it would always contain logging, metrics and server paths from dropwizard configuration.

@return all root objects and direct root values (only paths 1 level paths)
@see #findAllRootPathsFrom(Class)