src/main/java/io/github/glytching/junit/extension/folder/TemporaryFolderExtension.java
@Override
  public Object resolveParameter(
      ParameterContext parameterContext, ExtensionContext extensionContext)
      throws ParameterResolutionException {
    return extensionContext
        .getStore(NAMESPACE)
        .getOrComputeIfAbsent(
            parameterContext, key -> new TemporaryFolder(), TemporaryFolder.class);
  }
@Override
  public Object resolveParameter(
      ParameterContext parameterContext, ExtensionContext extensionContext)
      throws ParameterResolutionException {
    return extensionContext
        .getStore(NAMESPACE)
        .getOrComputeIfAbsent(
            parameterContext, key -> new TemporaryFolder(), TemporaryFolder.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 new {@link TemporaryFolder}
@throws ParameterResolutionException