Interface methods can now be annotated.

The syntax is a strict subset of what Java supports. The following are valid
annotations:

@Fragile
@LotsOfStuff(single="yes", many={"a", "b", "c"})

An annotation either has no parameters (in which case the name is NOT followed
by parentheses) or is does and what follows the name is a parenthesized list
of name=value pairs, where each value is either a single quoted string literal
or a list of quoted string literals surrounded by curly braces.

Change-Id: I3c51d771b7d55c8d16531286d011f61be700a21c
diff --git a/generateCpp.cpp b/generateCpp.cpp
index 8e6da68..f871fd8 100644
--- a/generateCpp.cpp
+++ b/generateCpp.cpp
@@ -237,6 +237,8 @@
         for (const auto &method : iface->methods()) {
             const bool returnsValue = !method->results().empty();
 
+            method->dumpAnnotations(out);
+
             out << "virtual ::android::hardware::Status "
                 << method->name()
                 << "("