Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.968 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 897 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarManifestWizardPage.java |
2 | 8 | 492 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/jarpackager/JarPackageWizardPage.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()); |
| ||||
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()); |
| |||
[[#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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a195d540]] | StandardJavaElementContentProvider |
1 | 2 | [[#a195d540]] | ITreeContentProvider |
2 | 1 | [[#a195d560]] | cp |
2 | 2 | [[#a195d560]] | treeContentProvider |
3 | 1 | [[#a195d500]] | JavaElementLabelProvider.SHOW_DEFAULT |
3 | 2 | [[#a195d500]] | labelFlags |