Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.983 | statement_sequence_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 570 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java |
2 | 7 | 593 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveInstanceMethodProcessor.java |
| ||||
if (binding instanceof ITypeBinding) { final ITypeBinding type = (ITypeBinding) binding; if (type.isClass() && type.getDeclaringClass() != null) { final String name = fTargetRewrite.getImportRewrite().addImport(type); if (name != null && name.length() > 0) { fRewrite.replace(node, ASTNodeFactory.newName(node.getAST(), name), null); return false; } } } |
| ||||
if (binding instanceof ITypeBinding) { final ITypeBinding type = (ITypeBinding) binding; if (type.isClass() && type.getDeclaringClass() != null) { final String name = fTargetRewrite.getImportRewrite().addImport(type); if (name != null && name.length() > 0) { fRewrite.replace(node, ASTNodeFactory.newName(ast, name), null); return false; } } } |
| |||
if (binding instanceof ITypeBinding) { final ITypeBinding type = (ITypeBinding) binding; if (type.isClass() && type.getDeclaringClass() != null) { final String name = fTargetRewrite.getImportRewrite().addImport(type); if (name != null && name.length() > 0) { fRewrite.replace(node, ASTNodeFactory.newName( [[#variablea06f4da0]], name), null); return false; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a06f4da0]] | node.getAST() |
1 | 2 | [[#a06f4da0]] | ast |