Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我希望 JAXB 代码生成器生成的类中不包含任何设置方法。
我通过选择只读选项在 eclipse 提供的 GUI 中尝试了此操作,但输出仍然包含所有设置方法。
如果不包含 set 方法,我将如何生成这些类?