private Class<?> getClass(String name) {
        Class<?> beanClass = importMap.get(name);
        if (beanClass == null) {
            for (String starImport : starImports) {
                String path = starImport.replace('.', '/') + name + ".class";
                if (controllerLoader.getResource(path) != null) {
                    beanClass = ReflectionUtils.getClass(
                            starImport + name, true, controllerLoader);
                    importMap.put(name, beanClass);
                    break;
                }
            }
            if (beanClass == null) {
                // Treat as FQCN and don't cache it.
                beanClass = ReflectionUtils.getClass(name, true, controllerLoader);
            }
        }
        return beanClass;
    }