[WIP] [#1134] bootstrap ClassMapGenerator

#1134, #2407, #3394