CloneSet6151


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.958block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171246
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java
272278
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java
Clone Instance
1
Line Count
7
Source Line
1246
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java

                                                           {
                if (identifier == null) {
                        throw new IllegalArgumentException();
                }
                SimpleName result = new SimpleName(this );
                result.setIdentifier(identifier);
                return result;
                                                           }


Clone Instance
2
Line Count
7
Source Line
2278
Source File
plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java

                                                              {
                if (literal == null) {
                        throw new IllegalArgumentException();
                }
                NumberLiteral result = new NumberLiteral(this );
                result.setToken(literal);
                return result;
                                                              }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  if ( [[#variable5c984fa0]]== null) {
    throw new IllegalArgumentException();
  }
   [[#variable5c9849e0]] result = new [[#variable5c9849e0]](this );
  result. [[#variable5c984840]]( [[#variable5c984fa0]]);
  return result;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5c984fa0]]
literal 
12[[#5c984fa0]]
identifier 
21[[#5c9849e0]]
NumberLiteral 
22[[#5c9849e0]]
SimpleName 
31[[#5c984840]]
setToken 
32[[#5c984840]]
setIdentifier