Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.967 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 202 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine.java |
2 | 4 | 207 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine.java |
| ||||
IJavaElement first = (IJavaElement) iter.next(); SearchPattern pattern = SearchPattern.createPattern(first, limitTo, SearchUtils.GENERICS_AGNOSTIC_MATCH_RULE); if (pattern == null) // check for bug 90138 throw new IllegalArgumentException("Invalid java element: " + first.getHandleIdentifier() + "\n" + first.toString()); //$NON-NLS-1$ //$NON-NLS-2$ |
| ||||
IJavaElement each = (IJavaElement) iter.next(); SearchPattern nextPattern = SearchPattern.createPattern(each, limitTo, SearchUtils.GENERICS_AGNOSTIC_MATCH_RULE); if (nextPattern == null) // check for bug 90138 throw new IllegalArgumentException("Invalid java element: " + each.getHandleIdentifier() + "\n" + each.toString()); //$NON-NLS-1$ //$NON-NLS-2$ |
| |||
IJavaElement [[#variable9a730d20]]= (IJavaElement) iter.next(); SearchPattern [[#variable92b8ce40]]= SearchPattern.createPattern( [[#variable9a730d20]], limitTo, SearchUtils.GENERICS_AGNOSTIC_MATCH_RULE); if ( [[#variable92b8ce40]]== null) // check for bug 90138 throw new IllegalArgumentException("Invalid java element: " + [[#variable9a730d20]].getHandleIdentifier() + "\n" + [[#variable9a730d20]].toString()); //$NON-NLS-1$ //$NON-NLS-2$ |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9a730d20]] | first |
1 | 2 | [[#9a730d20]] | each |
2 | 1 | [[#92b8ce40]] | pattern |
2 | 2 | [[#92b8ce40]] | nextPattern |