public static Field getField(Class<?> beanClass, String name) throws SecurityException {
        final Field[] fields = getFields(beanClass);
        return ArrayUtil.firstMatch(field -> name.equals(getFieldName(field)), fields);
    }
@Test
    public void getFieldTest() {
        Field privateField = ReflectUtil.getField(TestSubClass.class, "privateField");
        Assert.assertNotNull(privateField);

        Field field = ReflectUtil.getField(TestSubClass.class, "field");
        Assert.assertNotNull(field);
    }