void (@NotNull Module module, @NotNull ModifiableRootModel model, @NotNull ContentEntry contentEntry) { super.configureModule(module, model, contentEntry); final JavaModuleExternalPaths extension = model.getModuleExtension(JavaModuleExternalPaths.class); for (VirtualFile root : model.getContentRoots()) { try { root.createChildDirectory(null, "anno"); } catch (IOException e) { throw new UncheckedIOException(e); } } extension.setExternalAnnotationUrls(ContainerUtil.map2Array(model.getContentRootUrls(), ArrayUtil.EMPTY_STRING_ARRAY, root -> root + "/anno")); }