public static Object getStaticFieldValue(Class claz, String fieldName) {
if (claz == null) {
throw new RuntimeException("the target class can't be null.");
}
FieldAccessor accessor = new FieldAccessor(claz, fieldName);
Object o = accessor.getStatic();
return o;
}