private void registerAbsentIdentifierError(@NotNull PsiClass clazz,
                                               @NotNull GrArgumentLabel label) {
      List<LocalQuickFix> fixes = new SmartList<>();
      if (clazz instanceof GrTypeDefinition) {
        fixes.add(GroovyQuickFixFactory.getInstance()
                    .createCreateFieldFromConstructorLabelFix((GrTypeDefinition)clazz, label.getNamedArgument()));
      }
      fixes.add(GroovyQuickFixFactory.getInstance().createDynamicPropertyFix(label, clazz));

      registerError(label, GroovyBundle.message("no.such.property", label.getName()), fixes.toArray(LocalQuickFix.EMPTY_ARRAY),
                    ProblemHighlightType.GENERIC_ERROR_OR_WARNING);
    }
private void registerAbsentIdentifierError(@NotNull PsiClass clazz,
                                               @NotNull GrArgumentLabel label)