CloneSet5348


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.970class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
181731
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
282343
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java
Clone Instance
1
Line Count
8
Source Line
1731
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java

                protected SimpleName getMethodNameNode() {
                        if (fNode instanceof MethodInvocation)
                                return ((MethodInvocation) fNode).getName();

                        if (fNode instanceof SuperMethodInvocation)
                                return ((SuperMethodInvocation) fNode).getName();

                        return null;
                }


Clone Instance
2
Line Count
8
Source Line
2343
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java

                protected SimpleName getMethodNameNode() {
                        if (fNode instanceof MemberRef)
                                return ((MemberRef) fNode).getName();

                        if (fNode instanceof MethodRef)
                                return ((MethodRef) fNode).getName();

                        return null;
                }


Clone AbstractionParameter Count: 2Parameter Bindings

protected SimpleName getMethodNameNode() {
  if (fNode instanceof [[#variablea3fe5ca0]])
    return (( [[#variablea3fe5ca0]]) fNode).getName();
  if (fNode instanceof [[#variablea3fe5c00]])
    return (( [[#variablea3fe5c00]]) fNode).getName();
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3fe5ca0]]
MethodInvocation 
12[[#a3fe5ca0]]
MemberRef 
21[[#a3fe5c00]]
SuperMethodInvocation 
22[[#a3fe5c00]]
MethodRef