static void add ( int i , int val ) {
  while ( i <= n ) {
    c [ i ] += val ;
    i += lowbit ( i ) ;
  }
}

static void add ( int i , int val ) { while ( i <= n ) { c [ i ] += val ; i += lowbit ( i ) ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (block (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation name: (identifier) arguments: (argument_list (identifier)))))))))