static char reVal ( int num ) {
  if ( num >= 0 && num <= 9 ) return ( char ) ( num + 48 ) ;
  else return ( char ) ( num - 10 + 65 ) ;
}

static char reVal ( int num ) { if ( num >= 0 && num <= 9 ) return ( char ) ( num + 48 ) ; else return ( char ) ( num - 10 + 65 ) ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (binary_expression left: (identifier) right: (decimal_integer_literal)))) consequence: (return_statement (cast_expression type: (integral_type) value: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))))) alternative: (return_statement (cast_expression type: (integral_type) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (decimal_integer_literal))))))))