public final class MayExpandMethodCondition extends VariableConditionAdapter
A method may be inlinded if:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME
The name of this this variable condition
|
Constructor and Description |
---|
MayExpandMethodCondition(SchemaVariable methodName,
SchemaVariable args,
boolean negation) |
MayExpandMethodCondition(SchemaVariable receiver,
SchemaVariable methname,
SchemaVariable args,
boolean negation)
Instantiate a new variable condition.
|
Modifier and Type | Method and Description |
---|---|
boolean |
check(SchemaVariable var,
SVSubstitute subst,
SVInstantiations svInst,
Services services)
checks if the condition for a correct instantiation is fulfilled
|
java.lang.String |
toString() |
check
public static final java.lang.String NAME
public MayExpandMethodCondition(SchemaVariable receiver, SchemaVariable methname, SchemaVariable args, boolean negation)
negation
- true
iff the condition is to be negatedreceiver
- program schema var for the receiver, may be null for class-local callsmethname
- non-null program schema var for the methodnameargs
- non-null program schema var for the arguments of the callnegation
- true
iff the condition is to be negatedpublic MayExpandMethodCondition(SchemaVariable methodName, SchemaVariable args, boolean negation)
public boolean check(SchemaVariable var, SVSubstitute subst, 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
Copyright © 2003-2019 The KeY-Project.