CloneSet2181


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

                                if (binding == null) {
                                        label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_createfield_description, name);
                                        image = JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PRIVATE);
                                }
                                else   {
                                        label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_createfield_other_description, new Object[] {
                                                                                                                                                                name, ASTResolving.getTypeSignature(senderDeclBinding)
                                                                                                                                                              } );
                                        image = JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PUBLIC);
                                }


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

                                if (binding == null) {
                                        label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_createconst_description, name);
                                        image = JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PRIVATE);
                                }
                                else   {
                                        label = Messages.format(CorrectionMessages.UnresolvedElementsSubProcessor_createconst_other_description, new Object[] {
                                                                                                                                                                name, ASTResolving.getTypeSignature(senderDeclBinding)
                                                                                                                                                              } );
                                        image = JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PUBLIC);
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

if (binding == null) {
  label = Messages.format(CorrectionMessages. [[#variableb6225fe0]], name);
  image = JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PRIVATE);
}
else {
  label = Messages.format(CorrectionMessages. [[#variableb6225f80]], new Object[] {
                                                                                    name,
                                                                                    ASTResolving.getTypeSignature(senderDeclBinding)
                                                                                  } );
  image = JavaPluginImages.get(JavaPluginImages.IMG_FIELD_PUBLIC);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b6225fe0]]
UnresolvedElementsSubProcessor_createfield_description 
12[[#b6225fe0]]
UnresolvedElementsSubProcessor_createconst_description 
21[[#b6225f80]]
UnresolvedElementsSubProcessor_createfield_other_description 
22[[#b6225f80]]
UnresolvedElementsSubProcessor_createconst_other_description