summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.h
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-04-01 19:19:24 -0700
committerAdam Lesinski <adamlesinski@google.com>2016-04-04 12:42:05 -0700
commit3524a23edb88f0e67352d55ac6a2919f1edf7b30 (patch)
tree273d57159996b7c91ce844585de2c52162ad54cf /tools/aapt2/java/JavaClassGenerator.h
parentc83ce39a8e22b2df75cdfcb09b032d0b2244a5ca (diff)
AAPT2: Add option to add JavaDoc annotations to Java classes
Change-Id: I7ee8c20cdd91380927a65c41097ffd3a6ffa2df5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.h')
-rw-r--r--tools/aapt2/java/JavaClassGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/aapt2/java/JavaClassGenerator.h b/tools/aapt2/java/JavaClassGenerator.h
index b594a88728f4..77e0ed76143a 100644
--- a/tools/aapt2/java/JavaClassGenerator.h
+++ b/tools/aapt2/java/JavaClassGenerator.h
@@ -44,6 +44,11 @@ struct JavaClassGeneratorOptions {
};
SymbolTypes types = SymbolTypes::kAll;
+
+ /**
+ * A list of JavaDoc annotations to add to the comments of all generated classes.
+ */
+ std::vector<std::string> javadocAnnotations;
};
/*