Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 3 | 2 | 0.989 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 802 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java |
2 | 4 | 812 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java |
3 | 4 | 840 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java |
| ||||
final String[] keys = { JavaElementLabels.getTextLabel(fieldInType, JavaElementLabels.ALL_FULLY_QUALIFIED), JavaElementLabels.getTextLabel(type, JavaElementLabels.ALL_FULLY_QUALIFIED) }; final String msg = Messages.format(RefactoringCoreMessages.PullUpRefactoring_Field_declared_in_class, keys); final RefactoringStatusContext context = JavaStatusContext.create(fieldInType); return RefactoringStatus.createWarningStatus(msg, context); |
| ||||
final String[] keys = { JavaElementLabels.getTextLabel(methodInType, JavaElementLabels.ALL_FULLY_QUALIFIED), JavaElementLabels.getTextLabel(type, JavaElementLabels.ALL_FULLY_QUALIFIED) }; final String msg = Messages.format(RefactoringCoreMessages.PullUpRefactoring_Method_declared_in_class, keys); final RefactoringStatusContext context = JavaStatusContext.create(methodInType); return RefactoringStatus.createWarningStatus(msg, context); |
| ||||
final String[] keys = { JavaElementLabels.getTextLabel(typeInType, JavaElementLabels.ALL_FULLY_QUALIFIED), JavaElementLabels.getTextLabel(type, JavaElementLabels.ALL_FULLY_QUALIFIED) }; final String msg = Messages.format(RefactoringCoreMessages.PullUpRefactoring_Type_declared_in_class, keys); final RefactoringStatusContext context = JavaStatusContext.create(typeInType); return RefactoringStatus.createWarningStatus(msg, context); |
| |||
final String[] keys = { JavaElementLabels.getTextLabel( [[#variable93868520]], JavaElementLabels.ALL_FULLY_QUALIFIED), JavaElementLabels.getTextLabel(type, JavaElementLabels.ALL_FULLY_QUALIFIED) }; final String msg = Messages.format(RefactoringCoreMessages. [[#variable63da43a0]], keys); final RefactoringStatusContext context = JavaStatusContext.create( [[#variable93868520]]); return RefactoringStatus.createWarningStatus(msg, context); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#93868520]] | typeInType |
1 | 2 | [[#93868520]] | methodInType |
1 | 3 | [[#93868520]] | fieldInType |
2 | 1 | [[#63da43a0]] | PullUpRefactoring_Type_declared_in_class |
2 | 2 | [[#63da43a0]] | PullUpRefactoring_Method_declared_in_class |
2 | 3 | [[#63da43a0]] | PullUpRefactoring_Field_declared_in_class |