CloneSet624


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4420.990statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14648
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java
24709
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java
34802
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java
44852
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java
Clone Instance
1
Line Count
4
Source Line
648
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java

                                        name = NamingConventions.removePrefixAndSuffixForLocalVariableName(project, name);
                                        if (name.equals(oldName))
                                                name = NamingConventions.removePrefixAndSuffixForArgumentName(project, name);
                                        fieldName = NamingConventions.suggestFieldNames(project, "", name, 0, Flags.AccPrivate, (String[]) excludedFields.toArray(new String[excludedFields.size()]))[0]; //$NON-NLS-1$


Clone Instance
2
Line Count
4
Source Line
709
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java

                        name = NamingConventions.removePrefixAndSuffixForLocalVariableName(project, name);
                        if (name.equals(oldName))
                                name = NamingConventions.removePrefixAndSuffixForArgumentName(project, name);
                        name = NamingConventions.suggestFieldNames(project, "", name, 0, Flags.AccPrivate, (String[]) excluded.toArray(new String[excluded.size()]))[0]; //$NON-NLS-1$


Clone Instance
3
Line Count
4
Source Line
802
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java

                        name = NamingConventions.removePrefixAndSuffixForLocalVariableName(project, name);
                        if (name.equals(oldName))
                                name = NamingConventions.removePrefixAndSuffixForArgumentName(project, name);
                        fieldName = NamingConventions.suggestFieldNames(project, "", name, 0, Flags.AccPrivate, (String[]) excludedFields.toArray(new String[excludedFields.size()]))[0]; //$NON-NLS-1$


Clone Instance
4
Line Count
4
Source Line
852
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java

                        name = NamingConventions.removePrefixAndSuffixForLocalVariableName(project, name);
                        if (name.equals(oldName))
                                name = NamingConventions.removePrefixAndSuffixForArgumentName(project, name);
                        name = NamingConventions.suggestFieldNames(project, "", name, 0, Flags.AccPrivate, (String[]) excluded.toArray(new String[excluded.size()]))[0]; //$NON-NLS-1$


Clone AbstractionParameter Count: 2Parameter Bindings

name = NamingConventions.removePrefixAndSuffixForLocalVariableName(project, name);
if (name.equals(oldName))
  name = NamingConventions.removePrefixAndSuffixForArgumentName(project, name);
 [[#variable5237bf80]]= NamingConventions.suggestFieldNames(project, "", name, 0, Flags.AccPrivate, (String[])  [[#variable53f4f6e0]].toArray(new String[ [[#variable53f4f6e0]].size()]))[0]; //$NON-NLS-1$
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5237bf80]]
fieldName 
12[[#5237bf80]]
name 
13[[#5237bf80]]
fieldName 
14[[#5237bf80]]
name 
21[[#53f4f6e0]]
excludedFields 
22[[#53f4f6e0]]
excluded 
23[[#53f4f6e0]]
excludedFields 
24[[#53f4f6e0]]
excluded