Main Page   Packages   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

AbstractJimpleValueSwitch.java

00001 package ca.mcgill.sable.soot.jimple;
00002 
00003 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00004  * Jimple, a 3-address code Java(TM) bytecode representation.        *
00005  * Copyright (C) 1997, 1998 Raja Vallee-Rai (kor@sable.mcgill.ca)    *
00006  * All rights reserved.                                              *
00007  *                                                                   *
00008  * Modifications by Etienne Gagnon (gagnon@sable.mcgill.ca) are      *
00009  * Copyright (C) 1998 Etienne Gagnon (gagnon@sable.mcgill.ca).  All  *
00010  * rights reserved.                                                  *
00011  *                                                                   *
00012  * This work was done as a project of the Sable Research Group,      *
00013  * School of Computer Science, McGill University, Canada             *
00014  * (http://www.sable.mcgill.ca/).  It is understood that any         *
00015  * modification not identified as such is not covered by the         *
00016  * preceding statement.                                              *
00017  *                                                                   *
00018  * This work is free software; you can redistribute it and/or        *
00019  * modify it under the terms of the GNU Library General Public       *
00020  * License as published by the Free Software Foundation; either      *
00021  * version 2 of the License, or (at your option) any later version.  *
00022  *                                                                   *
00023  * This work is distributed in the hope that it will be useful,      *
00024  * but WITHOUT ANY WARRANTY; without even the implied warranty of    *
00025  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU *
00026  * Library General Public License for more details.                  *
00027  *                                                                   *
00028  * You should have received a copy of the GNU Library General Public *
00029  * License along with this library; if not, write to the             *
00030  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,      *
00031  * Boston, MA  02111-1307, USA.                                      *
00032  *                                                                   *
00033  * Java is a trademark of Sun Microsystems, Inc.                     *
00034  *                                                                   *
00035  * To submit a bug report, send a comment, or get the latest news on *
00036  * this project and other Sable Research Group projects, please      *
00037  * visit the web site: http://www.sable.mcgill.ca/                   *
00038  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00039 
00040 /*
00041  Reference Version
00042  -----------------
00043  This is the latest official version on which this file is based.
00044  The reference version is: $SootVersion: 1.beta.4 $
00045 
00046  Change History
00047  --------------
00048  A) Notes:
00049 
00050  Please use the following template.  Most recent changes should
00051  appear at the top of the list.
00052 
00053  - Modified on [date (March 1, 1900)] by [name]. [(*) if appropriate]
00054    [description of modification].
00055 
00056  Any Modification flagged with "(*)" was done as a project of the
00057  Sable Research Group, School of Computer Science,
00058  McGill University, Canada (http://www.sable.mcgill.ca/).
00059 
00060  You should add your copyright, using the following template, at
00061  the top of this file, along with other copyrights.
00062 
00063  *                                                                   *
00064  * Modifications by [name] are                                       *
00065  * Copyright (C) [year(s)] [your name (or company)].  All rights     *
00066  * reserved.                                                         *
00067  *                                                                   *
00068 
00069  B) Changes:
00070 
00071  - Modified on March 1, 1999 by Raja Vallee-Rai (rvalleerai@sable.mcgill.ca) (*)
00072    Added ConstructExpr. 
00073    Renamed ConstructExpr to NewInvokeExpr.
00074 
00075  - Modified on November 2, 1998 by Raja Vallee-Rai (kor@sable.mcgill.ca) (*)
00076    Repackaged all source files and performed extensive modifications.
00077    First initial release of Soot.
00078 
00079  - Modified on July 5, 1998 by Etienne Gagnon (gagnon@sable.mcgill.ca). (*)
00080    Changed caseDefault to defaultCase, to avoid name conflicts (and conform
00081    to the standard).
00082 
00083  - Modified on 15-Jun-1998 by Raja Vallee-Rai (kor@sable.mcgill.ca). (*)
00084    First internal release (Version 0.1).
00085 */
00086 
00087 import ca.mcgill.sable.util.*;
00088 import ca.mcgill.sable.soot.*;
00089 
00090 public abstract class AbstractJimpleValueSwitch implements JimpleValueSwitch
00091 {
00092     Object result;
00093 
00094     public void caseAddExpr(AddExpr v)
00095     {
00096         defaultCase(v);
00097     }
00098     public void caseAndExpr(AndExpr v)
00099     {
00100         defaultCase(v);
00101     }
00102     public void caseArrayRef(ArrayRef v)
00103     {
00104         defaultCase(v);
00105     }
00106     public void caseCastExpr(CastExpr v)
00107     {
00108         defaultCase(v);
00109     }
00110     public void caseCaughtExceptionRef(CaughtExceptionRef v)
00111     {
00112         defaultCase(v);
00113     }
00114     public void caseCmpExpr(CmpExpr v)
00115     {
00116         defaultCase(v);
00117     }
00118     public void caseCmpgExpr(CmpgExpr v)
00119     {
00120         defaultCase(v);
00121     }
00122     public void caseCmplExpr(CmplExpr v)
00123     {
00124         defaultCase(v);
00125     }
00126     public void caseDivExpr(DivExpr v)
00127     {
00128         defaultCase(v);
00129     }
00130     public void caseDoubleConstant(DoubleConstant v)
00131     {
00132         defaultCase(v);
00133     }
00134     public void caseEqExpr(EqExpr v)
00135     {
00136         defaultCase(v);
00137     }
00138     public void caseFloatConstant(FloatConstant v)
00139     {
00140         defaultCase(v);
00141     }
00142     public void caseGeExpr(GeExpr v)
00143     {
00144         defaultCase(v);
00145     }
00146     public void caseGtExpr(GtExpr v)
00147     {
00148         defaultCase(v);
00149     }
00150     public void caseInstanceFieldRef(InstanceFieldRef v)
00151     {
00152         defaultCase(v);
00153     }
00154     public void caseInstanceOfExpr(InstanceOfExpr v)
00155     {
00156         defaultCase(v);
00157     }
00158     public void caseIntConstant(IntConstant v)
00159     {
00160         defaultCase(v);
00161     }
00162     public void caseInterfaceInvokeExpr(InterfaceInvokeExpr v)
00163     {
00164         defaultCase(v);
00165     }
00166     public void caseLeExpr(LeExpr v)
00167     {
00168         defaultCase(v);
00169     }
00170     public void caseLengthExpr(LengthExpr v)
00171     {
00172         defaultCase(v);
00173     }
00174     public void caseLocal(Local v)
00175     {
00176         defaultCase(v);
00177     }
00178     public void caseLongConstant(LongConstant v)
00179     {
00180         defaultCase(v);
00181     }
00182     public void caseLtExpr(LtExpr v)
00183     {
00184         defaultCase(v);
00185     }
00186     public void caseMulExpr(MulExpr v)
00187     {
00188         defaultCase(v);
00189     }
00190     public void caseNeExpr(NeExpr v)
00191     {
00192         defaultCase(v);
00193     }
00194     public void caseNegExpr(NegExpr v)
00195     {
00196         defaultCase(v);
00197     }
00198     public void caseNewArrayExpr(NewArrayExpr v)
00199     {
00200         defaultCase(v);
00201     }
00202     public void caseNewExpr(NewExpr v)
00203     {
00204         defaultCase(v);
00205     }
00206     public void caseNewInvokeExpr(NewInvokeExpr v)
00207     {
00208         defaultCase(v);
00209     }
00210     public void caseNewMultiArrayExpr(NewMultiArrayExpr v)
00211     {
00212         defaultCase(v);
00213     }
00214     public void caseNextNextStmtRef(NextNextStmtRef v)
00215     {
00216         defaultCase(v);
00217     }
00218     public void caseNullConstant(NullConstant v)
00219     {
00220         defaultCase(v);
00221     }
00222     public void caseOrExpr(OrExpr v)
00223     {
00224         defaultCase(v);
00225     }
00226     public void caseParameterRef(ParameterRef v)
00227     {
00228         defaultCase(v);
00229     }
00230     public void caseRemExpr(RemExpr v)
00231     {
00232         defaultCase(v);
00233     }
00234     public void caseShlExpr(ShlExpr v)
00235     {
00236         defaultCase(v);
00237     }
00238     public void caseShrExpr(ShrExpr v)
00239     {
00240         defaultCase(v);
00241     }
00242     public void caseSpecialInvokeExpr(SpecialInvokeExpr v)
00243     {
00244         defaultCase(v);
00245     }
00246     public void caseStaticFieldRef(StaticFieldRef v)
00247     {
00248         defaultCase(v);
00249     }
00250     public void caseStaticInvokeExpr(StaticInvokeExpr v)
00251     {
00252         defaultCase(v);
00253     }
00254     public void caseStringConstant(StringConstant v)
00255     {
00256         defaultCase(v);
00257     }
00258     public void caseSubExpr(SubExpr v)
00259     {
00260         defaultCase(v);
00261     }
00262     public void caseThisRef(ThisRef v)
00263     {
00264         defaultCase(v);
00265     }
00266     public void caseUshrExpr(UshrExpr v)
00267     {
00268         defaultCase(v);
00269     }
00270     public void caseVirtualInvokeExpr(VirtualInvokeExpr v)
00271     {
00272         defaultCase(v);
00273     }
00274     public void caseXorExpr(XorExpr v)
00275     {
00276         defaultCase(v);
00277     }
00278     public void defaultCase(Object v)
00279     {
00280     }
00281     public Object getResult()
00282     {
00283         return result;
00284     }
00285     public void setResult(Object result)
00286     {
00287         this.result = result;
00288     }
00289 }

Generated at Thu Feb 7 06:36:45 2002 for Bandera by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001