code: public static Object setAttribute(String name, Object value)
    {
      ClassLoader loader = Thread.currentThread().getContextClassLoader();
  
      return setAttribute(name, value, loader);
    }
docs: Sets a local variable for the current environment.
  
  @param name the attribute name
  @param value the new attribute value
  
  @return the old attribute value