Attemps to load a ui using the key as a class name.

@param key the registration key
@return A WComponent if one could be loaded from the classpath, else it returns Boolean.FALSE.
3326
private static Object loadUI(final String key) {
		String classname = key.trim();

		try {
			Class<?> clas = Class.forName(classname);

			if (WComponent.class.isAssignableFrom(clas)) {
				Object instance = clas.newInstance();
				LOG.debug("WComponent successfully loaded with class name \"" + classname + "\".");
				return instance;
			} else {
				LOG.error("The resource with the name \"" + classname + "\" is not a WComponent.");
			}
		} catch (Exception ex) {
			LOG.error("Unable to load a WComponent using the resource name \"" + classname + "\"",
					ex);
		}

		return Boolean.FALSE;
	}
927777
public static boolean isClassNameKey(String key) {
        boolean equals = false;

        if (MAP_CLASS_NAME.equals(key) == true) {
            equals = true;
        }

        return equals;
    }
107676
public RiakRegister getRegister(BinaryValue key)
    {
        if (entries.containsKey(key))
        {
            for (RiakDatatype dt : entries.get(key))
            {
                if (dt.isRegister())
                {
                    return dt.getAsRegister();
                }
            }
        }
        return null;
    }
400739
public final String getPath(final String key) {
        StringBuilder result = new StringBuilder();
        addPathTo(result);
        result.append(".");
        result.append(getPathElement(key));
        return result.toString();
    }
510368
public static String getClassName(String key) {
    int start = 0;
    if (key.startsWith("@") || key.startsWith("members/")) {
      start = key.lastIndexOf('/') + 1;
    }
    return (key.indexOf('<', start) == -1 && key.indexOf('[', start) == -1)
        ? key.substring(start)
        : null;
  }
729848
static String getBuiltInBindingsKey(String key) {
    int start = startOfType(key);
    if (substringStartsWith(key, start, PROVIDER_PREFIX)) {
      return extractKey(key, start, key.substring(0, start), PROVIDER_PREFIX);
    } else if (substringStartsWith(key, start, MEMBERS_INJECTOR_PREFIX)) {
      return extractKey(key, start, "members/", MEMBERS_INJECTOR_PREFIX);
    } else {
      return null;
    }
  }
198321
public static String getHavePathSelfConfig(IConfigKeyWithPath key) {
        String configAbsoluteClassPath = key.getConfigPath();
        return getSelfConfig(configAbsoluteClassPath, key);
    }
1370390
public @NonNull TranslatableComponent key(final @NonNull String key) {
    return new TranslatableComponent(this.children, this.color, this.obfuscated, this.bold, this.strikethrough, this.underlined, this.italic, this.clickEvent, this.hoverEvent, this.insertion, requireNonNull(key, "key"), this.args);
  }
1331029
public Binding<?> requestBinding(String key, Object requiredBy, ClassLoader classLoader) {
    return requestBinding(key, requiredBy, classLoader, true, true);
  }
1285827
public int addKey(String key) {
        JdkUtils.requireNonNull(key);
        int nextIndex = keys.size();
        final Integer mapIndex = JdkUtils.putIfAbsent(keys, key, nextIndex);
        return mapIndex == null ? nextIndex : mapIndex;
    }
360439
public V getService(K key) {
        ComponentContext ctx = context;

        if (ctx == null || key == null)
            return null;

        ConcurrentServiceReferenceElement<V> e = elementMap.get(key);
        if (e == null) {
            return null;
        } else {
            return e.getService(ctx);
        }
    }
393170
protected BufferedImage loadImage (ImageKey key)
    {
//         if (EventQueue.isDispatchThread()) {
//             Log.info("Loading image on AWT thread " + key + ".");
//         }

        BufferedImage image = null;
        try {
            log.debug("Loading image " + key + ".");
            image = key.daprov.loadImage(key.path);
            if (image == null) {
                log.warning("ImageDataProvider.loadImage(" + key + ") returned null.");
            }

        } catch (Exception e) {
            log.warning("Unable to load image '" + key + "'.", e);

            // create a blank image in its stead
            image = createImage(1, 1, Transparency.OPAQUE);
        }

        return image;
    }
458661
@VisibleForTesting
  public static boolean register(PropertyKey key) {
    String name = key.getName();
    String[] aliases = key.getAliases();
    if (DEFAULT_KEYS_MAP.containsKey(name)) {
      if (DEFAULT_KEYS_MAP.get(name).isBuiltIn() || !key.isBuiltIn()) {
        return false;
      }
    }
    DEFAULT_KEYS_MAP.put(name, key);
    if (aliases != null) {
      for (String alias : aliases) {
        DEFAULT_ALIAS_MAP.put(alias, key);
      }
    }
    return true;
  }
570983
public Class<?> getClass(final String key, final Class<?> defaultClass) {
    if (containsKey(key)) {
      return getClass(key);
    } else {
      return defaultClass;
    }
  }
1324315
public <T> T get(ConfigKey key, T def) {
        Object o = data.get(key);
        if (null == o) {
            o = key.val(raw);
            if (null == o) {
                o = null == def ? NULL : def;
            }
            data.put(key, o);
        }
        if (isDebugEnabled()) {
            debug("config[%s] loaded: %s", key, o);
        }
        if (o == NULL) {
            return null;
        } else {
            return (T) o;
        }
    }
988772
View getViewWithKey(String key) {
        if (key == null) {
            throw new IllegalArgumentException("A key must be specified.");
        }

        Set<View> views = new HashSet<>();
        views.addAll(systemLandscapeViews);
        views.addAll(systemContextViews);
        views.addAll(containerViews);
        views.addAll(componentViews);
        views.addAll(dynamicViews);
        views.addAll(deploymentViews);

        return views.stream().filter(v -> key.equals(v.getKey())).findFirst().orElse(null);
    }
963948
public static boolean isHavePathSelfConfig(IConfigKeyWithPath key) {
        String configAbsoluteClassPath = key.getConfigPath();
        return isSelfConfig(configAbsoluteClassPath, key);
    }