CloneSet5521


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.961class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15100
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateMethodOperation.java
25109
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateTypeOperation.java
Clone Instance
1
Line Count
5
Source Line
100
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateMethodOperation.java

protected SimpleName rename(ASTNode node, SimpleName newName) {
        MethodDeclaration method = (MethodDeclaration) node;
        SimpleName oldName = method.getName();
        method.setName(newName);
        return oldName;
}


Clone Instance
2
Line Count
5
Source Line
109
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/CreateTypeOperation.java

protected SimpleName rename(ASTNode node, SimpleName newName) {
        AbstractTypeDeclaration type = (AbstractTypeDeclaration) node;
        SimpleName oldName = type.getName();
        type.setName(newName);
        return oldName;
}


Clone AbstractionParameter Count: 2Parameter Bindings

protected SimpleName rename(ASTNode node, SimpleName newName) {
   [[#variable9ce58d20]]  [[#variable9ce58ca0]]= ( [[#variable9ce58d20]]) node;
  SimpleName oldName = [[#variable9ce58ca0]].getName();
   [[#variable9ce58ca0]].setName(newName);
  return oldName;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9ce58d20]]
AbstractTypeDeclaration 
12[[#9ce58d20]]
MethodDeclaration 
21[[#9ce58ca0]]
type 
22[[#9ce58ca0]]
method