CloneSet5913


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.975statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
171157
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java
27455
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateCreator.java
Clone Instance
1
Line Count
7
Source Line
1157
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java

                if (typeDeclaration instanceof AbstractTypeDeclaration)
                        return ((AbstractTypeDeclaration) typeDeclaration).getBodyDeclarationsProperty();
                else if (typeDeclaration instanceof AnonymousClassDeclaration)
                        return AnonymousClassDeclaration.BODY_DECLARATIONS_PROPERTY;

                Assert.isTrue(false);
                return null;


Clone Instance
2
Line Count
7
Source Line
455
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/delegates/DelegateCreator.java

                if (parent instanceof AbstractTypeDeclaration)
                        return ((AbstractTypeDeclaration) parent).getBodyDeclarationsProperty();
                else if (parent instanceof AnonymousClassDeclaration)
                        return AnonymousClassDeclaration.BODY_DECLARATIONS_PROPERTY;

                Assert.isTrue(false);
                return null;


Clone AbstractionParameter Count: 1Parameter Bindings

if ( [[#variable65275a20]]instanceof AbstractTypeDeclaration)
  return ((AbstractTypeDeclaration)  [[#variable65275a20]]).getBodyDeclarationsProperty();
else
  if ( [[#variable65275a20]]instanceof AnonymousClassDeclaration)
    return AnonymousClassDeclaration.BODY_DECLARATIONS_PROPERTY;
Assert.isTrue(false);
return null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#65275a20]]
typeDeclaration 
12[[#65275a20]]
parent