docs: public void scan(JavaBackend javaBackend, List<URI> gluePaths) {
          for (URI gluePath : gluePaths) {
              for (Class<?> glueCodeClass : classFinder.getDescendants(Object.class, gluePath)) {
                  while (glueCodeClass != null && glueCodeClass != Object.class && !Utils.isInstantiable(glueCodeClass)) {
                      // those can't be instantiated without container class present.
                      glueCodeClass = glueCodeClass.getSuperclass();
                  }
                  //prevent unnecessary checking of Object methods
                  if (glueCodeClass != null && glueCodeClass != Object.class) {
                      for (Method method : glueCodeClass.getMethods()) {
                          if (method.getDeclaringClass() != Object.class) {
                              scan(javaBackend, method, glueCodeClass);
                          }
                      }
                  }
              }
          }
      }