code: public static Object getAttribute(Object target, String name) {
      try {
        return InvokerHelper.getAttribute(target, name);
      } catch (InvokerInvocationException e) {
        ExceptionUtil.sneakyThrow(e.getCause());
        return null; // never reached
      }
    }
docs: Note: This method may throw checked exceptions although it doesn't say so.