org.eclipse.emf.codegen.ecore_2.7.0.v20120130-0943

16:43:22.868 INFO  jd.cli.Main - Decompiling org.eclipse.emf.codegen.ecore_2.7.0.v20120130-0943.jar
package org.eclipse.emf.codegen.ecore;

import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory.Descriptor;
import org.eclipse.emf.ecore.plugin.RegistryReader.PluginClassDescriptor;

class CodeGenEcorePlugin$GeneratorAdaptersRegistryReader$Descriptor
  extends RegistryReader.PluginClassDescriptor
  implements GeneratorAdapterFactory.Descriptor
{
  public CodeGenEcorePlugin$GeneratorAdaptersRegistryReader$Descriptor(IConfigurationElement element)
  {
    super(element, "class");
  }
  
  public GeneratorAdapterFactory createAdapterFactory()
  {
    return (GeneratorAdapterFactory)createInstance();
  }
}

/* Location:
 * Qualified Name:     org.eclipse.emf.codegen.ecore.CodeGenEcorePlugin.GeneratorAdaptersRegistryReader.Descriptor
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.emf.codegen.ecore;

import org.eclipse.emf.codegen.ecore.generator.AbstractGeneratorAdapterFactory;
import org.eclipse.emf.codegen.ecore.generator.Generator;
import org.eclipse.emf.codegen.ecore.generator.Generator.Options;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapter;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EPackage.Registry;
import org.eclipse.emf.ecore.resource.ResourceSet;

class CodeGenEcorePlugin$GeneratorAdaptersRegistryReader$GenericDescriptor$AdapterFactory
  extends AbstractGeneratorAdapterFactory
{
  protected GeneratorAdapter adapter;
  
  CodeGenEcorePlugin$GeneratorAdaptersRegistryReader$GenericDescriptor$AdapterFactory(CodeGenEcorePlugin.GeneratorAdaptersRegistryReader.GenericDescriptor paramGenericDescriptor) {}
  
  protected Adapter createAdapter(Notifier target)
  {
    ResourceSet resourceSet = getGeneratorgetOptionsresourceSet;
    EPackage.Registry packageRegistry = resourceSet != null ? resourceSet.getPackageRegistry() : EPackage.Registry.INSTANCE;
    EPackage ePackage = packageRegistry.getEPackage(CodeGenEcorePlugin.GeneratorAdaptersRegistryReader.GenericDescriptor.access$0(this$2));
    if (ePackage != null)
    {
      EClassifier eClassifier = ePackage.getEClassifier(CodeGenEcorePlugin.GeneratorAdaptersRegistryReader.GenericDescriptor.access$1(this$2));
      if (eClassifier.isInstance(target))
      {
        adapter = ((GeneratorAdapter)this$2.createInstance());
        return (Adapter)this$2.createInstance();
      }
    }
    return null;
  }
  
  protected GeneratorAdapter createAdapter(Object object)
  {
    try
    {
      if (Class.forName(CodeGenEcorePlugin.GeneratorAdaptersRegistryReader.GenericDescriptor.access$0(this$2) + "." + CodeGenEcorePlugin.GeneratorAdaptersRegistryReader.GenericDescriptor.access$1(this$2)).isInstance(object))
      {
        adapter = ((GeneratorAdapter)this$2.createInstance());
        return adapter;
      }
    }
    catch (ClassNotFoundException localClassNotFoundException) {}
    return null;
  }
  
  public void dispose()
  {
    if (adapter != null) {
      adapter.dispose();
    }
  }
}

/* Location:
 * Qualified Name:     org.eclipse.emf.codegen.ecore.CodeGenEcorePlugin.GeneratorAdaptersRegistryReader.GenericDescriptor.AdapterFactory
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.emf.codegen.ecore;

import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.emf.codegen.ecore.generator.AbstractGeneratorAdapterFactory;
import org.eclipse.emf.codegen.ecore.generator.Generator;
import org.eclipse.emf.codegen.ecore.generator.Generator.Options;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapter;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory.Descriptor;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EPackage.Registry;
import org.eclipse.emf.ecore.plugin.RegistryReader.PluginClassDescriptor;
import org.eclipse.emf.ecore.resource.ResourceSet;

class CodeGenEcorePlugin$GeneratorAdaptersRegistryReader$GenericDescriptor
  extends RegistryReader.PluginClassDescriptor
  implements GeneratorAdapterFactory.Descriptor
{
  private String modelPackage;
  private String modelClass;
  
  class AdapterFactory
    extends AbstractGeneratorAdapterFactory
  {
    protected GeneratorAdapter adapter;
    
    AdapterFactory() {}
    
    protected Adapter createAdapter(Notifier target)
    {
      ResourceSet resourceSet = getGeneratorgetOptionsresourceSet;
      EPackage.Registry packageRegistry = resourceSet != null ? resourceSet.getPackageRegistry() : EPackage.Registry.INSTANCE;
      EPackage ePackage = packageRegistry.getEPackage(modelPackage);
      if (ePackage != null)
      {
        EClassifier eClassifier = ePackage.getEClassifier(modelClass);
        if (eClassifier.isInstance(target))
        {
          adapter = ((GeneratorAdapter)createInstance());
          return (Adapter)createInstance();
        }
      }
      return null;
    }
    
    protected GeneratorAdapter createAdapter(Object object)
    {
      try
      {
        if (Class.forName(modelPackage + "." + modelClass).isInstance(object))
        {
          adapter = ((GeneratorAdapter)createInstance());
          return adapter;
        }
      }
      catch (ClassNotFoundException localClassNotFoundException) {}
      return null;
    }
    
    public void dispose()
    {
      if (adapter != null) {
        adapter.dispose();
      }
    }
  }
  
  public CodeGenEcorePlugin$GeneratorAdaptersRegistryReader$GenericDescriptor(String modelPackage, String modelClass, IConfigurationElement element)
  {
    super(element, "class");
    this.modelPackage = modelPackage;
    this.modelClass = modelClass;
  }
  
  public GeneratorAdapterFactory createAdapterFactory()
  {
    return new AdapterFactory();
  }
}

/* Location:
 * Qualified Name:     org.eclipse.emf.codegen.ecore.CodeGenEcorePlugin.GeneratorAdaptersRegistryReader.GenericDescriptor
 * Java Class Version: 5 (49.0)
 * JD-Core Version:    0.7.1
 */
