GWT AutoBean with POJO class instead of interface

后端 未结 2 768
梦谈多话
梦谈多话 2021-01-17 09:55

I\'m hoping someone can suggest a simple solution to my problem.

I have a POJO, say:

public class Person
{
    private String name;
    public String         


        
2条回答
  •  借酒劲吻你
    2021-01-17 10:03

    You simply can't. AutoBean generates lightweight, optimized implementations of the interfaces; it obviously cannot do this for classes. This is by design.

提交回复
热议问题