Determine class type of Generic typed field
问题 I am getting NoSuchFieldException for the following piece of code: public class MultipleSorting<T> extends Observable { private SelectItem[] criteria1; private SelectItem[] order1; private SelectItem[] criteria2; private SelectItem[] order2; private SelectItem[] criteria3; private SelectItem[] order3; private T criteriaType; private T selectedCriteria1; private SortOrder selectedOrder1; private T selectedCriteria2; private SortOrder selectedOrder2; private T selectedCriteria3; private