Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 2 | 3 | 0.969 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 87 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java |
2 | 3 | 92 | 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); } |
| ||||
public static boolean isInsideClassFile(IJavaElement element) { return !(element instanceof IClassFile) && hasAncestorOfType(element, IJavaElement.CLASS_FILE); } |
| |||
public static boolean [[#variable5858dae0]](IJavaElement element) { return !(element instanceof [[#variable5858da60]]) && hasAncestorOfType(element, IJavaElement. [[#variable5858d9c0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5858dae0]] | isInsideCompilationUnit |
1 | 2 | [[#5858dae0]] | isInsideClassFile |
2 | 1 | [[#5858da60]] | ICompilationUnit |
2 | 2 | [[#5858da60]] | IClassFile |
3 | 1 | [[#5858d9c0]] | COMPILATION_UNIT |
3 | 2 | [[#5858d9c0]] | CLASS_FILE |