CloneSet1271


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.997statement_sequence[7]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110868
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java
210443
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java
Clone Instance
1
Line Count
10
Source Line
868
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java

                String typeName = getQualifiedName(expressionBinding);
                if (typeName.length() == 0)
                        typeName = expressionBinding.getName();
                if (typeName.length() == 0)
                        return Collections.EMPTY_LIST;
                int typeParamStart = typeName.indexOf("<"); //$NON-NLS-1$
                if (typeParamStart != -1)
                        typeName = typeName.substring(0, typeParamStart);
                String[] proposals = StubUtility.getLocalNameSuggestions(fCu.getJavaProject(), typeName, expressionBinding.getDimensions(), excluded);
                return Arrays.asList(proposals);


Clone Instance
2
Line Count
10
Source Line
443
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceParameterRefactoring.java

                String typeName = getQualifiedName(expressionBinding);
                if (typeName.length() == 0)
                        typeName = expressionBinding.getName();
                if (typeName.length() == 0)
                        return Collections.EMPTY_LIST;
                int typeParamStart = typeName.indexOf("<"); //$NON-NLS-1$
                if (typeParamStart != -1)
                        typeName = typeName.substring(0, typeParamStart);
                String[] proposals = StubUtility.getLocalNameSuggestions(fSourceCU.getJavaProject(), typeName, expressionBinding.getDimensions(), excluded);
                return Arrays.asList(proposals);


Clone AbstractionParameter Count: 1Parameter Bindings

String typeName = getQualifiedName(expressionBinding);
if (typeName.length() == 0)
  typeName = expressionBinding.getName();
if (typeName.length() == 0)
  return Collections.EMPTY_LIST;
int typeParamStart = typeName.indexOf("<"); //$NON-NLS-1$
if (typeParamStart != -1)
  typeName = typeName.substring(0, typeParamStart);
String[] proposals = StubUtility.getLocalNameSuggestions( [[#variable7d7dd500]].getJavaProject(), typeName, expressionBinding.getDimensions(), excluded);
return Arrays.asList(proposals);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d7dd500]]
fSourceCU 
12[[#7d7dd500]]
fCu