/** * Creates a type annotation appender for type annotations of a method's parameter type. * * @param annotationAppender The annotation appender to write any type annotation to. * @param annotationValueFilter The annotation value filter to apply. * @param index The parameter index. * @return A visitor for appending type annotations of a method's parameter type. */ public static TypeDescription.Generic.Visitor<AnnotationAppender> ofMethodParameterType( AnnotationAppender annotationAppender, AnnotationValueFilter annotationValueFilter, int index) { return new ForTypeAnnotations( annotationAppender, annotationValueFilter, TypeReference.newFormalParameterReference(index)); }