* Improve Grid extendability (#8342).
Find GridState field type using getField() instead of getDeclaredField() so that the field could be found in superclass as well.
Change-Id: I33996f45e848575d11bb206c6a1d30d19e514968
Type type = null;
try {
type = (getState(false).getClass()
- .getDeclaredField(diffStateKey)
+ .getField(diffStateKey)
.getGenericType());
} catch (NoSuchFieldException e) {
e.printStackTrace();
Type type = null;
try {
type = (getState(false).getClass()
- .getDeclaredField(diffStateKey)
+ .getField(diffStateKey)
.getGenericType());
} catch (NoSuchFieldException e) {
e.printStackTrace();