8182838485868788899091
} } public Messages getMessages(MessagesBundle bundle, Locale locale) { MultiKey key = new MultiKey(bundle.getId(), locale); Messages result = _messagesByBundleIdAndLocale.get(key); if (result == null) {
111112113114115116117118119120121
private Map<String, String> findBundleProperties(MessagesBundle bundle, Locale locale) { if (bundle == null) return _emptyMap; MultiKey key = new MultiKey(bundle.getId(), locale); Map<String, String> existing = _cookedProperties.get(key); if (existing != null) return existing;
6465666768697071727374
notNull(rootClass, "rootClass"); notBlank(expression, "expression"); Class effectiveClass = toEffectiveClass(rootClass); MultiKey key = new MultiKey(effectiveClass, expression); PropertyConduit result = _cache.get(key); if (result == null) {
102103104105106107108109110111112
*/ public ComponentTemplate getTemplate(ComponentModel componentModel, Locale locale) { String componentName = componentModel.getComponentClassName(); MultiKey key = new MultiKey(componentName, locale); // First cache is key to resource. Resource resource = _templateResources.get(key);
10231024102510261027102810291030103110321033
{ notNull(type, "type"); failIfFrozen(); MultiKey key = new MultiKey(type, value); String fieldName = searchForPreviousInjection(key); if (fieldName != null) return fieldName;
10201021102210231024102510261027102810291030
109110111112113114115116117118119
7576777879808182838485