The goal for the new annotations is to have a uniform framework for all types of annotations on all types of objects.
They should be loosely coupled. Unlike the annotations up till ShapeLogic 0.8.
There are different types of annotations that should be handled easily:
One map covering the whole all contexts.
For each object you will have an object containing
In order for this to work match object need to have their equals operator overridden.
Maybe make a double index to annotations.
Maybe have Types in a set.
If you use names and you have a tree set that should work.