is that i right behaviour? ``` public enum EnumTyp...
# announcements
d
is that i right behaviour?
Copy code
public enum EnumType {
        LOCATION("location"),
        ACTIVITY("activity"),
        DINING("dining");

        protected String name;

        BucketType(String name) {
            this.name = name;
            this.res = res;
        }

        public String getName() {
            return name;
        }
    }
so property in
kotlin
-
name
intersects with original getter. (enum already has built-in
name()
method)