code: private boolean isMethodApi(Method method)
    {
      if (_type == _api) {
        return true;
      }
      
      for (Method methodApi : _api.getMethods()) {
        if (methodApi.getName().equals(method.getName())) {
          return true;
        }
      }
      
      return false;
    }
docs: Only API methods are exposed.