Guard (@NotNull CompileContext context, @NotNull JpsMavenRepositoryLibraryDescriptor descriptor) { Map<Object, Guard> map = context.getUserData(CONTEXT_KEY); assert map != null; return map.computeIfAbsent(descriptor, (ignored) -> new Guard(true) // descriptor must not be processed more than once ); }