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.casetool.together;
12:
13: import de.uka.ilkd.key.java.abstraction.Type;
14: import de.uka.ilkd.key.logic.op.ProgramMethod;
15: import de.uka.ilkd.key.util.Debug;
16:
17: public class ModelUtil {
18:
19: private ModelUtil() {
20: }
21:
22: public static void hiliteMethod(Type t, ProgramMethod pm) {
23: try {
24: ModelUtilImpl.hiliteMethod(t, pm);
25: } catch (NoClassDefFoundError err) {
26: System.err.println("Skipping Together part: hiliteMethod");
27: } catch (RuntimeException re) {
28: System.err
29: .println("Problem with method highlighting, enable debugging");
30: Debug.out(re);
31: }
32: }
33: }
|