@Override
  public void visitStatement(@NotNull PsiStatement statement) {
    if (myRole2 == ChildRole.CLOSING_SEMICOLON &&
        isAllowedToMoveSemicolonInLongCallChain()) {
      myResult =
        Spacing.createDependentLFSpacing(0, 0, myChild1.getTextRange(), mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_CODE);
    } else if (myRole2 == ChildRole.CLOSING_SEMICOLON) {
      createSpaceInCode(false);
    }

    if (statement instanceof JspClassLevelDeclarationStatement) {
      processClassBody();
    }
  }
@Override
  public void visitStatement(@NotNull PsiStatement statement)