mapperRegistry.register(new TypeDescriptorMapper());
mapperRegistry.register(new MethodDescriptorMapper());
mapperRegistry.register(new ParameterDescriptorMapper());
mapperRegistry.register(new FieldDescriptorMapper());
mapperRegistry.register(new ValueDescriptorMapper());
descriptorDAO = new DescriptorDAOImpl(mapperRegistry, database);
beginTransaction();
for (NodeLabel label : NodeLabel.values()) {
IndexDefinition index = null;
for (IndexDefinition indexDefinition : database.schema().getIndexes(label)) {
for (String s : indexDefinition.getPropertyKeys()) {