void (@NotNull PluginInstallCallbackData callbackData, @Nullable Project project, @Nullable JComponent parentComponent) { IdeaPluginDescriptorImpl descriptor = callbackData.getPluginDescriptor(); if (callbackData.getRestartNeeded()) { shutdownOrRestartAppAfterInstall(descriptor); } else { boolean loaded = installAndLoadDynamicPlugin(callbackData.getFile(), descriptor); if (!loaded) { shutdownOrRestartAppAfterInstall(descriptor); } } }