CloneSet1301


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6360.972class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18140
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/LabeledStatement.java
26140
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePair.java
36144
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperFieldAccess.java
Clone Instance
1
Line Count
8
Source Line
140
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/LabeledStatement.java

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        ASTNode clone0(AST target) {
                LabeledStatement result = new LabeledStatement(target);
                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.setLabel(
                        (SimpleName) ASTNode.copySubtree(target, getLabel()));
                result.setBody(
                        (Statement) ASTNode.copySubtree(target, getBody()));
                return result;
        }


Clone Instance
2
Line Count
6
Source Line
140
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/MemberValuePair.java

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        ASTNode clone0(AST target) {
                MemberValuePair result = new MemberValuePair(target);
                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.setName((SimpleName) ASTNode.copySubtree(target, getName()));
                result.setValue((Expression) ASTNode.copySubtree(target, getValue()));
                return result;
        }


Clone Instance
3
Line Count
6
Source Line
144
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SuperFieldAccess.java

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        ASTNode clone0(AST target) {
                SuperFieldAccess result = new SuperFieldAccess(target);
                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.setName((SimpleName) ASTNode.copySubtree(target, getName()));
                result.setQualifier((Name) ASTNode.copySubtree(target, getQualifier()));
                return result;
        }


Clone AbstractionParameter Count: 6Parameter Bindings

/* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
ASTNode clone0(AST target) {
   [[#variable94d5a5c0]] result = new [[#variable94d5a5c0]](target);
  result.setSourceRange(this.getStartPosition(), this.getLength());
  result. [[#variable94d5a500]]((SimpleName) ASTNode.copySubtree(target,  [[#variable94d5a440]]()));
  result. [[#variable94d5a3c0]](( [[#variable94d5a360]]) ASTNode.copySubtree(target,  [[#variable94d5a300]]()));
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94d5a5c0]]
SuperFieldAccess 
12[[#94d5a5c0]]
MemberValuePair 
13[[#94d5a5c0]]
LabeledStatement 
21[[#94d5a500]]
setName 
22[[#94d5a500]]
setName 
23[[#94d5a500]]
setLabel 
31[[#94d5a440]]
getName 
32[[#94d5a440]]
getName 
33[[#94d5a440]]
getLabel 
41[[#94d5a3c0]]
setQualifier 
42[[#94d5a3c0]]
setValue 
43[[#94d5a3c0]]
setBody 
51[[#94d5a360]]
Name 
52[[#94d5a360]]
Expression 
53[[#94d5a360]]
Statement 
61[[#94d5a300]]
getQualifier 
62[[#94d5a300]]
getValue 
63[[#94d5a300]]
getBody