CloneSet7182


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10240.961class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11069
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateFieldCreator.java
21079
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateMethodCreator.java
Clone Instance
1
Line Count
10
Source Line
69
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateFieldCreator.java

        protected ASTNode getBodyHead(BodyDeclaration result) {
                return fOldFieldFragment;
        }

        protected ChildPropertyDescriptor getJavaDocProperty() {
                return FieldDeclaration.JAVADOC_PROPERTY;
        }

        protected ChildPropertyDescriptor getBodyProperty() {
                return VariableDeclarationFragment.INITIALIZER_PROPERTY;
        }


Clone Instance
2
Line Count
10
Source Line
79
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateMethodCreator.java

        protected ASTNode getBodyHead(BodyDeclaration result) {
                return result;
        }

        protected ChildPropertyDescriptor getJavaDocProperty() {
                return MethodDeclaration.JAVADOC_PROPERTY;
        }

        protected ChildPropertyDescriptor getBodyProperty() {
                return MethodDeclaration.BODY_PROPERTY;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

protected ASTNode getBodyHead(BodyDeclaration result) {
  return [[#variable56abf9e0]];
}

protected ChildPropertyDescriptor getJavaDocProperty() {
  return [[#variable567a7680]].JAVADOC_PROPERTY;
}

protected ChildPropertyDescriptor getBodyProperty() {
  return [[#variable56b7c5e0]]. [[#variable56b7c560]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56abf9e0]]
fOldFieldFragment 
12[[#56abf9e0]]
result 
21[[#567a7680]]
FieldDeclaration 
22[[#567a7680]]
MethodDeclaration 
31[[#56b7c5e0]]
VariableDeclarationFragment 
32[[#56b7c5e0]]
MethodDeclaration 
41[[#56b7c560]]
INITIALIZER_PROPERTY 
42[[#56b7c560]]
BODY_PROPERTY