PsiReference () { GroovyPropertyWriteReference constructorPropertyReference = getConstructorPropertyReference(); if (constructorPropertyReference != null) { return constructorPropertyReference; } else { final PsiElement name = getNameElement(); return name instanceof GrLiteral || name instanceof LeafPsiElement ? this : null; } }