void (@NotNull GrNamedArgumentsOwner owner, @NotNull GroovyResolveResult constructorResolveResult) { final PsiElement constructor = constructorResolveResult.getElement(); if (constructor != null) { if (!PsiUtil.isConstructorHasRequiredParameters((PsiMethod)constructor)) { checkDefaultMapConstructor(owner, constructor); return; } PsiClass containingClass = ((PsiMethod)constructor).getContainingClass(); if (containingClass != null) { PsiAnnotation annotation = containingClass.getAnnotation(GroovyCommonClassNames.GROOVY_TRANSFORM_MAP_CONSTRUCTOR); if (annotation != null) { checkGeneratedMapConstructor(owner, containingClass, annotation); } } } }