private static void f ( char [ ] [ ] arr , boolean [ ] [ ] visited , int i , int j , boolean flag ) {
  if ( i == n || j == m ) ;
}

private static void f ( char [ ] [ ] arr , boolean [ ] [ ] visited , int i , int j , boolean flag ) { if ( i == n || j == m ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (integral_type) dimensions: (dimensions)) name: (identifier)) (formal_parameter type: (array_type element: (boolean_type) dimensions: (dimensions)) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (boolean_type) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier)))))))