As the only set method for this.configurationClasses is

    this.configurationClasses.put(configClass,configClass);

, maybe using Set<ConfigurationClass> is better than Map<ConfigurationClass>.

Comment From: snicoll

Thanks for the PR but @mayeeeeeeee is right.