@Contract(pure = true)
  default @NonNls String buildChainCall(PsiVariable variable, PsiExpression expression, PsiType expressionType) {
    if(expression instanceof PsiArrayInitializerExpression) {
      expression = CommonJavaRefactoringUtil.convertInitializerToNormalExpression(expression, expressionType);
    }
    String typeArgument = OptionalRefactoringUtil.getMapTypeArgument(expression, expressionType);
    return "." + typeArgument + getMethodName(variable, expression, expressionType) +
           "(" + variable.getName() + "->" + expression.getText() + ")";
  }
@Contract(pure = true)
  default @NonNls String buildChainCall(PsiVariable variable, PsiExpression expression, PsiType expressionType)