List<VirtualFile> (@NotNull ModuleSourceOrderEntry orderEntry, List<VirtualFile> value) { JavaModuleExternalPaths moduleExtension = orderEntry.getRootModel().getModuleExtension(JavaModuleExternalPaths.class); if (moduleExtension != null) { Collections.addAll(value, moduleExtension.getExternalAnnotationsRoots()); } return value; }