package org.eclipse.emf.codegen.ecore;

import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
import org.eclipse.emf.codegen.ecore.generator.AbstractGeneratorAdapterFactory;
import org.eclipse.emf.codegen.ecore.generator.Generator;
import org.eclipse.emf.codegen.ecore.generator.Generator.Options;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapter;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory.Descriptor;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory.Descriptor.Registry;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EPackage.Registry;
import org.eclipse.emf.ecore.plugin.RegistryReader;
import org.eclipse.emf.ecore.plugin.RegistryReader.PluginClassDescriptor;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.osgi.framework.Bundle;

class CodeGenEcorePlugin$GeneratorAdaptersRegistryReader
  extends RegistryReader
{
  static final String EXTENSION_POINT_ID = "generatorAdapters";
  static final String ADAPTER_FACTORY_ELEMENT = "adapterFactory";
  static final String ADAPTER_ELEMENT = "adapter";
  static final String MODEL_PACKAGE_ATTRIBUTE = "modelPackage";
  static final String MODEL_CLASS_ATTRIBUTE = "modelClass";
  static final String CLASS_ATTRIBUTE = "class";
  
  public CodeGenEcorePlugin$GeneratorAdaptersRegistryReader()
  {
    super(Platform.getExtensionRegistry(), CodeGenEcorePlugin.getPlugin().getBundle().getSymbolicName(), "generatorAdapters");
  }
  
  protected boolean readElement(IConfigurationElement element)
  {
    String name = element.getName();
    if ("adapterFactory".equals(name))
    {
      String modelPackage = element.getAttribute("modelPackage");
      if (modelPackage == null) {
        modelPackage = "http://www.eclipse.org/emf/2002/GenModel";
      }
      if (element.getAttribute("class") == null)
      {
        logMissingAttribute(element, "class");
      }
      else
      {
        GeneratorAdapterFactory.Descriptor.Registry.INSTANCE.addDescriptor(modelPackage, new Descriptor(element));
        return true;
      }
    }
    if ("adapter".equals(name))
    {
      String modelPackage = element.getAttribute("modelPackage");
      String modelClass = element.getAttribute("modelClass");
      if (modelPackage == null) {
        modelPackage = "http://www.eclipse.org/emf/2002/GenModel";
      }
      if (modelClass == null)
      {
        logMissingAttribute(element, "modelClass");
      }
      else if (element.getAttribute("class") == null)
      {
        logMissingAttribute(element, "class");
      }
      else
      {
        GeneratorAdapterFactory.Descriptor.Registry.INSTANCE.addDescriptor(
          modelPackage, new GenericDescriptor(modelPackage, modelClass, element));
        return true;
      }
    }
    return false;
  }
  
  static class Descriptor
    extends RegistryReader.PluginClassDescriptor
    implements GeneratorAdapterFactory.Descriptor
  {
    public Descriptor(IConfigurationElement element)
    {
      super("class");
    }
    
    public GeneratorAdapterFactory createAdapterFactory()
    {
      return (GeneratorAdapterFactory)createInstance();
    }
  }
  
  static class GenericDescriptor
    extends RegistryReader.PluginClassDescriptor
    implements GeneratorAdapterFactory.Descriptor
  {
    private String modelPackage;
    private String modelClass;
    
    class AdapterFactory
      extends AbstractGeneratorAdapterFactory
    {
      protected GeneratorAdapter adapter;
      
      AdapterFactory() {}
      
      protected Adapter createAdapter(Notifier target)
      {
        ResourceSet resourceSet = getGeneratorgetOptionsresourceSet;
        EPackage.Registry packageRegistry = resourceSet != null ? resourceSet.getPackageRegistry() : EPackage.Registry.INSTANCE;
        EPackage ePackage = packageRegistry.getEPackage(modelPackage);
        if (ePackage != null)
        {
          EClassifier eClassifier = ePackage.getEClassifier(modelClass);
          if (eClassifier.isInstance(target))
          {
            adapter = ((GeneratorAdapter)createInstance());
            return (Adapter)createInstance();
          }
        }
        return null;
      }
      
      protected GeneratorAdapter createAdapter(Object object)
      {
        try
        {
          if (Class.forName(modelPackage + "." + modelClass).isInstance(object))
          {
            adapter = ((GeneratorAdapter)createInstance());
            return adapter;
          }
        }
        catch (ClassNotFoundException localClassNotFoundException) {}
        return null;
      }
      
      public void dispose()
      {
        if (adapter != null) {
          adapter.dispose();
        }
      }
    }
    
    public GenericDescriptor(String modelPackage, String modelClass, IConfigurationElement element)
    {
      super("class");
      this.modelPackage = modelPackage;
      this.modelClass = modelClass;
    }
    
    public GeneratorAdapterFactory createAdapterFactory()
    {
      return new AdapterFactory();
    }
  }
}

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

