Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 2 | 0.991 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 824 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java |
2 | 4 | 867 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java |
| ||||
/* * Workarounds for bug 38111 */ public static String[] getArgumentNameSuggestions(IJavaProject project, String baseName, int dimensions, String[] excluded) { String name = workaround38111(baseName); String[] res = NamingConventions.suggestArgumentNames(project, "", name, dimensions, excluded); //$NON-NLS-1$ return sortByLength(res); // longest first } |
| ||||
public static String[] getLocalNameSuggestions(IJavaProject project, String baseName, int dimensions, String[] excluded) { String name = workaround38111(baseName); String[] res = NamingConventions.suggestLocalVariableNames(project, "", name, dimensions, excluded); //$NON-NLS-1$ return sortByLength(res); // longest first } |
| |||
/* * Workarounds for bug 38111 */ public static String[] [[#variable63f8ae40]](IJavaProject project, String baseName, int dimensions, String[] excluded) { String name = workaround38111(baseName); String[] res = NamingConventions. [[#variable61acc020]](project, "", name, dimensions, excluded); //$NON-NLS-1$ return sortByLength(res); // longest first } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#63f8ae40]] | getArgumentNameSuggestions |
1 | 2 | [[#63f8ae40]] | getLocalNameSuggestions |
2 | 1 | [[#61acc020]] | suggestArgumentNames |
2 | 2 | [[#61acc020]] | suggestLocalVariableNames |