static int gcd ( int a , int b ) {
  return b > 0 ? gcd ( b , a % b ) : a ;
}

static int gcd ( int a , int b ) { return b > 0 ? gcd ( b , a % b ) : a ; }
(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 (return_statement (ternary_expression condition: (binary_expression left: (identifier) right: (decimal_integer_literal)) consequence: (method_invocation name: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (identifier)))) alternative: (identifier)))))