Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.976 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 56 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GetterSetterCompletionProposal.java |
2 | 3 | 61 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GetterSetterCompletionProposal.java |
| ||||
String getterName = GetterSetterUtil.getGetterName(curr, null); if (getterName.startsWith(prefix) && !hasMethod(methods, getterName) && suggestedMethods.add(getterName)) { result.add(new GetterSetterCompletionProposal(curr, offset, length, true, relevance)); } |
| ||||
String setterName = GetterSetterUtil.getSetterName(curr, null); if (setterName.startsWith(prefix) && !hasMethod(methods, setterName) && suggestedMethods.add(setterName)) { result.add(new GetterSetterCompletionProposal(curr, offset, length, false, relevance)); } |
| |||
String [[#variableb849f400]]= GetterSetterUtil. [[#variablebda6cfc0]](curr, null); if ( [[#variableb849f400]].startsWith(prefix) && !hasMethod(methods, [[#variableb849f400]]) && suggestedMethods.add( [[#variableb849f400]])) { result.add(new GetterSetterCompletionProposal(curr, offset, length, [[#variablebd6f4860]], relevance)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b849f400]] | getterName |
1 | 2 | [[#b849f400]] | setterName |
2 | 1 | [[#bda6cfc0]] | getGetterName |
2 | 2 | [[#bda6cfc0]] | getSetterName |
3 | 1 | [[#bd6f4860]] | true |
3 | 2 | [[#bd6f4860]] | false |