private static List<List<Annotation>> getParameterAnnotations(Method method) {
		if (methodParamAnnotationCache.containsKey(method)) {
			return methodParamAnnotationCache.get(method);
		}
		List<List<Annotation>> annotations = new ArrayList<>();
		for (Annotation[] paramAnnotations : method.getParameterAnnotations()) {
			List<Annotation> listAnnotations = new ArrayList<>();
			Collections.addAll(listAnnotations, paramAnnotations);
			annotations.add(listAnnotations);
		}
		annotations = Collections.unmodifiableList(annotations);
		methodParamAnnotationCache.put(method, annotations);
		return annotations;
	}
private static List < List < Annotation > > getParameterAnnotations ( Method method ) { if ( methodParamAnnotationCache . containsKey ( method ) ) { return methodParamAnnotationCache . get ( method ) ; } List < List < Annotation > > annotations = new ArrayList < > ( ) ; for ( Annotation [ ] paramAnnotations : method . getParameterAnnotations ( ) ) { List < Annotation > listAnnotations = new ArrayList < > ( ) ; Collections . addAll ( listAnnotations , paramAnnotations ) ; annotations . add ( listAnnotations ) ; } annotations = Collections . unmodifiableList ( annotations ) ; methodParamAnnotationCache . put ( method , annotations ) ; return annotations ; }
Returns the parameter {@link Annotation}s for the
given {@link Method}.

@param method the {@link Method}
@return the {@link Annotation}s