Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.960 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 752 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java |
2 | 3 | 791 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java |
| ||||
final IJavaElement method = selection.resolveEnclosingElement(); if ( !(method instanceof IMethod)) return false; |
| ||||
final IJavaElement element = selection.resolveEnclosingElement(); if ( !(element instanceof IMember)) return false; |
| |||
final IJavaElement [[#variablebc2f8d20]]= selection.resolveEnclosingElement(); if ( !( [[#variablebc2f8d20]]instanceof [[#variablebd0cbb80]])) return false; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bc2f8d20]] | element |
1 | 2 | [[#bc2f8d20]] | method |
2 | 1 | [[#bd0cbb80]] | IMember |
2 | 2 | [[#bd0cbb80]] | IMethod |