Source Code Cross Referenced for Opcodes.java in  » Rule-Engine » drolls-Rule-Engine » org » drools » asm » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Rule Engine » drolls Rule Engine » org.drools.asm 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /***
002:         * ASM: a very small and fast Java bytecode manipulation framework
003:         * Copyright (c) 2000-2005 INRIA, France Telecom
004:         * All rights reserved.
005:         *
006:         * Redistribution and use in source and binary forms, with or without
007:         * modification, are permitted provided that the following conditions
008:         * are met:
009:         * 1. Redistributions of source code must retain the above copyright
010:         *    notice, this list of conditions and the following disclaimer.
011:         * 2. Redistributions in binary form must reproduce the above copyright
012:         *    notice, this list of conditions and the following disclaimer in the
013:         *    documentation and/or other materials provided with the distribution.
014:         * 3. Neither the name of the copyright holders nor the names of its
015:         *    contributors may be used to endorse or promote products derived from
016:         *    this software without specific prior written permission.
017:         *
018:         * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
019:         * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
020:         * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
021:         * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
022:         * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
023:         * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
024:         * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
025:         * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
026:         * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
027:         * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
028:         * THE POSSIBILITY OF SUCH DAMAGE.
029:         */package org.drools.asm;
030:
031:        /**
032:         * Defines the JVM opcodes, access flags and array type codes. This interface
033:         * does not define all the JVM opcodes because some opcodes are automatically
034:         * handled. For example, the xLOAD and xSTORE opcodes are automatically replaced
035:         * by xLOAD_n and xSTORE_n opcodes when possible. The xLOAD_n and xSTORE_n
036:         * opcodes are therefore not defined in this interface. Likewise for LDC,
037:         * automatically replaced by LDC_W or LDC2_W when necessary, WIDE, GOTO_W and
038:         * JSR_W.
039:         * 
040:         * @author Eric Bruneton
041:         * @author Eugene Kuleshov
042:         */
043:        public interface Opcodes {
044:
045:            // versions
046:
047:            int V1_1 = 3 << 16 | 45;
048:            int V1_2 = 0 << 16 | 46;
049:            int V1_3 = 0 << 16 | 47;
050:            int V1_4 = 0 << 16 | 48;
051:            int V1_5 = 0 << 16 | 49;
052:            int V1_6 = 0 << 16 | 50;
053:
054:            // access flags
055:
056:            int ACC_PUBLIC = 0x0001; // class, field, method
057:            int ACC_PRIVATE = 0x0002; // class, field, method
058:            int ACC_PROTECTED = 0x0004; // class, field, method
059:            int ACC_STATIC = 0x0008; // field, method
060:            int ACC_FINAL = 0x0010; // class, field, method
061:            int ACC_SUPER = 0x0020; // class
062:            int ACC_SYNCHRONIZED = 0x0020; // method
063:            int ACC_VOLATILE = 0x0040; // field
064:            int ACC_BRIDGE = 0x0040; // method
065:            int ACC_VARARGS = 0x0080; // method
066:            int ACC_TRANSIENT = 0x0080; // field
067:            int ACC_NATIVE = 0x0100; // method
068:            int ACC_INTERFACE = 0x0200; // class
069:            int ACC_ABSTRACT = 0x0400; // class, method
070:            int ACC_STRICT = 0x0800; // method
071:            int ACC_SYNTHETIC = 0x1000; // class, field, method
072:            int ACC_ANNOTATION = 0x2000; // class
073:            int ACC_ENUM = 0x4000; // class(?) field inner
074:
075:            // ASM specific pseudo access flags
076:
077:            int ACC_DEPRECATED = 131072; // class, field, method
078:
079:            // types for NEWARRAY
080:
081:            int T_BOOLEAN = 4;
082:            int T_CHAR = 5;
083:            int T_FLOAT = 6;
084:            int T_DOUBLE = 7;
085:            int T_BYTE = 8;
086:            int T_SHORT = 9;
087:            int T_INT = 10;
088:            int T_LONG = 11;
089:
090:            // opcodes // visit method (- = idem)
091:
092:            int NOP = 0; // visitInsn
093:            int ACONST_NULL = 1; // -
094:            int ICONST_M1 = 2; // -
095:            int ICONST_0 = 3; // -
096:            int ICONST_1 = 4; // -
097:            int ICONST_2 = 5; // -
098:            int ICONST_3 = 6; // -
099:            int ICONST_4 = 7; // -
100:            int ICONST_5 = 8; // -
101:            int LCONST_0 = 9; // -
102:            int LCONST_1 = 10; // -
103:            int FCONST_0 = 11; // -
104:            int FCONST_1 = 12; // -
105:            int FCONST_2 = 13; // -
106:            int DCONST_0 = 14; // -
107:            int DCONST_1 = 15; // -
108:            int BIPUSH = 16; // visitIntInsn
109:            int SIPUSH = 17; // -
110:            int LDC = 18; // visitLdcInsn
111:            // int LDC_W = 19; // -
112:            // int LDC2_W = 20; // -
113:            int ILOAD = 21; // visitVarInsn
114:            int LLOAD = 22; // -
115:            int FLOAD = 23; // -
116:            int DLOAD = 24; // -
117:            int ALOAD = 25; // -
118:            // int ILOAD_0 = 26; // -
119:            // int ILOAD_1 = 27; // -
120:            // int ILOAD_2 = 28; // -
121:            // int ILOAD_3 = 29; // -
122:            // int LLOAD_0 = 30; // -
123:            // int LLOAD_1 = 31; // -
124:            // int LLOAD_2 = 32; // -
125:            // int LLOAD_3 = 33; // -
126:            // int FLOAD_0 = 34; // -
127:            // int FLOAD_1 = 35; // -
128:            // int FLOAD_2 = 36; // -
129:            // int FLOAD_3 = 37; // -
130:            // int DLOAD_0 = 38; // -
131:            // int DLOAD_1 = 39; // -
132:            // int DLOAD_2 = 40; // -
133:            // int DLOAD_3 = 41; // -
134:            // int ALOAD_0 = 42; // -
135:            // int ALOAD_1 = 43; // -
136:            // int ALOAD_2 = 44; // -
137:            // int ALOAD_3 = 45; // -
138:            int IALOAD = 46; // visitInsn
139:            int LALOAD = 47; // -
140:            int FALOAD = 48; // -
141:            int DALOAD = 49; // -
142:            int AALOAD = 50; // -
143:            int BALOAD = 51; // -
144:            int CALOAD = 52; // -
145:            int SALOAD = 53; // -
146:            int ISTORE = 54; // visitVarInsn
147:            int LSTORE = 55; // -
148:            int FSTORE = 56; // -
149:            int DSTORE = 57; // -
150:            int ASTORE = 58; // -
151:            // int ISTORE_0 = 59; // -
152:            // int ISTORE_1 = 60; // -
153:            // int ISTORE_2 = 61; // -
154:            // int ISTORE_3 = 62; // -
155:            // int LSTORE_0 = 63; // -
156:            // int LSTORE_1 = 64; // -
157:            // int LSTORE_2 = 65; // -
158:            // int LSTORE_3 = 66; // -
159:            // int FSTORE_0 = 67; // -
160:            // int FSTORE_1 = 68; // -
161:            // int FSTORE_2 = 69; // -
162:            // int FSTORE_3 = 70; // -
163:            // int DSTORE_0 = 71; // -
164:            // int DSTORE_1 = 72; // -
165:            // int DSTORE_2 = 73; // -
166:            // int DSTORE_3 = 74; // -
167:            // int ASTORE_0 = 75; // -
168:            // int ASTORE_1 = 76; // -
169:            // int ASTORE_2 = 77; // -
170:            // int ASTORE_3 = 78; // -
171:            int IASTORE = 79; // visitInsn
172:            int LASTORE = 80; // -
173:            int FASTORE = 81; // -
174:            int DASTORE = 82; // -
175:            int AASTORE = 83; // -
176:            int BASTORE = 84; // -
177:            int CASTORE = 85; // -
178:            int SASTORE = 86; // -
179:            int POP = 87; // -
180:            int POP2 = 88; // -
181:            int DUP = 89; // -
182:            int DUP_X1 = 90; // -
183:            int DUP_X2 = 91; // -
184:            int DUP2 = 92; // -
185:            int DUP2_X1 = 93; // -
186:            int DUP2_X2 = 94; // -
187:            int SWAP = 95; // -
188:            int IADD = 96; // -
189:            int LADD = 97; // -
190:            int FADD = 98; // -
191:            int DADD = 99; // -
192:            int ISUB = 100; // -
193:            int LSUB = 101; // -
194:            int FSUB = 102; // -
195:            int DSUB = 103; // -
196:            int IMUL = 104; // -
197:            int LMUL = 105; // -
198:            int FMUL = 106; // -
199:            int DMUL = 107; // -
200:            int IDIV = 108; // -
201:            int LDIV = 109; // -
202:            int FDIV = 110; // -
203:            int DDIV = 111; // -
204:            int IREM = 112; // -
205:            int LREM = 113; // -
206:            int FREM = 114; // -
207:            int DREM = 115; // -
208:            int INEG = 116; // -
209:            int LNEG = 117; // -
210:            int FNEG = 118; // -
211:            int DNEG = 119; // -
212:            int ISHL = 120; // -
213:            int LSHL = 121; // -
214:            int ISHR = 122; // -
215:            int LSHR = 123; // -
216:            int IUSHR = 124; // -
217:            int LUSHR = 125; // -
218:            int IAND = 126; // -
219:            int LAND = 127; // -
220:            int IOR = 128; // -
221:            int LOR = 129; // -
222:            int IXOR = 130; // -
223:            int LXOR = 131; // -
224:            int IINC = 132; // visitIincInsn
225:            int I2L = 133; // visitInsn
226:            int I2F = 134; // -
227:            int I2D = 135; // -
228:            int L2I = 136; // -
229:            int L2F = 137; // -
230:            int L2D = 138; // -
231:            int F2I = 139; // -
232:            int F2L = 140; // -
233:            int F2D = 141; // -
234:            int D2I = 142; // -
235:            int D2L = 143; // -
236:            int D2F = 144; // -
237:            int I2B = 145; // -
238:            int I2C = 146; // -
239:            int I2S = 147; // -
240:            int LCMP = 148; // -
241:            int FCMPL = 149; // -
242:            int FCMPG = 150; // -
243:            int DCMPL = 151; // -
244:            int DCMPG = 152; // -
245:            int IFEQ = 153; // visitJumpInsn
246:            int IFNE = 154; // -
247:            int IFLT = 155; // -
248:            int IFGE = 156; // -
249:            int IFGT = 157; // -
250:            int IFLE = 158; // -
251:            int IF_ICMPEQ = 159; // -
252:            int IF_ICMPNE = 160; // -
253:            int IF_ICMPLT = 161; // -
254:            int IF_ICMPGE = 162; // -
255:            int IF_ICMPGT = 163; // -
256:            int IF_ICMPLE = 164; // -
257:            int IF_ACMPEQ = 165; // -
258:            int IF_ACMPNE = 166; // -
259:            int GOTO = 167; // -
260:            int JSR = 168; // -
261:            int RET = 169; // visitVarInsn
262:            int TABLESWITCH = 170; // visiTableSwitchInsn
263:            int LOOKUPSWITCH = 171; // visitLookupSwitch
264:            int IRETURN = 172; // visitInsn
265:            int LRETURN = 173; // -
266:            int FRETURN = 174; // -
267:            int DRETURN = 175; // -
268:            int ARETURN = 176; // -
269:            int RETURN = 177; // -
270:            int GETSTATIC = 178; // visitFieldInsn
271:            int PUTSTATIC = 179; // -
272:            int GETFIELD = 180; // -
273:            int PUTFIELD = 181; // -
274:            int INVOKEVIRTUAL = 182; // visitMethodInsn
275:            int INVOKESPECIAL = 183; // -
276:            int INVOKESTATIC = 184; // -
277:            int INVOKEINTERFACE = 185; // -
278:            // int UNUSED = 186; // NOT VISITED
279:            int NEW = 187; // visitTypeInsn
280:            int NEWARRAY = 188; // visitIntInsn
281:            int ANEWARRAY = 189; // visitTypeInsn
282:            int ARRAYLENGTH = 190; // visitInsn
283:            int ATHROW = 191; // -
284:            int CHECKCAST = 192; // visitTypeInsn
285:            int INSTANCEOF = 193; // -
286:            int MONITORENTER = 194; // visitInsn
287:            int MONITOREXIT = 195; // -
288:            // int WIDE = 196; // NOT VISITED
289:            int MULTIANEWARRAY = 197; // visitMultiANewArrayInsn
290:            int IFNULL = 198; // visitJumpInsn
291:            int IFNONNULL = 199; // -
292:            // int GOTO_W = 200; // -
293:            // int JSR_W = 201; // -
294:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.