presto-resource-group-managers/src/main/java/io/prestosql/plugin/resourcegroups/ResourceGroupNameTemplate.java/ResourceGroupNameTemplate/equals
class ResourceGroupNameTemplate:        @Override
        public boolean equals(Object o)
        {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            NameFragment that = (NameFragment) o;
            return Objects.equals(variable, that.variable) &&
                    Objects.equals(literal, that.literal);
        }