org.eclipse.emf.codegen_2.6.0.v20120130-0943

16:43:24.665 INFO  jd.cli.Main - Decompiling org.eclipse.emf.codegen_2.6.0.v20120130-0943.jar
package org.eclipse.emf.codegen;

import org.eclipse.core.resources.IWorkspaceRunnable;

class CodeGen$PlatformRunnable$1
  implements IWorkspaceRunnable
{
  CodeGen$PlatformRunnable$1(String[] paramArrayOfString) {}
  
  /* Error */
  public void run(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
    throws org.eclipse.core.runtime.CoreException
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
    //   4: iconst_0
    //   5: aaload
    //   6: astore_2
    //   7: new 116	java/io/File
    //   10: dup
    //   11: aload_2
    //   12: invokespecial 243	java/io/File:<init>	(Ljava/lang/String;)V
    //   15: astore_3
    //   16: aload_3
    //   17: invokevirtual 240	java/io/File:exists	()Z
    //   20: ifeq +14 -> 34
    //   23: aload_3
    //   24: invokevirtual 241	java/io/File:getAbsoluteFile	()Ljava/io/File;
    //   27: invokevirtual 244	java/io/File:toURL	()Ljava/net/URL;
    //   30: invokevirtual 254	java/net/URL:toString	()Ljava/lang/String;
    //   33: astore_2
    //   34: new 130	org/eclipse/core/runtime/Path
    //   37: dup
    //   38: new 116	java/io/File
    //   41: dup
    //   42: aload_0
    //   43: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
    //   46: iconst_1
    //   47: aaload
    //   48: invokespecial 243	java/io/File:<init>	(Ljava/lang/String;)V
    //   51: invokevirtual 242	java/io/File:getAbsolutePath	()Ljava/lang/String;
    //   54: invokespecial 255	org/eclipse/core/runtime/Path:<init>	(Ljava/lang/String;)V
    //   57: astore 4
    //   59: aload_1
    //   60: ldc 1
    //   62: iconst_5
    //   63: invokeinterface 286 3 0
    //   68: aload_1
    //   69: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
    //   72: ldc 5
    //   74: iconst_1
    //   75: anewarray 118	java/lang/Object
    //   78: dup
    //   79: iconst_0
    //   80: aload_2
    //   81: aastore
    //   82: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   85: invokeinterface 285 2 0
    //   90: aconst_null
    //   91: astore 5
    //   93: aload_0
    //   94: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
    //   97: arraylength
    //   98: iconst_2
    //   99: if_icmple +51 -> 150
    //   102: new 140	org/eclipse/emf/codegen/merge/java/JControlModel
    //   105: dup
    //   106: invokespecial 265	org/eclipse/emf/codegen/merge/java/JControlModel:<init>	()V
    //   109: astore 5
    //   111: aload_0
    //   112: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
    //   115: arraylength
    //   116: iconst_3
    //   117: if_icmple +12 -> 129
    //   120: aload_0
    //   121: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
    //   124: iconst_3
    //   125: aaload
    //   126: goto +6 -> 132
    //   129: getstatic 235	org/eclipse/emf/codegen/merge/java/JMerger:DEFAULT_FACADE_HELPER_CLASS	Ljava/lang/String;
    //   132: astore 6
    //   134: aload 5
    //   136: aload 6
    //   138: invokestatic 274	org/eclipse/emf/codegen/util/CodeGenUtil:instantiateFacadeHelper	(Ljava/lang/String;)Lorg/eclipse/emf/codegen/merge/java/facade/FacadeHelper;
    //   141: aload_0
    //   142: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
    //   145: iconst_2
    //   146: aaload
    //   147: invokevirtual 266	org/eclipse/emf/codegen/merge/java/JControlModel:initialize	(Lorg/eclipse/emf/codegen/merge/java/facade/FacadeHelper;Ljava/lang/String;)V
    //   150: aload_1
    //   151: iconst_1
    //   152: invokeinterface 284 2 0
    //   157: aload_1
    //   158: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
    //   161: ldc 7
    //   163: iconst_1
    //   164: anewarray 118	java/lang/Object
    //   167: dup
    //   168: iconst_0
    //   169: aload_2
    //   170: aastore
    //   171: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   174: invokeinterface 285 2 0
    //   179: new 137	org/eclipse/emf/codegen/jet/JETCompiler
    //   182: dup
    //   183: aload_2
    //   184: invokespecial 261	org/eclipse/emf/codegen/jet/JETCompiler:<init>	(Ljava/lang/String;)V
    //   187: astore 6
    //   189: aload 6
    //   191: invokevirtual 259	org/eclipse/emf/codegen/jet/JETCompiler:parse	()V
    //   194: aload_1
    //   195: iconst_1
    //   196: invokeinterface 284 2 0
    //   201: aload_1
    //   202: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
    //   205: ldc 6
    //   207: iconst_1
    //   208: anewarray 118	java/lang/Object
    //   211: dup
    //   212: iconst_0
    //   213: aload_2
    //   214: aastore
    //   215: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   218: invokeinterface 285 2 0
    //   223: new 115	java/io/ByteArrayOutputStream
    //   226: dup
    //   227: invokespecial 237	java/io/ByteArrayOutputStream:<init>	()V
    //   230: astore 7
    //   232: aload 6
    //   234: aload 7
    //   236: invokevirtual 260	org/eclipse/emf/codegen/jet/JETCompiler:generate	(Ljava/io/OutputStream;)V
    //   239: new 114	java/io/ByteArrayInputStream
    //   242: dup
    //   243: aload 7
    //   245: invokevirtual 238	java/io/ByteArrayOutputStream:toByteArray	()[B
    //   248: invokespecial 236	java/io/ByteArrayInputStream:<init>	([B)V
    //   251: astore 8
    //   253: aload_1
    //   254: iconst_1
    //   255: invokeinterface 284 2 0
    //   260: new 130	org/eclipse/core/runtime/Path
    //   263: dup
    //   264: new 120	java/lang/StringBuilder
    //   267: dup
    //   268: ldc 3
    //   270: invokespecial 251	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   273: aload 6
    //   275: invokevirtual 262	org/eclipse/emf/codegen/jet/JETCompiler:getSkeleton	()Lorg/eclipse/emf/codegen/jet/JETSkeleton;
    //   278: invokevirtual 264	org/eclipse/emf/codegen/jet/JETSkeleton:getPackageName	()Ljava/lang/String;
    //   281: bipush 46
    //   283: bipush 47
    //   285: invokevirtual 248	java/lang/String:replace	(CC)Ljava/lang/String;
    //   288: invokevirtual 252	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   291: invokevirtual 250	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   294: invokespecial 255	org/eclipse/core/runtime/Path:<init>	(Ljava/lang/String;)V
    //   297: astore 9
    //   299: aload 9
    //   301: iconst_1
    //   302: aload 4
    //   304: new 131	org/eclipse/core/runtime/SubProgressMonitor
    //   307: dup
    //   308: aload_1
    //   309: iconst_1
    //   310: invokespecial 256	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
    //   313: invokestatic 275	org/eclipse/emf/codegen/util/CodeGenUtil$EclipseUtil:findOrCreateContainer	(Lorg/eclipse/core/runtime/IPath;ZLorg/eclipse/core/runtime/IPath;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/resources/IContainer;
    //   316: astore 10
    //   318: aload 10
    //   320: new 130	org/eclipse/core/runtime/Path
    //   323: dup
    //   324: new 120	java/lang/StringBuilder
    //   327: dup
    //   328: aload 6
    //   330: invokevirtual 262	org/eclipse/emf/codegen/jet/JETCompiler:getSkeleton	()Lorg/eclipse/emf/codegen/jet/JETSkeleton;
    //   333: invokevirtual 263	org/eclipse/emf/codegen/jet/JETSkeleton:getClassName	()Ljava/lang/String;
    //   336: invokestatic 249	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   339: invokespecial 251	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   342: ldc 2
    //   344: invokevirtual 252	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   347: invokevirtual 250	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   350: invokespecial 255	org/eclipse/core/runtime/Path:<init>	(Ljava/lang/String;)V
    //   353: invokeinterface 277 2 0
    //   358: astore 11
    //   360: aload_1
    //   361: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
    //   364: ldc 8
    //   366: iconst_1
    //   367: anewarray 118	java/lang/Object
    //   370: dup
    //   371: iconst_0
    //   372: aload 11
    //   374: invokeinterface 279 1 0
    //   379: aastore
    //   380: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   383: invokeinterface 285 2 0
    //   388: aload 11
    //   390: invokeinterface 278 1 0
    //   395: ifeq +119 -> 514
    //   398: aload 5
    //   400: ifnull +91 -> 491
    //   403: new 141	org/eclipse/emf/codegen/merge/java/JMerger
    //   406: dup
    //   407: aload 5
    //   409: invokespecial 269	org/eclipse/emf/codegen/merge/java/JMerger:<init>	(Lorg/eclipse/emf/codegen/merge/java/JControlModel;)V
    //   412: astore 12
    //   414: aload 12
    //   416: aload 12
    //   418: aload 7
    //   420: invokevirtual 239	java/io/ByteArrayOutputStream:toString	()Ljava/lang/String;
    //   423: invokevirtual 272	org/eclipse/emf/codegen/merge/java/JMerger:createCompilationUnitForContents	(Ljava/lang/String;)Lorg/eclipse/emf/codegen/merge/java/facade/JCompilationUnit;
    //   426: invokevirtual 270	org/eclipse/emf/codegen/merge/java/JMerger:setSourceCompilationUnit	(Lorg/eclipse/emf/codegen/merge/java/facade/JCompilationUnit;)V
    //   429: aload 12
    //   431: aload 12
    //   433: aload 4
    //   435: invokeinterface 282 1 0
    //   440: invokevirtual 273	org/eclipse/emf/codegen/merge/java/JMerger:createCompilationUnitForURI	(Ljava/lang/String;)Lorg/eclipse/emf/codegen/merge/java/facade/JCompilationUnit;
    //   443: invokevirtual 271	org/eclipse/emf/codegen/merge/java/JMerger:setTargetCompilationUnit	(Lorg/eclipse/emf/codegen/merge/java/facade/JCompilationUnit;)V
    //   446: aload 12
    //   448: invokevirtual 267	org/eclipse/emf/codegen/merge/java/JMerger:merge	()V
    //   451: new 114	java/io/ByteArrayInputStream
    //   454: dup
    //   455: aload 12
    //   457: invokevirtual 268	org/eclipse/emf/codegen/merge/java/JMerger:getTargetCompilationUnitContents	()Ljava/lang/String;
    //   460: invokevirtual 247	java/lang/String:getBytes	()[B
    //   463: invokespecial 236	java/io/ByteArrayInputStream:<init>	([B)V
    //   466: astore 13
    //   468: aload 11
    //   470: aload 13
    //   472: iconst_1
    //   473: iconst_1
    //   474: new 131	org/eclipse/core/runtime/SubProgressMonitor
    //   477: dup
    //   478: aload_1
    //   479: iconst_1
    //   480: invokespecial 256	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
    //   483: invokeinterface 281 5 0
    //   488: goto +106 -> 594
    //   491: aload 11
    //   493: aload 8
    //   495: iconst_1
    //   496: iconst_1
    //   497: new 131	org/eclipse/core/runtime/SubProgressMonitor
    //   500: dup
    //   501: aload_1
    //   502: iconst_1
    //   503: invokespecial 256	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
    //   506: invokeinterface 281 5 0
    //   511: goto +83 -> 594
    //   514: aload 11
    //   516: aload 8
    //   518: iconst_1
    //   519: new 131	org/eclipse/core/runtime/SubProgressMonitor
    //   522: dup
    //   523: aload_1
    //   524: iconst_1
    //   525: invokespecial 256	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
    //   528: invokeinterface 280 4 0
    //   533: goto +61 -> 594
    //   536: astore_2
    //   537: aload_2
    //   538: invokestatic 276	org/eclipse/emf/common/util/DiagnosticException:toCoreException	(Lorg/eclipse/emf/common/util/DiagnosticException;)Lorg/eclipse/core/runtime/CoreException;
    //   541: athrow
    //   542: astore_2
    //   543: getstatic 233	java/lang/System:err	Ljava/io/PrintStream;
    //   546: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
    //   549: ldc 4
    //   551: iconst_1
    //   552: anewarray 118	java/lang/Object
    //   555: dup
    //   556: iconst_0
    //   557: aload_0
    //   558: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
    //   561: iconst_0
    //   562: aaload
    //   563: aastore
    //   564: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   567: invokevirtual 245	java/io/PrintStream:println	(Ljava/lang/String;)V
    //   570: aload_2
    //   571: invokevirtual 253	java/net/MalformedURLException:printStackTrace	()V
    //   574: aload_1
    //   575: invokeinterface 283 1 0
    //   580: goto +20 -> 600
    //   583: astore 14
    //   585: aload_1
    //   586: invokeinterface 283 1 0
    //   591: aload 14
    //   593: athrow
    //   594: aload_1
    //   595: invokeinterface 283 1 0
    //   600: return
    // Line number table:
    //   Java source line #160	-> byte code offset #0
    //   Java source line #161	-> byte code offset #7
    //   Java source line #162	-> byte code offset #16
    //   Java source line #164	-> byte code offset #23
    //   Java source line #166	-> byte code offset #34
    //   Java source line #167	-> byte code offset #59
    //   Java source line #168	-> byte code offset #68
    //   Java source line #169	-> byte code offset #69
    //   Java source line #168	-> byte code offset #85
    //   Java source line #171	-> byte code offset #90
    //   Java source line #172	-> byte code offset #93
    //   Java source line #174	-> byte code offset #102
    //   Java source line #176	-> byte code offset #111
    //   Java source line #177	-> byte code offset #134
    //   Java source line #179	-> byte code offset #150
    //   Java source line #181	-> byte code offset #157
    //   Java source line #182	-> byte code offset #158
    //   Java source line #181	-> byte code offset #174
    //   Java source line #183	-> byte code offset #179
    //   Java source line #184	-> byte code offset #189
    //   Java source line #185	-> byte code offset #194
    //   Java source line #187	-> byte code offset #201
    //   Java source line #188	-> byte code offset #202
    //   Java source line #187	-> byte code offset #218
    //   Java source line #189	-> byte code offset #223
    //   Java source line #190	-> byte code offset #232
    //   Java source line #191	-> byte code offset #239
    //   Java source line #192	-> byte code offset #253
    //   Java source line #194	-> byte code offset #260
    //   Java source line #197	-> byte code offset #299
    //   Java source line #196	-> byte code offset #316
    //   Java source line #198	-> byte code offset #318
    //   Java source line #200	-> byte code offset #360
    //   Java source line #201	-> byte code offset #361
    //   Java source line #200	-> byte code offset #383
    //   Java source line #202	-> byte code offset #388
    //   Java source line #204	-> byte code offset #398
    //   Java source line #206	-> byte code offset #403
    //   Java source line #207	-> byte code offset #414
    //   Java source line #208	-> byte code offset #429
    //   Java source line #209	-> byte code offset #446
    //   Java source line #211	-> byte code offset #451
    //   Java source line #212	-> byte code offset #468
    //   Java source line #216	-> byte code offset #491
    //   Java source line #221	-> byte code offset #514
    //   Java source line #224	-> byte code offset #536
    //   Java source line #226	-> byte code offset #537
    //   Java source line #228	-> byte code offset #542
    //   Java source line #230	-> byte code offset #543
    //   Java source line #231	-> byte code offset #570
    //   Java source line #235	-> byte code offset #574
    //   Java source line #234	-> byte code offset #583
    //   Java source line #235	-> byte code offset #585
    //   Java source line #236	-> byte code offset #591
    //   Java source line #235	-> byte code offset #594
    //   Java source line #237	-> byte code offset #600
    // Local variable table:
    //   start	length	slot	name	signature
    //   0	601	0	this	1
    //   0	601	1	progressMonitor	org.eclipse.core.runtime.IProgressMonitor
    //   6	208	2	templateFile	String
    //   536	2	2	exception	org.eclipse.emf.codegen.jet.JETException
    //   542	29	2	exception	java.net.MalformedURLException
    //   15	9	3	file	java.io.File
    //   57	377	4	targetPath	org.eclipse.core.runtime.IPath
    //   91	317	5	jControlModel	org.eclipse.emf.codegen.merge.java.JControlModel
    //   132	5	6	facadeHelperClass	String
    //   187	142	6	jetCompiler	org.eclipse.emf.codegen.jet.JETCompiler
    //   230	189	7	outputStream	java.io.ByteArrayOutputStream
    //   251	266	8	contents	java.io.InputStream
    //   297	3	9	projectTargetPath	org.eclipse.core.runtime.IPath
    //   316	3	10	container	org.eclipse.core.resources.IContainer
    //   358	157	11	targetFile	org.eclipse.core.resources.IFile
    //   412	44	12	jMerger	org.eclipse.emf.codegen.merge.java.JMerger
    //   466	5	13	mergedContents	java.io.InputStream
    //   583	9	14	localObject	Object
    // Exception table:
    //   from	to	target	type
    //   0	533	536	org/eclipse/emf/codegen/jet/JETException
    //   0	533	542	java/net/MalformedURLException
    //   0	574	583	finally
  }
}

