static int getGCD ( int a , int b ) {
  if ( a < b ) {
    int c = a ;
    a = b ;
    b = c ;
  }
  if ( a % b == 0 ) {
    return b ;
  }
  else {
    return getGCD ( b , a % b ) ;
  }
}

static int getGCD ( int a , int b ) { if ( a < b ) { int c = a ; a = b ; b = c ; } if ( a % b == 0 ) { return b ; } else { return getGCD ( 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: (identifier) right: (identifier))) consequence: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (decimal_integer_literal))) consequence: (block (return_statement (identifier))) alternative: (block (return_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (identifier)))))))))