code: @SuppressWarnings("unchecked")
    public E getLevel(ClassLoader loader)
    {
      for (; loader != null; loader = loader.getParent()) {
        if (loader instanceof EnvironmentClassLoader) {
          EnvironmentClassLoader envLoader = (EnvironmentClassLoader) loader;
  
          return (E) envLoader.getAttribute(_varName);
        }
      }
  
      return _globalValue;
    }
docs: Returns the variable for the context classloader.