Re: Order of annotation declarations

2013-07-22 Thread Joel Borggren-Franck
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 F

Order of annotation declarations

2013-07-19 Thread Kasper Nielsen
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, Sec