static String toBinary ( String s , int n ) {
  if ( n == 0 ) {
    return s ;
  }
  int val = n % 2 ;
  s = val + s ;
  return toBinary ( s , n / 2 ) ;
}

static String toBinary ( String s , int n ) { if ( n == 0 ) { return s ; } int val = n % 2 ; s = val + s ; return toBinary ( s , n / 2 ) ; }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (block (return_statement (identifier)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (decimal_integer_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (return_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (decimal_integer_literal)))))))