CloneSet1081


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.993class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15116
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java
25256
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java
Clone Instance
1
Line Count
5
Source Line
116
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java

/**
 * @see IJavaModel
 */
public void copy(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, IProgressMonitor monitor) throws JavaModelException {
        if (elements != null && elements.length > 0 && elements[0] != null && elements[0].getElementType() < IJavaElement.TYPE) {
                runOperation(new CopyResourceElementsOperation(elements, containers, force), elements, siblings, renamings, monitor);
        }
        else   {
                runOperation(new CopyElementsOperation(elements, containers, force), elements, siblings, renamings, monitor);
        }
}


Clone Instance
2
Line Count
5
Source Line
256
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModel.java

/**
 * @see IJavaModel
 */
public void move(IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, IProgressMonitor monitor) throws JavaModelException {
        if (elements != null && elements.length > 0 && elements[0] != null && elements[0].getElementType() < IJavaElement.TYPE) {
                runOperation(new MoveResourceElementsOperation(elements, containers, force), elements, siblings, renamings, monitor);
        }
        else   {
                runOperation(new MoveElementsOperation(elements, containers, force), elements, siblings, renamings, monitor);
        }
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * @see IJavaModel
 */
public void [[#variable63e67be0]](IJavaElement[] elements, IJavaElement[] containers, IJavaElement[] siblings, String[] renamings, boolean force, IProgressMonitor monitor) throws JavaModelException {
  if (elements != null && elements.length > 0 && elements[0] != null && elements[0].getElementType() < IJavaElement.TYPE) {
    runOperation(new [[#variable63e67b60]](elements, containers, force), elements, siblings, renamings, monitor);
  }
  else {
    runOperation(new [[#variable63e67ae0]](elements, containers, force), elements, siblings, renamings, monitor);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63e67be0]]
copy 
12[[#63e67be0]]
move 
21[[#63e67b60]]
CopyResourceElementsOperation 
22[[#63e67b60]]
MoveResourceElementsOperation 
31[[#63e67ae0]]
CopyElementsOperation 
32[[#63e67ae0]]
MoveElementsOperation