CloneSet7415


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3230.969class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1387
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java
2392
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java
Clone Instance
1
Line Count
3
Source Line
87
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java

        public static boolean isInsideCompilationUnit(IJavaElement element) {
                return  !(element instanceof ICompilationUnit) &&
                                hasAncestorOfType(element, IJavaElement.COMPILATION_UNIT);
        }


Clone Instance
2
Line Count
3
Source Line
92
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java

        public static boolean isInsideClassFile(IJavaElement element) {
                return  !(element instanceof IClassFile) &&
                                hasAncestorOfType(element, IJavaElement.CLASS_FILE);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

public static boolean  [[#variable5858dae0]](IJavaElement element) {
  return !(element instanceof [[#variable5858da60]]) && hasAncestorOfType(element, IJavaElement. [[#variable5858d9c0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5858dae0]]
isInsideCompilationUnit 
12[[#5858dae0]]
isInsideClassFile 
21[[#5858da60]]
ICompilationUnit 
22[[#5858da60]]
IClassFile 
31[[#5858d9c0]]
COMPILATION_UNIT 
32[[#5858d9c0]]
CLASS_FILE