[Java hidl-gen] Fix multi-dimensional arrays (used within structures, not
as method arguments).
Bug: 31438033
Change-Id: I8e29ae8eca2a9ef8a320e37ca0bb79dcfa8a9b9a
diff --git a/Interface.h b/Interface.h
index 3e2a22a..4adfbae 100644
--- a/Interface.h
+++ b/Interface.h
@@ -46,11 +46,13 @@
std::string getBaseName() const;
- std::string getCppType(StorageMode mode,
- std::string *extra,
- bool specifyNamespaces) const override;
+ std::string getCppType(
+ StorageMode mode,
+ std::string *extra,
+ bool specifyNamespaces) const override;
- std::string getJavaType() const override;
+ std::string getJavaType(
+ std::string *extra, bool forInitializer) const override;
void emitReaderWriter(
Formatter &out,