Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 4 | 0.961 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 69 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateFieldCreator.java |
2 | 10 | 79 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateMethodCreator.java |
| ||||
protected ASTNode getBodyHead(BodyDeclaration result) { return fOldFieldFragment; } protected ChildPropertyDescriptor getJavaDocProperty() { return FieldDeclaration.JAVADOC_PROPERTY; } protected ChildPropertyDescriptor getBodyProperty() { return VariableDeclarationFragment.INITIALIZER_PROPERTY; } |
| ||||
protected ASTNode getBodyHead(BodyDeclaration result) { return result; } protected ChildPropertyDescriptor getJavaDocProperty() { return MethodDeclaration.JAVADOC_PROPERTY; } protected ChildPropertyDescriptor getBodyProperty() { return MethodDeclaration.BODY_PROPERTY; } |
| |||
protected ASTNode getBodyHead(BodyDeclaration result) { return [[#variable56abf9e0]]; } protected ChildPropertyDescriptor getJavaDocProperty() { return [[#variable567a7680]].JAVADOC_PROPERTY; } protected ChildPropertyDescriptor getBodyProperty() { return [[#variable56b7c5e0]]. [[#variable56b7c560]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56abf9e0]] | fOldFieldFragment |
1 | 2 | [[#56abf9e0]] | result |
2 | 1 | [[#567a7680]] | FieldDeclaration |
2 | 2 | [[#567a7680]] | MethodDeclaration |
3 | 1 | [[#56b7c5e0]] | VariableDeclarationFragment |
3 | 2 | [[#56b7c5e0]] | MethodDeclaration |
4 | 1 | [[#56b7c560]] | INITIALIZER_PROPERTY |
4 | 2 | [[#56b7c560]] | BODY_PROPERTY |