CloneSet2110


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8230.981block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17767
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
28776
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java
Clone Instance
1
Line Count
7
Source Line
767
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java

                                                                            {
                IType enclosedType = findEnclosedType(fType, getNewElementName());
                if (enclosedType == null)
                        return null;
                String msg = Messages.format(RefactoringCoreMessages.RenameTypeRefactoring_encloses, 
                                                                                                                                                 new String[] {
                                                                                                                                                               JavaModelUtil.getFullyQualifiedName(fType), getNewElementName()
                                                                                                                                                              } );
                return RefactoringStatus.createErrorStatus(msg, JavaStatusContext.create(enclosedType));
                                                                            }


Clone Instance
2
Line Count
8
Source Line
776
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java

                                                        {
                IType enclosingType = findEnclosingType(fType, getNewElementName());
                if (enclosingType == null)
                        return null;

                String msg = Messages.format(RefactoringCoreMessages.RenameTypeRefactoring_enclosed, 
                                                                 new String[] {
                                                                               JavaModelUtil.getFullyQualifiedName(fType), getNewElementName()
                                                                              } );
                return RefactoringStatus.createErrorStatus(msg, JavaStatusContext.create(enclosingType));
                                                        }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  IType  [[#variableb593c3a0]]= [[#variablec1287a20]](fType, getNewElementName());
  if ( [[#variableb593c3a0]]== null)
    return null;
  String msg = Messages.format(RefactoringCoreMessages. [[#variableb593d7e0]], new String[] {
                                                                                              JavaModelUtil.getFullyQualifiedName(fType),
                                                                                              getNewElementName()
                                                                                            } );
  return RefactoringStatus.createErrorStatus(msg, JavaStatusContext.create( [[#variableb593c3a0]]));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b593c3a0]]
enclosingType 
12[[#b593c3a0]]
enclosedType 
21[[#c1287a20]]
findEnclosingType 
22[[#c1287a20]]
findEnclosedType 
31[[#b593d7e0]]
RenameTypeRefactoring_enclosed 
32[[#b593d7e0]]
RenameTypeRefactoring_encloses