CloneSet655


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6430.986executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1692
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java
26108
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java
36124
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java
46138
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java
Clone Instance
1
Line Count
6
Source Line
92
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java

                                 {
                        Type result = fCuRewrite.getImportRewrite().addImport(type, fCuRewrite.getAST());
                        fCuRewrite.getImportRemover().registerAddedImport(type.getQualifiedName());
                        exp = ASTNodeFactory.newName(fCuRewrite.getAST(), ASTFlattener.asString(result));
                        fCuRewrite.getASTRewrite().set(node, FieldAccess.EXPRESSION_PROPERTY, exp,  fCuRewrite.createGroupDescription(REFERENCE_UPDATE));
                        fNeedsImport = true;
                                 }


Clone Instance
2
Line Count
6
Source Line
108
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java

                                 {
                        Type result = fCuRewrite.getImportRewrite().addImport(type, fCuRewrite.getAST());
                        fCuRewrite.getImportRemover().registerAddedImport(type.getQualifiedName());
                        exp = ASTNodeFactory.newName(fCuRewrite.getAST(), ASTFlattener.asString(result));
                        fCuRewrite.getASTRewrite().set(node, MethodInvocation.EXPRESSION_PROPERTY, exp, fCuRewrite.createGroupDescription(REFERENCE_UPDATE));
                        fNeedsImport = true;
                                 }


Clone Instance
3
Line Count
6
Source Line
124
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java

                                       {
                        Type result = fCuRewrite.getImportRewrite().addImport(type, fCuRewrite.getAST());
                        fCuRewrite.getImportRemover().registerAddedImport(type.getQualifiedName());
                        qualifier = ASTNodeFactory.newName(fCuRewrite.getAST(), ASTFlattener.asString(result));
                        fCuRewrite.getASTRewrite().set(node, MemberRef.QUALIFIER_PROPERTY, qualifier, fCuRewrite.createGroupDescription(REFERENCE_UPDATE));
                        fNeedsImport = true;
                                       }


Clone Instance
4
Line Count
6
Source Line
138
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMemberAnalyzer.java

                                       {
                        Type result = fCuRewrite.getImportRewrite().addImport(type, fCuRewrite.getAST());
                        fCuRewrite.getImportRemover().registerAddedImport(type.getQualifiedName());
                        qualifier = ASTNodeFactory.newName(fCuRewrite.getAST(), ASTFlattener.asString(result));
                        fCuRewrite.getASTRewrite().set(node, MethodRef.QUALIFIER_PROPERTY, qualifier, fCuRewrite.createGroupDescription(REFERENCE_UPDATE));
                        fNeedsImport = true;
                                       }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  Type result = fCuRewrite.getImportRewrite().addImport(type, fCuRewrite.getAST());
  fCuRewrite.getImportRemover().registerAddedImport(type.getQualifiedName());
   [[#variableb95aec20]]= ASTNodeFactory.newName(fCuRewrite.getAST(), ASTFlattener.asString(result));
  fCuRewrite.getASTRewrite().set(node,  [[#variableb95aa660]]. [[#variableb95aeca0]],  [[#variableb95aec20]], fCuRewrite.createGroupDescription(REFERENCE_UPDATE));
  fNeedsImport = true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b95aec20]]
exp 
12[[#b95aec20]]
exp 
13[[#b95aec20]]
qualifier 
14[[#b95aec20]]
qualifier 
21[[#b95aa660]]
FieldAccess 
22[[#b95aa660]]
MethodInvocation 
23[[#b95aa660]]
MemberRef 
24[[#b95aa660]]
MethodRef 
31[[#b95aeca0]]
EXPRESSION_PROPERTY 
32[[#b95aeca0]]
EXPRESSION_PROPERTY 
33[[#b95aeca0]]
QUALIFIER_PROPERTY 
34[[#b95aeca0]]
QUALIFIER_PROPERTY