CloneSet4028


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.982executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15113
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/RemoveDeclarationCorrectionProposal.java
25118
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/RemoveDeclarationCorrectionProposal.java
Clone Instance
1
Line Count
5
Source Line
113
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/RemoveDeclarationCorrectionProposal.java

                                                          {
                        IMethodBinding decl = ((IMethodBinding) binding).getMethodDeclaration();
                        ASTNode declaration = root.findDeclaringNode(decl);
                        rewrite = ASTRewrite.create(root.getAST());
                        rewrite.remove(declaration, null);
                                                          }


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

                                                               {
                        ITypeBinding decl = ((ITypeBinding) binding).getTypeDeclaration();
                        ASTNode declaration = root.findDeclaringNode(decl);
                        rewrite = ASTRewrite.create(root.getAST());
                        rewrite.remove(declaration, null);
                                                               }


Clone AbstractionParameter Count: 2Parameter Bindings

{
   [[#variable644b1b60]] decl = (( [[#variable644b1b60]]) binding). [[#variable644b1ac0]]();
  ASTNode declaration = root.findDeclaringNode(decl);
  rewrite = ASTRewrite.create(root.getAST());
  rewrite.remove(declaration, null);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#644b1b60]]
IMethodBinding 
12[[#644b1b60]]
ITypeBinding 
21[[#644b1ac0]]
getMethodDeclaration 
22[[#644b1ac0]]
getTypeDeclaration