allow enums declared in annotations