static int getMax ( int [ ] A ) {
  int max = Integer . MIN_VALUE ;
  for ( int i : A ) {
    max = Math . max ( max , i ) ;
  }
  return max ;
}

static int getMax ( int [ ] A ) { int max = Integer . MIN_VALUE ; for ( int i : A ) { max = Math . max ( max , i ) ; } return max ; }
(method_declaration (modifiers) type: (integral_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))))))) (return_statement (identifier))))