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: // This file is part of KeY - Integrated Deductive Software Design
10: // Copyright (C) 2001-2004 Universitaet Karlsruhe, Germany
11: // Universitaet Koblenz-Landau, Germany
12: // Chalmers University of Technology, Sweden
13: //
14: // The KeY system is protected by the GNU General Public License.
15: // See LICENSE.TXT for details.
16: package de.uka.ilkd.key.proof.mgt;
17:
18: import java.util.LinkedList;
19: import java.util.List;
20:
21: import de.uka.ilkd.key.proof.Proof;
22:
23: public class AxiomJustification implements RuleJustification {
24:
25: public static final AxiomJustification INSTANCE = new AxiomJustification();
26: private List emptyList = new LinkedList();
27:
28: public String toString() {
29: return "axiom justification";
30: }
31:
32: public DepAnalysis dependsOn(Proof p) {
33: return DepAnalysis.getInstance(false, null, p);
34: }
35:
36: public boolean isAxiomJustification() {
37: return true;
38: }
39:
40: public List getProofList() {
41: return emptyList;
42: }
43:
44: }
|