@Override
  public @NotNull FileCopyingHandler createCopyingHandler(@NotNull File file,
                                                          @NotNull JpsPackagingElement contextElement,
                                                          @NotNull ArtifactCompilerInstructionCreator instructionCreator) {
    File targetDirectory = instructionCreator.getTargetDirectory();
    if (targetDirectory != null) {
      for (ArtifactRootCopyingHandlerProvider provider : myCopyingHandlerProviders) {
        FileCopyingHandler handler =
          provider.createCustomHandler(myBuildTarget.getArtifact(), file, targetDirectory, contextElement, myModel, myBuildDataPaths);
        if (handler != null) {
          return handler;
        }
      }
    }
    return FilterCopyHandler.DEFAULT;
  }
@Override
  public @NotNull FileCopyingHandler createCopyingHandler(@NotNull File file,
                                                          @NotNull JpsPackagingElement contextElement,
                                                          @NotNull ArtifactCompilerInstructionCreator instructionCreator)