code: 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;
      }
docs: Returns an array of all annotations present on the injection target.
  
  If the {@link AccessibleObject} of the injection target is of type
  {@link Method} or {@link Constructor}, then the {@link Annotation} of the
  {@link AccessibleObject} and the corresponding parameter are returned.
  
  @return Array of all annotations present on the injection target