Revert "do not generate @:enum abstracts if they consist of @:enum fields (closes #2858)"

This reverts commit 2fa5220f7dc7cf278875e7eabf757dfd217dfbdd.