Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.989 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 80 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringElementFilterDescriptor.java |
2 | 7 | 76 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/filters/FilterDescriptor.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; } |
| ||||
/** * 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; } |
| |||
[[#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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#bd6cc0a0]] | private |
1 | 2 | [[#bd6cc0a0]] | /** * Returns all contributed Java element filters. */ public |
2 | 1 | [[#bd6cc020]] | RefactoringElementFilterDescriptor |
2 | 2 | [[#bd6cc020]] | FilterDescriptor |