CloneSet892


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9320.964executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
191249
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java
291283
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java
391320
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MemberVisibilityAdjustor.java
Clone Instance
1
Line Count
9
Source Line
1249
Source File
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;
                                }
                        }
                     }


Clone Instance
2
Line Count
9
Source Line
1283
Source File
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;
                                }
                        }
                     }


Clone Instance
3
Line Count
9
Source Line
1320
Source File
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)) {
                                        keyword = null;
                                        return keyword;
                                }
                        }
                     }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#773789a0]]
referenced.getDeclaringType() 
12[[#773789a0]]
referenced 
13[[#773789a0]]
referenced.getDeclaringType() 
21[[#773788a0]]
ModifierKeyword.PROTECTED_KEYWORD 
22[[#773788a0]]
null 
23[[#773788a0]]
ModifierKeyword.PROTECTED_KEYWORD