标签: java playframework builder playback lombok
我正在尝试使用Lombok 1.18.2中的@Builder注释,
模型类
@Builder public class SubStatus{ String name; }
使用
SubStatus.builder().name("name").build()
错误
Error raised is : The method builder() is undefined for the type SubStatus