public class PBodyCopier
extends java.lang.Object
| Constructor and Description |
|---|
PBodyCopier(PBody body) |
PBodyCopier(PQuery query) |
| Modifier and Type | Method and Description |
|---|---|
PBody |
getCopiedBody()
Returns the body with the copied variables and constraints.
|
java.util.Map<PVariable,PVariable> |
getVariableMapping() |
void |
mergeBody(PBody sourceBody) |
void |
mergeBody(PBody sourceBody,
IVariableRenamer namingTool,
IConstraintFilter filter)
Merge all variables and constraints from a source body to a target body.
|
public PBodyCopier(PBody body)
public PBodyCopier(PQuery query)
public void mergeBody(PBody sourceBody)
public void mergeBody(PBody sourceBody, IVariableRenamer namingTool, IConstraintFilter filter)
sourceBody - namingTool - filter - public PBody getCopiedBody()