private static void dfs ( int v ) {
  visited [ v ] = true ;
  for ( int v2 = 0 ;
  v2 < n ;
  v2 ++ ) if ( graph [ v ] [ v2 ] && ! visited [ v2 ] ) dfs ( v2 ) ;
}

private static void dfs ( int v ) { visited [ v ] = true ; for ( int v2 = 0 ; v2 < n ; v2 ++ ) if ( graph [ v ] [ v2 ] && ! visited [ v2 ] ) dfs ( v2 ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (true))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (if_statement condition: (parenthesized_expression (binary_expression left: (array_access array: (array_access array: (identifier) index: (identifier)) index: (identifier)) right: (unary_expression operand: (array_access array: (identifier) index: (identifier))))) consequence: (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier))))))))