static int max ( int ... m ) {
  if ( m . length == 0 ) {
    return - 1 ;
  }
  int s = m [ 0 ] ;
  for ( int max : m ) {
    s = Math . max ( max , s ) ;
  }
  return s ;
}

static int max ( int ... m ) { if ( m . length == 0 ) { return - 1 ; } int s = m [ 0 ] ; for ( int max : m ) { s = Math . max ( max , s ) ; } return s ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (spread_parameter (integral_type) (variable_declarator name: (identifier)))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (decimal_integer_literal))) consequence: (block (return_statement (unary_expression operand: (decimal_integer_literal))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (array_access array: (identifier) index: (decimal_integer_literal)))) (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))))))) (return_statement (identifier))))