import org.eclipse.emf.common.EMFPlugin.EclipsePlugin;
import org.osgi.framework.BundleContext;

public class CodeGenEcorePlugin$Implementation
  extends EMFPlugin.EclipsePlugin
{
  public CodeGenEcorePlugin$Implementation()
  {
    CodeGenEcorePlugin.access$0(this);
  }
  
  public void start(BundleContext context)
    throws Exception
  {
    super.start(context);
    
    new CodeGenEcorePlugin.GeneratorAdaptersRegistryReader().readRegistry();
  }
}

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

import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
import org.eclipse.emf.codegen.ecore.generator.AbstractGeneratorAdapterFactory;
import org.eclipse.emf.codegen.ecore.generator.Generator;
import org.eclipse.emf.codegen.ecore.generator.Generator.Options;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapter;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory.Descriptor;
import org.eclipse.emf.codegen.ecore.generator.GeneratorAdapterFactory.Descriptor.Registry;
import org.eclipse.emf.common.EMFPlugin;
import org.eclipse.emf.common.EMFPlugin.EclipsePlugin;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EPackage.Registry;
import org.eclipse.emf.ecore.plugin.RegistryReader;
import org.eclipse.emf.ecore.plugin.RegistryReader.PluginClassDescriptor;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;

public final class CodeGenEcorePlugin
  extends EMFPlugin
{
  public static final CodeGenEcorePlugin INSTANCE = new CodeGenEcorePlugin();
  private static Implementation plugin;
  public static final String ID = "org.eclipse.emf.codegen.ecore";
  
  private CodeGenEcorePlugin()
  {
    super(new ResourceLocator[0]);
  }
  
  public ResourceLocator getPluginResourceLocator()
  {
    return plugin;
  }
  
  public static Implementation getPlugin()
  {
    return plugin;
  }
  
  public static class Implementation
    extends EMFPlugin.EclipsePlugin
  {
    public Implementation()
    {
      CodeGenEcorePlugin.plugin = this;
    }
    
    public void start(BundleContext context)
      throws Exception
    {
      super.start(context);
      
      new CodeGenEcorePlugin.GeneratorAdaptersRegistryReader().readRegistry();
    }
  }
  
  static class GeneratorAdaptersRegistryReader
    extends RegistryReader
  {
    static final String EXTENSION_POINT_ID = "generatorAdapters";
    static final String ADAPTER_FACTORY_ELEMENT = "adapterFactory";
    static final String ADAPTER_ELEMENT = "adapter";
    static final String MODEL_PACKAGE_ATTRIBUTE = "modelPackage";
    static final String MODEL_CLASS_ATTRIBUTE = "modelClass";
    static final String CLASS_ATTRIBUTE = "class";
    
    public GeneratorAdaptersRegistryReader()
    {
      super(CodeGenEcorePlugin.getPlugin().getBundle().getSymbolicName(), "generatorAdapters");
    }
    
    protected boolean readElement(IConfigurationElement element)
    {
      String name = element.getName();
      if ("adapterFactory".equals(name))
      {
        String modelPackage = element.getAttribute("modelPackage");
        if (modelPackage == null) {
          modelPackage = "http://www.eclipse.org/emf/2002/GenModel";
        }
        if (element.getAttribute("class") == null)
        {
          logMissingAttribute(element, "class");
        }
        else
        {
          GeneratorAdapterFactory.Descriptor.Registry.INSTANCE.addDescriptor(modelPackage, new Descriptor(element));
          return true;
        }
      }
      if ("adapter".equals(name))
      {
        String modelPackage = element.getAttribute("modelPackage");
        String modelClass = element.getAttribute("modelClass");
        if (modelPackage == null) {
          modelPackage = "http://www.eclipse.org/emf/2002/GenModel";
        }
        if (modelClass == null)
        {
          logMissingAttribute(element, "modelClass");
        }
        else if (element.getAttribute("class") == null)
        {
          logMissingAttribute(element, "class");
        }
        else
        {
          GeneratorAdapterFactory.Descriptor.Registry.INSTANCE.addDescriptor(
            modelPackage, new GenericDescriptor(modelPackage, modelClass, element));
          return true;
        }
      }
      return false;
    }
    
    static class Descriptor
      extends RegistryReader.PluginClassDescriptor
      implements GeneratorAdapterFactory.Descriptor
    {
      public Descriptor(IConfigurationElement element)
      {
        super("class");
      }
      
      public GeneratorAdapterFactory createAdapterFactory()
      {
        return (GeneratorAdapterFactory)createInstance();
      }
    }
    
    static class GenericDescriptor
      extends RegistryReader.PluginClassDescriptor
      implements GeneratorAdapterFactory.Descriptor
    {
      private String modelPackage;
      private String modelClass;
      
      class AdapterFactory
        extends AbstractGeneratorAdapterFactory
      {
        protected GeneratorAdapter adapter;
        
        AdapterFactory() {}
        
        protected Adapter createAdapter(Notifier target)
        {
          ResourceSet resourceSet = getGeneratorgetOptionsresourceSet;
          EPackage.Registry packageRegistry = resourceSet != null ? resourceSet.getPackageRegistry() : EPackage.Registry.INSTANCE;
          EPackage ePackage = packageRegistry.getEPackage(modelPackage);
          if (ePackage != null)
          {
            EClassifier eClassifier = ePackage.getEClassifier(modelClass);
            if (eClassifier.isInstance(target))
            {
              adapter = ((GeneratorAdapter)createInstance());
              return (Adapter)createInstance();
            }
          }
          return null;
        }
        
        protected GeneratorAdapter createAdapter(Object object)
        {
          try
          {
            if (Class.forName(modelPackage + "." + modelClass).isInstance(object))
            {
              adapter = ((GeneratorAdapter)createInstance());
              return adapter;
            }
          }
          catch (ClassNotFoundException localClassNotFoundException) {}
          return null;
        }
        
        public void dispose()
        {
          if (adapter != null) {
            adapter.dispose();
          }
        }
      }
      
      public GenericDescriptor(String modelPackage, String modelClass, IConfigurationElement element)
      {
        super("class");
        this.modelPackage = modelPackage;
        this.modelClass = modelClass;
      }
      
      public GeneratorAdapterFactory createAdapterFactory()
      {
        return new AdapterFactory();
      }
    }
  }
}

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

