static void search ( int idx , int a , int b , boolean [ ] test ) {
  for ( int i : lists [ idx ] ) {
    if ( ! test [ i ] && ! ( ( a == i && b == idx ) || ( a == idx && b == i ) ) ) {
      test [ i ] = true ;
      search ( i , a , b , test ) ;
    }
  }
}

static void search ( int idx , int a , int b , boolean [ ] test ) { for ( int i : lists [ idx ] ) { if ( ! test [ i ] && ! ( ( a == i && b == idx ) || ( a == idx && b == i ) ) ) { test [ i ] = true ; search ( i , a , b , test ) ; } } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (array_type element: (boolean_type) dimensions: (dimensions)) name: (identifier))) body: (block (enhanced_for_statement type: (integral_type) name: (identifier) value: (array_access array: (identifier) index: (identifier)) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (unary_expression operand: (array_access array: (identifier) index: (identifier))) right: (unary_expression operand: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier))))))))) consequence: (block (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (true))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))))))))