Hi, On 2013-07-19, Kasper Nielsen wrote: > Hi, > > I haven't been able to find any info on this. > but is [Class|AnnotatedMember].getAnnotations() required to return the > annotations is order of declaration? > > For example, if I have the following definition > @First > @Second > public class Foo{} > Will Foo.class.getAnnotations() always return > [First, Second] or is it allowed to return them in any order like > getMethods()? >
I don't think it is strictly required, but we usually try to keep them in their natural order. cheers /Joel