code: protected static void fillConstantFrom(Class clazz, HashMap<String, Object> map) {
  
          Field fields[] = clazz.getDeclaredFields();
          for (Field field : fields) {
              if (field.isSynthetic()) {
                  continue; // 忽略系统常量
              }
  
              int modifiers = field.getModifiers();
              if (!Modifier.isStatic(modifiers)) {
                  continue; // 忽略非静态常量
              }
  
              try {
                  if (field.isAccessible()) {
                      field.setAccessible(true);
                  }
                  map.put(field.getName(), field.get(null));
  
              } catch (SecurityException e) {
                  // Do nothing
              } catch (IllegalAccessException e) {
                  // Do nothing
              }
          }
      }
docs: 填充静态常量