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;
}
}
}
}
}
It is too troublesome to call the set method for a new objectSeriesBean.LabelBean.EmphasisBean.TextStyleBean textStyleBean = new SeriesBean.LabelBean.EmphasisBean.TextStyleBean();
It’s too scary to write like this
Don’t write it as an inner class...