Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.951 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 68 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ParentChecker.java |
2 | 4 | 74 | 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(); } |
| ||||
private IResource getCommonResourceParent() { Assert.isNotNull(fResources); Assert.isTrue(fResources.length > 0); //safe - checked before return fResources[0].getParent(); } |
| |||
private [[#variable56a26bc0]] [[#variable56a26b60]]() { Assert.isNotNull( [[#variable56a26ac0]]); Assert.isTrue( [[#variable56a26ac0]].length > 0); //safe - checked before return [[#variable56a26ac0]][0].getParent(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56a26bc0]] | IJavaElement |
1 | 2 | [[#56a26bc0]] | IResource |
2 | 1 | [[#56a26b60]] | getCommonJavaElementParent |
2 | 2 | [[#56a26b60]] | getCommonResourceParent |
3 | 1 | [[#56a26ac0]] | fJavaElements |
3 | 2 | [[#56a26ac0]] | fResources |