ModuleBasedConfiguration () { @SuppressWarnings("unchecked") ModuleBasedConfiguration<ConfigurationModule, T> configuration = (ModuleBasedConfiguration<ConfigurationModule, T>)getFactory().createTemplateConfiguration(getProject()); configuration.setName(getName()); return configuration; }