code: public static String getLocalClassPath(ClassLoader loader)
    {
      for (; loader != null; loader = loader.getParent()) {
        if (loader instanceof EnvironmentClassLoader) {
          return ((EnvironmentClassLoader) loader).getLocalClassPath();
        }
      }
      
      return DynamicClassLoader.getSystemClassPath();
    }
docs: Returns the classpath for the environment level.