CloneSet2350


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.972executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
141303
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java
21749
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java
Clone Instance
1
Line Count
4
Source Line
1303
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java

                        adjustments.put(whoToAdjust, new MemberVisibilityAdjustor.IncomingMemberVisibilityAdjustment(whoToAdjust, neededVisibility, 
                                        RefactoringStatus.createWarningStatus(Messages.format(MemberVisibilityAdjustor.getMessage(whoToAdjust), new String[] {
                                                        MemberVisibilityAdjustor.getLabel(whoToAdjust), MemberVisibilityAdjustor.getLabel(neededVisibility)
                                                                                                                                                             } ), JavaStatusContext
                                                          .create(whoToAdjust))                                     ));


Clone Instance
2
Line Count
1
Source Line
749
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/MoveStaticMembersProcessor.java

                                                adjustments.put(member, new MemberVisibilityAdjustor.IncomingMemberVisibilityAdjustment(member, threshold, RefactoringStatus.createWarningStatus(Messages.format(MemberVisibilityAdjustor.getMessage(member), new String[] {
                                                                                                                                                                                                                                                                             MemberVisibilityAdjustor.getLabel(member), MemberVisibilityAdjustor.getLabel(threshold)
                                                                                                                                                                                                                                                                           } ),                                                                                         JavaStatusContext.create(member))));


Clone AbstractionParameter Count: 2Parameter Bindings

adjustments.put( [[#variable98f94460]], new MemberVisibilityAdjustor.IncomingMemberVisibilityAdjustment( [[#variable98f94460]],  [[#variable98f943c0]], RefactoringStatus.createWarningStatus(Messages.format(MemberVisibilityAdjustor.getMessage( [[#variable98f94460]]), new String[] {
                                                                                                                                                                                                                                                                                          MemberVisibilityAdjustor.getLabel( [[#variable98f94460]]),
                                                                                                                                                                                                                                                                                          MemberVisibilityAdjustor.getLabel( [[#variable98f943c0]])
                                                                                                                                                                                                                                                                                        } ), JavaStatusContext.create( [[#variable98f94460]]))));
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#98f94460]]
whoToAdjust 
12[[#98f94460]]
member 
21[[#98f943c0]]
neededVisibility 
22[[#98f943c0]]
threshold