702
703 /**
704 * {@inheritDoc}
705 * @since 1.5
706 */
707 @Override
708 public Annotation[][] getParameterAnnotations() {
709 return sharedGetParameterAnnotations(parameterTypes, parameterAnnotations);
710 }
711
712 /**
713 * {@inheritDoc}
714 * @since 1.8
715 */
716 @Override
717 public AnnotatedType getAnnotatedReturnType() {
718 return getAnnotatedReturnType0(getGenericReturnType());
719 }
720
721 @Override
722 void handleParameterNumberMismatch(int resultLength, int numParameters) {
723 throw new AnnotationFormatError("Parameter annotations don't match number of parameters");
724 }
725 }
|
702
703 /**
704 * {@inheritDoc}
705 * @since 1.5
706 */
707 @Override
708 public Annotation[][] getParameterAnnotations() {
709 return sharedGetParameterAnnotations(parameterTypes, parameterAnnotations);
710 }
711
712 /**
713 * {@inheritDoc}
714 * @since 1.8
715 */
716 @Override
717 public AnnotatedType getAnnotatedReturnType() {
718 return getAnnotatedReturnType0(getGenericReturnType());
719 }
720
721 @Override
722 boolean handleParameterNumberMismatch(int resultLength, int numParameters) {
723 throw new AnnotationFormatError("Parameter annotations don't match number of parameters");
724 }
725 }
|