Source Code Cross Referenced for XPCOMObject.java in  » IDE-Eclipse » swt » org » eclipse » swt » internal » mozilla » 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 » IDE Eclipse » swt » org.eclipse.swt.internal.mozilla 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


0001:        /*******************************************************************************
0002:         * Copyright (c) 2003, 2007 IBM Corporation and others.
0003:         * All rights reserved. This program and the accompanying materials
0004:         * are made available under the terms of the Eclipse Public License v1.0
0005:         * which accompanies this distribution, and is available at
0006:         * http://www.eclipse.org/legal/epl-v10.html
0007:         *
0008:         * Contributors:
0009:         *     IBM Corporation - initial API and implementation
0010:         *******************************************************************************/package org.eclipse.swt.internal.mozilla;
0011:
0012:        import java.util.*;
0013:        import org.eclipse.swt.*;
0014:        import org.eclipse.swt.internal.*;
0015:
0016:        public class XPCOMObject {
0017:
0018:            private int /*long*/ppVtable;
0019:
0020:            static private final int MAX_ARG_COUNT = 12;
0021:            static private final int MAX_VTABLE_LENGTH = 80;
0022:            static private Callback[][] Callbacks = new Callback[MAX_VTABLE_LENGTH][MAX_ARG_COUNT];
0023:            static private Hashtable ObjectMap = new Hashtable();
0024:
0025:            public XPCOMObject(int[] argCounts) {
0026:                int /*long*/[] callbackAddresses = new int /*long*/[argCounts.length];
0027:                synchronized (Callbacks) {
0028:                    for (int i = 0, length = argCounts.length; i < length; i++) {
0029:                        if ((Callbacks[i][argCounts[i]]) == null) {
0030:                            Callbacks[i][argCounts[i]] = new Callback(
0031:                                    getClass(),
0032:                                    "callback" + i, argCounts[i] + 1, true); //$NON-NLS-1$
0033:                        }
0034:                        callbackAddresses[i] = Callbacks[i][argCounts[i]]
0035:                                .getAddress();
0036:                        if (callbackAddresses[i] == 0)
0037:                            SWT.error(SWT.ERROR_NO_MORE_CALLBACKS);
0038:                    }
0039:                }
0040:
0041:                int /*long*/pVtable = C
0042:                        .malloc(C.PTR_SIZEOF * argCounts.length);
0043:                XPCOM.memmove(pVtable, callbackAddresses, C.PTR_SIZEOF
0044:                        * argCounts.length);
0045:                ppVtable = C.malloc(C.PTR_SIZEOF);
0046:                XPCOM.memmove(ppVtable, new int /*long*/[] { pVtable },
0047:                        C.PTR_SIZEOF);
0048:                ObjectMap.put(new LONG(ppVtable), this );
0049:            }
0050:
0051:            static int /*long*/callback0(int /*long*/[] callbackArgs) {
0052:                // find the object on which this call was invoked
0053:                int /*long*/address = callbackArgs[0];
0054:                Object object = ObjectMap.get(new LONG(address));
0055:                if (object == null)
0056:                    return XPCOM.NS_ERROR_FAILURE;
0057:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0058:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0059:                return ((XPCOMObject) object).method0(args);
0060:            }
0061:
0062:            static int /*long*/callback1(int /*long*/[] callbackArgs) {
0063:                // find the object on which this call was invoked
0064:                int /*long*/address = callbackArgs[0];
0065:                Object object = ObjectMap.get(new LONG(address));
0066:                if (object == null)
0067:                    return XPCOM.NS_ERROR_FAILURE;
0068:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0069:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0070:                return ((XPCOMObject) object).method1(args);
0071:            }
0072:
0073:            static int /*long*/callback10(int /*long*/[] callbackArgs) {
0074:                // find the object on which this call was invoked
0075:                int /*long*/address = callbackArgs[0];
0076:                Object object = ObjectMap.get(new LONG(address));
0077:                if (object == null)
0078:                    return XPCOM.NS_ERROR_FAILURE;
0079:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0080:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0081:                return ((XPCOMObject) object).method10(args);
0082:            }
0083:
0084:            static int /*long*/callback11(int /*long*/[] callbackArgs) {
0085:                // find the object on which this call was invoked
0086:                int /*long*/address = callbackArgs[0];
0087:                Object object = ObjectMap.get(new LONG(address));
0088:                if (object == null)
0089:                    return XPCOM.NS_ERROR_FAILURE;
0090:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0091:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0092:                return ((XPCOMObject) object).method11(args);
0093:            }
0094:
0095:            static int /*long*/callback12(int /*long*/[] callbackArgs) {
0096:                // find the object on which this call was invoked
0097:                int /*long*/address = callbackArgs[0];
0098:                Object object = ObjectMap.get(new LONG(address));
0099:                if (object == null)
0100:                    return XPCOM.NS_ERROR_FAILURE;
0101:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0102:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0103:                return ((XPCOMObject) object).method12(args);
0104:            }
0105:
0106:            static int /*long*/callback13(int /*long*/[] callbackArgs) {
0107:                // find the object on which this call was invoked
0108:                int /*long*/address = callbackArgs[0];
0109:                Object object = ObjectMap.get(new LONG(address));
0110:                if (object == null)
0111:                    return XPCOM.NS_ERROR_FAILURE;
0112:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0113:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0114:                return ((XPCOMObject) object).method13(args);
0115:            }
0116:
0117:            static int /*long*/callback14(int /*long*/[] callbackArgs) {
0118:                // find the object on which this call was invoked
0119:                int /*long*/address = callbackArgs[0];
0120:                Object object = ObjectMap.get(new LONG(address));
0121:                if (object == null)
0122:                    return XPCOM.NS_ERROR_FAILURE;
0123:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0124:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0125:                return ((XPCOMObject) object).method14(args);
0126:            }
0127:
0128:            static int /*long*/callback15(int /*long*/[] callbackArgs) {
0129:                // find the object on which this call was invoked
0130:                int /*long*/address = callbackArgs[0];
0131:                Object object = ObjectMap.get(new LONG(address));
0132:                if (object == null)
0133:                    return XPCOM.NS_ERROR_FAILURE;
0134:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0135:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0136:                return ((XPCOMObject) object).method15(args);
0137:            }
0138:
0139:            static int /*long*/callback16(int /*long*/[] callbackArgs) {
0140:                // find the object on which this call was invoked
0141:                int /*long*/address = callbackArgs[0];
0142:                Object object = ObjectMap.get(new LONG(address));
0143:                if (object == null)
0144:                    return XPCOM.NS_ERROR_FAILURE;
0145:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0146:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0147:                return ((XPCOMObject) object).method16(args);
0148:            }
0149:
0150:            static int /*long*/callback17(int /*long*/[] callbackArgs) {
0151:                // find the object on which this call was invoked
0152:                int /*long*/address = callbackArgs[0];
0153:                Object object = ObjectMap.get(new LONG(address));
0154:                if (object == null)
0155:                    return XPCOM.NS_ERROR_FAILURE;
0156:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0157:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0158:                return ((XPCOMObject) object).method17(args);
0159:            }
0160:
0161:            static int /*long*/callback18(int /*long*/[] callbackArgs) {
0162:                // find the object on which this call was invoked
0163:                int /*long*/address = callbackArgs[0];
0164:                Object object = ObjectMap.get(new LONG(address));
0165:                if (object == null)
0166:                    return XPCOM.NS_ERROR_FAILURE;
0167:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0168:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0169:                return ((XPCOMObject) object).method18(args);
0170:            }
0171:
0172:            static int /*long*/callback19(int /*long*/[] callbackArgs) {
0173:                // find the object on which this call was invoked
0174:                int /*long*/address = callbackArgs[0];
0175:                Object object = ObjectMap.get(new LONG(address));
0176:                if (object == null)
0177:                    return XPCOM.NS_ERROR_FAILURE;
0178:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0179:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0180:                return ((XPCOMObject) object).method19(args);
0181:            }
0182:
0183:            static int /*long*/callback2(int /*long*/[] callbackArgs) {
0184:                // find the object on which this call was invoked
0185:                int /*long*/address = callbackArgs[0];
0186:                Object object = ObjectMap.get(new LONG(address));
0187:                if (object == null)
0188:                    return XPCOM.NS_ERROR_FAILURE;
0189:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0190:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0191:                return ((XPCOMObject) object).method2(args);
0192:            }
0193:
0194:            static int /*long*/callback20(int /*long*/[] callbackArgs) {
0195:                // find the object on which this call was invoked
0196:                int /*long*/address = callbackArgs[0];
0197:                Object object = ObjectMap.get(new LONG(address));
0198:                if (object == null)
0199:                    return XPCOM.NS_ERROR_FAILURE;
0200:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0201:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0202:                return ((XPCOMObject) object).method20(args);
0203:            }
0204:
0205:            static int /*long*/callback21(int /*long*/[] callbackArgs) {
0206:                // find the object on which this call was invoked
0207:                int /*long*/address = callbackArgs[0];
0208:                Object object = ObjectMap.get(new LONG(address));
0209:                if (object == null)
0210:                    return XPCOM.NS_ERROR_FAILURE;
0211:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0212:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0213:                return ((XPCOMObject) object).method21(args);
0214:            }
0215:
0216:            static int /*long*/callback22(int /*long*/[] callbackArgs) {
0217:                // find the object on which this call was invoked
0218:                int /*long*/address = callbackArgs[0];
0219:                Object object = ObjectMap.get(new LONG(address));
0220:                if (object == null)
0221:                    return XPCOM.NS_ERROR_FAILURE;
0222:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0223:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0224:                return ((XPCOMObject) object).method22(args);
0225:            }
0226:
0227:            static int /*long*/callback23(int /*long*/[] callbackArgs) {
0228:                // find the object on which this call was invoked
0229:                int /*long*/address = callbackArgs[0];
0230:                Object object = ObjectMap.get(new LONG(address));
0231:                if (object == null)
0232:                    return XPCOM.NS_ERROR_FAILURE;
0233:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0234:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0235:                return ((XPCOMObject) object).method23(args);
0236:            }
0237:
0238:            static int /*long*/callback24(int /*long*/[] callbackArgs) {
0239:                // find the object on which this call was invoked
0240:                int /*long*/address = callbackArgs[0];
0241:                Object object = ObjectMap.get(new LONG(address));
0242:                if (object == null)
0243:                    return XPCOM.NS_ERROR_FAILURE;
0244:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0245:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0246:                return ((XPCOMObject) object).method24(args);
0247:            }
0248:
0249:            static int /*long*/callback25(int /*long*/[] callbackArgs) {
0250:                // find the object on which this call was invoked
0251:                int /*long*/address = callbackArgs[0];
0252:                Object object = ObjectMap.get(new LONG(address));
0253:                if (object == null)
0254:                    return XPCOM.NS_ERROR_FAILURE;
0255:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0256:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0257:                return ((XPCOMObject) object).method25(args);
0258:            }
0259:
0260:            static int /*long*/callback26(int /*long*/[] callbackArgs) {
0261:                // find the object on which this call was invoked
0262:                int /*long*/address = callbackArgs[0];
0263:                Object object = ObjectMap.get(new LONG(address));
0264:                if (object == null)
0265:                    return XPCOM.NS_ERROR_FAILURE;
0266:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0267:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0268:                return ((XPCOMObject) object).method26(args);
0269:            }
0270:
0271:            static int /*long*/callback27(int /*long*/[] callbackArgs) {
0272:                // find the object on which this call was invoked
0273:                int /*long*/address = callbackArgs[0];
0274:                Object object = ObjectMap.get(new LONG(address));
0275:                if (object == null)
0276:                    return XPCOM.NS_ERROR_FAILURE;
0277:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0278:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0279:                return ((XPCOMObject) object).method27(args);
0280:            }
0281:
0282:            static int /*long*/callback28(int /*long*/[] callbackArgs) {
0283:                // find the object on which this call was invoked
0284:                int /*long*/address = callbackArgs[0];
0285:                Object object = ObjectMap.get(new LONG(address));
0286:                if (object == null)
0287:                    return XPCOM.NS_ERROR_FAILURE;
0288:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0289:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0290:                return ((XPCOMObject) object).method28(args);
0291:            }
0292:
0293:            static int /*long*/callback29(int /*long*/[] callbackArgs) {
0294:                // find the object on which this call was invoked
0295:                int /*long*/address = callbackArgs[0];
0296:                Object object = ObjectMap.get(new LONG(address));
0297:                if (object == null)
0298:                    return XPCOM.NS_ERROR_FAILURE;
0299:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0300:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0301:                return ((XPCOMObject) object).method29(args);
0302:            }
0303:
0304:            static int /*long*/callback3(int /*long*/[] callbackArgs) {
0305:                // find the object on which this call was invoked
0306:                int /*long*/address = callbackArgs[0];
0307:                Object object = ObjectMap.get(new LONG(address));
0308:                if (object == null)
0309:                    return XPCOM.NS_ERROR_FAILURE;
0310:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0311:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0312:                return ((XPCOMObject) object).method3(args);
0313:            }
0314:
0315:            static int /*long*/callback30(int /*long*/[] callbackArgs) {
0316:                // find the object on which this call was invoked
0317:                int /*long*/address = callbackArgs[0];
0318:                Object object = ObjectMap.get(new LONG(address));
0319:                if (object == null)
0320:                    return XPCOM.NS_ERROR_FAILURE;
0321:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0322:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0323:                return ((XPCOMObject) object).method30(args);
0324:            }
0325:
0326:            static int /*long*/callback31(int /*long*/[] callbackArgs) {
0327:                // find the object on which this call was invoked
0328:                int /*long*/address = callbackArgs[0];
0329:                Object object = ObjectMap.get(new LONG(address));
0330:                if (object == null)
0331:                    return XPCOM.NS_ERROR_FAILURE;
0332:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0333:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0334:                return ((XPCOMObject) object).method31(args);
0335:            }
0336:
0337:            static int /*long*/callback32(int /*long*/[] callbackArgs) {
0338:                // find the object on which this call was invoked
0339:                int /*long*/address = callbackArgs[0];
0340:                Object object = ObjectMap.get(new LONG(address));
0341:                if (object == null)
0342:                    return XPCOM.NS_ERROR_FAILURE;
0343:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0344:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0345:                return ((XPCOMObject) object).method32(args);
0346:            }
0347:
0348:            static int /*long*/callback33(int /*long*/[] callbackArgs) {
0349:                // find the object on which this call was invoked
0350:                int /*long*/address = callbackArgs[0];
0351:                Object object = ObjectMap.get(new LONG(address));
0352:                if (object == null)
0353:                    return XPCOM.NS_ERROR_FAILURE;
0354:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0355:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0356:                return ((XPCOMObject) object).method33(args);
0357:            }
0358:
0359:            static int /*long*/callback34(int /*long*/[] callbackArgs) {
0360:                // find the object on which this call was invoked
0361:                int /*long*/address = callbackArgs[0];
0362:                Object object = ObjectMap.get(new LONG(address));
0363:                if (object == null)
0364:                    return XPCOM.NS_ERROR_FAILURE;
0365:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0366:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0367:                return ((XPCOMObject) object).method34(args);
0368:            }
0369:
0370:            static int /*long*/callback35(int /*long*/[] callbackArgs) {
0371:                // find the object on which this call was invoked
0372:                int /*long*/address = callbackArgs[0];
0373:                Object object = ObjectMap.get(new LONG(address));
0374:                if (object == null)
0375:                    return XPCOM.NS_ERROR_FAILURE;
0376:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0377:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0378:                return ((XPCOMObject) object).method35(args);
0379:            }
0380:
0381:            static int /*long*/callback36(int /*long*/[] callbackArgs) {
0382:                // find the object on which this call was invoked
0383:                int /*long*/address = callbackArgs[0];
0384:                Object object = ObjectMap.get(new LONG(address));
0385:                if (object == null)
0386:                    return XPCOM.NS_ERROR_FAILURE;
0387:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0388:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0389:                return ((XPCOMObject) object).method36(args);
0390:            }
0391:
0392:            static int /*long*/callback37(int /*long*/[] callbackArgs) {
0393:                // find the object on which this call was invoked
0394:                int /*long*/address = callbackArgs[0];
0395:                Object object = ObjectMap.get(new LONG(address));
0396:                if (object == null)
0397:                    return XPCOM.NS_ERROR_FAILURE;
0398:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0399:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0400:                return ((XPCOMObject) object).method37(args);
0401:            }
0402:
0403:            static int /*long*/callback38(int /*long*/[] callbackArgs) {
0404:                // find the object on which this call was invoked
0405:                int /*long*/address = callbackArgs[0];
0406:                Object object = ObjectMap.get(new LONG(address));
0407:                if (object == null)
0408:                    return XPCOM.NS_ERROR_FAILURE;
0409:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0410:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0411:                return ((XPCOMObject) object).method38(args);
0412:            }
0413:
0414:            static int /*long*/callback39(int /*long*/[] callbackArgs) {
0415:                // find the object on which this call was invoked
0416:                int /*long*/address = callbackArgs[0];
0417:                Object object = ObjectMap.get(new LONG(address));
0418:                if (object == null)
0419:                    return XPCOM.NS_ERROR_FAILURE;
0420:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0421:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0422:                return ((XPCOMObject) object).method39(args);
0423:            }
0424:
0425:            static int /*long*/callback4(int /*long*/[] callbackArgs) {
0426:                // find the object on which this call was invoked
0427:                int /*long*/address = callbackArgs[0];
0428:                Object object = ObjectMap.get(new LONG(address));
0429:                if (object == null)
0430:                    return XPCOM.NS_ERROR_FAILURE;
0431:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0432:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0433:                return ((XPCOMObject) object).method4(args);
0434:            }
0435:
0436:            static int /*long*/callback40(int /*long*/[] callbackArgs) {
0437:                // find the object on which this call was invoked
0438:                int /*long*/address = callbackArgs[0];
0439:                Object object = ObjectMap.get(new LONG(address));
0440:                if (object == null)
0441:                    return XPCOM.NS_ERROR_FAILURE;
0442:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0443:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0444:                return ((XPCOMObject) object).method40(args);
0445:            }
0446:
0447:            static int /*long*/callback41(int /*long*/[] callbackArgs) {
0448:                // find the object on which this call was invoked
0449:                int /*long*/address = callbackArgs[0];
0450:                Object object = ObjectMap.get(new LONG(address));
0451:                if (object == null)
0452:                    return XPCOM.NS_ERROR_FAILURE;
0453:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0454:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0455:                return ((XPCOMObject) object).method41(args);
0456:            }
0457:
0458:            static int /*long*/callback42(int /*long*/[] callbackArgs) {
0459:                // find the object on which this call was invoked
0460:                int /*long*/address = callbackArgs[0];
0461:                Object object = ObjectMap.get(new LONG(address));
0462:                if (object == null)
0463:                    return XPCOM.NS_ERROR_FAILURE;
0464:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0465:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0466:                return ((XPCOMObject) object).method42(args);
0467:            }
0468:
0469:            static int /*long*/callback43(int /*long*/[] callbackArgs) {
0470:                // find the object on which this call was invoked
0471:                int /*long*/address = callbackArgs[0];
0472:                Object object = ObjectMap.get(new LONG(address));
0473:                if (object == null)
0474:                    return XPCOM.NS_ERROR_FAILURE;
0475:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0476:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0477:                return ((XPCOMObject) object).method43(args);
0478:            }
0479:
0480:            static int /*long*/callback44(int /*long*/[] callbackArgs) {
0481:                // find the object on which this call was invoked
0482:                int /*long*/address = callbackArgs[0];
0483:                Object object = ObjectMap.get(new LONG(address));
0484:                if (object == null)
0485:                    return XPCOM.NS_ERROR_FAILURE;
0486:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0487:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0488:                return ((XPCOMObject) object).method44(args);
0489:            }
0490:
0491:            static int /*long*/callback45(int /*long*/[] callbackArgs) {
0492:                // find the object on which this call was invoked
0493:                int /*long*/address = callbackArgs[0];
0494:                Object object = ObjectMap.get(new LONG(address));
0495:                if (object == null)
0496:                    return XPCOM.NS_ERROR_FAILURE;
0497:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0498:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0499:                return ((XPCOMObject) object).method45(args);
0500:            }
0501:
0502:            static int /*long*/callback46(int /*long*/[] callbackArgs) {
0503:                // find the object on which this call was invoked
0504:                int /*long*/address = callbackArgs[0];
0505:                Object object = ObjectMap.get(new LONG(address));
0506:                if (object == null)
0507:                    return XPCOM.NS_ERROR_FAILURE;
0508:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0509:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0510:                return ((XPCOMObject) object).method46(args);
0511:            }
0512:
0513:            static int /*long*/callback47(int /*long*/[] callbackArgs) {
0514:                // find the object on which this call was invoked
0515:                int /*long*/address = callbackArgs[0];
0516:                Object object = ObjectMap.get(new LONG(address));
0517:                if (object == null)
0518:                    return XPCOM.NS_ERROR_FAILURE;
0519:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0520:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0521:                return ((XPCOMObject) object).method47(args);
0522:            }
0523:
0524:            static int /*long*/callback48(int /*long*/[] callbackArgs) {
0525:                // find the object on which this call was invoked
0526:                int /*long*/address = callbackArgs[0];
0527:                Object object = ObjectMap.get(new LONG(address));
0528:                if (object == null)
0529:                    return XPCOM.NS_ERROR_FAILURE;
0530:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0531:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0532:                return ((XPCOMObject) object).method48(args);
0533:            }
0534:
0535:            static int /*long*/callback49(int /*long*/[] callbackArgs) {
0536:                // find the object on which this call was invoked
0537:                int /*long*/address = callbackArgs[0];
0538:                Object object = ObjectMap.get(new LONG(address));
0539:                if (object == null)
0540:                    return XPCOM.NS_ERROR_FAILURE;
0541:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0542:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0543:                return ((XPCOMObject) object).method49(args);
0544:            }
0545:
0546:            static int /*long*/callback5(int /*long*/[] callbackArgs) {
0547:                // find the object on which this call was invoked
0548:                int /*long*/address = callbackArgs[0];
0549:                Object object = ObjectMap.get(new LONG(address));
0550:                if (object == null)
0551:                    return XPCOM.NS_ERROR_FAILURE;
0552:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0553:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0554:                return ((XPCOMObject) object).method5(args);
0555:            }
0556:
0557:            static int /*long*/callback50(int /*long*/[] callbackArgs) {
0558:                // find the object on which this call was invoked
0559:                int /*long*/address = callbackArgs[0];
0560:                Object object = ObjectMap.get(new LONG(address));
0561:                if (object == null)
0562:                    return XPCOM.NS_ERROR_FAILURE;
0563:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0564:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0565:                return ((XPCOMObject) object).method50(args);
0566:            }
0567:
0568:            static int /*long*/callback51(int /*long*/[] callbackArgs) {
0569:                // find the object on which this call was invoked
0570:                int /*long*/address = callbackArgs[0];
0571:                Object object = ObjectMap.get(new LONG(address));
0572:                if (object == null)
0573:                    return XPCOM.NS_ERROR_FAILURE;
0574:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0575:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0576:                return ((XPCOMObject) object).method51(args);
0577:            }
0578:
0579:            static int /*long*/callback52(int /*long*/[] callbackArgs) {
0580:                // find the object on which this call was invoked
0581:                int /*long*/address = callbackArgs[0];
0582:                Object object = ObjectMap.get(new LONG(address));
0583:                if (object == null)
0584:                    return XPCOM.NS_ERROR_FAILURE;
0585:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0586:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0587:                return ((XPCOMObject) object).method52(args);
0588:            }
0589:
0590:            static int /*long*/callback53(int /*long*/[] callbackArgs) {
0591:                // find the object on which this call was invoked
0592:                int /*long*/address = callbackArgs[0];
0593:                Object object = ObjectMap.get(new LONG(address));
0594:                if (object == null)
0595:                    return XPCOM.NS_ERROR_FAILURE;
0596:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0597:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0598:                return ((XPCOMObject) object).method53(args);
0599:            }
0600:
0601:            static int /*long*/callback54(int /*long*/[] callbackArgs) {
0602:                // find the object on which this call was invoked
0603:                int /*long*/address = callbackArgs[0];
0604:                Object object = ObjectMap.get(new LONG(address));
0605:                if (object == null)
0606:                    return XPCOM.NS_ERROR_FAILURE;
0607:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0608:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0609:                return ((XPCOMObject) object).method54(args);
0610:            }
0611:
0612:            static int /*long*/callback55(int /*long*/[] callbackArgs) {
0613:                // find the object on which this call was invoked
0614:                int /*long*/address = callbackArgs[0];
0615:                Object object = ObjectMap.get(new LONG(address));
0616:                if (object == null)
0617:                    return XPCOM.NS_ERROR_FAILURE;
0618:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0619:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0620:                return ((XPCOMObject) object).method55(args);
0621:            }
0622:
0623:            static int /*long*/callback56(int /*long*/[] callbackArgs) {
0624:                // find the object on which this call was invoked
0625:                int /*long*/address = callbackArgs[0];
0626:                Object object = ObjectMap.get(new LONG(address));
0627:                if (object == null)
0628:                    return XPCOM.NS_ERROR_FAILURE;
0629:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0630:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0631:                return ((XPCOMObject) object).method56(args);
0632:            }
0633:
0634:            static int /*long*/callback57(int /*long*/[] callbackArgs) {
0635:                // find the object on which this call was invoked
0636:                int /*long*/address = callbackArgs[0];
0637:                Object object = ObjectMap.get(new LONG(address));
0638:                if (object == null)
0639:                    return XPCOM.NS_ERROR_FAILURE;
0640:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0641:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0642:                return ((XPCOMObject) object).method57(args);
0643:            }
0644:
0645:            static int /*long*/callback58(int /*long*/[] callbackArgs) {
0646:                // find the object on which this call was invoked
0647:                int /*long*/address = callbackArgs[0];
0648:                Object object = ObjectMap.get(new LONG(address));
0649:                if (object == null)
0650:                    return XPCOM.NS_ERROR_FAILURE;
0651:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0652:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0653:                return ((XPCOMObject) object).method58(args);
0654:            }
0655:
0656:            static int /*long*/callback59(int /*long*/[] callbackArgs) {
0657:                // find the object on which this call was invoked
0658:                int /*long*/address = callbackArgs[0];
0659:                Object object = ObjectMap.get(new LONG(address));
0660:                if (object == null)
0661:                    return XPCOM.NS_ERROR_FAILURE;
0662:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0663:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0664:                return ((XPCOMObject) object).method59(args);
0665:            }
0666:
0667:            static int /*long*/callback6(int /*long*/[] callbackArgs) {
0668:                // find the object on which this call was invoked
0669:                int /*long*/address = callbackArgs[0];
0670:                Object object = ObjectMap.get(new LONG(address));
0671:                if (object == null)
0672:                    return XPCOM.NS_ERROR_FAILURE;
0673:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0674:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0675:                return ((XPCOMObject) object).method6(args);
0676:            }
0677:
0678:            static int /*long*/callback60(int /*long*/[] callbackArgs) {
0679:                // find the object on which this call was invoked
0680:                int /*long*/address = callbackArgs[0];
0681:                Object object = ObjectMap.get(new LONG(address));
0682:                if (object == null)
0683:                    return XPCOM.NS_ERROR_FAILURE;
0684:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0685:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0686:                return ((XPCOMObject) object).method60(args);
0687:            }
0688:
0689:            static int /*long*/callback61(int /*long*/[] callbackArgs) {
0690:                // find the object on which this call was invoked
0691:                int /*long*/address = callbackArgs[0];
0692:                Object object = ObjectMap.get(new LONG(address));
0693:                if (object == null)
0694:                    return XPCOM.NS_ERROR_FAILURE;
0695:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0696:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0697:                return ((XPCOMObject) object).method61(args);
0698:            }
0699:
0700:            static int /*long*/callback62(int /*long*/[] callbackArgs) {
0701:                // find the object on which this call was invoked
0702:                int /*long*/address = callbackArgs[0];
0703:                Object object = ObjectMap.get(new LONG(address));
0704:                if (object == null)
0705:                    return XPCOM.NS_ERROR_FAILURE;
0706:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0707:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0708:                return ((XPCOMObject) object).method62(args);
0709:            }
0710:
0711:            static int /*long*/callback63(int /*long*/[] callbackArgs) {
0712:                // find the object on which this call was invoked
0713:                int /*long*/address = callbackArgs[0];
0714:                Object object = ObjectMap.get(new LONG(address));
0715:                if (object == null)
0716:                    return XPCOM.NS_ERROR_FAILURE;
0717:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0718:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0719:                return ((XPCOMObject) object).method63(args);
0720:            }
0721:
0722:            static int /*long*/callback64(int /*long*/[] callbackArgs) {
0723:                // find the object on which this call was invoked
0724:                int /*long*/address = callbackArgs[0];
0725:                Object object = ObjectMap.get(new LONG(address));
0726:                if (object == null)
0727:                    return XPCOM.NS_ERROR_FAILURE;
0728:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0729:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0730:                return ((XPCOMObject) object).method64(args);
0731:            }
0732:
0733:            static int /*long*/callback65(int /*long*/[] callbackArgs) {
0734:                // find the object on which this call was invoked
0735:                int /*long*/address = callbackArgs[0];
0736:                Object object = ObjectMap.get(new LONG(address));
0737:                if (object == null)
0738:                    return XPCOM.NS_ERROR_FAILURE;
0739:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0740:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0741:                return ((XPCOMObject) object).method65(args);
0742:            }
0743:
0744:            static int /*long*/callback66(int /*long*/[] callbackArgs) {
0745:                // find the object on which this call was invoked
0746:                int /*long*/address = callbackArgs[0];
0747:                Object object = ObjectMap.get(new LONG(address));
0748:                if (object == null)
0749:                    return XPCOM.NS_ERROR_FAILURE;
0750:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0751:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0752:                return ((XPCOMObject) object).method66(args);
0753:            }
0754:
0755:            static int /*long*/callback67(int /*long*/[] callbackArgs) {
0756:                // find the object on which this call was invoked
0757:                int /*long*/address = callbackArgs[0];
0758:                Object object = ObjectMap.get(new LONG(address));
0759:                if (object == null)
0760:                    return XPCOM.NS_ERROR_FAILURE;
0761:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0762:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0763:                return ((XPCOMObject) object).method67(args);
0764:            }
0765:
0766:            static int /*long*/callback68(int /*long*/[] callbackArgs) {
0767:                // find the object on which this call was invoked
0768:                int /*long*/address = callbackArgs[0];
0769:                Object object = ObjectMap.get(new LONG(address));
0770:                if (object == null)
0771:                    return XPCOM.NS_ERROR_FAILURE;
0772:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0773:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0774:                return ((XPCOMObject) object).method68(args);
0775:            }
0776:
0777:            static int /*long*/callback69(int /*long*/[] callbackArgs) {
0778:                // find the object on which this call was invoked
0779:                int /*long*/address = callbackArgs[0];
0780:                Object object = ObjectMap.get(new LONG(address));
0781:                if (object == null)
0782:                    return XPCOM.NS_ERROR_FAILURE;
0783:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0784:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0785:                return ((XPCOMObject) object).method69(args);
0786:            }
0787:
0788:            static int /*long*/callback7(int /*long*/[] callbackArgs) {
0789:                // find the object on which this call was invoked
0790:                int /*long*/address = callbackArgs[0];
0791:                Object object = ObjectMap.get(new LONG(address));
0792:                if (object == null)
0793:                    return XPCOM.NS_ERROR_FAILURE;
0794:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0795:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0796:                return ((XPCOMObject) object).method7(args);
0797:            }
0798:
0799:            static int /*long*/callback70(int /*long*/[] callbackArgs) {
0800:                // find the object on which this call was invoked
0801:                int /*long*/address = callbackArgs[0];
0802:                Object object = ObjectMap.get(new LONG(address));
0803:                if (object == null)
0804:                    return XPCOM.NS_ERROR_FAILURE;
0805:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0806:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0807:                return ((XPCOMObject) object).method70(args);
0808:            }
0809:
0810:            static int /*long*/callback71(int /*long*/[] callbackArgs) {
0811:                // find the object on which this call was invoked
0812:                int /*long*/address = callbackArgs[0];
0813:                Object object = ObjectMap.get(new LONG(address));
0814:                if (object == null)
0815:                    return XPCOM.NS_ERROR_FAILURE;
0816:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0817:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0818:                return ((XPCOMObject) object).method71(args);
0819:            }
0820:
0821:            static int /*long*/callback72(int /*long*/[] callbackArgs) {
0822:                // find the object on which this call was invoked
0823:                int /*long*/address = callbackArgs[0];
0824:                Object object = ObjectMap.get(new LONG(address));
0825:                if (object == null)
0826:                    return XPCOM.NS_ERROR_FAILURE;
0827:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0828:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0829:                return ((XPCOMObject) object).method72(args);
0830:            }
0831:
0832:            static int /*long*/callback73(int /*long*/[] callbackArgs) {
0833:                // find the object on which this call was invoked
0834:                int /*long*/address = callbackArgs[0];
0835:                Object object = ObjectMap.get(new LONG(address));
0836:                if (object == null)
0837:                    return XPCOM.NS_ERROR_FAILURE;
0838:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0839:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0840:                return ((XPCOMObject) object).method73(args);
0841:            }
0842:
0843:            static int /*long*/callback74(int /*long*/[] callbackArgs) {
0844:                // find the object on which this call was invoked
0845:                int /*long*/address = callbackArgs[0];
0846:                Object object = ObjectMap.get(new LONG(address));
0847:                if (object == null)
0848:                    return XPCOM.NS_ERROR_FAILURE;
0849:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0850:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0851:                return ((XPCOMObject) object).method74(args);
0852:            }
0853:
0854:            static int /*long*/callback75(int /*long*/[] callbackArgs) {
0855:                // find the object on which this call was invoked
0856:                int /*long*/address = callbackArgs[0];
0857:                Object object = ObjectMap.get(new LONG(address));
0858:                if (object == null)
0859:                    return XPCOM.NS_ERROR_FAILURE;
0860:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0861:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0862:                return ((XPCOMObject) object).method75(args);
0863:            }
0864:
0865:            static int /*long*/callback76(int /*long*/[] callbackArgs) {
0866:                // find the object on which this call was invoked
0867:                int /*long*/address = callbackArgs[0];
0868:                Object object = ObjectMap.get(new LONG(address));
0869:                if (object == null)
0870:                    return XPCOM.NS_ERROR_FAILURE;
0871:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0872:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0873:                return ((XPCOMObject) object).method76(args);
0874:            }
0875:
0876:            static int /*long*/callback77(int /*long*/[] callbackArgs) {
0877:                // find the object on which this call was invoked
0878:                int /*long*/address = callbackArgs[0];
0879:                Object object = ObjectMap.get(new LONG(address));
0880:                if (object == null)
0881:                    return XPCOM.NS_ERROR_FAILURE;
0882:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0883:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0884:                return ((XPCOMObject) object).method77(args);
0885:            }
0886:
0887:            static int /*long*/callback78(int /*long*/[] callbackArgs) {
0888:                // find the object on which this call was invoked
0889:                int /*long*/address = callbackArgs[0];
0890:                Object object = ObjectMap.get(new LONG(address));
0891:                if (object == null)
0892:                    return XPCOM.NS_ERROR_FAILURE;
0893:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0894:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0895:                return ((XPCOMObject) object).method78(args);
0896:            }
0897:
0898:            static int /*long*/callback79(int /*long*/[] callbackArgs) {
0899:                // find the object on which this call was invoked
0900:                int /*long*/address = callbackArgs[0];
0901:                Object object = ObjectMap.get(new LONG(address));
0902:                if (object == null)
0903:                    return XPCOM.NS_ERROR_FAILURE;
0904:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0905:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0906:                return ((XPCOMObject) object).method79(args);
0907:            }
0908:
0909:            static int /*long*/callback8(int /*long*/[] callbackArgs) {
0910:                // find the object on which this call was invoked
0911:                int /*long*/address = callbackArgs[0];
0912:                Object object = ObjectMap.get(new LONG(address));
0913:                if (object == null)
0914:                    return XPCOM.NS_ERROR_FAILURE;
0915:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0916:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0917:                return ((XPCOMObject) object).method8(args);
0918:            }
0919:
0920:            static int /*long*/callback9(int /*long*/[] callbackArgs) {
0921:                // find the object on which this call was invoked
0922:                int /*long*/address = callbackArgs[0];
0923:                Object object = ObjectMap.get(new LONG(address));
0924:                if (object == null)
0925:                    return XPCOM.NS_ERROR_FAILURE;
0926:                int /*long*/[] args = new int /*long*/[callbackArgs.length - 1];
0927:                System.arraycopy(callbackArgs, 1, args, 0, args.length);
0928:                return ((XPCOMObject) object).method9(args);
0929:            }
0930:
0931:            public void dispose() {
0932:                // free the memory for this reference
0933:                int /*long*/[] pVtable = new int /*long*/[1];
0934:                XPCOM.memmove(pVtable, ppVtable, C.PTR_SIZEOF);
0935:                C.free(pVtable[0]);
0936:                C.free(ppVtable);
0937:
0938:                // remove this ppVtable from the list
0939:                ObjectMap.remove(new LONG(ppVtable));
0940:
0941:                ppVtable = 0;
0942:            }
0943:
0944:            public int /*long*/getAddress() {
0945:                return ppVtable;
0946:            }
0947:
0948:            public int /*long*/method0(int /*long*/[] args) {
0949:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0950:            }
0951:
0952:            public int /*long*/method1(int /*long*/[] args) {
0953:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0954:            }
0955:
0956:            public int /*long*/method10(int /*long*/[] args) {
0957:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0958:            }
0959:
0960:            public int /*long*/method11(int /*long*/[] args) {
0961:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0962:            }
0963:
0964:            public int /*long*/method12(int /*long*/[] args) {
0965:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0966:            }
0967:
0968:            public int /*long*/method13(int /*long*/[] args) {
0969:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0970:            }
0971:
0972:            public int /*long*/method14(int /*long*/[] args) {
0973:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0974:            }
0975:
0976:            public int /*long*/method15(int /*long*/[] args) {
0977:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0978:            }
0979:
0980:            public int /*long*/method16(int /*long*/[] args) {
0981:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0982:            }
0983:
0984:            public int /*long*/method17(int /*long*/[] args) {
0985:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0986:            }
0987:
0988:            public int /*long*/method18(int /*long*/[] args) {
0989:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0990:            }
0991:
0992:            public int /*long*/method19(int /*long*/[] args) {
0993:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0994:            }
0995:
0996:            public int /*long*/method2(int /*long*/[] args) {
0997:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
0998:            }
0999:
1000:            public int /*long*/method20(int /*long*/[] args) {
1001:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1002:            }
1003:
1004:            public int /*long*/method21(int /*long*/[] args) {
1005:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1006:            }
1007:
1008:            public int /*long*/method22(int /*long*/[] args) {
1009:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1010:            }
1011:
1012:            public int /*long*/method23(int /*long*/[] args) {
1013:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1014:            }
1015:
1016:            public int /*long*/method24(int /*long*/[] args) {
1017:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1018:            }
1019:
1020:            public int /*long*/method25(int /*long*/[] args) {
1021:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1022:            }
1023:
1024:            public int /*long*/method26(int /*long*/[] args) {
1025:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1026:            }
1027:
1028:            public int /*long*/method27(int /*long*/[] args) {
1029:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1030:            }
1031:
1032:            public int /*long*/method28(int /*long*/[] args) {
1033:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1034:            }
1035:
1036:            public int /*long*/method29(int /*long*/[] args) {
1037:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1038:            }
1039:
1040:            public int /*long*/method3(int /*long*/[] args) {
1041:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1042:            }
1043:
1044:            public int /*long*/method30(int /*long*/[] args) {
1045:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1046:            }
1047:
1048:            public int /*long*/method31(int /*long*/[] args) {
1049:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1050:            }
1051:
1052:            public int /*long*/method32(int /*long*/[] args) {
1053:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1054:            }
1055:
1056:            public int /*long*/method33(int /*long*/[] args) {
1057:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1058:            }
1059:
1060:            public int /*long*/method34(int /*long*/[] args) {
1061:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1062:            }
1063:
1064:            public int /*long*/method35(int /*long*/[] args) {
1065:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1066:            }
1067:
1068:            public int /*long*/method36(int /*long*/[] args) {
1069:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1070:            }
1071:
1072:            public int /*long*/method37(int /*long*/[] args) {
1073:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1074:            }
1075:
1076:            public int /*long*/method38(int /*long*/[] args) {
1077:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1078:            }
1079:
1080:            public int /*long*/method39(int /*long*/[] args) {
1081:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1082:            }
1083:
1084:            public int /*long*/method4(int /*long*/[] args) {
1085:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1086:            }
1087:
1088:            public int /*long*/method40(int /*long*/[] args) {
1089:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1090:            }
1091:
1092:            public int /*long*/method41(int /*long*/[] args) {
1093:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1094:            }
1095:
1096:            public int /*long*/method42(int /*long*/[] args) {
1097:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1098:            }
1099:
1100:            public int /*long*/method43(int /*long*/[] args) {
1101:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1102:            }
1103:
1104:            public int /*long*/method44(int /*long*/[] args) {
1105:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1106:            }
1107:
1108:            public int /*long*/method45(int /*long*/[] args) {
1109:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1110:            }
1111:
1112:            public int /*long*/method46(int /*long*/[] args) {
1113:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1114:            }
1115:
1116:            public int /*long*/method47(int /*long*/[] args) {
1117:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1118:            }
1119:
1120:            public int /*long*/method48(int /*long*/[] args) {
1121:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1122:            }
1123:
1124:            public int /*long*/method49(int /*long*/[] args) {
1125:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1126:            }
1127:
1128:            public int /*long*/method5(int /*long*/[] args) {
1129:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1130:            }
1131:
1132:            public int /*long*/method50(int /*long*/[] args) {
1133:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1134:            }
1135:
1136:            public int /*long*/method51(int /*long*/[] args) {
1137:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1138:            }
1139:
1140:            public int /*long*/method52(int /*long*/[] args) {
1141:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1142:            }
1143:
1144:            public int /*long*/method53(int /*long*/[] args) {
1145:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1146:            }
1147:
1148:            public int /*long*/method54(int /*long*/[] args) {
1149:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1150:            }
1151:
1152:            public int /*long*/method55(int /*long*/[] args) {
1153:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1154:            }
1155:
1156:            public int /*long*/method56(int /*long*/[] args) {
1157:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1158:            }
1159:
1160:            public int /*long*/method57(int /*long*/[] args) {
1161:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1162:            }
1163:
1164:            public int /*long*/method58(int /*long*/[] args) {
1165:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1166:            }
1167:
1168:            public int /*long*/method59(int /*long*/[] args) {
1169:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1170:            }
1171:
1172:            public int /*long*/method6(int /*long*/[] args) {
1173:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1174:            }
1175:
1176:            public int /*long*/method60(int /*long*/[] args) {
1177:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1178:            }
1179:
1180:            public int /*long*/method61(int /*long*/[] args) {
1181:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1182:            }
1183:
1184:            public int /*long*/method62(int /*long*/[] args) {
1185:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1186:            }
1187:
1188:            public int /*long*/method63(int /*long*/[] args) {
1189:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1190:            }
1191:
1192:            public int /*long*/method64(int /*long*/[] args) {
1193:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1194:            }
1195:
1196:            public int /*long*/method65(int /*long*/[] args) {
1197:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1198:            }
1199:
1200:            public int /*long*/method66(int /*long*/[] args) {
1201:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1202:            }
1203:
1204:            public int /*long*/method67(int /*long*/[] args) {
1205:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1206:            }
1207:
1208:            public int /*long*/method68(int /*long*/[] args) {
1209:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1210:            }
1211:
1212:            public int /*long*/method69(int /*long*/[] args) {
1213:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1214:            }
1215:
1216:            public int /*long*/method7(int /*long*/[] args) {
1217:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1218:            }
1219:
1220:            public int /*long*/method70(int /*long*/[] args) {
1221:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1222:            }
1223:
1224:            public int /*long*/method71(int /*long*/[] args) {
1225:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1226:            }
1227:
1228:            public int /*long*/method72(int /*long*/[] args) {
1229:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1230:            }
1231:
1232:            public int /*long*/method73(int /*long*/[] args) {
1233:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1234:            }
1235:
1236:            public int /*long*/method74(int /*long*/[] args) {
1237:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1238:            }
1239:
1240:            public int /*long*/method75(int /*long*/[] args) {
1241:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1242:            }
1243:
1244:            public int /*long*/method76(int /*long*/[] args) {
1245:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1246:            }
1247:
1248:            public int /*long*/method77(int /*long*/[] args) {
1249:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1250:            }
1251:
1252:            public int /*long*/method78(int /*long*/[] args) {
1253:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1254:            }
1255:
1256:            public int /*long*/method79(int /*long*/[] args) {
1257:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1258:            }
1259:
1260:            public int /*long*/method8(int /*long*/[] args) {
1261:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1262:            }
1263:
1264:            public int /*long*/method9(int /*long*/[] args) {
1265:                return XPCOM.NS_ERROR_NOT_IMPLEMENTED;
1266:            }
1267:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.