CloneSet7177


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.951class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1468
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java
2474
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java
Clone Instance
1
Line Count
4
Source Line
68
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java

        private IJavaElement getCommonJavaElementParent() {
                Assert.isNotNull(fJavaElements);
                Assert.isTrue(fJavaElements.length > 0); //safe - checked before
                return fJavaElements[0].getParent();
        }


Clone Instance
2
Line Count
4
Source Line
74
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java

        private IResource getCommonResourceParent() {
                Assert.isNotNull(fResources);
                Assert.isTrue(fResources.length > 0); //safe - checked before
                return fResources[0].getParent();
        }


Clone AbstractionParameter Count: 3Parameter Bindings

private [[#variable56a26bc0]]  [[#variable56a26b60]]() {
  Assert.isNotNull( [[#variable56a26ac0]]);
  Assert.isTrue( [[#variable56a26ac0]].length > 0); //safe - checked before
  return [[#variable56a26ac0]][0].getParent();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56a26bc0]]
IJavaElement 
12[[#56a26bc0]]
IResource 
21[[#56a26b60]]
getCommonJavaElementParent 
22[[#56a26b60]]
getCommonResourceParent 
31[[#56a26ac0]]
fJavaElements 
32[[#56a26ac0]]
fResources