CloneSet2608


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.991statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1753
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsContentProvider.java
2762
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsContentProvider.java
Clone Instance
1
Line Count
7
Source Line
53
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsContentProvider.java

                        for (Iterator iterator = fields.iterator(); iterator.hasNext();) {
                                field = (IField) iterator.next();
                                VariableDeclarationFragment fragment = ASTNodeSearchUtil.getFieldDeclarationFragmentNode(field, fUnit);
                                if (fragment != null) {
                                        IVariableBinding binding = fragment.resolveBinding();
                                        if (binding != null)
                                                fFields.add(binding);
                                }
                        }


Clone Instance
2
Line Count
7
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/GenerateConstructorUsingFieldsContentProvider.java

                        for (Iterator iterator = selected.iterator(); iterator.hasNext();) {
                                field = (IField) iterator.next();
                                VariableDeclarationFragment fragment = ASTNodeSearchUtil.getFieldDeclarationFragmentNode(field, fUnit);
                                if (fragment != null) {
                                        IVariableBinding binding = fragment.resolveBinding();
                                        if (binding != null)
                                                fSelected.add(binding);
                                }
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

for (Iterator iterator = [[#variable967fca80]].iterator(); iterator.hasNext();) {
  field = (IField) iterator.next();
  VariableDeclarationFragment fragment = ASTNodeSearchUtil.getFieldDeclarationFragmentNode(field, fUnit);
  if (fragment != null) {
    IVariableBinding binding = fragment.resolveBinding();
    if (binding != null)
       [[#variable967fc9e0]].add(binding);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#967fca80]]
fields 
12[[#967fca80]]
selected 
21[[#967fc9e0]]
fFields 
22[[#967fc9e0]]
fSelected