@Override
  public Oql visit(Path path) {
    String name = pathNaming.name(path);
    Type type = path.returnType();
    if (!useBindVariables && (type instanceof Class<?>) && ((Class<?>) type).isEnum()) {
      // for enums we need to add ".name" function (queries without bind variables)
      // OQL should be "enum.name = 'VALUE'"
      name = name + ".name";
    }
    return oql(name);
  }
Used for operators with two arguments like {@code =}, {@code IN} etc.
criteria/geode/src/org/immutables/criteria/geode/GeodeQueryVisitor.java