static int toggle ( int n ) {
  n = n ^ setAllBitsAfterMSB ( n ) ;
  return n ;
}

static int toggle ( int n ) { n = n ^ setAllBitsAfterMSB ( n ) ; return n ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list (identifier)))))) (return_statement (identifier))))