public static int my_rand ( ) {
  int i ;
  i = 5 * foo ( ) + foo ( ) - 5 ;
  if ( i < 22 ) return i % 7 + 1 ;
  return my_rand ( ) ;
}

public static int my_rand ( ) { int i ; i = 5 * foo ( ) + foo ( ) - 5 ; if ( i < 22 ) return i % 7 + 1 ; return my_rand ( ) ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (decimal_integer_literal) right: (method_invocation name: (identifier) arguments: (argument_list))) right: (method_invocation name: (identifier) arguments: (argument_list))) right: (decimal_integer_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (return_statement (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (decimal_integer_literal)))) (return_statement (method_invocation name: (identifier) arguments: (argument_list)))))