CloneSet900


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12240.989statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112425
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java
212474
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java
Clone Instance
1
Line Count
12
Source Line
425
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java

                        final String delimiter = StubUtility.getLineDelimiterUsed(subType.getJavaProject());
                        String typeComment = null;
                        String fileComment = null;
                        if (fSettings.createComments) {
                                final ITypeParameter[] parameters = subType.getTypeParameters();
                                final String[] names = new String[parameters.length];
                                for (int index = 0; index < parameters.length; index++)
                                        names[index] = parameters[index].getElementName();
                                typeComment = CodeGeneration.getTypeComment(copy, superName, names, delimiter);
                                fileComment = CodeGeneration.getFileComment(copy, delimiter);
                        }
                        final StringBuffer buffer = new StringBuffer(64);


Clone Instance
2
Line Count
12
Source Line
474
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractSupertypeProcessor.java

                        final String delimiter = StubUtility.getLineDelimiterUsed(extractedWorkingCopy.getJavaProject());
                        String typeComment = null;
                        String fileComment = null;
                        if (fSettings.createComments) {
                                final ITypeParameter[] parameters = declaring.getTypeParameters();
                                final String[] names = new String[parameters.length];
                                for (int index = 0; index < parameters.length; index++)
                                        names[index] = parameters[index].getElementName();
                                typeComment = CodeGeneration.getTypeComment(extractedWorkingCopy, fTypeName, names, delimiter);
                                fileComment = CodeGeneration.getFileComment(extractedWorkingCopy, delimiter);
                        }
                        final StringBuffer buffer = new StringBuffer(64);


Clone AbstractionParameter Count: 4Parameter Bindings

final String delimiter = StubUtility.getLineDelimiterUsed( [[#variableb19557c0]].getJavaProject());
String typeComment = null;
String fileComment = null;
if (fSettings.createComments) {
  final ITypeParameter[] parameters = [[#variableb1955720]].getTypeParameters();
  final String[] names = new String[parameters.length];
  for (int index = 0; index < parameters.length; index++)
    names[index] = parameters[index].getElementName();
  typeComment = CodeGeneration.getTypeComment( [[#variableb1955820]],  [[#variableb1955800]], names, delimiter);
  fileComment = CodeGeneration.getFileComment( [[#variableb1955820]], delimiter);
}
final StringBuffer buffer = new StringBuffer(64);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b19557c0]]
subType 
12[[#b19557c0]]
extractedWorkingCopy 
21[[#b1955720]]
subType 
22[[#b1955720]]
declaring 
31[[#b1955820]]
copy 
32[[#b1955820]]
extractedWorkingCopy 
41[[#b1955800]]
superName 
42[[#b1955800]]
fTypeName