Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.990 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 440 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java |
2 | 7 | 489 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java |
| ||||
if (source == null) { if ( !subType.getPackageFragment().isDefaultPackage()) { if (imports.length() > 0) buffer.insert(0, imports); buffer.insert(0, "package " + subType.getPackageFragment().getElementName() + ";"); //$NON-NLS-1$//$NON-NLS-2$ } source = buffer.toString(); } |
| ||||
if (source == null) { if ( !declaring.getPackageFragment().isDefaultPackage()) { if (imports.length() > 0) buffer.insert(0, imports); buffer.insert(0, "package " + declaring.getPackageFragment().getElementName() + ";"); //$NON-NLS-1$//$NON-NLS-2$ } source = buffer.toString(); } |
| |||
if (source == null) { if ( ! [[#variableb40f4520]].getPackageFragment().isDefaultPackage()) { if (imports.length() > 0) buffer.insert(0, imports); buffer.insert(0, "package " + [[#variableb40f4520]].getPackageFragment().getElementName() + ";"); //$NON-NLS-1$//$NON-NLS-2$ } source = buffer.toString(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b40f4520]] | declaring |
1 | 2 | [[#b40f4520]] | subType |