CloneSet1850


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12210.973statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11269
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ImportRewriteUtil.java
212145
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ImportRewriteUtil.java
Clone Instance
1
Line Count
12
Source Line
69
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ImportRewriteUtil.java

                final Set types = new HashSet();
                final Set members = new HashSet();
                final ImportReferencesCollector collector = new ImportReferencesCollector(rewrite.getCu().getJavaProject(), null, types, members) {

                         public final boolean visit( final Block block) {
                                 Assert.isNotNull(block);
                                 if (declarations && block.getParent() instanceof MethodDeclaration)
                                         return false;
                                 return super.visit(block);
                         }
                                                            };
                node.accept(collector);


Clone Instance
2
Line Count
12
Source Line
145
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ImportRewriteUtil.java

                final Set types = new HashSet();
                final Set members = new HashSet();
                final ImportReferencesCollector collector = new ImportReferencesCollector(project, null, types, members) {

                         public final boolean visit( final Block block) {
                                 Assert.isNotNull(block);
                                 if (declarations && block.getParent() instanceof MethodDeclaration)
                                         return false;
                                 return super.visit(block);
                         }
                                                            };
                node.accept(collector);


Clone AbstractionParameter Count: 1Parameter Bindings

final Set types = new HashSet();
final Set members = new HashSet();
final ImportReferencesCollector collector = new ImportReferencesCollector( [[#variable54e3eac0]], null, types, members) {
                                              public final boolean visit( final Block block) {
                                                Assert.isNotNull(block);
                                                if (declarations && block.getParent() instanceof MethodDeclaration)
                                                  return false;
                                                return super.visit(block);
                                              }
                                            };
node.accept(collector);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54e3eac0]]
project 
12[[#54e3eac0]]
rewrite.getCu().getJavaProject()