docs: 补全 src 全部 Kotlin KDoc 与 Java Javadoc,版本升级至 5.5.1
Gitea Actions Build / Build (push) Canceled after 0s
Gitea Actions Build / Build (push) Canceled after 0s
为所有缺失文档的公开声明补充中文 KDoc/Javadoc(含 exception、json、 springboot、tuple 生成类、MediaType 枚举项及测试),仅插入注释不改代码; gradle.properties VERSIONS 5.4.4 -> 5.5.1。
This commit is contained in:
@@ -26,7 +26,16 @@ import tools.jackson.databind.ObjectMapper;
|
||||
import tools.jackson.databind.cfg.MapperBuilder;
|
||||
|
||||
|
||||
/**
|
||||
* Jackson 3 API 的 Java 辅助类,用于在 Java 侧调用 Kotlin 内联/受限 API。
|
||||
*/
|
||||
public class Jackson3ApiJavaHelper {
|
||||
/**
|
||||
* 基于现有 ObjectMapper 创建可重新配置的 MapperBuilder。
|
||||
*
|
||||
* @param objectMapper 需要重建的 ObjectMapper 实例
|
||||
* @return 由该 ObjectMapper 派生的 MapperBuilder
|
||||
*/
|
||||
@SuppressWarnings("rawtypes")
|
||||
static MapperBuilder rebuild(ObjectMapper objectMapper) {
|
||||
return objectMapper.rebuild();
|
||||
|
||||
Reference in New Issue
Block a user