code: private void registerMethod(Method method) {
      Type genericType = method.getGenericParameterTypes()[0];
      Class<?> argumentType = resolveArgument(genericType);
      if (argumentType != null && Operation.class.isAssignableFrom(argumentType)) {
        registerMethod(argumentType, method);
      }
    }
docs: Registers an operation for the given method.