CloneSet2437


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7301.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17181
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
27292
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
37344
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java
Clone Instance
1
Line Count
7
Source Line
181
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/AdvancedQuickAssistProcessor.java

                Statement coveringStatement = ASTResolving.findParentStatement(covering);
                if ( !(coveringStatement instanceof IfStatement)) {
                        return false;
                }
                IfStatement ifStatement = (IfStatement) coveringStatement;
                if (ifStatement.getElseStatement() != null) {
                        return false;
                }


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

                Statement coveringStatement = ASTResolving.findParentStatement(covering);
                if ( !(coveringStatement instanceof IfStatement)) {
                        return false;
                }
                IfStatement ifStatement = (IfStatement) coveringStatement;
                if (ifStatement.getElseStatement() != null) {
                        return false;
                }


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

                Statement coveringStatement = ASTResolving.findParentStatement(covering);
                if ( !(coveringStatement instanceof IfStatement)) {
                        return false;
                }
                IfStatement ifStatement = (IfStatement) coveringStatement;
                if (ifStatement.getElseStatement() != null) {
                        return false;
                }


Clone AbstractionParameter Count: 0Parameter Bindings

Statement coveringStatement = ASTResolving.findParentStatement(covering);
if ( !(coveringStatement instanceof IfStatement)) {
  return false;
}
IfStatement ifStatement = (IfStatement) coveringStatement;
if (ifStatement.getElseStatement() != null) {
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None