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