LinkedHashSet<JClassType> importTypes = new LinkedHashSet<JClassType>();
for (String type : importTypeNames) {
importTypes.add(findCssResourceType(elem, type));
}
ImplicitCssResource cssMethod = bundleClass.createCssResource(name, source,
publicType, body, importTypes);
FieldWriter field = fieldManager.registerFieldForGeneratedCssResource(cssMethod);
field.setInitializer(String.format("%s.%s()",
fieldManager.convertFieldToGetter(bundleClass.getFieldName()),
cssMethod.getName()));
}