Yes please. This would make it consistent with the reflection api.
Although I don't know why somebody would want to retrieve the annotations
on an array class?
| SomeObject[] test = new SomeObject[0];
| Class clazz = test.getClass();
| // Empty
| System.out.println(Arrays.asList(clazz.getAnnotations()));
| // The annotations
| System.out.println(Arrays.asList(SomeObject.class.getAnnotations()));
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990012#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...