/* Location:
 * Qualified Name:     org.eclipse.emf.codegen.CodeGen.PlatformRunnable.1
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.emf.codegen;

import java.io.PrintStream;
import java.util.Map;
import org.eclipse.core.resources.IWorkspace;
import org.eclipse.core.resources.IWorkspaceRunnable;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.emf.codegen.util.CodeGenUtil.EclipseUtil.StreamProgressMonitor;
import org.eclipse.equinox.app.IApplication;
import org.eclipse.equinox.app.IApplicationContext;

public class CodeGen$PlatformRunnable
  implements IApplication, DeprecatedPlatformRunnable
{
  public Object run(Object object)
  {
    return runHelper(object);
  }
  
  public Object start(IApplicationContext context)
    throws Exception
  {
    String[] args = (String[])context.getArguments().get("application.args");
    return run(args == null ? new String[0] : args);
  }
  
  public void stop() {}
  
  public static Object runHelper(Object object)
  {
    try
    {
      String[] arguments = (String[])object;
      IWorkspace workspace = ResourcesPlugin.getWorkspace();
      IWorkspaceRunnable runnable = 
        new IWorkspaceRunnable()
        {
          /* Error */
          public void run(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
            throws org.eclipse.core.runtime.CoreException
          {
            // Byte code:
            //   0: aload_0
            //   1: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
            //   4: iconst_0
            //   5: aaload
            //   6: astore_2
            //   7: new 116	java/io/File
            //   10: dup
            //   11: aload_2
            //   12: invokespecial 243	java/io/File:<init>	(Ljava/lang/String;)V
            //   15: astore_3
            //   16: aload_3
            //   17: invokevirtual 240	java/io/File:exists	()Z
            //   20: ifeq +14 -> 34
            //   23: aload_3
            //   24: invokevirtual 241	java/io/File:getAbsoluteFile	()Ljava/io/File;
            //   27: invokevirtual 244	java/io/File:toURL	()Ljava/net/URL;
            //   30: invokevirtual 254	java/net/URL:toString	()Ljava/lang/String;
            //   33: astore_2
            //   34: new 130	org/eclipse/core/runtime/Path
            //   37: dup
            //   38: new 116	java/io/File
            //   41: dup
            //   42: aload_0
            //   43: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
            //   46: iconst_1
            //   47: aaload
            //   48: invokespecial 243	java/io/File:<init>	(Ljava/lang/String;)V
            //   51: invokevirtual 242	java/io/File:getAbsolutePath	()Ljava/lang/String;
            //   54: invokespecial 255	org/eclipse/core/runtime/Path:<init>	(Ljava/lang/String;)V
            //   57: astore 4
            //   59: aload_1
            //   60: ldc 1
            //   62: iconst_5
            //   63: invokeinterface 286 3 0
            //   68: aload_1
            //   69: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
            //   72: ldc 5
            //   74: iconst_1
            //   75: anewarray 118	java/lang/Object
            //   78: dup
            //   79: iconst_0
            //   80: aload_2
            //   81: aastore
            //   82: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            //   85: invokeinterface 285 2 0
            //   90: aconst_null
            //   91: astore 5
            //   93: aload_0
            //   94: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
            //   97: arraylength
            //   98: iconst_2
            //   99: if_icmple +51 -> 150
            //   102: new 140	org/eclipse/emf/codegen/merge/java/JControlModel
            //   105: dup
            //   106: invokespecial 265	org/eclipse/emf/codegen/merge/java/JControlModel:<init>	()V
            //   109: astore 5
            //   111: aload_0
            //   112: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
            //   115: arraylength
            //   116: iconst_3
            //   117: if_icmple +12 -> 129
            //   120: aload_0
            //   121: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
            //   124: iconst_3
            //   125: aaload
            //   126: goto +6 -> 132
            //   129: getstatic 235	org/eclipse/emf/codegen/merge/java/JMerger:DEFAULT_FACADE_HELPER_CLASS	Ljava/lang/String;
            //   132: astore 6
            //   134: aload 5
            //   136: aload 6
            //   138: invokestatic 274	org/eclipse/emf/codegen/util/CodeGenUtil:instantiateFacadeHelper	(Ljava/lang/String;)Lorg/eclipse/emf/codegen/merge/java/facade/FacadeHelper;
            //   141: aload_0
            //   142: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
            //   145: iconst_2
            //   146: aaload
            //   147: invokevirtual 266	org/eclipse/emf/codegen/merge/java/JControlModel:initialize	(Lorg/eclipse/emf/codegen/merge/java/facade/FacadeHelper;Ljava/lang/String;)V
            //   150: aload_1
            //   151: iconst_1
            //   152: invokeinterface 284 2 0
            //   157: aload_1
            //   158: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
            //   161: ldc 7
            //   163: iconst_1
            //   164: anewarray 118	java/lang/Object
            //   167: dup
            //   168: iconst_0
            //   169: aload_2
            //   170: aastore
            //   171: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            //   174: invokeinterface 285 2 0
            //   179: new 137	org/eclipse/emf/codegen/jet/JETCompiler
            //   182: dup
            //   183: aload_2
            //   184: invokespecial 261	org/eclipse/emf/codegen/jet/JETCompiler:<init>	(Ljava/lang/String;)V
            //   187: astore 6
            //   189: aload 6
            //   191: invokevirtual 259	org/eclipse/emf/codegen/jet/JETCompiler:parse	()V
            //   194: aload_1
            //   195: iconst_1
            //   196: invokeinterface 284 2 0
            //   201: aload_1
            //   202: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
            //   205: ldc 6
            //   207: iconst_1
            //   208: anewarray 118	java/lang/Object
            //   211: dup
            //   212: iconst_0
            //   213: aload_2
            //   214: aastore
            //   215: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            //   218: invokeinterface 285 2 0
            //   223: new 115	java/io/ByteArrayOutputStream
            //   226: dup
            //   227: invokespecial 237	java/io/ByteArrayOutputStream:<init>	()V
            //   230: astore 7
            //   232: aload 6
            //   234: aload 7
            //   236: invokevirtual 260	org/eclipse/emf/codegen/jet/JETCompiler:generate	(Ljava/io/OutputStream;)V
            //   239: new 114	java/io/ByteArrayInputStream
            //   242: dup
            //   243: aload 7
            //   245: invokevirtual 238	java/io/ByteArrayOutputStream:toByteArray	()[B
            //   248: invokespecial 236	java/io/ByteArrayInputStream:<init>	([B)V
            //   251: astore 8
            //   253: aload_1
            //   254: iconst_1
            //   255: invokeinterface 284 2 0
            //   260: new 130	org/eclipse/core/runtime/Path
            //   263: dup
            //   264: new 120	java/lang/StringBuilder
            //   267: dup
            //   268: ldc 3
            //   270: invokespecial 251	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
            //   273: aload 6
            //   275: invokevirtual 262	org/eclipse/emf/codegen/jet/JETCompiler:getSkeleton	()Lorg/eclipse/emf/codegen/jet/JETSkeleton;
            //   278: invokevirtual 264	org/eclipse/emf/codegen/jet/JETSkeleton:getPackageName	()Ljava/lang/String;
            //   281: bipush 46
            //   283: bipush 47
            //   285: invokevirtual 248	java/lang/String:replace	(CC)Ljava/lang/String;
            //   288: invokevirtual 252	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
            //   291: invokevirtual 250	java/lang/StringBuilder:toString	()Ljava/lang/String;
            //   294: invokespecial 255	org/eclipse/core/runtime/Path:<init>	(Ljava/lang/String;)V
            //   297: astore 9
            //   299: aload 9
            //   301: iconst_1
            //   302: aload 4
            //   304: new 131	org/eclipse/core/runtime/SubProgressMonitor
            //   307: dup
            //   308: aload_1
            //   309: iconst_1
            //   310: invokespecial 256	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
            //   313: invokestatic 275	org/eclipse/emf/codegen/util/CodeGenUtil$EclipseUtil:findOrCreateContainer	(Lorg/eclipse/core/runtime/IPath;ZLorg/eclipse/core/runtime/IPath;Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/resources/IContainer;
            //   316: astore 10
            //   318: aload 10
            //   320: new 130	org/eclipse/core/runtime/Path
            //   323: dup
            //   324: new 120	java/lang/StringBuilder
            //   327: dup
            //   328: aload 6
            //   330: invokevirtual 262	org/eclipse/emf/codegen/jet/JETCompiler:getSkeleton	()Lorg/eclipse/emf/codegen/jet/JETSkeleton;
            //   333: invokevirtual 263	org/eclipse/emf/codegen/jet/JETSkeleton:getClassName	()Ljava/lang/String;
            //   336: invokestatic 249	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
            //   339: invokespecial 251	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
            //   342: ldc 2
            //   344: invokevirtual 252	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
            //   347: invokevirtual 250	java/lang/StringBuilder:toString	()Ljava/lang/String;
            //   350: invokespecial 255	org/eclipse/core/runtime/Path:<init>	(Ljava/lang/String;)V
            //   353: invokeinterface 277 2 0
            //   358: astore 11
            //   360: aload_1
            //   361: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
            //   364: ldc 8
            //   366: iconst_1
            //   367: anewarray 118	java/lang/Object
            //   370: dup
            //   371: iconst_0
            //   372: aload 11
            //   374: invokeinterface 279 1 0
            //   379: aastore
            //   380: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            //   383: invokeinterface 285 2 0
            //   388: aload 11
            //   390: invokeinterface 278 1 0
            //   395: ifeq +119 -> 514
            //   398: aload 5
            //   400: ifnull +91 -> 491
            //   403: new 141	org/eclipse/emf/codegen/merge/java/JMerger
            //   406: dup
            //   407: aload 5
            //   409: invokespecial 269	org/eclipse/emf/codegen/merge/java/JMerger:<init>	(Lorg/eclipse/emf/codegen/merge/java/JControlModel;)V
            //   412: astore 12
            //   414: aload 12
            //   416: aload 12
            //   418: aload 7
            //   420: invokevirtual 239	java/io/ByteArrayOutputStream:toString	()Ljava/lang/String;
            //   423: invokevirtual 272	org/eclipse/emf/codegen/merge/java/JMerger:createCompilationUnitForContents	(Ljava/lang/String;)Lorg/eclipse/emf/codegen/merge/java/facade/JCompilationUnit;
            //   426: invokevirtual 270	org/eclipse/emf/codegen/merge/java/JMerger:setSourceCompilationUnit	(Lorg/eclipse/emf/codegen/merge/java/facade/JCompilationUnit;)V
            //   429: aload 12
            //   431: aload 12
            //   433: aload 4
            //   435: invokeinterface 282 1 0
            //   440: invokevirtual 273	org/eclipse/emf/codegen/merge/java/JMerger:createCompilationUnitForURI	(Ljava/lang/String;)Lorg/eclipse/emf/codegen/merge/java/facade/JCompilationUnit;
            //   443: invokevirtual 271	org/eclipse/emf/codegen/merge/java/JMerger:setTargetCompilationUnit	(Lorg/eclipse/emf/codegen/merge/java/facade/JCompilationUnit;)V
            //   446: aload 12
            //   448: invokevirtual 267	org/eclipse/emf/codegen/merge/java/JMerger:merge	()V
            //   451: new 114	java/io/ByteArrayInputStream
            //   454: dup
            //   455: aload 12
            //   457: invokevirtual 268	org/eclipse/emf/codegen/merge/java/JMerger:getTargetCompilationUnitContents	()Ljava/lang/String;
            //   460: invokevirtual 247	java/lang/String:getBytes	()[B
            //   463: invokespecial 236	java/io/ByteArrayInputStream:<init>	([B)V
            //   466: astore 13
            //   468: aload 11
            //   470: aload 13
            //   472: iconst_1
            //   473: iconst_1
            //   474: new 131	org/eclipse/core/runtime/SubProgressMonitor
            //   477: dup
            //   478: aload_1
            //   479: iconst_1
            //   480: invokespecial 256	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
            //   483: invokeinterface 281 5 0
            //   488: goto +106 -> 594
            //   491: aload 11
            //   493: aload 8
            //   495: iconst_1
            //   496: iconst_1
            //   497: new 131	org/eclipse/core/runtime/SubProgressMonitor
            //   500: dup
            //   501: aload_1
            //   502: iconst_1
            //   503: invokespecial 256	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
            //   506: invokeinterface 281 5 0
            //   511: goto +83 -> 594
            //   514: aload 11
            //   516: aload 8
            //   518: iconst_1
            //   519: new 131	org/eclipse/core/runtime/SubProgressMonitor
            //   522: dup
            //   523: aload_1
            //   524: iconst_1
            //   525: invokespecial 256	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
            //   528: invokeinterface 280 4 0
            //   533: goto +61 -> 594
            //   536: astore_2
            //   537: aload_2
            //   538: invokestatic 276	org/eclipse/emf/common/util/DiagnosticException:toCoreException	(Lorg/eclipse/emf/common/util/DiagnosticException;)Lorg/eclipse/core/runtime/CoreException;
            //   541: athrow
            //   542: astore_2
            //   543: getstatic 233	java/lang/System:err	Ljava/io/PrintStream;
            //   546: invokestatic 257	org/eclipse/emf/codegen/CodeGenPlugin:getPlugin	()Lorg/eclipse/emf/codegen/CodeGenPlugin$Implementation;
            //   549: ldc 4
            //   551: iconst_1
            //   552: anewarray 118	java/lang/Object
            //   555: dup
            //   556: iconst_0
            //   557: aload_0
            //   558: getfield 234	org/eclipse/emf/codegen/CodeGen$PlatformRunnable$1:val$arguments	[Ljava/lang/String;
            //   561: iconst_0
            //   562: aaload
            //   563: aastore
            //   564: invokevirtual 258	org/eclipse/emf/codegen/CodeGenPlugin$Implementation:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            //   567: invokevirtual 245	java/io/PrintStream:println	(Ljava/lang/String;)V
            //   570: aload_2
            //   571: invokevirtual 253	java/net/MalformedURLException:printStackTrace	()V
            //   574: aload_1
            //   575: invokeinterface 283 1 0
            //   580: goto +20 -> 600
            //   583: astore 14
            //   585: aload_1
            //   586: invokeinterface 283 1 0
            //   591: aload 14
            //   593: athrow
            //   594: aload_1
            //   595: invokeinterface 283 1 0
            //   600: return
            // Line number table:
            //   Java source line #160	-> byte code offset #0
            //   Java source line #161	-> byte code offset #7
            //   Java source line #162	-> byte code offset #16
            //   Java source line #164	-> byte code offset #23
            //   Java source line #166	-> byte code offset #34
            //   Java source line #167	-> byte code offset #59
            //   Java source line #168	-> byte code offset #68
            //   Java source line #169	-> byte code offset #69
            //   Java source line #168	-> byte code offset #85
            //   Java source line #171	-> byte code offset #90
            //   Java source line #172	-> byte code offset #93
            //   Java source line #174	-> byte code offset #102
            //   Java source line #176	-> byte code offset #111
            //   Java source line #177	-> byte code offset #134
            //   Java source line #179	-> byte code offset #150
            //   Java source line #181	-> byte code offset #157
            //   Java source line #182	-> byte code offset #158
            //   Java source line #181	-> byte code offset #174
            //   Java source line #183	-> byte code offset #179
            //   Java source line #184	-> byte code offset #189
            //   Java source line #185	-> byte code offset #194
            //   Java source line #187	-> byte code offset #201
            //   Java source line #188	-> byte code offset #202
            //   Java source line #187	-> byte code offset #218
            //   Java source line #189	-> byte code offset #223
            //   Java source line #190	-> byte code offset #232
            //   Java source line #191	-> byte code offset #239
            //   Java source line #192	-> byte code offset #253
            //   Java source line #194	-> byte code offset #260
            //   Java source line #197	-> byte code offset #299
            //   Java source line #196	-> byte code offset #316
            //   Java source line #198	-> byte code offset #318
            //   Java source line #200	-> byte code offset #360
            //   Java source line #201	-> byte code offset #361
            //   Java source line #200	-> byte code offset #383
            //   Java source line #202	-> byte code offset #388
            //   Java source line #204	-> byte code offset #398
            //   Java source line #206	-> byte code offset #403
            //   Java source line #207	-> byte code offset #414
            //   Java source line #208	-> byte code offset #429
            //   Java source line #209	-> byte code offset #446
            //   Java source line #211	-> byte code offset #451
            //   Java source line #212	-> byte code offset #468
            //   Java source line #216	-> byte code offset #491
            //   Java source line #221	-> byte code offset #514
            //   Java source line #224	-> byte code offset #536
            //   Java source line #226	-> byte code offset #537
            //   Java source line #228	-> byte code offset #542
            //   Java source line #230	-> byte code offset #543
            //   Java source line #231	-> byte code offset #570
            //   Java source line #235	-> byte code offset #574
            //   Java source line #234	-> byte code offset #583
            //   Java source line #235	-> byte code offset #585
            //   Java source line #236	-> byte code offset #591
            //   Java source line #235	-> byte code offset #594
            //   Java source line #237	-> byte code offset #600
            // Local variable table:
            //   start	length	slot	name	signature
            //   0	601	0	this	1
            //   0	601	1	progressMonitor	org.eclipse.core.runtime.IProgressMonitor
            //   6	208	2	templateFile	String
            //   536	2	2	exception	org.eclipse.emf.codegen.jet.JETException
            //   542	29	2	exception	java.net.MalformedURLException
            //   15	9	3	file	java.io.File
            //   57	377	4	targetPath	org.eclipse.core.runtime.IPath
            //   91	317	5	jControlModel	org.eclipse.emf.codegen.merge.java.JControlModel
            //   132	5	6	facadeHelperClass	String
            //   187	142	6	jetCompiler	org.eclipse.emf.codegen.jet.JETCompiler
            //   230	189	7	outputStream	java.io.ByteArrayOutputStream
            //   251	266	8	contents	java.io.InputStream
            //   297	3	9	projectTargetPath	org.eclipse.core.runtime.IPath
            //   316	3	10	container	org.eclipse.core.resources.IContainer
            //   358	157	11	targetFile	org.eclipse.core.resources.IFile
            //   412	44	12	jMerger	org.eclipse.emf.codegen.merge.java.JMerger
            //   466	5	13	mergedContents	java.io.InputStream
            // 
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Further reading...

For more information on Java 1.5 Tiger, you may find Java 1.5 Tiger, A developer's Notebook by D. Flanagan and B. McLaughlin from O'Reilly of interest.

New!JAR listings


Copyright 2006-2017. Infinite Loop Ltd