final FactTemplateDescr factTemplateDescr) {
List<FieldTemplate> fields = new ArrayList<FieldTemplate>();
int index = 0;
PackageRegistry pkgRegistry = this.pkgRegistryMap.get( pkgDescr.getNamespace() );
for ( FieldTemplateDescr fieldTemplateDescr : factTemplateDescr.getFields() ) {
FieldTemplate fieldTemplate = null;
try {
fieldTemplate = new FieldTemplateImpl( fieldTemplateDescr.getName(),
index++,
pkgRegistry.getTypeResolver().resolveType( fieldTemplateDescr.getClassType() ) );
} catch ( final ClassNotFoundException e ) {