public final class DifferentInstantiationCondition extends VariableConditionAdapter
Modifier and Type | Field and Description |
---|---|
private SchemaVariable |
var1 |
private SchemaVariable |
var2 |
Constructor and Description |
---|
DifferentInstantiationCondition(SchemaVariable var1,
SchemaVariable var2) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(SchemaVariable var,
SVSubstitute candidate,
SVInstantiations svInst,
Services services)
checks if the condition for a correct instantiation is fulfilled
|
java.lang.String |
toString() |
check
private final SchemaVariable var1
private final SchemaVariable var2
public DifferentInstantiationCondition(SchemaVariable var1, SchemaVariable var2)
public boolean check(SchemaVariable var, SVSubstitute candidate, SVInstantiations svInst, Services services)
VariableConditionAdapter
check
in class VariableConditionAdapter
var
- the template Variable to be instantiatedsvInst
- the MatchCondition with the current matching state and in particular
the SVInstantiations that are already known to be neededservices
- the program information objectpublic java.lang.String toString()
toString
in class java.lang.Object