public static long hcf ( long a , long b ) {
  if ( a == 0 || b == 0 ) return a + b ;
  return hcf ( b , a % b ) ;
}

public static long hcf ( long a , long b ) { if ( a == 0 || b == 0 ) return a + b ; return hcf ( b , a % b ) ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (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 (binary_expression left: (identifier) right: (identifier)))) (return_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (identifier)))))))