CloneSet6539


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4240.964statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14332
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java
25340
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java
Clone Instance
1
Line Count
4
Source Line
332
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java

                        if (target.isAnnotation())
                                return RefactoringStatus.createErrorStatus(RefactoringCoreMessages.IntroduceIndirectionRefactoring_cannot_create_in_annotation);
                        if (target.isInterface())
                                return RefactoringStatus.createErrorStatus(RefactoringCoreMessages.IntroduceIndirectionRefactoring_cannot_create_on_interface);


Clone Instance
2
Line Count
5
Source Line
340
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java

                if (target.isReadOnly())
                        return RefactoringStatus.createErrorStatus(RefactoringCoreMessages.IntroduceIndirectionRefactoring_cannot_create_in_readonly);

                if (target.isBinary())
                        return RefactoringStatus.createErrorStatus(RefactoringCoreMessages.IntroduceIndirectionRefactoring_cannot_create_in_binary);


Clone AbstractionParameter Count: 4Parameter Bindings

if (target. [[#variable61fa3b20]]())
  return RefactoringStatus.createErrorStatus(RefactoringCoreMessages. [[#variable61fa3ac0]]);
if (target. [[#variable61fa3ae0]]())
  return RefactoringStatus.createErrorStatus(RefactoringCoreMessages. [[#variable61fa30a0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#61fa3b20]]
isAnnotation 
12[[#61fa3b20]]
isReadOnly 
21[[#61fa3ac0]]
IntroduceIndirectionRefactoring_cannot_create_in_annotation 
22[[#61fa3ac0]]
IntroduceIndirectionRefactoring_cannot_create_in_readonly 
31[[#61fa3ae0]]
isInterface 
32[[#61fa3ae0]]
isBinary 
41[[#61fa30a0]]
IntroduceIndirectionRefactoring_cannot_create_on_interface 
42[[#61fa30a0]]
IntroduceIndirectionRefactoring_cannot_create_in_binary