static long computeXOR ( int n ) {
  int x = n & 3 ;
  switch ( x ) {
    case 0 : return n ;
    case 1 : return 1 ;
    case 2 : return n + 1 ;
    case 3 : return 0 ;
  }
  return 0 ;
}

static long computeXOR ( int n ) { int x = n & 3 ; switch ( x ) { case 0 : return n ; case 1 : return 1 ; case 2 : return n + 1 ; case 3 : return 0 ; } return 0 ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (decimal_integer_literal)))) (switch_expression condition: (parenthesized_expression (identifier)) body: (switch_block (switch_block_statement_group (switch_label (decimal_integer_literal)) (return_statement (identifier))) (switch_block_statement_group (switch_label (decimal_integer_literal)) (return_statement (decimal_integer_literal))) (switch_block_statement_group (switch_label (decimal_integer_literal)) (return_statement (binary_expression left: (identifier) right: (decimal_integer_literal)))) (switch_block_statement_group (switch_label (decimal_integer_literal)) (return_statement (decimal_integer_literal))))) (return_statement (decimal_integer_literal))))