Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.994 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 235 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder.java |
2 | 8 | 245 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder.java |
| ||||
public boolean visit(TypeDeclaration node) { if (fBinding.getKind() == IBinding.METHOD) { IMethodBinding binding = (IMethodBinding) fBinding; if (binding.isConstructor() && binding.getDeclaringClass() == node.resolveBinding()) { fResult.add(node.getName()); } } return true; } |
| ||||
public boolean visit(EnumDeclaration node) { if (fBinding.getKind() == IBinding.METHOD) { IMethodBinding binding = (IMethodBinding) fBinding; if (binding.isConstructor() && binding.getDeclaringClass() == node.resolveBinding()) { fResult.add(node.getName()); } } return true; } |
| |||
public boolean visit( [[#variablea18d3c80]] node) { if (fBinding.getKind() == IBinding.METHOD) { IMethodBinding binding = (IMethodBinding) fBinding; if (binding.isConstructor() && binding.getDeclaringClass() == node.resolveBinding()) { fResult.add(node.getName()); } } return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a18d3c80]] | TypeDeclaration |
1 | 2 | [[#a18d3c80]] | EnumDeclaration |