public class PieOption {
private SeriesBean series;
public static class SeriesBean {
private LabelBean label;
public static class LabelBean {
private EmphasisBean emphasis;
public static class EmphasisBean {
private boolean show;
private TextStyleBean textStyle;
public static class TextStyleBean {
private String fontSize;
private String fontWeight;
}
}
}
}
}
new个对象再调用set方法实在是太费事了SeriesBean.LabelBean.EmphasisBean.TextStyleBean textStyleBean = new SeriesBean.LabelBean.EmphasisBean.TextStyleBean();
这样写太可怕了
不要写成内部类...