ResourceCategory typeCategory = (ResourceCategory) prefetched[i++];
String subCategory = (String) prefetched[i++];
//we don't need the resource type reference here, only in the cache
flyweightCache
.constructResourceType(typeId, typeName, typePlugin, typeSingleton, typeCategory, subCategory);
ResourceFlyweight resourceFlyweight = flyweightCache.constructResource(resourceId, resourceName,
resourceUuid, resourceKey, parentId, typeId, availType);