CloneSet6643


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19220.955class_body
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11963
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/ExecutionEnvironmentsPreferencePage.java
219268
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PropertiesFileEditorPreferencePage.java
Clone Instance
1
Line Count
19
Source Line
63
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/jres/ExecutionEnvironmentsPreferencePage.java

                                                                        {

                /* (non-Javadoc)
                 * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
                 */
                public Object[] getElements(Object inputElement) {
                        return ((IExecutionEnvironment) inputElement).getCompatibleVMs();
                }

                /* (non-Javadoc)
                 * @see org.eclipse.jface.viewers.IContentProvider#dispose()
                 */
                public void dispose() {
                }

                /* (non-Javadoc)
                 * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
                 */
                public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
                }
                                                                        }


Clone Instance
2
Line Count
19
Source Line
268
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PropertiesFileEditorPreferencePage.java

                                                                                     {

                /*
                 * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
                 */
                public Object[] getElements(Object inputElement) {
                        return ((java.util.List) inputElement).toArray();
                }

                /*
                 * @see org.eclipse.jface.viewers.IContentProvider#dispose()
                 */
                public void dispose() {
                }

                /*
                 * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
                 */
                public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
                }
                                                                                     }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  /*
                   * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
                   */
  /* (non-Javadoc)
                   * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
                   */
  public Object[] getElements(Object inputElement) {
    return (( [[#variable637f8540]]) inputElement). [[#variable637f8620]]();
  }

  /*
                   * @see org.eclipse.jface.viewers.IContentProvider#dispose()
                   */
  /* (non-Javadoc)
                   * @see org.eclipse.jface.viewers.IContentProvider#dispose()
                   */
  public void dispose() {
  }

  /*
                   * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
                   */
  /* (non-Javadoc)
                   * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
                   */
  public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#637f8540]]
java.util.List 
12[[#637f8540]]
IExecutionEnvironment 
21[[#637f8620]]
toArray 
22[[#637f8620]]
getCompatibleVMs