public static @Nullable <T> T getApplicationRuntime(@NotNull AnActionEvent e, @NotNull Class<T> clazz) {
    Deployment deployment = getDeployment(getDeploymentTarget(e));
    return deployment == null ? null : ObjectUtils.tryCast(deployment.getRuntime(), clazz);
  }
public static @Nullable <T> T getApplicationRuntime(@NotNull AnActionEvent e, @NotNull Class<T> clazz)