CloneSet3798


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.989class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1780
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringElementFilterDescriptor.java
2776
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/FilterDescriptor.java
Clone Instance
1
Line Count
7
Source Line
80
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringElementFilterDescriptor.java

        private static RefactoringElementFilterDescriptor[] getFilterDescriptors() {
                if (fgFilterDescriptors == null) {
                        IExtensionRegistry registry = Platform.getExtensionRegistry();
                        IConfigurationElement[] elements = registry.getConfigurationElementsFor(JavaUI.ID_PLUGIN, EXTENSION_POINT_NAME);
                        fgFilterDescriptors = createFilterDescriptors(elements);
                }
                return fgFilterDescriptors;
        }


Clone Instance
2
Line Count
7
Source Line
76
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/FilterDescriptor.java

        /**
         * Returns all contributed Java element filters.
         */
        public static FilterDescriptor[] getFilterDescriptors() {
                if (fgFilterDescriptors == null) {
                        IExtensionRegistry registry = Platform.getExtensionRegistry();
                        IConfigurationElement[] elements = registry.getConfigurationElementsFor(JavaUI.ID_PLUGIN, EXTENSION_POINT_NAME);
                        fgFilterDescriptors = createFilterDescriptors(elements);
                }
                return fgFilterDescriptors;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

 [[#variablebd6cc0a0]]static [[#variablebd6cc020]][] getFilterDescriptors() {
  if (fgFilterDescriptors == null) {
    IExtensionRegistry registry = Platform.getExtensionRegistry();
    IConfigurationElement[] elements = registry.getConfigurationElementsFor(JavaUI.ID_PLUGIN, EXTENSION_POINT_NAME);
    fgFilterDescriptors = createFilterDescriptors(elements);
  }
  return fgFilterDescriptors;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bd6cc0a0]]
private 
12[[#bd6cc0a0]]
/**
 * Returns all contributed Java element filters.
 */
public 
21[[#bd6cc020]]
RefactoringElementFilterDescriptor 
22[[#bd6cc020]]
FilterDescriptor