CloneSet1618


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2730.957statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1283
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java
22120
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java
3262
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ImplementInterfaceProposal.java
4262
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewAnnotationMemberProposal.java
52349
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
62506
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java
7288
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java
Clone Instance
1
Line Count
2
Source Line
83
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AbstractMethodCompletionProposal.java

                        astRoot = ASTResolving.createQuickFixAST(getCompilationUnit(), null);
                        newTypeDecl = astRoot.findDeclaringNode(fSenderBinding.getKey());


Clone Instance
2
Line Count
2
Source Line
120
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeMethodSignatureProposal.java

                        astRoot = ASTResolving.createQuickFixAST(getCompilationUnit(), null);
                        newMethodDecl = astRoot.findDeclaringNode(fSenderBinding.getKey());


Clone Instance
3
Line Count
2
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ImplementInterfaceProposal.java

                        newRoot = ASTResolving.createQuickFixAST(getCompilationUnit(), null);
                        declNode = newRoot.findDeclaringNode(fBinding.getKey());


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

                        astRoot = ASTResolving.createQuickFixAST(getCompilationUnit(), null);
                        newTypeDecl = astRoot.findDeclaringNode(fSenderBinding.getKey());


Clone Instance
5
Line Count
2
Source Line
349
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/NewVariableCompletionProposal.java

                        astRoot = ASTResolving.createQuickFixAST(getCompilationUnit(), null);
                        newTypeDecl = astRoot.findDeclaringNode(fSenderBinding.getKey());


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

                        astRoot = ASTResolving.createQuickFixAST(getCompilationUnit(), null);
                        newTypeDecl = astRoot.findDeclaringNode(fSenderBinding.getKey());


Clone Instance
7
Line Count
2
Source Line
88
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeChangeCompletionProposal.java

                        newRoot = ASTResolving.createQuickFixAST(getCompilationUnit(), null);
                        declNode = newRoot.findDeclaringNode(fBinding.getKey());


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variableb2aa42e0]]= ASTResolving.createQuickFixAST(getCompilationUnit(), null);
 [[#variableb8d7c140]]= [[#variableb2aa42e0]].findDeclaringNode( [[#variableb8d7c100]].getKey());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2aa42e0]]
newRoot 
12[[#b2aa42e0]]
astRoot 
13[[#b2aa42e0]]
astRoot 
14[[#b2aa42e0]]
astRoot 
15[[#b2aa42e0]]
astRoot 
16[[#b2aa42e0]]
newRoot 
17[[#b2aa42e0]]
astRoot 
21[[#b8d7c140]]
declNode 
22[[#b8d7c140]]
newTypeDecl 
23[[#b8d7c140]]
newMethodDecl 
24[[#b8d7c140]]
newTypeDecl 
25[[#b8d7c140]]
newTypeDecl 
26[[#b8d7c140]]
declNode 
27[[#b8d7c140]]
newTypeDecl 
31[[#b8d7c100]]
fBinding 
32[[#b8d7c100]]
fSenderBinding 
33[[#b8d7c100]]
fSenderBinding 
34[[#b8d7c100]]
fSenderBinding 
35[[#b8d7c100]]
fSenderBinding 
36[[#b8d7c100]]
fBinding 
37[[#b8d7c100]]
fSenderBinding