CloneSet2468


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.979class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14248
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyProcessor.java
24254
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyProcessor.java
Clone Instance
1
Line Count
4
Source Line
248
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyProcessor.java

        protected static void copyThrownExceptions( final MethodDeclaration oldMethod, final MethodDeclaration newMethod) {
                final AST ast = newMethod.getAST();
                for (int index = 0,n = oldMethod.thrownExceptions().size(); index < n; index++)
                        newMethod.thrownExceptions().add(index, ASTNode.copySubtree(ast, (Name) oldMethod.thrownExceptions().get(index)));
        }


Clone Instance
2
Line Count
4
Source Line
254
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/HierarchyProcessor.java

        protected static void copyTypeParameters( final MethodDeclaration oldMethod, final MethodDeclaration newMethod) {
                final AST ast = newMethod.getAST();
                for (int index = 0,n = oldMethod.typeParameters().size(); index < n; index++)
                        newMethod.typeParameters().add(index, ASTNode.copySubtree(ast, (TypeParameter) oldMethod.typeParameters().get(index)));
        }


Clone AbstractionParameter Count: 3Parameter Bindings

protected static void [[#variable5faa0a20]]( final MethodDeclaration oldMethod, final MethodDeclaration newMethod) {
  final AST ast = newMethod.getAST();
  for (int index = 0, n = oldMethod. [[#variable5faa09a0]]().size(); index < n; index++)
    newMethod. [[#variable5faa09a0]]().add(index, ASTNode.copySubtree(ast, ( [[#variable5faa0940]]) oldMethod. [[#variable5faa09a0]]().get(index)));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5faa0a20]]
copyThrownExceptions 
12[[#5faa0a20]]
copyTypeParameters 
21[[#5faa09a0]]
thrownExceptions 
22[[#5faa09a0]]
typeParameters 
31[[#5faa0940]]
Name 
32[[#5faa0940]]
TypeParameter