code: @SuppressWarnings("unchecked")
    private void registerValueMethod(Class type, Method method) {
      executor.register(type, wrapValueMethod(method));
    }
docs: Registers an operation with a non-void return value.