CloneSet3630


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.967statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14202
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine.java
24207
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine.java
Clone Instance
1
Line Count
4
Source Line
202
Source File
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$


Clone Instance
2
Line Count
4
Source Line
207
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringSearchEngine.java

                        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$


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9a730d20]]
first 
12[[#9a730d20]]
each 
21[[#92b8ce40]]
pattern 
22[[#92b8ce40]]
nextPattern