CloneSet4743


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3320.980statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1494
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java
23115
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java
33114
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReplaceInvocationsAction.java
Clone Instance
1
Line Count
4
Source Line
94
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java

                        Assert.isTrue(RefactoringAvailabilityTester.isInlineConstantAvailable(selection));

                        Object first = selection.getFirstElement();
                        Assert.isTrue(first instanceof IField);


Clone Instance
2
Line Count
3
Source Line
115
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java

                        Assert.isTrue(RefactoringAvailabilityTester.isIntroduceIndirectionAvailable(selection));
                        Object first = selection.getFirstElement();
                        Assert.isTrue(first instanceof IMethod);


Clone Instance
3
Line Count
3
Source Line
114
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReplaceInvocationsAction.java

                        Assert.isTrue(RefactoringAvailabilityTester.isReplaceInvocationsAvailable(selection));
                        Object first = selection.getFirstElement();
                        Assert.isTrue(first instanceof IMethod);


Clone AbstractionParameter Count: 2Parameter Bindings

Assert.isTrue(RefactoringAvailabilityTester. [[#variable5f9f1280]](selection));
Object first = selection.getFirstElement();
Assert.isTrue(first instanceof [[#variable5f9f1160]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5f9f1280]]
isIntroduceIndirectionAvailable 
12[[#5f9f1280]]
isReplaceInvocationsAvailable 
13[[#5f9f1280]]
isInlineConstantAvailable 
21[[#5f9f1160]]
IMethod 
22[[#5f9f1160]]
IMethod 
23[[#5f9f1160]]
IField