do not use typeof when generating aspects for an ecore