}
public ThemeDef makeThemeDef(Map<String, String> variables) {
ThemeDefImpl.Builder builder = new ThemeDefImpl.Builder();
for (Entry<String, String> entry : variables.entrySet()) {
AttributeDefRefImpl value = makeAttributeDefRef(entry.getKey(),
entry.getValue(), null);
AttributeDefImpl attr = makeAttributeDef(entry.getKey(),
DefDescriptorImpl.getInstance("String", TypeDef.class),
value, false, null, null, null);
builder.addAttributeDef(attr.getDescriptor(), attr);