static int sumOfNodesUtil ( Node head ) {
  sum = 0 ;
  sumOfNodes ( head ) ;
  return sum ;
}

static int sumOfNodesUtil ( Node head ) { sum = 0 ; sumOfNodes ( head ) ; return sum ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier))) body: (block (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier))))