Add support for parsing literals in annotations