Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 2 | 0.990 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 648 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
2 | 4 | 709 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
3 | 4 | 802 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ConvertAnonymousToNestedRefactoring.java |
4 | 4 | 852 | 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$ |
| ||||
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$ |
| ||||
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$ |
| ||||
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$ |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5237bf80]] | fieldName |
1 | 2 | [[#5237bf80]] | name |
1 | 3 | [[#5237bf80]] | fieldName |
1 | 4 | [[#5237bf80]] | name |
2 | 1 | [[#53f4f6e0]] | excludedFields |
2 | 2 | [[#53f4f6e0]] | excluded |
2 | 3 | [[#53f4f6e0]] | excludedFields |
2 | 4 | [[#53f4f6e0]] | excluded |