CloneSet3560


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.968statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17897
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java
28492
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizardPage.java
Clone Instance
1
Line Count
7
Source Line
897
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java

                StandardJavaElementContentProvider cp = new StandardJavaElementContentProvider() {
                         public boolean hasChildren(Object element) {
                                 // prevent the + from being shown in front of packages
                                 return !(element instanceof IPackageFragment) && super.hasChildren(element);
                         }
                                                        };
                final DecoratingLabelProvider provider = new DecoratingLabelProvider(new JavaElementLabelProvider(JavaElementLabelProvider.SHOW_DEFAULT), new ProblemsLabelDecorator());


Clone Instance
2
Line Count
8
Source Line
492
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizardPage.java

                ITreeContentProvider treeContentProvider =
                        new StandardJavaElementContentProvider() {
                                public boolean hasChildren(Object element) {
                                        // prevent the + from being shown in front of packages
                                        return !(element instanceof IPackageFragment) && super.hasChildren(element);
                                }
                        };
                final DecoratingLabelProvider provider = new DecoratingLabelProvider(new JavaElementLabelProvider(labelFlags), new ProblemsLabelDecorator());


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variablea195d540]]  [[#variablea195d560]]= new StandardJavaElementContentProvider() {
                                                 public boolean hasChildren(Object element) {
                                                   // prevent the + from being shown in front of packages
                                                   return !(element instanceof IPackageFragment) && super.hasChildren(element);
                                                 }
                                               };
final DecoratingLabelProvider provider = new DecoratingLabelProvider(new JavaElementLabelProvider( [[#variablea195d500]]), new ProblemsLabelDecorator());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a195d540]]
StandardJavaElementContentProvider 
12[[#a195d540]]
ITreeContentProvider 
21[[#a195d560]]
cp 
22[[#a195d560]]
treeContentProvider 
31[[#a195d500]]
JavaElementLabelProvider.SHOW_DEFAULT 
32[[#a195d500]]
labelFlags