static int addOne ( int x ) {
  return ( - ( ~ x ) ) ;
}

static int addOne ( int x ) { return ( - ( ~ x ) ) ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (return_statement (parenthesized_expression (unary_expression operand: (parenthesized_expression (unary_expression operand: (identifier))))))))