CloneSet2797


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.986statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
161026
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
261130
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java
Clone Instance
1
Line Count
6
Source Line
1026
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java

                        String[] arg = new String[] {
                                                      ASTResolving.getMethodSignature(methodBinding, false)
                                                    };
                        String label;
                        if (diff == 1) {
                                label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_addargument_description, arg);
                        }
                        else   {
                                label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_addarguments_description, arg);
                        }


Clone Instance
2
Line Count
6
Source Line
1130
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/UnresolvedElementsSubProcessor.java

                        String[] arg = new String[] {
                                                      ASTResolving.getMethodSignature(methodRef, false)
                                                    };
                        String label;
                        if (diff == 1) {
                                label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_removeargument_description, arg);
                        }
                        else   {
                                label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_removearguments_description, arg);
                        }


Clone AbstractionParameter Count: 3Parameter Bindings

String[] arg = new String[] {
                              ASTResolving.getMethodSignature( [[#variablea465cd60]], false)
                            };
String label;
if (diff == 1) {
  label = Messages.format(CorrectionMessages. [[#variableb61c3500]], arg);
}
else {
  label = Messages.format(CorrectionMessages. [[#variableb61c3520]], arg);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a465cd60]]
methodBinding 
12[[#a465cd60]]
methodRef 
21[[#b61c3500]]
UnresolvedElementsSubProcessor_addargument_description 
22[[#b61c3500]]
UnresolvedElementsSubProcessor_removeargument_description 
31[[#b61c3520]]
UnresolvedElementsSubProcessor_addarguments_description 
32[[#b61c3520]]
UnresolvedElementsSubProcessor_removearguments_description