get the entire set of problems , sorted by severity first , order of addition second . concode_field_sep List<Problem> problems concode_elem_sep boolean hasFatal concode_field_sep void add concode_elem_sep void add concode_elem_sep void add concode_elem_sep Iterator<Problem> iterator concode_elem_sep Problems addAll concode_elem_sep boolean hasFatal concode_elem_sep void throwIfFatalPresent concode_elem_sep void throwIfFatalPresent concode_elem_sep void putAll concode_elem_sep Problems create concode_elem_sep Problems create concode_elem_sep Problem getLeadProblem concode_elem_sep String toString concode_elem_sep Problems append concode_elem_sep Problems append concode_elem_sep Problems append
List < ? extends Problem > function ( ) { List < Problem > loc0 = new ArrayList < Problem > ( problems ) ; Collections . sort ( loc0 ) ; return loc0 ; }