private void checkGeneratedMapConstructor(@NotNull GrNamedArgumentsOwner owner,
                                              @NotNull PsiClass containingClass,
                                              @NotNull PsiAnnotation annotation) {
      Lazy<Set<String>> affectedMembers = LazyKt.lazy(LazyThreadSafetyMode.NONE, () ->
        GrGeneratedConstructorUtils.getAffectedMembersCache(annotation)
        .getAffectedMembers().stream()
        .map(AffectedMembersCache::getExternalName)
        .filter(Objects::nonNull)
        .collect(Collectors.toSet()));
      for (GrNamedArgument argument : owner.getNamedArguments()) {
        GrArgumentLabel label = argument.getLabel();
        if (label == null) continue;
        var propertyReference = label.getConstructorPropertyReference();
        final PsiElement resolved = propertyReference == null ? null : propertyReference.resolve();
        if (resolved != null) {
          String name = label.getName();
          if (name != null && !affectedMembers.getValue().contains(name)) {
            var fix = generateMapConstructorFix(resolved, containingClass, annotation);
            registerError(label, GroovyBundle.message("inspection.message.property.0.is.ignored.by.map.constructor", name), fix,
                          ProblemHighlightType.GENERIC_ERROR_OR_WARNING);
          }
        }
        else {
          registerAbsentIdentifierError(containingClass, label);
        }
      }
    }
private void checkGeneratedMapConstructor(@NotNull GrNamedArgumentsOwner owner,
                                              @NotNull PsiClass containingClass,
                                              @NotNull PsiAnnotation annotation)