CloneSet7631


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
2230.958statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12793
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceFactoryRefactoring.java
22448
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java
Clone Instance
1
Line Count
2
Source Line
793
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceFactoryRefactoring.java

                // Need to use a qualified name for the factory method if we're not
                // in the context of the class holding the factory.
                AbstractTypeDeclaration callOwner = (AbstractTypeDeclaration) ASTNodes.getParent(ctorCall, AbstractTypeDeclaration.class );
                ITypeBinding callOwnerBinding = callOwner.resolveBinding();


Clone Instance
2
Line Count
2
Source Line
448
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/sef/SelfEncapsulateFieldRefactoring.java

                AbstractTypeDeclaration declaration = (AbstractTypeDeclaration) ASTNodes.getParent(fFieldDeclaration, AbstractTypeDeclaration.class );
                ITypeBinding type = declaration.resolveBinding();


Clone AbstractionParameter Count: 3Parameter Bindings

// Need to use a qualified name for the factory method if we're not
// in the context of the class holding the factory.
AbstractTypeDeclaration  [[#variable5a4d7c80]]= (AbstractTypeDeclaration) ASTNodes.getParent( [[#variable5a4d7ba0]], AbstractTypeDeclaration.class );
ITypeBinding  [[#variable5a4d7c00]]= [[#variable5a4d7c80]].resolveBinding();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5a4d7c80]]
declaration 
12[[#5a4d7c80]]
callOwner 
21[[#5a4d7ba0]]
fFieldDeclaration 
22[[#5a4d7ba0]]
ctorCall 
31[[#5a4d7c00]]
type 
32[[#5a4d7c00]]
callOwnerBinding