Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 3 | 2 | 0.964 | executable_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 1249 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java |
2 | 9 | 1283 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java |
3 | 9 | 1320 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java |
| ||||
{ final ITypeHierarchy hierarchy = getTypeHierarchy(referencing, new SubProgressMonitor(monitor, 1)); final IType[] types = hierarchy.getSupertypes(referencing); IType superType = null; for (int index = 0; index < types.length; index++) { superType = types[index]; if (superType.equals(referenced.getDeclaringType())) { keyword = ModifierKeyword.PROTECTED_KEYWORD; return keyword; } } } |
| ||||
{ final ITypeHierarchy hierarchy = getTypeHierarchy(referencing, new SubProgressMonitor(monitor, 1)); final IType[] types = hierarchy.getSupertypes(referencing); IType superType = null; for (int index = 0; index < types.length; index++) { superType = types[index]; if (superType.equals(referenced.getDeclaringType())) { keyword = ModifierKeyword.PROTECTED_KEYWORD; return keyword; } } } |
| ||||
{ final ITypeHierarchy hierarchy = getTypeHierarchy(referencing, new SubProgressMonitor(monitor, 1)); final IType[] types = hierarchy.getSupertypes(referencing); IType superType = null; for (int index = 0; index < types.length; index++) { superType = types[index]; if (superType.equals(referenced)) { keyword = null; return keyword; } } } |
| |||
{ final ITypeHierarchy hierarchy = getTypeHierarchy(referencing, new SubProgressMonitor(monitor, 1)); final IType[] types = hierarchy.getSupertypes(referencing); IType superType = null; for (int index = 0; index < types.length; index++) { superType = types[index]; if (superType.equals( [[#variable773789a0]])) { keyword = [[#variable773788a0]]; return keyword; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#773789a0]] | referenced.getDeclaringType() |
1 | 2 | [[#773789a0]] | referenced |
1 | 3 | [[#773789a0]] | referenced.getDeclaringType() |
2 | 1 | [[#773788a0]] | ModifierKeyword.PROTECTED_KEYWORD |
2 | 2 | [[#773788a0]] | null |
2 | 3 | [[#773788a0]] | ModifierKeyword.PROTECTED_KEYWORD |