CloneSet3039


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.986class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14936
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
24942
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
Clone Instance
1
Line Count
4
Source Line
936
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

        public static boolean hasParameterName(IJavaProject project, String name) {
                String prefixes = project.getOption(JavaCore.CODEASSIST_ARGUMENT_PREFIXES, true);
                String suffixes = project.getOption(JavaCore.CODEASSIST_ARGUMENT_SUFFIXES, true);
                return hasPrefixOrSuffix(prefixes, suffixes, name);
        }


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

        public static boolean hasLocalVariableName(IJavaProject project, String name) {
                String prefixes = project.getOption(JavaCore.CODEASSIST_LOCAL_PREFIXES, true);
                String suffixes = project.getOption(JavaCore.CODEASSIST_LOCAL_SUFFIXES, true);
                return hasPrefixOrSuffix(prefixes, suffixes, name);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

public static boolean  [[#variableb517c080]](IJavaProject project, String name) {
  String prefixes = project.getOption(JavaCore. [[#variableb517c020]], true);
  String suffixes = project.getOption(JavaCore. [[#variable9b23ff80]], true);
  return hasPrefixOrSuffix(prefixes, suffixes, name);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b517c080]]
hasParameterName 
12[[#b517c080]]
hasLocalVariableName 
21[[#b517c020]]
CODEASSIST_ARGUMENT_PREFIXES 
22[[#b517c020]]
CODEASSIST_LOCAL_PREFIXES 
31[[#9b23ff80]]
CODEASSIST_ARGUMENT_SUFFIXES 
32[[#9b23ff80]]
CODEASSIST_LOCAL_SUFFIXES