getDictionary: use compiler's introspection