CloneSet7905


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9201.000class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19106
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaCategoryPropertyPage.java
29314
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PropertyAndPreferencePage.java
Clone Instance
1
Line Count
9
Source Line
106
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaCategoryPropertyPage.java

        /* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchPropertyPage#getElement()
         */
        public IAdaptable getElement() {
                return fProject;
        }

        /* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchPropertyPage#setElement(org.eclipse.core.runtime.IAdaptable)
         */
        public void setElement(IAdaptable element) {
                fProject = (IProject) element.getAdapter(IResource.class );
        }


Clone Instance
2
Line Count
9
Source Line
314
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/PropertyAndPreferencePage.java

        /* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchPropertyPage#getElement()
         */
        public IAdaptable getElement() {
                return fProject;
        }

        /* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchPropertyPage#setElement(org.eclipse.core.runtime.IAdaptable)
         */
        public void setElement(IAdaptable element) {
                fProject = (IProject) element.getAdapter(IResource.class );
        }


Clone AbstractionParameter Count: 0Parameter Bindings

/* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchPropertyPage#getElement()
         */
public IAdaptable getElement() {
  return fProject;
}

/* (non-Javadoc)
         * @see org.eclipse.ui.IWorkbenchPropertyPage#setElement(org.eclipse.core.runtime.IAdaptable)
         */
public void setElement(IAdaptable element) {
  fProject = (IProject) element.getAdapter(IResource.class );
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None