import org.eclipse.core.runtime.IPlatformRunnable;

abstract interface DeprecatedPlatformRunnable
  extends IPlatformRunnable
{}

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

import java.util.HashMap;
import java.util.Map;
import org.xml.sax.Attributes;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.DefaultHandler;
import org.xml.sax.helpers.XMLReaderFactory;

class Generator$CodeFormatterProfileParser
  extends DefaultHandler
{
  private Map<String, String> options = null;
  private String SETTING = "setting";
  private String ID = "id";
  private String VALUE = "value";
  private String EMPTY = "";
  
  public void startDocument()
  {
    options = new HashMap();
  }
  
  public void startElement(String namespaceURI, String localName, String qualifiedName, Attributes atts)
  {
    if ((EMPTY.equals(namespaceURI)) && (SETTING.equals(localName)))
    {
      String id = atts.getValue(EMPTY, ID);
      String value = atts.getValue(EMPTY, VALUE);
      if ((id != null) && (value != null)) {
        options.put(id, value);
      }
    }
  }
  
  public Map<String, String> getOptions()
  {
    return options;
  }
  
  public static Map<String, String> parse(String systemID)
  {
    try
    {
      XMLReader parser = XMLReaderFactory.createXMLReader();
      CodeFormatterProfileParser handler = new CodeFormatterProfileParser();
      parser.setContentHandler(handler);
      parser.parse(systemID);
      return handler.getOptions();
    }
    catch (Exception localException) {}
    return null;
  }
}

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

import java.util.List;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
import org.eclipse.emf.codegen.util.CodeGenUtil;
import org.eclipse.emf.codegen.util.CodeGenUtil.EclipseUtil;
import org.eclipse.emf.common.util.BasicMonitor;
import org.eclipse.emf.common.util.Monitor;
import org.eclipse.emf.common.util.URI;

class Generator$EclipseHelper
{
  public static IProject createEMFProject(IPath javaSource, IPath projectLocationPath, List<IProject> referencedProjects, Monitor monitor, int style, List<?> pluginVariables)
  {
    return createEMFProject(javaSource, projectLocationPath == null ? null : URI.createFileURI(projectLocationPath.toOSString()), referencedProjects, monitor, style, pluginVariables);
  }
  
