| java.lang.Object de.uka.ilkd.key.rule.VariableConditionAdapter
All known Subclasses: de.uka.ilkd.key.rule.conditions.FreeLabelInVariableCondition, de.uka.ilkd.key.rule.conditions.IsUpdatedVariableCondition, de.uka.ilkd.key.rule.conditions.TestLiteral, de.uka.ilkd.key.rule.conditions.TestQuery, de.uka.ilkd.key.rule.conditions.NonImplicitTypeCondition, de.uka.ilkd.key.rule.conditions.InReachableStateCondition, de.uka.ilkd.key.rule.conditions.StaticMethodCondition, de.uka.ilkd.key.rule.conditions.TestNonImplicitQuery, de.uka.ilkd.key.rule.conditions.AbstractOrInterfaceType, de.uka.ilkd.key.rule.conditions.LocalVariableCondition, de.uka.ilkd.key.rule.conditions.ArrayComponentTypeCondition, de.uka.ilkd.key.rule.conditions.StaticReferenceCondition, de.uka.ilkd.key.rule.conditions.TypeComparisionCondition, de.uka.ilkd.key.rule.conditions.TypeCondition,
VariableConditionAdapter | abstract public class VariableConditionAdapter implements VariableCondition(Code) | | The variable condition adapter can be used by variable conditions
which can either fail or be successful, but which do not create a
constraint.
|
check | abstract public boolean check(SchemaVariable var, SVSubstitute instCandidate, SVInstantiations instMap, Services services)(Code) | | checks if the condition for a correct instantiation is fulfilled
Parameters: var - the template Variable to be instantiated Parameters: instMap - the MatchCondition with the current matching state and in particular the SVInstantiations that are already known to be needed Parameters: services - the program information object true iff condition is fulfilled |
check | public MatchConditions check(SchemaVariable var, SVSubstitute instCandidate, MatchConditions matchCond, Services services)(Code) | | checks if the condition for a correct instantiation is fulfilled
Parameters: var - the template Variable to be instantiated Parameters: instCandidate - the SVSubstitute the schemavariable is matched against Parameters: matchCond - the MatchCondition with the current matching state and in particular the SVInstantiations that are already known to be needed Parameters: services - the program information object modified match results if the condition can be satisfied,or null otherwise |
|
|