Fix Java .equals has a wrong signature for generated HIDL types.

Bug: 32834072
Test: hidl_test_java
Change-Id: I1a41c1d9d9daa3ac7f993fbf01c99a013de42b3f
diff --git a/EnumType.h b/EnumType.h
index db5efdc..e259297 100644
--- a/EnumType.h
+++ b/EnumType.h
@@ -144,6 +144,8 @@
 
     bool isElidableType() const override;
 
+    bool canCheckEquality() const override;
+
     const ScalarType *resolveToScalarType() const override;
 
     std::string getCppType(StorageMode mode,