src/main/java/io/github/glytching/junit/extension/random/RandomBeansExtension.java
@Override
  public Object resolveParameter(
      ParameterContext parameterContext, ExtensionContext extensionContext)
      throws ParameterResolutionException {
    return resolve(
        parameterContext.getParameter().getType(),
        parameterContext.getParameter().getAnnotation(Random.class));
  }
@Override
  public Object resolveParameter(
      ParameterContext parameterContext, ExtensionContext extensionContext)
      throws ParameterResolutionException {
    return resolve(
        parameterContext.getParameter().getType(),
        parameterContext.getParameter().getAnnotation(Random.class));
  }
Provides a value for any parameter context which has passed the {@link
#supportsParameter(ParameterContext, ExtensionContext)} gate.

@param parameterContext the context for the parameter for which an argument should be resolved
@param extensionContext the <em>context</em> in which the current test or container is being
executed
@return a randomly generated object
@throws ParameterResolutionException