private static void primeDetection ( boolean [ ] isPrime ) {
  for ( int i = 2 ;
  i < isPrime . length ;
  ++ i ) {
    if ( ! isPrime [ i ] ) {
      continue ;
    }
    for ( int j = i * 2 ;
    j < isPrime . length ;
    j = j + i ) {
      isPrime [ j ] = false ;
    }
  }
}

private static void primeDetection ( boolean [ ] isPrime ) { for ( int i = 2 ; i < isPrime . length ; ++ i ) { if ( ! isPrime [ i ] ) { continue ; } for ( int j = i * 2 ; j < isPrime . length ; j = j + i ) { isPrime [ j ] = false ; } } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (boolean_type) dimensions: (dimensions)) name: (identifier))) body: (block (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (unary_expression operand: (array_access array: (identifier) index: (identifier)))) consequence: (block (continue_statement))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (decimal_integer_literal)))) condition: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))) body: (block (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (false)))))))))