public final class NewJumpLabelCondition extends java.lang.Object implements VariableCondition
Constructor and Description |
---|
NewJumpLabelCondition(SchemaVariable sv) |
Modifier and Type | Method and Description |
---|---|
MatchConditions |
check(SchemaVariable var,
SVSubstitute instCandidate,
MatchConditions matchCond,
Services services)
checks if the condition for a correct instantiation is fulfilled
|
private java.util.List<ProgramElement> |
collect(SVInstantiations inst) |
private boolean |
isUnique(Label label,
java.util.List<ProgramElement> programs,
Services services) |
java.lang.String |
toString() |
private final ProgramSV labelSV
public NewJumpLabelCondition(SchemaVariable sv)
public MatchConditions check(SchemaVariable var, SVSubstitute instCandidate, MatchConditions matchCond, Services services)
VariableCondition
check
in interface VariableCondition
var
- the SchemaVariable to be instantiatedinstCandidate
- the SVSubstitute (e.g. Term, ProgramElement) to be mapped to varmatchCond
- the MatchCondition with the current matching state and in particular
the SVInstantiations that are already known to be neededservices
- the program information objectnull
otherwiseprivate java.util.List<ProgramElement> collect(SVInstantiations inst)
private boolean isUnique(Label label, java.util.List<ProgramElement> programs, Services services)
public java.lang.String toString()
toString
in class java.lang.Object