code: public static Expression constant(@Nullable ContentKind kind) {
      return (kind == null)
          ? BytecodeUtils.constantNull(CONTENT_KIND_TYPE)
          : FieldRef.enumReference(kind).accessor();
    }
docs: Returns an {@link Expression} that evaluates to the given ContentKind, or null.