class LicenseHandler implements LicenseMatcher {

    public List<License> getLicenses() {
        final ModelMapper modelMapper = new ModelMapper(repoHandler);
        final List<License> licenses = new ArrayList<>();
        for (final DbLicense dbLicense : licensesRegexp.values()) {
            licenses.add(modelMapper.getLicense(dbLicense));
        }
        return licenses;
    }

    public  LicenseHandler(final RepositoryHandler repoHandler);

}