TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: RecordBuilder v28

1 点作者 Randgalt超过 3 年前
https:&#x2F;&#x2F;github.com&#x2F;Randgalt&#x2F;record-builder<p>This project is an annotation processor that creates:<p>- a companion builder class for Java records<p>- an interface that adds &quot;with&quot; copy methods<p>- an annotation that generates a Java record from an Interface template<p>The growing community of RecordBuilder users has resulted in the latest release. Over the past few releases, these features have been added:<p>- Support single item collection builders<p>- Include all records from a list of packages<p>- Special handling for record components of type List, Set,Map and Collection<p>- Support validation api<p>- Support for NotNull-style annotations<p>- Set optional fields to empty by default<p>- Support copying component annotations to builder<p>- Custom RecordBuilder annotations<p>- Much more!

暂无评论

暂无评论