CloneSet58


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
71201.000class_body_declarations[9]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171204
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/EMFPlugin.java
27156
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/ui/EclipseUIPlugin.java
Next
Last
Clone Instance
1
Line Count
71
Source Line
204
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/EMFPlugin.java

/**
 * Return the plugin ID.
 */
public String getSymbolicName() {
  return helper.getSymbolicName();
}

/*
 * Javadoc copied from interface.
 */
public URL getBaseURL() {
  return helper.getBaseURL();
}

/*
 * Javadoc copied from interface.
 */
public Object getImage(String key) {
  try {
    return doGetImage(key);
  }
  catch (MalformedURLException
         exception) {
    throw new WrappedException(exception);
  }
  catch (IOException
         exception) {
    throw new MissingResourceException(CommonPlugin.INSTANCE.getString("_UI_StringResourceNotFound_exception", new Object[] {
                                                                                                                              key
                                                                                                                            } ), getClass().getName(), key);
  }
}

/**
 * Does the work of fetching the image associated with the key.
 * It ensures that the image exists.
 * @param key the key of the image to fetch.
 * @exception IOException if an image doesn't exist.
 * @return the description of the image associated with the key.
 */
protected Object doGetImage(String key) throws IOException {
  return helper.getImage(key);
}

public String getString(String key) {
  return helper.getString(key, true);
}

public String getString(String key, boolean translate) {
  return helper.getString(key, translate);
}

public String getString(String key, Object[] substitutions) {
  return helper.getString(key, substitutions, true);
}

public String getString(String key, Object[] substitutions, boolean translate) {
  return helper.getString(key, substitutions, translate);
}

public void log(Object logEntry) {
  helper.log(logEntry);
}


First
Previous
Clone Instance
2
Line Count
71
Source Line
56
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/common/ui/EclipseUIPlugin.java

/**
 * Return the plugin ID.
 */
public String getSymbolicName() {
  return helper.getSymbolicName();
}

/*
 * Javadoc copied from interface.
 */
public URL getBaseURL() {
  return helper.getBaseURL();
}

/*
 * Javadoc copied from interface.
 */
public Object getImage(String key) {
  try {
    return doGetImage(key);
  }
  catch (MalformedURLException
         exception) {
    throw new WrappedException(exception);
  }
  catch (IOException
         exception) {
    throw new MissingResourceException(CommonPlugin.INSTANCE.getString("_UI_StringResourceNotFound_exception", new Object[] {
                                                                                                                              key
                                                                                                                            } ), getClass().getName(), key);
  }
}

/**
 * Does the work of fetching the image associated with the key.
 * It ensures that the image exists.
 * @param key the key of the image to fetch.
 * @exception IOException if an image doesn't exist.
 * @return the description of the image associated with the key.
 */
protected Object doGetImage(String key) throws IOException {
  return helper.getImage(key);
}

public String getString(String key) {
  return helper.getString(key, true);
}

public String getString(String key, boolean translate) {
  return helper.getString(key, translate);
}

public String getString(String key, Object[] substitutions) {
  return helper.getString(key, substitutions, true);
}

public String getString(String key, Object[] substitutions, boolean translate) {
  return helper.getString(key, substitutions, translate);
}

public void log(Object logEntry) {
  helper.log(logEntry);
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
     * Return the plugin ID.
     */
/**
   * Return the plugin ID.
   */
public String getSymbolicName() {
  return helper.getSymbolicName();
}

/*
     * Javadoc copied from interface.
     */
/*
   * Javadoc copied from interface.
   */
public URL getBaseURL() {
  return helper.getBaseURL();
}

/*
     * Javadoc copied from interface.
     */
/*
   * Javadoc copied from interface.
   */
public Object getImage(String key) {
  try {
    return doGetImage(key);
  }
  catch (MalformedURLException
         exception) {
    throw new WrappedException(exception);
  }
  catch (IOException
         exception) {
    throw new MissingResourceException(CommonPlugin.INSTANCE.getString("_UI_StringResourceNotFound_exception", new Object[] {
                                                                                                                              key
                                                                                                                            } ), getClass().getName(), key);
  }
}

/**
     * Does the work of fetching the image associated with the key.
     * It ensures that the image exists.
     * @param key the key of the image to fetch.
     * @exception IOException if an image doesn't exist.
     * @return the description of the image associated with the key.
     */
/**
   * Does the work of fetching the image associated with the key.
   * It ensures that the image exists.
   * @param key the key of the image to fetch.
   * @exception IOException if an image doesn't exist.
   * @return the description of the image associated with the key.
   */
protected Object doGetImage(String key) throws IOException {
  return helper.getImage(key);
}

public String getString(String key) {
  return helper.getString(key, true);
}

public String getString(String key, boolean translate) {
  return helper.getString(key, translate);
}

public String getString(String key, Object[] substitutions) {
  return helper.getString(key, substitutions, true);
}

public String getString(String key, Object[] substitutions, boolean translate) {
  return helper.getString(key, substitutions, translate);
}

public void log(Object logEntry) {
  helper.log(logEntry);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None