boolean (@NotNull JarApplicationConfiguration configuration, @NotNull ConfigurationContext context, @NotNull Ref<PsiElement> sourceElement) { VirtualFile file = getJarFileFromContext(context); if (file != null) { configuration.setName(file.getName()); configuration.setJarPath(file.getPath()); return true; } return false; }