public static StringBuilder Rotate ( StringBuilder str ) {
  int len = str . length ( ) ;
  char t = str . charAt ( 0 ) ;
  for ( int i = 0 ;
  i < len - 1 ;
  i ++ ) {
    str . setCharAt ( i , str . charAt ( i + 1 ) ) ;
  }
  str . setCharAt ( len - 1 , t ) ;
  return str ;
}

public static StringBuilder Rotate ( StringBuilder str ) { int len = str . length ( ) ; char t = str . charAt ( 0 ) ; for ( int i = 0 ; i < len - 1 ; i ++ ) { str . setCharAt ( i , str . charAt ( i + 1 ) ) ; } str . setCharAt ( len - 1 , t ) ; return str ; }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (decimal_integer_literal))) update: (update_expression (identifier)) body: (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (decimal_integer_literal))))))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (decimal_integer_literal)) (identifier)))) (return_statement (identifier))))