if(paths.isEmpty()) {
throw new IllegalStateException("Class does not exist in hierarchy: " + project.getRenderingManager().getBrowserText(action.getSuperClass()));
}
ObjectPath<OWLClass> pathToRoot = new ObjectPath<OWLClass>(paths.iterator().next());
final CreateClassesChangeGenerator gen = new CreateClassesChangeGenerator(action.getBrowserTexts(), Optional.of(action.getSuperClass()));
ChangeApplicationResult<Set<OWLClass>> result = project.applyChanges(executionContext.getUserId(), gen, createChangeText(project, action));
Set<OWLClass> createdClasses = result.getSubject().get();
BrowserTextMap browserTextMap = BrowserTextMap.build(project.getRenderingManager(), action.getSuperClass(), createdClasses);