question: private List < ? extends Element > sortElements ( final RoundEnvironment env , final Class < ? extends Annotation > annotationClass ) { final Set < ? extends Element > elements = env . getElementsAnnotatedWith ( annotationClass ) ; final List < ? extends Element > result = new ArrayList ( elements ) ; Collections . sort ( result , null ) ; return result ; }
target:  Introduced to handle issue #1671