KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > soot > baf > InstSwitch


1 /* Soot - a J*va Optimization Framework
2  * Copyright (C) 1999 Patrick Lam, Patrick Pominville and 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.baf;
31
32 import soot.util.*;
33 import java.util.*;
34 import soot.*;
35
36 public interface InstSwitch extends Switch
37 {
38     public void caseReturnVoidInst(ReturnVoidInst i);
39     public void caseReturnInst(ReturnInst i);
40     public void caseNopInst(NopInst i);
41     public void caseGotoInst(GotoInst i);
42     public void casePushInst(PushInst i);
43     public void casePopInst(PopInst i);
44     public void caseIdentityInst(IdentityInst i);
45     public void caseStoreInst(StoreInst i);
46     public void caseLoadInst(LoadInst i);
47     public void caseArrayWriteInst(ArrayWriteInst i);
48     public void caseArrayReadInst(ArrayReadInst i);
49     public void caseIfNullInst(IfNullInst i);
50     public void caseIfNonNullInst(IfNonNullInst i);
51     public void caseIfEqInst(IfEqInst i);
52     public void caseIfNeInst(IfNeInst i);
53     public void caseIfGtInst(IfGtInst i);
54     public void caseIfGeInst(IfGeInst i);
55     public void caseIfLtInst(IfLtInst i);
56     public void caseIfLeInst(IfLeInst i);
57     public void caseIfCmpEqInst(IfCmpEqInst i);
58     public void caseIfCmpNeInst(IfCmpNeInst i);
59     public void caseIfCmpGtInst(IfCmpGtInst i);
60     public void caseIfCmpGeInst(IfCmpGeInst i);
61     public void caseIfCmpLtInst(IfCmpLtInst i);
62     public void caseIfCmpLeInst(IfCmpLeInst i);
63     public void caseStaticGetInst(StaticGetInst i);
64     public void caseStaticPutInst(StaticPutInst i);
65     public void caseFieldGetInst(FieldGetInst i);
66     public void caseFieldPutInst(FieldPutInst i);
67     public void caseInstanceCastInst(InstanceCastInst i);
68     public void caseInstanceOfInst(InstanceOfInst i);
69     public void casePrimitiveCastInst(PrimitiveCastInst i);
70     public void caseStaticInvokeInst(StaticInvokeInst i);
71     public void caseVirtualInvokeInst(VirtualInvokeInst i);
72     public void caseInterfaceInvokeInst(InterfaceInvokeInst i);
73     public void caseSpecialInvokeInst(SpecialInvokeInst i);
74     public void caseThrowInst(ThrowInst i);
75     public void caseAddInst(AddInst i);
76     public void caseAndInst(AndInst i);
77     public void caseOrInst(OrInst i);
78     public void caseXorInst(XorInst i);
79     public void caseArrayLengthInst(ArrayLengthInst i);
80     public void caseCmpInst(CmpInst i);
81     public void caseCmpgInst(CmpgInst i);
82     public void caseCmplInst(CmplInst i);
83     public void caseDivInst(DivInst i);
84     public void caseIncInst(IncInst i);
85     public void caseMulInst(MulInst i);
86     public void caseRemInst(RemInst i);
87     public void caseSubInst(SubInst i);
88     public void caseShlInst(ShlInst i);
89     public void caseShrInst(ShrInst i);
90     public void caseUshrInst(UshrInst i);
91     public void caseNewInst(NewInst i);
92     public void caseNegInst(NegInst i);
93     public void caseSwapInst(SwapInst i);
94    
95     
96     public void caseDup1Inst(Dup1Inst i);
97     public void caseDup2Inst(Dup2Inst i);
98     public void caseDup1_x1Inst(Dup1_x1Inst i);
99     public void caseDup1_x2Inst(Dup1_x2Inst i);
100     public void caseDup2_x1Inst(Dup2_x1Inst i);
101     public void caseDup2_x2Inst(Dup2_x2Inst i);
102
103
104
105
106
107
108
109     public void caseNewArrayInst(NewArrayInst i);
110     public void caseNewMultiArrayInst(NewMultiArrayInst i);
111     public void caseLookupSwitchInst(LookupSwitchInst i);
112     public void caseTableSwitchInst(TableSwitchInst i);
113     public void caseEnterMonitorInst(EnterMonitorInst i);
114     public void caseExitMonitorInst(ExitMonitorInst i);
115 }
116
Popular Tags