CloneSet1053


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6440.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16116
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BreakStatement.java
26116
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ContinueStatement.java
37112
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ReturnStatement.java
47122
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SwitchCase.java
Clone Instance
1
Line Count
6
Source Line
116
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/BreakStatement.java

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


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

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


Clone Instance
3
Line Count
7
Source Line
112
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ReturnStatement.java

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        ASTNode clone0(AST target) {
                ReturnStatement result = new ReturnStatement(target);
                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.copyLeadingComment(this );
                result.setExpression(
                        (Expression) ASTNode.copySubtree(target, getExpression()));
                return result;
        }


Clone Instance
4
Line Count
7
Source Line
122
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/SwitchCase.java

        /* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
        ASTNode clone0(AST target) {
                SwitchCase result = new SwitchCase(target);
                result.setSourceRange(this.getStartPosition(), this.getLength());
                result.copyLeadingComment(this );
                result.setExpression(
                        (Expression) ASTNode.copySubtree(target, getExpression()));
                return result;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/* (omit javadoc for this method)
         * Method declared on ASTNode.
         */
ASTNode clone0(AST target) {
   [[#variable584917e0]] result = new [[#variable584917e0]](target);
  result.setSourceRange(this.getStartPosition(), this.getLength());
  result.copyLeadingComment(this );
  result. [[#variable58491760]](( [[#variable584916c0]]) ASTNode.copySubtree(target,  [[#variable58491640]]()));
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#584917e0]]
BreakStatement 
12[[#584917e0]]
ContinueStatement 
13[[#584917e0]]
ReturnStatement 
14[[#584917e0]]
SwitchCase 
21[[#58491760]]
setLabel 
22[[#58491760]]
setLabel 
23[[#58491760]]
setExpression 
24[[#58491760]]
setExpression 
31[[#584916c0]]
SimpleName 
32[[#584916c0]]
SimpleName 
33[[#584916c0]]
Expression 
34[[#584916c0]]
Expression 
41[[#58491640]]
getLabel 
42[[#58491640]]
getLabel 
43[[#58491640]]
getExpression 
44[[#58491640]]
getExpression