@Override
  public void visitLambdaExpression(@NotNull PsiLambdaExpression expression) {
    boolean spaceAroundArrow = mySettings.SPACE_AROUND_LAMBDA_ARROW;
    int braceStyle = mySettings.LAMBDA_BRACE_STYLE;

    if (myType1 == JavaTokenType.ARROW && myType2 == JavaElementType.CODE_BLOCK &&
        (braceStyle == NEXT_LINE || braceStyle == NEXT_LINE_SHIFTED || braceStyle == NEXT_LINE_SHIFTED2)) {
      int space = spaceAroundArrow ? 1 : 0;
      myResult = Spacing.createSpacing(space, space, 1, mySettings.KEEP_LINE_BREAKS, 0);
    }
    else if (myType1 == JavaTokenType.ARROW || myType2 == JavaTokenType.ARROW) {
      createSpaceInCode(spaceAroundArrow);
    }
  }
@Override
  public void visitLambdaExpression(@NotNull PsiLambdaExpression expression)