public static @Nullable Deployment getDeployment(@Nullable DeploymentNode node) {
    return node == null ? null : ObjectUtils.tryCast(node.getValue(), Deployment.class);
  }
public static @Nullable Deployment getDeployment(@Nullable DeploymentNode node)