Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 3 | 0.980 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 70 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/MethodChecks.java |
2 | 4 | 87 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/MethodChecks.java |
3 | 4 | 706 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java |
4 | 4 | 711 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ChangeSignatureRefactoring.java |
| ||||
RefactoringStatusContext context = JavaStatusContext.create(overrides); String message = Messages.format(RefactoringCoreMessages.MethodChecks_overrides, new String[] { JavaElementUtil.createMethodSignature(overrides), JavaModelUtil.getFullyQualifiedName(overrides.getDeclaringType()) } ); return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes.OVERRIDES_ANOTHER_METHOD, overrides); |
| ||||
RefactoringStatusContext context = JavaStatusContext.create(inInterface); String message = Messages.format(RefactoringCoreMessages.MethodChecks_implements, new String[] { JavaElementUtil.createMethodSignature(inInterface), JavaModelUtil.getFullyQualifiedName(inInterface.getDeclaringType()) } ); return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes.METHOD_DECLARED_IN_INTERFACE, inInterface); |
| ||||
RefactoringStatusContext context = JavaStatusContext.create(fTopMethod); String message = Messages.format(RefactoringCoreMessages.MethodChecks_implements, new String[] { JavaElementUtil.createMethodSignature(fTopMethod), JavaModelUtil.getFullyQualifiedName(fTopMethod.getDeclaringType()) } ); return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes.METHOD_DECLARED_IN_INTERFACE, fTopMethod); |
| ||||
RefactoringStatusContext context = JavaStatusContext.create(fTopMethod); String message = Messages.format(RefactoringCoreMessages.MethodChecks_overrides, new String[] { JavaElementUtil.createMethodSignature(fTopMethod), JavaModelUtil.getFullyQualifiedName(fTopMethod.getDeclaringType()) } ); return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes.OVERRIDES_ANOTHER_METHOD, fTopMethod); |
| |||
RefactoringStatusContext context = JavaStatusContext.create( [[#variableba393e00]]); String message = Messages.format(RefactoringCoreMessages. [[#variableba393da0]], new String[] { JavaElementUtil.createMethodSignature( [[#variableba393e00]]), JavaModelUtil.getFullyQualifiedName( [[#variableba393e00]].getDeclaringType()) } ); return RefactoringStatus.createStatus(RefactoringStatus.FATAL, message, context, Corext.getPluginId(), RefactoringStatusCodes. [[#variableba393d00]], [[#variableba393e00]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#ba393e00]] | fTopMethod |
1 | 2 | [[#ba393e00]] | overrides |
1 | 3 | [[#ba393e00]] | inInterface |
1 | 4 | [[#ba393e00]] | fTopMethod |
2 | 1 | [[#ba393da0]] | MethodChecks_implements |
2 | 2 | [[#ba393da0]] | MethodChecks_overrides |
2 | 3 | [[#ba393da0]] | MethodChecks_implements |
2 | 4 | [[#ba393da0]] | MethodChecks_overrides |
3 | 1 | [[#ba393d00]] | METHOD_DECLARED_IN_INTERFACE |
3 | 2 | [[#ba393d00]] | OVERRIDES_ANOTHER_METHOD |
3 | 3 | [[#ba393d00]] | METHOD_DECLARED_IN_INTERFACE |
3 | 4 | [[#ba393d00]] | OVERRIDES_ANOTHER_METHOD |