CloneSet7532


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2220.969class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1279
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyElementsOperation.java
2280
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java
Clone Instance
1
Line Count
2
Source Line
79
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyElementsOperation.java

/**
 * When executed, this operation will copy the given elements to the
 * given container.
 */
public CopyElementsOperation(IJavaElement[] elementsToCopy, IJavaElement destContainer, boolean force) {
        this(elementsToCopy, new IJavaElement[] {
                                                 destContainer
                                                },              force);
}


Clone Instance
2
Line Count
2
Source Line
80
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CopyResourceElementsOperation.java

        /**
         * When executed, this operation will copy the given resources to the
         * given container.
         */
        public CopyResourceElementsOperation(IJavaElement[] resourcesToCopy, IJavaElement destContainer, boolean force) {
                this(resourcesToCopy, new IJavaElement[] {
                                                          destContainer
                                                         },              force);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * When executed, this operation will copy the given resources to the
         * given container.
         */
/**
 * When executed, this operation will copy the given elements to the
 * given container.
 */
public [[#variable59151cc0]](IJavaElement[]  [[#variable59151c40]], IJavaElement destContainer, boolean force) {
  this( [[#variable59151c40]], new IJavaElement[] {
                                                    destContainer
                                                  }, force);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59151cc0]]
CopyResourceElementsOperation 
12[[#59151cc0]]
CopyElementsOperation 
21[[#59151c40]]
resourcesToCopy 
22[[#59151c40]]
elementsToCopy