KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > soot > jimple > AbstractJimpleValueSwitch


1 /* Soot - a J*va Optimization Framework
2  * Copyright (C) 1997-1999 Raja Vallee-Rai
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * 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 /*
21  * Modified by the Sable Research Group and others 1997-1999.
22  * See the 'credits' file distributed with Soot for the complete list of
23  * contributors. (Soot is distributed at http://www.sable.mcgill.ca/soot)
24  */

25
26
27
28
29
30 package soot.jimple;
31
32 import soot.util.*;
33 import java.util.*;
34 import soot.*;
35
36 public abstract class AbstractJimpleValueSwitch implements JimpleValueSwitch
37 {
38     Object JavaDoc result;
39
40     public void caseArrayRef(ArrayRef v)
41     {
42         defaultCase(v);
43     }
44
45     public void caseDoubleConstant(DoubleConstant v)
46     {
47         defaultCase(v);
48     }
49
50     public void caseFloatConstant(FloatConstant v)
51     {
52         defaultCase(v);
53     }
54
55     public void caseIntConstant(IntConstant v)
56     {
57         defaultCase(v);
58     }
59
60     public void caseLongConstant(LongConstant v)
61     {
62         defaultCase(v);
63     }
64
65     public void caseNullConstant(NullConstant v)
66     {
67         defaultCase(v);
68     }
69
70     public void caseStringConstant(StringConstant v)
71     {
72         defaultCase(v);
73     }
74
75     public void caseClassConstant(ClassConstant v)
76     {
77         defaultCase(v);
78     }
79
80     public void caseAddExpr(AddExpr v)
81     {
82         defaultCase(v);
83     }
84
85     public void caseAndExpr(AndExpr v)
86     {
87         defaultCase(v);
88     }
89
90     public void caseCmpExpr(CmpExpr v)
91     {
92         defaultCase(v);
93     }
94
95     public void caseCmpgExpr(CmpgExpr v)
96     {
97         defaultCase(v);
98     }
99
100     public void caseCmplExpr(CmplExpr v)
101     {
102         defaultCase(v);
103     }
104
105     public void caseDivExpr(DivExpr v)
106     {
107         defaultCase(v);
108     }
109
110     public void caseEqExpr(EqExpr v)
111     {
112         defaultCase(v);
113     }
114
115     public void caseGeExpr(GeExpr v)
116     {
117         defaultCase(v);
118     }
119
120     public void caseGtExpr(GtExpr v)
121     {
122         defaultCase(v);
123     }
124
125     public void caseLeExpr(LeExpr v)
126     {
127         defaultCase(v);
128     }
129
130     public void caseLtExpr(LtExpr v)
131     {
132         defaultCase(v);
133     }
134
135     public void caseMulExpr(MulExpr v)
136     {
137         defaultCase(v);
138     }
139
140     public void caseNeExpr(NeExpr v)
141     {
142         defaultCase(v);
143     }
144
145     public void caseOrExpr(OrExpr v)
146     {
147         defaultCase(v);
148     }
149
150     public void caseRemExpr(RemExpr v)
151     {
152         defaultCase(v);
153     }
154
155     public void caseShlExpr(ShlExpr v)
156     {
157         defaultCase(v);
158     }
159
160     public void caseShrExpr(ShrExpr v)
161     {
162         defaultCase(v);
163     }
164
165     public void caseSubExpr(SubExpr v)
166     {
167         defaultCase(v);
168     }
169
170     public void caseUshrExpr(UshrExpr v)
171     {
172         defaultCase(v);
173     }
174
175     public void caseXorExpr(XorExpr v)
176     {
177         defaultCase(v);
178     }
179
180     public void caseInterfaceInvokeExpr(InterfaceInvokeExpr v)
181     {
182         defaultCase(v);
183     }
184
185     public void caseSpecialInvokeExpr(SpecialInvokeExpr v)
186     {
187         defaultCase(v);
188     }
189
190     public void caseStaticInvokeExpr(StaticInvokeExpr v)
191     {
192         defaultCase(v);
193     }
194
195     public void caseVirtualInvokeExpr(VirtualInvokeExpr v)
196     {
197         defaultCase(v);
198     }
199
200     public void caseCastExpr(CastExpr v)
201     {
202         defaultCase(v);
203     }
204
205     public void caseInstanceOfExpr(InstanceOfExpr v)
206     {
207         defaultCase(v);
208     }
209
210     public void caseNewArrayExpr(NewArrayExpr v)
211     {
212         defaultCase(v);
213     }
214
215     public void caseNewMultiArrayExpr(NewMultiArrayExpr v)
216     {
217         defaultCase(v);
218     }
219
220     public void caseNewExpr(NewExpr v)
221     {
222         defaultCase(v);
223     }
224
225     public void caseLengthExpr(LengthExpr v)
226     {
227         defaultCase(v);
228     }
229
230     public void caseNegExpr(NegExpr v)
231     {
232         defaultCase(v);
233     }
234
235     public void caseInstanceFieldRef(InstanceFieldRef v)
236     {
237         defaultCase(v);
238     }
239
240     public void caseLocal(Local v)
241     {
242         defaultCase(v);
243     }
244
245     public void caseParameterRef(ParameterRef v)
246     {
247         defaultCase(v);
248     }
249
250     public void caseCaughtExceptionRef(CaughtExceptionRef v)
251     {
252         defaultCase(v);
253     }
254
255     public void caseThisRef(ThisRef v)
256     {
257         defaultCase(v);
258     }
259
260     public void caseStaticFieldRef(StaticFieldRef v)
261     {
262         defaultCase(v);
263     }
264
265     public void defaultCase(Object JavaDoc v)
266     {
267     }
268
269     public Object JavaDoc getResult()
270     {
271         return result;
272     }
273
274     public void setResult(Object JavaDoc result)
275     {
276         this.result = result;
277     }
278 }
279
280
Popular Tags