Use both Class.getField() and Class.getDeclaredField() for getField()