CloneSet1119


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4320.989statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14802
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java
24812
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java
34840
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java
Clone Instance
1
Line Count
4
Source Line
802
Source File
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);


Clone Instance
2
Line Count
4
Source Line
812
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java

                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);


Clone Instance
3
Line Count
4
Source Line
840
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoringProcessor.java

                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);


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#93868520]]
typeInType 
12[[#93868520]]
methodInType 
13[[#93868520]]
fieldInType 
21[[#63da43a0]]
PullUpRefactoring_Type_declared_in_class 
22[[#63da43a0]]
PullUpRefactoring_Method_declared_in_class 
23[[#63da43a0]]
PullUpRefactoring_Field_declared_in_class