No enclosing instance of type TestGson is accessible. Must qualify the allocation with an enclosing instance of type TestGson (e.g. x.new A() where x is an instance of TestGson).
来源:互联网
main方法中实例化内部类报错:
public class TestGson { public static void main(String[] args) { publ