CloneSet2830


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.991class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14824
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
24867
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
Clone Instance
1
Line Count
4
Source Line
824
Source File
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
        }


Clone Instance
2
Line Count
4
Source Line
867
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

        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
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#63f8ae40]]
getArgumentNameSuggestions 
12[[#63f8ae40]]
getLocalNameSuggestions 
21[[#61acc020]]
suggestArgumentNames 
22[[#61acc020]]
suggestLocalVariableNames