code: public Class[] getLoadedClasses() {
          synchronized (classCache) {
              final Collection<Class> values = classCache.values();
              return values.toArray(new Class[values.size()]);
          }
      }
docs: <p>Returns all Groovy classes loaded by this class loader.
  
  @return all classes loaded by this class loader