This is broken by ```ClassElement classElement = clazz.element;``` in source_metadata_extractor.dart:171. As @blois already said, element is not yet resolved and thus it is null. 

This breaks bin/expression_extractor.dart which is invoked from scripts/generate-expressions.sh - @mhevery Is this still used?