Created
December 2, 2010 01:15
-
-
Save QNENet/724568 to your computer and use it in GitHub Desktop.
mirah main method byte code? ex eclipse
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Compiled from Activator.mirah (version 1.5 : 49.0, super bit) | |
public class org.eclipse.ecf.examples.sharedobject.server.Activator implements org.osgi.framework.BundleActivator { | |
// Field descriptor #15 Lorg/eclipse/ecf/core/IContainer; | |
private org.eclipse.ecf.core.IContainer myserver; | |
// Method descriptor #9 ([Ljava/lang/String;)V | |
// Stack: 0, Locals: 1 | |
public static void main(java.lang.String[] argv); | |
0 return | |
Line numbers: | |
[pc: 0, line: 2] | |
[pc: 0, line: 11] | |
[pc: 0, line: 12] | |
Local variable table: | |
[pc: 0, pc: 1] local: argv index: 0 type: java.lang.String[] | |
// Method descriptor #11 (Lorg/osgi/framework/BundleContext;)V | |
// Stack: 4, Locals: 2 | |
public void start(org.osgi.framework.BundleContext context) throws java.lang.Exception; | |
0 aload_0 [this] | |
1 aload_0 [this] | |
2 ldc <String "ecf.generic.server"> [17] | |
4 ldc <String "ecftcp://localhost:4280/mygroup"> [19] | |
6 invokevirtual org.eclipse.ecf.examples.sharedobject.server.Activator.createServer(java.lang.String, java.lang.String) : org.eclipse.ecf.core.IContainer [23] | |
9 putfield org.eclipse.ecf.examples.sharedobject.server.Activator.myserver : org.eclipse.ecf.core.IContainer [25] | |
12 getstatic java.lang.System.out : java.io.PrintStream [31] | |
15 new java.lang.StringBuilder [33] | |
18 dup | |
19 invokespecial java.lang.StringBuilder() [37] | |
22 ldc <String "Server has been created on "> [39] | |
24 invokevirtual java.lang.StringBuilder.append(java.lang.String) : java.lang.StringBuilder [43] | |
27 ldc <String "ecftcp://localhost:4280/mygroup"> [19] | |
29 dup | |
30 ifnull 39 | |
33 invokevirtual java.lang.Object.toString() : java.lang.String [47] | |
36 goto 42 | |
39 pop | |
40 ldc <String "null"> [49] | |
42 invokevirtual java.lang.StringBuilder.append(java.lang.String) : java.lang.StringBuilder [43] | |
45 invokevirtual java.lang.StringBuilder.toString() : java.lang.String [50] | |
48 invokevirtual java.io.PrintStream.println(java.lang.String) : void [56] | |
51 return | |
Line numbers: | |
[pc: 0, line: 14] | |
[pc: 0, line: 15] | |
[pc: 12, line: 16] | |
Local variable table: | |
[pc: 0, pc: 52] local: this index: 0 type: org.eclipse.ecf.examples.sharedobject.server.Activator | |
[pc: 0, pc: 52] local: context index: 1 type: org.osgi.framework.BundleContext | |
// Method descriptor #11 (Lorg/osgi/framework/BundleContext;)V | |
// Stack: 2, Locals: 2 | |
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception; | |
0 aload_0 [this] | |
1 getfield org.eclipse.ecf.examples.sharedobject.server.Activator.myserver : org.eclipse.ecf.core.IContainer [25] | |
4 aconst_null | |
5 if_acmpne 12 | |
8 iconst_0 | |
9 goto 13 | |
12 iconst_1 | |
13 ifeq 28 | |
16 aload_0 [this] | |
17 getfield org.eclipse.ecf.examples.sharedobject.server.Activator.myserver : org.eclipse.ecf.core.IContainer [25] | |
20 invokeinterface org.eclipse.ecf.core.IContainer.dispose() : void [66] [nargs: 1] | |
25 goto 28 | |
28 return | |
Line numbers: | |
[pc: 0, line: 19] | |
[pc: 0, line: 20] | |
Local variable table: | |
[pc: 0, pc: 29] local: this index: 0 type: org.eclipse.ecf.examples.sharedobject.server.Activator | |
[pc: 0, pc: 29] local: context index: 1 type: org.osgi.framework.BundleContext | |
// Method descriptor #21 (Ljava/lang/String;Ljava/lang/String;)Lorg/eclipse/ecf/core/IContainer; | |
// Stack: 3, Locals: 6 | |
public org.eclipse.ecf.core.IContainer createServer(java.lang.String container_str, java.lang.String connection_id_str); | |
0 aconst_null | |
1 astore_3 [idFactory] | |
2 aconst_null | |
3 astore 4 [connection_id] | |
5 aconst_null | |
6 astore 5 [containerFactory] | |
8 invokestatic org.eclipse.ecf.core.identity.IDFactory.getDefault() : org.eclipse.ecf.core.identity.IIDFactory [72] | |
11 astore_3 [idFactory] | |
12 aload_3 [idFactory] | |
13 aload_2 [connection_id_str] | |
14 invokeinterface org.eclipse.ecf.core.identity.IIDFactory.createStringID(java.lang.String) : org.eclipse.ecf.core.identity.ID [78] [nargs: 2] | |
19 astore 4 [connection_id] | |
21 invokestatic org.eclipse.ecf.core.ContainerFactory.getDefault() : org.eclipse.ecf.core.IContainerFactory [83] | |
24 astore 5 [containerFactory] | |
26 aload 5 [containerFactory] | |
28 aload_1 [container_str] | |
29 aload 4 [connection_id] | |
31 invokeinterface org.eclipse.ecf.core.IContainerFactory.createContainer(java.lang.String, org.eclipse.ecf.core.identity.ID) : org.eclipse.ecf.core.IContainer [89] [nargs: 3] | |
36 areturn | |
37 areturn | |
Line numbers: | |
[pc: 8, line: 24] | |
[pc: 12, line: 25] | |
[pc: 21, line: 26] | |
[pc: 26, line: 27] | |
Local variable table: | |
[pc: 0, pc: 38] local: this index: 0 type: org.eclipse.ecf.examples.sharedobject.server.Activator | |
[pc: 0, pc: 38] local: container_str index: 1 type: java.lang.String | |
[pc: 0, pc: 38] local: connection_id_str index: 2 type: java.lang.String | |
[pc: 0, pc: 38] local: idFactory index: 3 type: org.eclipse.ecf.core.identity.IIDFactory | |
[pc: 0, pc: 38] local: connection_id index: 4 type: org.eclipse.ecf.core.identity.ID | |
[pc: 0, pc: 38] local: containerFactory index: 5 type: org.eclipse.ecf.core.IContainerFactory | |
// Method descriptor #35 ()V | |
// Stack: 1, Locals: 1 | |
public Activator(); | |
0 aload_0 [this] | |
1 invokespecial java.lang.Object() [99] | |
4 return | |
Local variable table: | |
[pc: 0, pc: 5] local: this index: 0 type: org.eclipse.ecf.examples.sharedobject.server.Activator | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment