01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10:
11: package de.uka.ilkd.key.proof;
12:
13: import de.uka.ilkd.key.collection.ListOfString;
14: import de.uka.ilkd.key.java.Services;
15: import de.uka.ilkd.key.logic.op.SchemaVariable;
16: import de.uka.ilkd.key.rule.TacletApp;
17:
18: /**
19: * Provides proposals for schema variable instantiations.
20: */
21: public interface InstantiationProposer {
22:
23: /**
24: * Returns an instantiation proposal for the schema variable var.
25: * @param app the taclet app
26: * @param var the schema variable to be instantiated
27: * @param services pointer to services object
28: * @param undoAnchor node to be used as undo anchor
29: * @param previousProposals a list of other proposals which should be taken
30: * into account (e.g. for name uniqueness), or null
31: */
32: public String getProposal(TacletApp app, SchemaVariable var,
33: Services services, Node undoAnchor,
34: ListOfString previousProposals);
35: }
|