Class CypherConditionRenamer

java.lang.Object
org.evomaster.client.java.controller.neo4j.heuristics.CypherConditionRenamer

public final class CypherConditionRenamer extends Object
Deep-clones a CypherCondition (or Operand) while substituting the variable names it refers to, according to a rename map. Used by Neo4jPatternExpander when it clones a variable-length edge into a chain: the edge's type/property conditions and the endpoints' labels must be re-bound to the fresh variable names of the cloned edges and intermediate nodes.

Only variable names change; operators, literals and structure are preserved. A name not present in the map is left unchanged.