CloneSet6069


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.967statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15338
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java
26355
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java
Clone Instance
1
Line Count
5
Source Line
338
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeTypeRefactoring.java

                        // produce error message if array or primitive type is selected
                        if (fSelectionTypeBinding.isArray()) {
                                return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.ChangeTypeRefactoring_arraysNotSupported);
                        }
                        if (fSelectionTypeBinding.isPrimitive()) {
                                return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.ChangeTypeRefactoring_primitivesNotSupported);
                        }


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

                        if (fSelectionTypeBinding.isTypeVariable()) {
                                return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.ChangeTypeRefactoring_typeParametersNotSupported);
                        }

                        if (fSelectionTypeBinding.isEnum()) {
                                return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages.ChangeTypeRefactoring_enumsNotSupported);
                        }


Clone AbstractionParameter Count: 4Parameter Bindings

// produce error message if array or primitive type is selected
if (fSelectionTypeBinding. [[#variable78b0aa00]]()) {
  return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages. [[#variable78b0a9c0]]);
}
if (fSelectionTypeBinding. [[#variable78b0a940]]()) {
  return RefactoringStatus.createFatalErrorStatus(RefactoringCoreMessages. [[#variable78b0a8a0]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#78b0aa00]]
isArray 
12[[#78b0aa00]]
isTypeVariable 
21[[#78b0a9c0]]
ChangeTypeRefactoring_arraysNotSupported 
22[[#78b0a9c0]]
ChangeTypeRefactoring_typeParametersNotSupported 
31[[#78b0a940]]
isPrimitive 
32[[#78b0a940]]
isEnum 
41[[#78b0a8a0]]
ChangeTypeRefactoring_primitivesNotSupported 
42[[#78b0a8a0]]
ChangeTypeRefactoring_enumsNotSupported