CloneSet5127


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.978class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
131313
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
231321
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
Clone Instance
1
Line Count
3
Source Line
1313
Source File
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);
        }


Clone Instance
2
Line Count
3
Source Line
1321
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java

        /*
         * @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);
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         * @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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2aecba0]]
collapseElements 
12[[#b2aecba0]]
expandElements 
21[[#b2aede40]]
false 
22[[#b2aede40]]
true