simulator/src/main/java/com/hazelcast/simulator/utils/ReflectionUtils.java
public static <E> E getStaticFieldValue(Class clazz, String fieldName, Class fieldType) {
        Field field = getField(clazz, fieldName, fieldType);
        if (field == null) {
            throw new ReflectionException(format("Field %s.%s is not found", clazz.getName(), fieldName));
        }

        field.setAccessible(true);
        return getFieldValue0(null, field, clazz.getName(), fieldName);
    }
public static <E> E getStaticFieldValue(Class clazz, String fieldName, Class fieldType) {
        Field field = getField(clazz, fieldName, fieldType);
        if (field == null) {
            throw new ReflectionException(format("Field %s.%s is not found", clazz.getName(), fieldName));
        }

        field.setAccessible(true);
        return getFieldValue0(null, field, clazz.getName(), fieldName);
    }
Gets the value for a static field.

@param clazz     class which contains the field
@param fieldName name of the field
@param fieldType type of the field
@param <E>       type of the field
@return the value of the static field