Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.972 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 95 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/PackageFragmentRootReorgChange.java |
2 | 7 | 106 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/changes/ResourceReorgChange.java |
| ||||
private String getNewResourceName() { if (fNewNameQuery == null) return getRoot().getElementName(); String name = fNewNameQuery.getNewName(); if (name == null) return getRoot().getElementName(); return name; } |
| ||||
private String getNewResourceName() { if (fNewNameQuery == null) return getResource().getName(); String name = fNewNameQuery.getNewName(); if (name == null) return getResource().getName(); return name; } |
| |||
private String getNewResourceName() { if (fNewNameQuery == null) return [[#variableb2f905c0]](). [[#variableb2f904e0]](); String name = fNewNameQuery.getNewName(); if (name == null) return [[#variableb2f905c0]](). [[#variableb2f904e0]](); return name; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2f905c0]] | getResource |
1 | 2 | [[#b2f905c0]] | getRoot |
2 | 1 | [[#b2f904e0]] | getName |
2 | 2 | [[#b2f904e0]] | getElementName |