01: /* Soot - a J*va Optimization Framework
02: * Copyright (C) 2004 Jennifer Lhotak
03: *
04: * This library is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU Lesser General Public
06: * License as published by the Free Software Foundation; either
07: * version 2.1 of the License, or (at your option) any later version.
08: *
09: * This library is distributed in the hope that it will be useful,
10: * but WITHOUT ANY WARRANTY; without even the implied warranty of
11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12: * Lesser General Public License for more details.
13: *
14: * You should have received a copy of the GNU Lesser General Public
15: * License along with this library; if not, write to the
16: * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17: * Boston, MA 02111-1307, USA.
18: */
19:
20: package soot.javaToJimple.jj;
21:
22: /**
23: * Version information for jj extension
24: */
25: public class Version extends polyglot.main.Version {
26: public String name() {
27: return "jj";
28: }
29:
30: // TODO: define a version number, the default (below) is 0.1.0
31: public int major() {
32: return 0;
33: }
34:
35: public int minor() {
36: return 1;
37: }
38:
39: public int patch_level() {
40: return 0;
41: }
42: }
|