private static void op ( int [ ] A ) {
  int max = Integer . MIN_VALUE ;
  for ( int a : A ) {
    max = Math . max ( max , a ) ;
  }
  for ( int n = 0 ;
  n < A . length ;
  n ++ ) {
    A [ n ] = max - A [ n ] ;
  }
}

private static void op ( int [ ] A ) { int max = Integer . MIN_VALUE ; for ( int a : A ) { max = Math . max ( max , a ) ; } for ( int n = 0 ; n < A . length ; n ++ ) { A [ n ] = max - A [ n ] ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (integral_type) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (field_access object: (identifier) field: (identifier)))) (enhanced_for_statement type: (integral_type) name: (identifier) value: (identifier) body: (block (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (identifier))))))) (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 (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (binary_expression left: (identifier) right: (array_access array: (identifier) index: (identifier)))))))))