Hello,
I found that twig has only 2,3 dependencies to MapBuilder (in the latest version) which is not that much. I switched pom to use version 12 and made a small fix that replaces MapBuilder with CacheBuilder and when put/get is required I use cache.asMap().get(key) which made all tests to pass. It's not an elegant way for this change, but more stuff need to be changed in case you want CacheLoader class to be used instead of asMap().put() method.
If you want I can submit all of my changes as patch for review which contains fixes for:
- returnParents method
- Version 12 of Guava
- Fix for retrieving of Set<?> of entities