Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 1 | 0.997 | statement_sequence[7] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 868 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java |
2 | 10 | 443 | 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(fCu.getJavaProject(), typeName, expressionBinding.getDimensions(), excluded); return Arrays.asList(proposals); |
| ||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d7dd500]] | fSourceCU |
1 | 2 | [[#7d7dd500]] | fCu |