Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 3 | 0.981 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 767 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeProcessor.java |
2 | 8 | 776 | 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)); } |
| ||||
{ 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)); } |
| |||
{ 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b593c3a0]] | enclosingType |
1 | 2 | [[#b593c3a0]] | enclosedType |
2 | 1 | [[#c1287a20]] | findEnclosingType |
2 | 2 | [[#c1287a20]] | findEnclosedType |
3 | 1 | [[#b593d7e0]] | RenameTypeRefactoring_enclosed |
3 | 2 | [[#b593d7e0]] | RenameTypeRefactoring_encloses |