void () { try { String packageName = getPackageName(data); String filters = getFilters(myClasses, packageName); if (JUnitStarter.JUNIT5_PARAMETER.equals(getRunner()) && module != null && filterOutputByDirectoryForJunit5(myClasses)) { JUnitStarter.printClassesList(composeDirectoryFilter(getModuleWithTestsToFilter(module)), packageName, "", filters, myTempFile); } else { addClassesListToJavaParameters(myClasses, CLASS_NAME_FUNCTION, packageName, createTempFiles(), getJavaParameters(), filters); } } catch (Exception ignored) { } myShouldExecuteFinishMethod = !TargetEnvironmentUtil.reuploadRootFile(myTempFile, getTargetEnvironmentRequest(), remoteEnvironment, getTargetProgressIndicator(), () -> ApplicationManager.getApplication() .invokeLater(super::finish, myProject.getDisposed())); }