compositeToClassAndFactoryMap.put(elementType, Pair.create(elementTypeClass, elementTypeFactory));
if (elementTypeFactory != null) {
imports.add(StringUtil.getPackageName(elementTypeFactory));
}
else {
<BUG>ContainerUtil.addIfNotNull(elementTypeClass, imports);
</BUG>
}
}
if (tokenTypeFactory != null) {

compositeToClassAndFactoryMap.put(elementType, Pair.create(elementTypeClass, elementTypeFactory));
if (elementTypeFactory != null) {
imports.add(StringUtil.getPackageName(elementTypeFactory));
}
else {
ContainerUtil.addIfNotNull(imports, elementTypeClass);
}
}
if (tokenTypeFactory != null) {
