CloneSet5275


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.970executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15531
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java
25687
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java
Clone Instance
1
Line Count
5
Source Line
531
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java

                                                {
                                final ICompilationUnit unit = RefactoringASTParser.getCompilationUnit(fragment);
                                final IJavaElement element = unit.getElementAt(fragment.getStartPosition());
                                if (element instanceof IField)
                                        return (IField) element;
                                                }


Clone Instance
2
Line Count
5
Source Line
687
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/constraints/SuperTypeRefactoringProcessor.java

                                                     {
                                        final ICompilationUnit unit = RefactoringASTParser.getCompilationUnit(node);
                                        final IJavaElement element = unit.getElementAt(node.getStartPosition());
                                        if (element instanceof IMethod)
                                                return (IMethod) element;
                                                     }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  final ICompilationUnit unit = RefactoringASTParser.getCompilationUnit( [[#variableb079c2e0]]);
  final IJavaElement element = unit.getElementAt( [[#variableb079c2e0]].getStartPosition());
  if (element instanceof [[#variableb079cc80]])
    return ( [[#variableb079cc80]]) element;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b079c2e0]]
node 
12[[#b079c2e0]]
fragment 
21[[#b079cc80]]
IMethod 
22[[#b079cc80]]
IField