CloneSet3287


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3220.980class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1365
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringAnalyzeUtil.java
2370
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringAnalyzeUtil.java
Clone Instance
1
Line Count
3
Source Line
65
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringAnalyzeUtil.java

        public static MethodDeclaration getMethodDeclaration(TextEdit edit, TextChange change, CompilationUnit cuNode) {
                ASTNode decl = RefactoringAnalyzeUtil.findSimpleNameNode(RefactoringAnalyzeUtil.getNewTextRange(edit, change), cuNode);
                return ((MethodDeclaration) ASTNodes.getParent(decl, MethodDeclaration.class ));
        }


Clone Instance
2
Line Count
3
Source Line
70
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RefactoringAnalyzeUtil.java

        public static Block getBlock(TextEdit edit, TextChange change, CompilationUnit cuNode) {
                ASTNode decl = RefactoringAnalyzeUtil.findSimpleNameNode(RefactoringAnalyzeUtil.getNewTextRange(edit, change), cuNode);
                return ((Block) ASTNodes.getParent(decl, Block.class ));
        }


Clone AbstractionParameter Count: 2Parameter Bindings

public static [[#variableb55df880]]  [[#variableb5304520]](TextEdit edit, TextChange change, CompilationUnit cuNode) {
  ASTNode decl = RefactoringAnalyzeUtil.findSimpleNameNode(RefactoringAnalyzeUtil.getNewTextRange(edit, change), cuNode);
  return (( [[#variableb55df880]]) ASTNodes.getParent(decl,  [[#variableb55df880]].class ));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b55df880]]
MethodDeclaration 
12[[#b55df880]]
Block 
21[[#b5304520]]
getMethodDeclaration 
22[[#b5304520]]
getBlock