class FrontendDependencies extends AbstractDependenciesScanner {

    @Override
    public List<String> getModules() {
        // A module may appear in both data.getThemeModules and data.getModules,
        // depending on how the classes were visited, hence the LinkedHashSet
        LinkedHashSet<String> all = new LinkedHashSet<>();
        for (EndPointData data : endPoints.values()) {
            all.addAll(data.getThemeModules());
        }
        for (EndPointData data : endPoints.values()) {
            all.addAll(data.getModules());
        }
        return new ArrayList<>(all);
    }

    public  FrontendDependencies(ClassFinder finder);
    public  FrontendDependencies(ClassFinder finder,
            boolean generateEmbeddableWebComponents);

}