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: package de.uka.ilkd.key.proof;
09:
10: import de.uka.ilkd.key.rule.Taclet;
11:
12: public class TacletFilterCloseGoal extends TacletFilter {
13:
14: public final static TacletFilterCloseGoal INSTANCE = new TacletFilterCloseGoal();
15:
16: private TacletFilterCloseGoal() {
17: }
18:
19: protected boolean filter(Taclet taclet) {
20: return taclet.goalTemplates().size() == 0;
21: }
22:
23: }
|