CloneSet2145


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6330.974statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16934
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java
26123
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java
3688
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ExtractSuperTypeAction.java
Clone Instance
1
Line Count
6
Source Line
934
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringAvailabilityTester.java

                        for ( final Iterator iterator = selection.iterator(); iterator.hasNext();) {
                                if ( !(iterator.next() instanceof IMember))
                                        return false;
                        }
                        final Set members = new HashSet();
                        members.addAll(Arrays.asList(selection.toArray()));


Clone Instance
2
Line Count
6
Source Line
123
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java

                for ( final Iterator iterator = selection.iterator(); iterator.hasNext();) {
                        if ( ! (iterator.next() instanceof IMember))
                                return null;
                }
                Set memberSet = new HashSet();
                memberSet.addAll(Arrays.asList(selection.toArray()));


Clone Instance
3
Line Count
6
Source Line
88
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/ExtractSuperTypeAction.java

                for ( final Iterator iterator = selection.iterator(); iterator.hasNext();) {
                        if ( !(iterator.next() instanceof IMember))
                                return null;
                }
                final Set set = new HashSet();
                set.addAll(Arrays.asList(selection.toArray()));


Clone AbstractionParameter Count: 3Parameter Bindings

for ( final Iterator iterator = selection.iterator(); iterator.hasNext();) {
  if ( !(iterator.next() instanceof IMember))
    return [[#variable6445a1e0]];
}
 [[#variable6445a1c0]]Set  [[#variable6445a0c0]]= new HashSet();
 [[#variable6445a0c0]].addAll(Arrays.asList(selection.toArray()));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6445a1e0]]
null 
12[[#6445a1e0]]
false 
13[[#6445a1e0]]
null 
21[[#6445a1c0]]
22[[#6445a1c0]]
final 
23[[#6445a1c0]]
final 
31[[#6445a0c0]]
memberSet 
32[[#6445a0c0]]
members 
33[[#6445a0c0]]
set