Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 1 | 0.973 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 69 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ImportRewriteUtil.java |
2 | 12 | 145 | 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); |
| ||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54e3eac0]] | project |
1 | 2 | [[#54e3eac0]] | rewrite.getCu().getJavaProject() |