private static int gcd ( int v1 , int v2 ) {
  BigInteger b1 = BigInteger . valueOf ( v1 ) ;
  BigInteger b2 = BigInteger . valueOf ( v2 ) ;
  return b1 . gcd ( b2 ) . intValue ( ) ;
}

private static int gcd ( int v1 , int v2 ) { BigInteger b1 = BigInteger . valueOf ( v1 ) ; BigInteger b2 = BigInteger . valueOf ( v2 ) ; return b1 . gcd ( b2 ) . intValue ( ) ; }
(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 (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))) (return_statement (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) name: (identifier) arguments: (argument_list)))))