  /* Error */
  public static IProject createEMFProject(IPath javaSource, URI projectLocationURI, List<IProject> referencedProjects, Monitor monitor, int style, List<?> pluginVariables)
  {
    // Byte code:
    //   0: aload_3
    //   1: invokestatic 554	org/eclipse/emf/common/util/BasicMonitor:toIProgressMonitor	(Lorg/eclipse/emf/common/util/Monitor;)Lorg/eclipse/core/runtime/IProgressMonitor;
    //   4: astore 6
    //   6: aload_0
    //   7: iconst_0
    //   8: invokeinterface 601 2 0
    //   13: astore 7
    //   15: aconst_null
    //   16: astore 8
    //   18: new 327	org/eclipse/emf/common/util/UniqueEList
    //   21: dup
    //   22: invokespecial 558	org/eclipse/emf/common/util/UniqueEList:<init>	()V
    //   25: astore 9
    //   27: aload 6
    //   29: ldc 1
    //   31: bipush 10
    //   33: invokeinterface 609 3 0
    //   38: aload 6
    //   40: getstatic 512	org/eclipse/emf/codegen/ecore/CodeGenEcorePlugin:INSTANCE	Lorg/eclipse/emf/codegen/ecore/CodeGenEcorePlugin;
    //   43: ldc 4
    //   45: iconst_2
    //   46: anewarray 299	java/lang/Object
    //   49: dup
    //   50: iconst_0
    //   51: aload 7
    //   53: aastore
    //   54: dup
    //   55: iconst_1
    //   56: aload_1
    //   57: ifnull +10 -> 67
    //   60: aload_1
    //   61: invokevirtual 555	org/eclipse/emf/common/util/URI:toString	()Ljava/lang/String;
    //   64: goto +5 -> 69
    //   67: aload 7
    //   69: aastore
    //   70: invokevirtual 548	org/eclipse/emf/codegen/ecore/CodeGenEcorePlugin:getString	(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
    //   73: invokeinterface 608 2 0
    //   78: invokestatic 543	org/eclipse/core/resources/ResourcesPlugin:getWorkspace	()Lorg/eclipse/core/resources/IWorkspace;
    //   81: astore 10
    //   83: aload 10
    //   85: invokeinterface 593 1 0
    //   90: aload 7
    //   92: invokeinterface 596 2 0
    //   97: astore 8
    //   99: aload 8
    //   101: invokeinterface 578 1 0
    //   106: ifne +107 -> 213
    //   109: aload_1
    //   110: astore 11
    //   112: aload 11
    //   114: ifnonnull +32 -> 146
    //   117: aload 10
    //   119: invokeinterface 593 1 0
    //   124: invokeinterface 595 1 0
    //   129: aload 7
    //   131: invokeinterface 606 2 0
    //   136: invokeinterface 599 1 0
    //   141: invokestatic 557	org/eclipse/emf/common/util/URI:createFileURI	(Ljava/lang/String;)Lorg/eclipse/emf/common/util/URI;
    //   144: astore 11
    //   146: aload 11
    //   148: ldc 3
    //   150: invokevirtual 556	org/eclipse/emf/common/util/URI:appendSegment	(Ljava/lang/String;)Lorg/eclipse/emf/common/util/URI;
    //   153: astore 11
    //   155: new 297	java/io/File
    //   158: dup
    //   159: aload 11
    //   161: invokevirtual 555	org/eclipse/emf/common/util/URI:toString	()Ljava/lang/String;
    //   164: invokespecial 524	java/io/File:<init>	(Ljava/lang/String;)V
    //   167: astore 12
    //   169: aload 12
    //   171: invokevirtual 522	java/io/File:exists	()Z
    //   174: ifeq +39 -> 213
    //   177: aload 12
    //   179: new 297	java/io/File
    //   182: dup
    //   183: new 301	java/lang/StringBuilder
    //   186: dup
    //   187: aload 11
    //   189: invokevirtual 555	org/eclipse/emf/common/util/URI:toString	()Ljava/lang/String;
    //   192: invokestatic 536	java/lang/String:valueOf	(Ljava/lang/Object;)Ljava/lang/String;
    //   195: invokespecial 538	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   198: ldc 2
    //   200: invokevirtual 539	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   203: invokevirtual 537	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   206: invokespecial 524	java/io/File:<init>	(Ljava/lang/String;)V
    //   209: invokevirtual 523	java/io/File:renameTo	(Ljava/io/File;)Z
    //   212: pop
    //   213: aload 8
    //   215: invokestatic 562	org/eclipse/jdt/core/JavaCore:create	(Lorg/eclipse/core/resources/IProject;)Lorg/eclipse/jdt/core/IJavaProject;
    //   218: astore 11
    //   220: aconst_null
    //   221: astore 12
    //   223: aload 8
    //   225: invokeinterface 578 1 0
    //   230: ifne +76 -> 306
    //   233: invokestatic 543	org/eclipse/core/resources/ResourcesPlugin:getWorkspace	()Lorg/eclipse/core/resources/IWorkspace;
    //   236: aload 7
    //   238: invokeinterface 594 2 0
    //   243: astore 12
    //   245: aload_1
    //   246: ifnull +21 -> 267
    //   249: aload 12
    //   251: new 303	java/net/URI
    //   254: dup
    //   255: aload_1
    //   256: invokevirtual 555	org/eclipse/emf/common/util/URI:toString	()Ljava/lang/String;
    //   259: invokespecial 541	java/net/URI:<init>	(Ljava/lang/String;)V
    //   262: invokeinterface 588 2 0
    //   267: aload 8
    //   269: aload 12
    //   271: new 319	org/eclipse/core/runtime/SubProgressMonitor
    //   274: dup
    //   275: aload 6
    //   277: iconst_1
    //   278: invokespecial 546	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
    //   281: invokeinterface 584 3 0
    //   286: aload 8
    //   288: new 319	org/eclipse/core/runtime/SubProgressMonitor
    //   291: dup
    //   292: aload 6
    //   294: iconst_1
    //   295: invokespecial 546	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
    //   298: invokeinterface 582 2 0
    //   303: goto +59 -> 362
    //   306: aload 8
    //   308: invokeinterface 580 1 0
    //   313: astore 12
    //   315: aload 8
    //   317: new 319	org/eclipse/core/runtime/SubProgressMonitor
    //   320: dup
    //   321: aload 6
    //   323: iconst_1
    //   324: invokespecial 546	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
    //   327: invokeinterface 582 2 0
    //   332: aload 8
    //   334: ldc 5
    //   336: invokeinterface 579 2 0
    //   341: ifeq +21 -> 362
    //   344: aload 9
    //   346: aload 11
    //   348: invokeinterface 612 1 0
    //   353: invokestatic 542	java/util/Arrays:asList	([Ljava/lang/Object;)Ljava/util/List;
    //   356: invokeinterface 571 2 0
    //   361: pop
    //   362: aload 9
    //   364: invokeinterface 568 1 0
    //   369: istore 13
    //   371: aload_2
    //   372: invokeinterface 567 1 0
    //   377: ifeq +96 -> 473
    //   380: iload 4
    //   382: getstatic 518	org/eclipse/emf/codegen/ecore/Generator:EMF_PLUGIN_PROJECT_STYLE	I
    //   385: getstatic 515	org/eclipse/emf/codegen/ecore/Generator:EMF_EMPTY_PROJECT_STYLE	I
    //   388: ior
    //   389: iand
    //   390: ifne +83 -> 473
    //   393: aload 12
    //   395: aload_2
    //   396: aload_2
    //   397: invokeinterface 567 1 0
    //   402: anewarray 310	org/eclipse/core/resources/IProject
    //   405: invokeinterface 573 2 0
    //   410: checkcast 295	[Lorg/eclipse/core/resources/IProject;
    //   413: invokeinterface 592 2 0
    //   418: aload_2
    //   419: invokeinterface 572 1 0
    //   424: astore 15
    //   426: goto +37 -> 463
    //   429: aload 15
    //   431: invokeinterface 566 1 0
    //   436: checkcast 310	org/eclipse/core/resources/IProject
    //   439: astore 14
    //   441: aload 14
    //   443: invokeinterface 581 1 0
    //   448: invokestatic 560	org/eclipse/jdt/core/JavaCore:newProjectEntry	(Lorg/eclipse/core/runtime/IPath;)Lorg/eclipse/jdt/core/IClasspathEntry;
    //   451: astore 16
    //   453: aload 9
    //   455: aload 16
    //   457: invokeinterface 570 2 0
    //   462: pop
    //   463: aload 15
    //   465: invokeinterface 565 1 0
    //   470: ifne -41 -> 429
    //   473: aload 12
    //   475: invokeinterface 586 1 0
    //   480: astore 14
    //   482: aload 14
    //   484: ifnonnull +95 -> 579
    //   487: iload 4
    //   489: getstatic 516	org/eclipse/emf/codegen/ecore/Generator:EMF_GWT_PROJECT_STYLE	I
    //   492: iand
    //   493: ifne +21 -> 514
    //   496: iconst_2
    //   497: anewarray 300	java/lang/String
    //   500: dup
    //   501: iconst_0
    //   502: ldc 5
    //   504: aastore
    //   505: dup
    //   506: iconst_1
    //   507: ldc_w 287
    //   510: aastore
    //   511: goto +63 -> 574
    //   514: iload 4
    //   516: getstatic 513	org/eclipse/emf/codegen/ecore/Generator:EMF_EDITOR_PROJECT_STYLE	I
    //   519: iand
    //   520: ifne +27 -> 547
    //   523: iconst_3
    //   524: anewarray 300	java/lang/String
    //   527: dup
    //   528: iconst_0
    //   529: ldc 5
    //   531: aastore
    //   532: dup
    //   533: iconst_1
    //   534: ldc_w 287
    //   537: aastore
    //   538: dup
    //   539: iconst_2
    //   540: ldc_w 276
    //   543: aastore
    //   544: goto +30 -> 574
    //   547: iconst_4
    //   548: anewarray 300	java/lang/String
    //   551: dup
    //   552: iconst_0
    //   553: ldc 5
    //   555: aastore
    //   556: dup
    //   557: iconst_1
    //   558: ldc_w 287
    //   561: aastore
    //   562: dup
    //   563: iconst_2
    //   564: ldc_w 276
    //   567: aastore
    //   568: dup
    //   569: iconst_3
    //   570: ldc_w 274
    //   573: aastore
    //   574: astore 14
    //   576: goto +220 -> 796
    //   579: aload 8
    //   581: ldc 5
    //   583: invokeinterface 579 2 0
    //   588: ifne +37 -> 625
    //   591: aload 14
    //   593: astore 15
    //   595: aload 15
    //   597: arraylength
    //   598: iconst_1
    //   599: iadd
    //   600: anewarray 300	java/lang/String
    //   603: astore 14
    //   605: aload 15
    //   607: iconst_0
    //   608: aload 14
    //   610: iconst_0
    //   611: aload 15
    //   613: arraylength
    //   614: invokestatic 540	java/lang/System:arraycopy	(Ljava/lang/Object;ILjava/lang/Object;II)V
    //   617: aload 14
    //   619: aload 15
    //   621: arraylength
    //   622: ldc 5
    //   624: aastore
    //   625: aload 8
    //   627: ldc_w 287
    //   630: invokeinterface 579 2 0
    //   635: ifne +38 -> 673
    //   638: aload 14
    //   640: astore 15
    //   642: aload 15
    //   644: arraylength
    //   645: iconst_1
    //   646: iadd
    //   647: anewarray 300	java/lang/String
    //   650: astore 14
    //   652: aload 15
    //   654: iconst_0
    //   655: aload 14
    //   657: iconst_0
    //   658: aload 15
    //   660: arraylength
    //   661: invokestatic 540	java/lang/System:arraycopy	(Ljava/lang/Object;ILjava/lang/Object;II)V
    //   664: aload 14
    //   666: aload 15
    //   668: arraylength
    //   669: ldc_w 287
    //   672: aastore
    //   673: iload 4
    //   675: getstatic 516	org/eclipse/emf/codegen/ecore/Generator:EMF_GWT_PROJECT_STYLE	I
    //   678: iand
    //   679: ifeq +51 -> 730
    //   682: aload 8
    //   684: ldc_w 276
    //   687: invokeinterface 579 2 0
    //   692: ifne +38 -> 730
    //   695: aload 14
    //   697: astore 15
    //   699: aload 15
    //   701: arraylength
    //   702: iconst_1
    //   703: iadd
    //   704: anewarray 300	java/lang/String
    //   707: astore 14
    //   709: aload 15
    //   711: iconst_0
    //   712: aload 14
    //   714: iconst_0
    //   715: aload 15
    //   717: arraylength
    //   718: invokestatic 540	java/lang/System:arraycopy	(Ljava/lang/Object;ILjava/lang/Object;II)V
    //   721: aload 14
    //   723: aload 15
    //   725: arraylength
    //   726: ldc_w 276
    //   729: aastore
    //   730: iload 4
    //   732: getstatic 516	org/eclipse/emf/codegen/ecore/Generator:EMF_GWT_PROJECT_STYLE	I
    //   735: iand
    //   736: ifeq +60 -> 796
    //   739: iload 4
    //   741: getstatic 513	org/eclipse/emf/codegen/ecore/Generator:EMF_EDITOR_PROJECT_STYLE	I
    //   744: iand
    //   745: ifeq +51 -> 796
    //   748: aload 8
    //   750: ldc_w 274
    //   753: invokeinterface 579 2 0
    //   758: ifne +38 -> 796
    //   761: aload 14
    //   763: astore 15
    //   765: aload 15
    //   767: arraylength
    //   768: iconst_1
    //   769: iadd
    //   770: anewarray 300	java/lang/String
    //   773: astore 14
    //   775: aload 15
    //   777: iconst_0
    //   778: aload 14
    //   780: iconst_0
    //   781: aload 15
    //   783: arraylength
    //   784: invokestatic 540	java/lang/System:arraycopy	(Ljava/lang/Object;ILjava/lang/Object;II)V
    //   787: aload 14
    //   789: aload 15
    //   791: arraylength
    //   792: ldc_w 274
    //   795: aastore
    //   796: aload 12
    //   798: aload 14
    //   800: invokeinterface 587 2 0
    //   805: aload 12
    //   807: invokeinterface 590 1 0
    //   812: astore 15
    //   814: aload 15
    //   816: ifnonnull +9 -> 825
    //   819: iconst_0
    //   820: anewarray 307	org/eclipse/core/resources/ICommand
    //   823: astore 15
    //   825: iconst_0
    //   826: istore 16
    //   828: iconst_m1
    //   829: istore 17
    //   831: iconst_0
    //   832: istore 18
    //   834: goto +51 -> 885
    //   837: ldc_w 279
    //   840: aload 15
    //   842: iload 18
    //   844: aaload
    //   845: invokeinterface 574 1 0
    //   850: invokevirtual 528	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   853: ifeq +6 -> 859
    //   856: iconst_1
    //   857: istore 16
    //   859: ldc_w 273
    //   862: aload 15
    //   864: iload 18
    //   866: aaload
    //   867: invokeinterface 574 1 0
    //   872: invokevirtual 528	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   875: ifeq +7 -> 882
    //   878: iload 18
    //   880: istore 17
    //   882: iinc 18 1
    //   885: iload 18
    //   887: aload 15
    //   889: arraylength
    //   890: if_icmplt -53 -> 837
    //   893: iload 4
    //   895: getstatic 516	org/eclipse/emf/codegen/ecore/Generator:EMF_GWT_PROJECT_STYLE	I
    //   898: iand
    //   899: ifeq +70 -> 969
    //   902: iload 4
    //   904: getstatic 513	org/eclipse/emf/codegen/ecore/Generator:EMF_EDITOR_PROJECT_STYLE	I
    //   907: iand
    //   908: ifeq +61 -> 969
    //   911: iload 16
    //   913: ifne +56 -> 969
    //   916: aload 15
    //   918: astore 18
    //   920: aload 18
    //   922: arraylength
    //   923: iconst_1
    //   924: iadd
    //   925: anewarray 307	org/eclipse/core/resources/ICommand
    //   928: astore 15
    //   930: aload 18
    //   932: iconst_0
    //   933: aload 15
    //   935: iconst_0
    //   936: aload 18
    //   938: arraylength
    //   939: invokestatic 540	java/lang/System:arraycopy	(Ljava/lang/Object;ILjava/lang/Object;II)V
    //   942: aload 15
    //   944: aload 18
    //   946: arraylength
    //   947: aload 12
    //   949: invokeinterface 589 1 0
    //   954: aastore
    //   955: aload 15
    //   957: aload 18
    //   959: arraylength
    //   960: aaload
    //   961: ldc_w 279
    //   964: invokeinterface 575 2 0
    //   969: iload 17
    //   971: iconst_m1
    //   972: if_icmpeq +49 -> 1021
    //   975: aload 15
    //   977: astore 18
    //   979: aload 18
    //   981: arraylength
    //   982: iconst_1
    //   983: isub
    //   984: anewarray 307	org/eclipse/core/resources/ICommand
    //   987: astore 15
    //   989: aload 18
    //   991: iconst_0
    //   992: aload 15
    //   994: iconst_0
    //   995: iload 17
    //   997: invokestatic 540	java/lang/System:arraycopy	(Ljava/lang/Object;ILjava/lang/Object;II)V
    //   1000: aload 18
    //   1002: iload 17
    //   1004: iconst_1
    //   1005: iadd
    //   1006: aload 15
    //   1008: iload 17
    //   1010: aload 18
    //   1012: arraylength
    //   1013: iload 17
    //   1015: isub
    //   1016: iconst_1
    //   1017: isub
    //   1018: invokestatic 540	java/lang/System:arraycopy	(Ljava/lang/Object;ILjava/lang/Object;II)V
    //   1021: aload 12
    //   1023: aload 15
    //   1025: invokeinterface 591 2 0
    //   1030: aload 8
    //   1032: aload 12
    //   1034: new 319	org/eclipse/core/runtime/SubProgressMonitor
    //   1037: dup
    //   1038: aload 6
    //   1040: iconst_1
    //   1041: invokespecial 546	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
    //   1044: invokeinterface 585 3 0
    //   1049: aload 8
    //   1051: astore 18
    //   1053: aload_0
    //   1054: invokeinterface 597 1 0
    //   1059: iconst_1
    //   1060: if_icmple +183 -> 1243
    //   1063: aload_0
    //   1064: iconst_1
    //   1065: invokeinterface 603 2 0
    //   1070: invokeinterface 602 1 0
    //   1075: astore 19
    //   1077: aload 8
    //   1079: aload 19
    //   1081: invokeinterface 583 2 0
    //   1086: astore 18
    //   1088: aload 18
    //   1090: invokeinterface 576 1 0
    //   1095: ifne +75 -> 1170
    //   1098: aload 19
    //   1100: invokeinterface 597 1 0
    //   1105: iconst_1
    //   1106: isub
    //   1107: istore 20
    //   1109: goto +56 -> 1165
    //   1112: aload 8
    //   1114: aload 19
    //   1116: iload 20
    //   1118: invokeinterface 604 2 0
    //   1123: invokeinterface 583 2 0
    //   1128: astore 18
    //   1130: aload 18
    //   1132: invokeinterface 576 1 0
    //   1137: ifne +25 -> 1162
    //   1140: aload 18
    //   1142: checkcast 309	org/eclipse/core/resources/IFolder
    //   1145: iconst_0
    //   1146: iconst_1
    //   1147: new 319	org/eclipse/core/runtime/SubProgressMonitor
    //   1150: dup
    //   1151: aload 6
    //   1153: iconst_1
    //   1154: invokespecial 546	org/eclipse/core/runtime/SubProgressMonitor:<init>	(Lorg/eclipse/core/runtime/IProgressMonitor;I)V
    //   1157: invokeinterface 577 4 0
    //   1162: iinc 20 -1
    //   1165: iload 20
    //   1167: ifge -55 -> 1112
    //   1170: aload_0
    //   1171: invokestatic 561	org/eclipse/jdt/core/JavaCore:newSourceEntry	(Lorg/eclipse/core/runtime/IPath;)Lorg/eclipse/jdt/core/IClasspathEntry;
    //   1174: astore 20
    //   1176: aload 9
    //   1178: invokeinterface 572 1 0
    //   1183: astore 21
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82

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