CloneSet1354


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5620.967statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15768
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
25898
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
351097
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
451189
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
55405
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
65517
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java
Clone Instance
1
Line Count
5
Source Line
768
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                //
                Statement statement = ASTResolving.findParentStatement(node);
                if ( !(statement instanceof IfStatement)) {
                        return false;
                }
                IfStatement ifStatement = (IfStatement) statement;


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

                // check that infix expression belongs to IfStatement
                Statement statement = ASTResolving.findParentStatement(node);
                if ( !(statement instanceof IfStatement)) {
                        return false;
                }
                IfStatement ifStatement = (IfStatement) statement;


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

                // check that infix expression belongs to IfStatement
                Statement statement = ASTResolving.findParentStatement(node);
                if ( !(statement instanceof IfStatement)) {
                        return false;
                }
                IfStatement ifStatement = (IfStatement) statement;


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

                //
                Statement statement = ASTResolving.findParentStatement(node);
                if ( !(statement instanceof IfStatement)) {
                        return false;
                }
                IfStatement ifStatement = (IfStatement) statement;


Clone Instance
5
Line Count
5
Source Line
405
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java

                Statement statement = ASTResolving.findParentStatement(node);
                if ( !(statement instanceof ExpressionStatement)) {
                        return false;
                }
                ExpressionStatement expressionStatement = (ExpressionStatement) statement;


Clone Instance
6
Line Count
5
Source Line
517
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/QuickAssistProcessor.java

                Statement statement = ASTResolving.findParentStatement(node);
                if ( !(statement instanceof IfStatement)) {
                        return false;
                }
                IfStatement ifStatement = (IfStatement) statement;


Clone AbstractionParameter Count: 2Parameter Bindings

// check that infix expression belongs to IfStatement
//
Statement statement = ASTResolving.findParentStatement(node);
if ( !(statement instanceof [[#variableb25ad560]])) {
  return false;
}
 [[#variableb25ad560]]  [[#variableb9453f60]]= ( [[#variableb25ad560]]) statement;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b25ad560]]
ExpressionStatement 
12[[#b25ad560]]
IfStatement 
13[[#b25ad560]]
IfStatement 
14[[#b25ad560]]
IfStatement 
15[[#b25ad560]]
IfStatement 
16[[#b25ad560]]
IfStatement 
21[[#b9453f60]]
expressionStatement 
22[[#b9453f60]]
ifStatement 
23[[#b9453f60]]
ifStatement 
24[[#b9453f60]]
ifStatement 
25[[#b9453f60]]
ifStatement 
26[[#b9453f60]]
ifStatement