fix AnnotationDecl to handle empty decl
Fix EnumDecl to handle empty decl