protected final Customization<Object> get(Iterator<CustomizationContext> contexts, boolean create)
{
if (contexts.hasNext())
{
CustomizationContext context = contexts.next();
String type = context.getContextType();
ContextTypeContainer typeContainer = getContextTypes();
Map<String, ContextType> contextTypes = typeContainer.getContextTypes();
ContextType tmp = contextTypes.get(type);
if (tmp == null)
{
if (create)
{
tmp = create();
contextTypes.put(type, tmp);
}
else
{
return null;
}
}
Map<String, ContextSpecialization> c = tmp.getSpecializations();
String id = context.getContextId();
ContextSpecialization blah = c.get(id);
//
if (blah != null || !create)
{