@Beta
  default void visitParameterAnnotation(T annotation, ParameterInfo parameter) {
    throw new InvalidSpecException("@%s may not be applied to parameters")
      .withArgs(annotation.annotationType().getSimpleName());
  }
Handles the annotation when applied to a feature/fixture method parameter of a specification.
The default implementation of this method throws an {@link InvalidSpecException}.

@param annotation the annotation found on the parameter
@param parameter the annotated parameter
@since 2.4
spock-core/src/main/java/org/spockframework/runtime/extension/IAnnotationDrivenExtension.java