docs: @SuppressWarnings("unchecked")
    public static <T> T getFieldValue(Object object, String fieldName)
    {
      if(object instanceof Class<?>) {
        return getFieldValue(null, (Class<?>)object, fieldName, null, false);
      }
  
      Class<?> clazz = object.getClass();
      try {
        Field f = clazz.getDeclaredField(fieldName);
        f.setAccessible(true);
        return (T)f.get(Modifier.isStatic(f.getModifiers()) ? null : object);
      }
      catch(java.lang.NoSuchFieldException e) {
        throw new NoSuchBeingException("Missing field |%s| from |%s|.", fieldName, clazz);
      }
      catch(IllegalAccessException e) {
        throw new BugError(e);
      }
    }