code: public static <T> HalFormsDocument<T> forResource(@Nullable T resource) {
  		return new HalFormsDocument<T>().withResource(resource);
  	}
docs: Creates a new {@link HalFormsDocument} for the given resource.
  
  @param resource can be {@literal null}.
  @return