612 * {@inheritDoc}
613 * @since 1.5
614 */
615 public Annotation[] getDeclaredAnnotations() {
616 return super.getDeclaredAnnotations();
617 }
618
619 /**
620 * {@inheritDoc}
621 * @since 1.5
622 */
623 @Override
624 public Annotation[][] getParameterAnnotations() {
625 return sharedGetParameterAnnotations(parameterTypes, parameterAnnotations);
626 }
627
628 /**
629 * {@inheritDoc}
630 * @since 1.8
631 */
632 public AnnotatedType getAnnotatedReturnType() {
633 return getAnnotatedReturnType0(getGenericReturnType());
634 }
635
636 @Override
637 void handleParameterNumberMismatch(int resultLength, int numParameters) {
638 throw new AnnotationFormatError("Parameter annotations don't match number of parameters");
639 }
640 }
|
612 * {@inheritDoc}
613 * @since 1.5
614 */
615 public Annotation[] getDeclaredAnnotations() {
616 return super.getDeclaredAnnotations();
617 }
618
619 /**
620 * {@inheritDoc}
621 * @since 1.5
622 */
623 @Override
624 public Annotation[][] getParameterAnnotations() {
625 return sharedGetParameterAnnotations(parameterTypes, parameterAnnotations);
626 }
627
628 /**
629 * {@inheritDoc}
630 * @since 1.8
631 */
632 @Override
633 public AnnotatedType getAnnotatedReturnType() {
634 return getAnnotatedReturnType0(getGenericReturnType());
635 }
636
637 @Override
638 void handleParameterNumberMismatch(int resultLength, int numParameters) {
639 throw new AnnotationFormatError("Parameter annotations don't match number of parameters");
640 }
641 }
|