CloneSet1599


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
1930.958statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11268
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
21321
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
31376
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
41795
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
51796
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
61836
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
71837
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
811025
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
931967
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
Clone Instance
1
Line Count
1
Source Line
268
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                // prepare original nodes
                Expression inversedExpression = getInversedBooleanExpression(ast, rewrite, ifStatement.getExpression());


Clone Instance
2
Line Count
1
Source Line
321
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                // create inversed 'if' statement
                Expression inversedExpression = getInversedBooleanExpression(ast, rewrite, ifStatement.getExpression());


Clone Instance
3
Line Count
1
Source Line
376
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                // create inversed 'if' statement
                Expression inversedExpression = getInversedBooleanExpression(ast, rewrite, ifStatement.getExpression());


Clone Instance
4
Line Count
1
Source Line
795
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                                // prepare condition parts, add parenthesis if needed
                                Expression outerCondition = getParenthesizedForAndIfNeeded(ast, rewrite, outerIf.getExpression());


Clone Instance
5
Line Count
1
Source Line
796
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                                Expression innerCondition = getParenthesizedForAndIfNeeded(ast, rewrite, ifStatement.getExpression());


Clone Instance
6
Line Count
1
Source Line
836
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                                // prepare condition parts, add parenthesis if needed
                                Expression outerCondition = getParenthesizedForAndIfNeeded(ast, rewrite, ifStatement.getExpression());


Clone Instance
7
Line Count
1
Source Line
837
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                                Expression innerCondition = getParenthesizedForAndIfNeeded(ast, rewrite, innerIf.getExpression());


Clone Instance
8
Line Count
1
Source Line
1025
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                        Expression ifCondition = getParenthesizedForOrIfNeeded(ast, rewrite, ifStatement.getExpression());


Clone Instance
9
Line Count
3
Source Line
1967
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                // prepared inversed expression
                Expression inversedExpression = getInversedBooleanExpression(ast, 
                         rewrite                                             , 
                         parenthesizedExpression.getExpression()            );


Clone AbstractionParameter Count: 3Parameter Bindings

// create inversed 'if' statement
// prepared inversed expression
// prepare condition parts, add parenthesis if needed
// prepare original nodes
Expression  [[#variable97a70920]]= [[#variable97a70f20]](ast, rewrite,  [[#variable97a71080]].getExpression());
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97a70920]]
inversedExpression 
12[[#97a70920]]
inversedExpression 
13[[#97a70920]]
ifCondition 
14[[#97a70920]]
innerCondition 
15[[#97a70920]]
outerCondition 
16[[#97a70920]]
innerCondition 
17[[#97a70920]]
outerCondition 
18[[#97a70920]]
inversedExpression 
19[[#97a70920]]
inversedExpression 
21[[#97a70f20]]
getInversedBooleanExpression 
22[[#97a70f20]]
getInversedBooleanExpression 
23[[#97a70f20]]
getParenthesizedForOrIfNeeded 
24[[#97a70f20]]
getParenthesizedForAndIfNeeded 
25[[#97a70f20]]
getParenthesizedForAndIfNeeded 
26[[#97a70f20]]
getParenthesizedForAndIfNeeded 
27[[#97a70f20]]
getParenthesizedForAndIfNeeded 
28[[#97a70f20]]
getInversedBooleanExpression 
29[[#97a70f20]]
getInversedBooleanExpression 
31[[#97a71080]]
ifStatement 
32[[#97a71080]]
parenthesizedExpression 
33[[#97a71080]]
ifStatement 
34[[#97a71080]]
innerIf 
35[[#97a71080]]
ifStatement 
36[[#97a71080]]
ifStatement 
37[[#97a71080]]
outerIf 
38[[#97a71080]]
ifStatement 
39[[#97a71080]]
ifStatement