void (EnumMap<ColorBlindness, ColorBlindnessSupport> map, ColorBlindness blindness, String extensionName) { List<ColorBlindnessSupport> extensions = Extensions.getRootArea().<ColorBlindnessSupport>getExtensionPoint(extensionName) .getExtensionList(); ColorBlindnessSupport support = null; for (ColorBlindnessSupport ext : extensions) { if (support == null) support = ext; } if (support != null) { map.put(blindness, support); Logger logger = Logger.getInstance(ColorBlindnessSupport.class); if (logger.isDebugEnabled()) logger.debug(toString("use", blindness, support)); for (ColorBlindnessSupport ext : extensions) { if (support != ext) logger.warn(toString("ignore", blindness, ext)); } } }