for (Class<?> currentClass : allClasses) {
getOrCreateTypeMetadata(currentClass);
}
entityTypeMetadataResolver = new EntityTypeMetadataResolver<>(metadataByType);
relationTypeMetadataResolver = new RelationTypeMetadataResolver<>(metadataByType);
metadataByType.put(CompositeObject.class, new SimpleTypeMetadata(new AnnotatedType(CompositeObject.class), Collections.<TypeMetadata> emptyList(),
Collections.<MethodMetadata<?, ?>> emptyList(), null));
}