diff options
author | cushon <cushon@google.com> | 2019-06-05 21:47:48 -0700 |
---|---|---|
committer | Liam Miller-Cushon <cushon@google.com> | 2019-06-15 15:40:22 -0700 |
commit | 01bbab81ade8f24b17f172d67b7aca4b88000857 (patch) | |
tree | ffa023712635dda084da50925e7567058c0ad3c6 /java/com/google/turbine/binder/bound/EnumConstantValue.java | |
parent | 00defc5b5d40b311401b206b30df3e0e2ae2f826 (diff) | |
download | turbine-01bbab81ade8f24b17f172d67b7aca4b88000857.tar.gz |
Improve toString representations
MOE_MIGRATED_REVID=251782540
Diffstat (limited to 'java/com/google/turbine/binder/bound/EnumConstantValue.java')
-rw-r--r-- | java/com/google/turbine/binder/bound/EnumConstantValue.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/com/google/turbine/binder/bound/EnumConstantValue.java b/java/com/google/turbine/binder/bound/EnumConstantValue.java index 4083ae3..e99c6ed 100644 --- a/java/com/google/turbine/binder/bound/EnumConstantValue.java +++ b/java/com/google/turbine/binder/bound/EnumConstantValue.java @@ -46,4 +46,9 @@ public class EnumConstantValue extends Const { public boolean equals(Object obj) { return obj instanceof EnumConstantValue && sym().equals(((EnumConstantValue) obj).sym()); } + + @Override + public String toString() { + return sym.toString(); + } } |