CloneSet3282


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.970statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1689
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java
2668
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewAnnotationMemberProposal.java
Clone Instance
1
Line Count
6
Source Line
89
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java

                        ASTRewrite rewrite = ASTRewrite.create(astRoot.getAST());

                        MethodDeclaration newStub = getStub(rewrite, newTypeDecl);

                        ChildListPropertyDescriptor property = ASTNodes.getBodyDeclarationsProperty(newTypeDecl);
                        List members = (List) newTypeDecl.getStructuralProperty(property);


Clone Instance
2
Line Count
6
Source Line
68
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewAnnotationMemberProposal.java

                        ASTRewrite rewrite = ASTRewrite.create(astRoot.getAST());

                        AnnotationTypeMemberDeclaration newStub = getStub(rewrite, (AnnotationTypeDeclaration) newTypeDecl);

                        ChildListPropertyDescriptor property = ASTNodes.getBodyDeclarationsProperty(newTypeDecl);
                        List members = (List) newTypeDecl.getStructuralProperty(property);


Clone AbstractionParameter Count: 2Parameter Bindings

ASTRewrite rewrite = ASTRewrite.create(astRoot.getAST());
 [[#variable9aee1700]] newStub = getStub(rewrite,  [[#variable5e564a40]]);
ChildListPropertyDescriptor property = ASTNodes.getBodyDeclarationsProperty(newTypeDecl);
List members = (List) newTypeDecl.getStructuralProperty(property);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9aee1700]]
MethodDeclaration 
12[[#9aee1700]]
AnnotationTypeMemberDeclaration 
21[[#5e564a40]]
newTypeDecl 
22[[#5e564a40]]
(AnnotationTypeDeclaration) newTypeDecl