CloneSet2351


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.976statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1356
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GetterSetterCompletionProposal.java
2361
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GetterSetterCompletionProposal.java
Clone Instance
1
Line Count
3
Source Line
56
Source File
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));
                                }


Clone Instance
2
Line Count
3
Source Line
61
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/GetterSetterCompletionProposal.java

                                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));
                                }


Clone AbstractionParameter Count: 3Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b849f400]]
getterName 
12[[#b849f400]]
setterName 
21[[#bda6cfc0]]
getGetterName 
22[[#bda6cfc0]]
getSetterName 
31[[#bd6f4860]]
true 
32[[#bd6f4860]]
false