return getMatchingSubFunctionality(path, module.getModules());
matching = getMatchingSubFunctionality(path, module.getModules()); if (matching != null) { return matching; }
    private Functionality getMatchingSubFunctionality(String path, Collection<Module> modules) {        for (Module module : modules) {            String prefix = module.getPublicPrefix();                        if (! path.startsWith(prefix)) {                continue;            }                        Functionality matching = getMatchingFunctionality(path, module.getFunctionalities());            if (matching != null) {                return matching;            }                        return getMatchingSubFunctionality(path, module.getModules());        }                return null;    }