public final class RoseImporterPlugin extends EMFPlugin { /** * The singleton instance of the plugin. */ public static final RoseImporterPlugin INSTANCE = new RoseImporterPlugin(); /** * The one instance of this class. */ private static Implementation plugin; /** * Creates the singleton instance. */ private RoseImporterPlugin() { super(new ResourceLocator [] { ImporterPlugin.INSTANCE }); } /* * Javadoc copied from base class. */ @Override public ResourceLocator getPluginResourceLocator() { return plugin; } /** * Returns the singleton instance of the Eclipse plugin. * @return the singleton instance. */ public static Implementation getPlugin() { return plugin; } /** * The actual implementation of the Eclipse <b>Plugin</b>. */ public static class Implementation extends EclipsePlugin { /** * Creates an instance. */ public Implementation() { super(); // Remember the static instance. // plugin = this;
public final class Ecore2XMLUIPlugin extends EMFPlugin { /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static final Ecore2XMLUIPlugin INSTANCE = new Ecore2XMLUIPlugin(); /** * Keep track of the singleton. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ private static Implementation plugin; /** * Create the instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Ecore2XMLUIPlugin() { super (new ResourceLocator [] { EcoreEditPlugin.INSTANCE, }); } /** * Returns the singleton instance of the Eclipse plugin. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the singleton instance. * @generated */ @Override public ResourceLocator getPluginResourceLocator() { return plugin; } /** * Returns the singleton instance of the Eclipse plugin. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the singleton instance. * @generated */ public static Implementation getPlugin() { return plugin; } /** * The actual implementation of the Eclipse <b>Plugin</b>. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static class Implementation extends EclipseUIPlugin { /** * Creates an instance. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Implementation() { super(); // Remember the static instance. // plugin = this;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/importer/rose/RoseImporterPlugin.java File path: /emf-2.4.1/src/org/eclipse/emf/mapping/ecore2xml/ui/Ecore2XMLUIPlugin.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public final class RoseImporterPlugin extends EMFPlugin
1
public final class Ecore2XMLUIPlugin extends EMFPlugin
2
{
2
{
3
  /**
3
  /**
4
   * The singleton instance of the plugin.
4
   * Keep track of the singleton.
5
   * <!-- begin-user-doc -->
6
   * <!-- end-user-doc -->
7
   * @generated
5
   */
8
   */
6
  public static final RoseImporterPlugin INSTANCE = new RoseImporterPlugin();
9
  public static final Ecore2XMLUIPlugin INSTANCE = new Ecore2XMLUIPlugin();
7
  /**
10
  /**
8
   * The one instance of this class.
11
   * Keep track of the singleton.
12
   * <!-- begin-user-doc -->
13
   * <!-- end-user-doc -->
14
   * @generated
9
   */
15
   */
10
  private static Implementation plugin;
16
  private static Implementation plugin;
11
  /**
17
  /**
12
   * Creates the singleton instance.
18
   * Create the in
13
   */
14
  private RoseImporter
19
stance.
20
   * <!-- begin-user-doc -->
21
   * <!-- end-user-doc -->
22
   * @generated
23
   */
15
Plugin()
24
  public Ecore2XMLUIPlugin()
16
  {
25
  {
17
    super
26
    super
18
(new ResourceLocator [] { Importer
27
      (new ResourceLocator [] 
28
      {
19
Plugin.INSTANCE
29
        EcoreEditPlugin.INSTANCE,
20
 });
30
      });
21
  }
31
  }
22
  /*
32
  /**
23
   * Javadoc copied from base class.
33
   * Returns the singleton instance of the Eclipse plugin.
34
   * <!-- begin-user-doc -->
35
   * <!-- end-user-doc -->
36
   * @return the singleton instance.
37
   * @generated
24
   */
38
   */
25
  @Override
39
  @Override
26
  public ResourceLocator getPluginResourceLocator()
40
  public ResourceLocator getPluginResourceLocator()
27
  {
41
  {
28
    return plugin;
42
    return plugin;
29
  }
43
  }
30
  /**
44
  /**
31
   * Returns the singleton instance of the Eclipse plugin.
45
   * Returns the singleton instance of the Eclipse plugin.
46
   * <!-- begin-user-doc -->
47
   * <!-- end-user-doc -->
32
   * @return the singleton instance.
48
   * @return the singleton instance.
49
   * @generated
33
   */
50
   */
34
  public static Implementation getPlugin()
51
  public static Implementation getPlugin()
35
  {
52
  {
36
    return plugin;
53
    return plugin;
37
  }
54
  }
38
  /**
55
  /**
39
   * The actual implementation of the Eclipse <b>Plugin</b>.
56
   * The actual implementation of the Eclipse <b>Plugin</b>.
57
   * <!-- begin-user-doc -->
58
   * <!-- end-user-doc -->
59
   * @generated
40
   */
60
   */
41
  public static class Implementation extends EclipsePlugin
61
  public static class Implementation extends EclipseUIPlugin
42
  {
62
  {
43
    /**
63
    /**
44
     * Creates an instance.
64
     * Creates an instance.
65
     * <!-- begin-user-doc -->
66
     * <!-- end-user-doc -->
67
     * @generated
45
     */
68
     */
46
    public Implementation()
69
    public Implementation()
47
    {
70
    {
48
      super();
71
      super();
72
  
49
      // Remember the static instance.
73
      // Remember the static instance.
50
      //
74
      //
51
      plugin = this;
75
      plugin = this;
52
    
76
    
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0