CloneSet3356


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8260.964block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18177
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamingNameSuggestor.java
28187
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamingNameSuggestor.java
Clone Instance
1
Line Count
8
Source Line
177
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamingNameSuggestor.java

                                                                                                                                               {

                initializePrefixesAndSuffixes(project);

                if (isStatic)
                        return suggestNewVariableName(fStaticFieldPrefixes, fStaticFieldSuffixes, oldFieldName, oldTypeName, newTypeName);
                else
                        return suggestNewVariableName(fFieldPrefixes, fFieldSuffixes, oldFieldName, oldTypeName, newTypeName);
                                                                                                                                               }


Clone Instance
2
Line Count
8
Source Line
187
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenamingNameSuggestor.java

                                                                                                                                                 {

                initializePrefixesAndSuffixes(project);

                if (isArgument)
                        return suggestNewVariableName(fArgumentPrefixes, fArgumentSuffixes, oldLocalName, oldTypeName, newTypeName);
                else
                        return suggestNewVariableName(fLocalPrefixes, fLocalSuffixes, oldLocalName, oldTypeName, newTypeName);
                                                                                                                                                 }


Clone AbstractionParameter Count: 6Parameter Bindings

{
  initializePrefixesAndSuffixes(project);
  if ( [[#variable9ae263e0]])
    return suggestNewVariableName( [[#variable9ae26380]],  [[#variable9ae262a0]],  [[#variable9e235940]], oldTypeName, newTypeName);
  else
    return suggestNewVariableName( [[#variable9e2358c0]],  [[#variable9ae261e0]],  [[#variable9e235940]], oldTypeName, newTypeName);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9ae263e0]]
isArgument 
12[[#9ae263e0]]
isStatic 
21[[#9ae26380]]
fArgumentPrefixes 
22[[#9ae26380]]
fStaticFieldPrefixes 
31[[#9ae262a0]]
fArgumentSuffixes 
32[[#9ae262a0]]
fStaticFieldSuffixes 
41[[#9e235940]]
oldLocalName 
42[[#9e235940]]
oldFieldName 
51[[#9e2358c0]]
fLocalPrefixes 
52[[#9e2358c0]]
fFieldPrefixes 
61[[#9ae261e0]]
fLocalSuffixes 
62[[#9ae261e0]]
fFieldSuffixes