Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.970 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 531 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java |
2 | 5 | 687 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java |
| ||||
{ final ICompilationUnit unit = RefactoringASTParser.getCompilationUnit(fragment); final IJavaElement element = unit.getElementAt(fragment.getStartPosition()); if (element instanceof IField) return (IField) element; } |
| ||||
{ final ICompilationUnit unit = RefactoringASTParser.getCompilationUnit(node); final IJavaElement element = unit.getElementAt(node.getStartPosition()); if (element instanceof IMethod) return (IMethod) element; } |
| |||
{ final ICompilationUnit unit = RefactoringASTParser.getCompilationUnit( [[#variableb079c2e0]]); final IJavaElement element = unit.getElementAt( [[#variableb079c2e0]].getStartPosition()); if (element instanceof [[#variableb079cc80]]) return ( [[#variableb079cc80]]) element; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b079c2e0]] | node |
1 | 2 | [[#b079c2e0]] | fragment |
2 | 1 | [[#b079cc80]] | IMethod |
2 | 2 | [[#b079cc80]] | IField |