public Annotation [ ] getAnnotations ( ) { final Annotation [ ] accessibleObjectAnnotations = accessibleObject . getAnnotations ( ) ; final Annotation [ ] annotations = new Annotation [ accessibleObjectAnnotations . length + parameterAnnotations . length ] ; System . arraycopy ( accessibleObjectAnnotations , 0 , annotations , 0 , accessibleObjectAnnotations . length ) ; System . arraycopy ( parameterAnnotations , 0 , annotations , accessibleObjectAnnotations . length , parameterAnnotations . length ) ; return annotations ; }
Returns an array of all annotations present on the injection target .