Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.970 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 89 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java |
2 | 6 | 68 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewAnnotationMemberProposal.java |
| ||||
ASTRewrite rewrite = ASTRewrite.create(astRoot.getAST()); MethodDeclaration newStub = getStub(rewrite, newTypeDecl); ChildListPropertyDescriptor property = ASTNodes.getBodyDeclarationsProperty(newTypeDecl); List members = (List) newTypeDecl.getStructuralProperty(property); |
| ||||
ASTRewrite rewrite = ASTRewrite.create(astRoot.getAST()); AnnotationTypeMemberDeclaration newStub = getStub(rewrite, (AnnotationTypeDeclaration) newTypeDecl); ChildListPropertyDescriptor property = ASTNodes.getBodyDeclarationsProperty(newTypeDecl); List members = (List) newTypeDecl.getStructuralProperty(property); |
| |||
ASTRewrite rewrite = ASTRewrite.create(astRoot.getAST()); [[#variable9aee1700]] newStub = getStub(rewrite, [[#variable5e564a40]]); ChildListPropertyDescriptor property = ASTNodes.getBodyDeclarationsProperty(newTypeDecl); List members = (List) newTypeDecl.getStructuralProperty(property); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9aee1700]] | MethodDeclaration |
1 | 2 | [[#9aee1700]] | AnnotationTypeMemberDeclaration |
2 | 1 | [[#5e564a40]] | newTypeDecl |
2 | 2 | [[#5e564a40]] | (AnnotationTypeDeclaration) newTypeDecl |