Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 2 | 0.978 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 1313 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java |
2 | 3 | 1321 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java |
| ||||
/* * @see org.eclipse.jdt.ui.text.folding.IJavaFoldingStructureProviderExtension#collapseElements(org.eclipse.jdt.core.IJavaElement[]) */ public final void collapseElements(IJavaElement[] elements) { Set set = new HashSet(Arrays.asList(elements)); modifyFiltered(new JavaElementSetFilter(set, false), false); } |
| ||||
/* * @see org.eclipse.jdt.ui.text.folding.IJavaFoldingStructureProviderExtension#expandElements(org.eclipse.jdt.core.IJavaElement[]) */ public final void expandElements(IJavaElement[] elements) { Set set = new HashSet(Arrays.asList(elements)); modifyFiltered(new JavaElementSetFilter(set, true), true); } |
| |||
/* * @see org.eclipse.jdt.ui.text.folding.IJavaFoldingStructureProviderExtension#collapseElements(org.eclipse.jdt.core.IJavaElement[]) */ /* * @see org.eclipse.jdt.ui.text.folding.IJavaFoldingStructureProviderExtension#expandElements(org.eclipse.jdt.core.IJavaElement[]) */ public final void [[#variableb2aecba0]](IJavaElement[] elements) { Set set = new HashSet(Arrays.asList(elements)); modifyFiltered(new JavaElementSetFilter(set, [[#variableb2aede40]]), [[#variableb2aede40]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2aecba0]] | collapseElements |
1 | 2 | [[#b2aecba0]] | expandElements |
2 | 1 | [[#b2aede40]] | false |
2 | 2 | [[#b2aede40]] | true |