public AnnotationDesc [ ] annotations ( ) { AnnotationDesc res [ ] = new AnnotationDesc [ sym . getRawAttributes ( ) . length ( ) ] ; int i = 0 ; for ( Attribute . Compound a : sym . getRawAttributes ( ) ) { res [ i ++ ] = new AnnotationDescImpl ( env , a ) ; } return res ; }
Get the annotations of this parameter . Return an empty array if there are none .