code: public Class<?> resolveClass(String name) {
  
          String className = classNameMap.get(name);
          if (className != null) {
              return resolveClassFor(className);
          }
  
          for (String packageName: packages) {
              String fullClassName = packageName + "." + name;
              Class<?>c = resolveClassFor(fullClassName);
              if (c != null) {
                  classNameMap.put(name, fullClassName);
                  return c;
              }
          }
          return null;
      }
docs: Resolve a class name.
  
  @param name The name of the class (without package name) to be resolved.
  @return  If the class has been imported previously, with
  {@link #importClass} or {@link #importPackage}, then its
  Class instance. Otherwise <code>null</code>.
  @throws ELException if the class is abstract or is an interface, or
  not public.