Rename @Immutable to @JavaOnlyImmutable
Test: atest aidl_integration_test aidl_unittests
Bug: 161506914
Change-Id: I0258d6af9b7378416435eb6b47098521ca7e8beb
diff --git a/aidl_language.h b/aidl_language.h
index 512636d..7a53332 100644
--- a/aidl_language.h
+++ b/aidl_language.h
@@ -166,7 +166,7 @@
UTF8_IN_CPP,
JAVA_PASSTHROUGH,
JAVA_DEBUG,
- IMMUTABLE,
+ JAVA_ONLY_IMMUTABLE,
};
static std::string TypeToString(Type type);
@@ -230,7 +230,7 @@
bool IsNullable() const;
bool IsUtf8InCpp() const;
bool IsVintfStability() const;
- bool IsImmutable() const;
+ bool IsJavaOnlyImmutable() const;
bool IsStableApiParcelable(Options::Language lang) const;
bool IsHide() const;
bool IsJavaDebug() const;