CloneSet2989


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.957statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14865
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java
25916
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java
Clone Instance
1
Line Count
4
Source Line
865
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java

                        for (int j = 0; j < bounds.length; j++)
                                if ( !"java.lang.Object".equals(bounds[j].getQualifiedName())) //$NON-NLS-1$
                                        ntp.typeBounds().add(imRewrite.getImportRewrite().addImport(bounds[j], imRewrite.getAST()));
                        newTypeParameters.add(ntp);


Clone Instance
2
Line Count
5
Source Line
916
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java

                        for (int j = 0; j < bounds.length; j++)
                                if ( !"java.lang.Object".equals(bounds[j].getQualifiedName())) //$NON-NLS-1$
                                        parameter.typeBounds().add(rew.getImportRewrite().addImport(bounds[j], rew.getAST()));

                        intermediary.typeParameters().add(parameter);


Clone AbstractionParameter Count: 3Parameter Bindings

for (int j = 0; j < bounds.length; j++)
  if ( !"java.lang.Object".equals(bounds[j].getQualifiedName())) //$NON-NLS-1$
     [[#variable50c2cf60]].typeBounds().add( [[#variable50c2cfc0]].getImportRewrite().addImport(bounds[j],  [[#variable50c2cfc0]].getAST()));
 [[#variable50c2cf40]].add( [[#variable50c2cf60]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50c2cf60]]
ntp 
12[[#50c2cf60]]
parameter 
21[[#50c2cfc0]]
imRewrite 
22[[#50c2cfc0]]
rew 
31[[#50c2cf40]]
newTypeParameters 
32[[#50c2cf40]]
intermediary.typeParameters()