Initial commit of Java backend to hidl-gen.
Change-Id: I38b62637df74d3e5daf702a8996502d0d5726033
diff --git a/Interface.h b/Interface.h
index d7bf0a3..a7d9afb 100644
--- a/Interface.h
+++ b/Interface.h
@@ -29,6 +29,8 @@
std::string getCppType(StorageMode mode, std::string *extra) const override;
+ std::string getJavaType() const override;
+
void emitReaderWriter(
Formatter &out,
const std::string &name,
@@ -37,6 +39,12 @@
bool isReader,
ErrorMode mode) const override;
+ void emitJavaReaderWriter(
+ Formatter &out,
+ const std::string &parcelObj,
+ const std::string &argName,
+ bool isReader) const override;
+
private:
Interface *mSuperType;
std::vector<Method *> mMethods;