CloneSet426


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7730.961statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
172136
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
272178
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
372198
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
472286
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
572321
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
672455
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
772487
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java
Clone Instance
1
Line Count
7
Source Line
2136
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java

                                if (recoveryScanner != null) {
                                        if (addedToken > -1) {
                                                recoveryScanner.insertToken(addedToken, -1, errorEnd);
                                        }
                                        else   {
                                                int[] template = getNTermTemplate(-addedToken);
                                                if (template != null) {
                                                        recoveryScanner.insertTokens(template, -1, errorEnd);
                                                }
                                        }
                                }


Clone Instance
2
Line Count
7
Source Line
2178
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java

                                        if (recoveryScanner != null) {
                                                if (addedToken > -1) {
                                                        recoveryScanner.replaceTokens(addedToken, errorStart, errorEnd);
                                                }
                                                else   {
                                                        int[] template = getNTermTemplate(-addedToken);
                                                        if (template != null) {
                                                                recoveryScanner.replaceTokens(template, errorStart, errorEnd);
                                                        }
                                                }
                                        }


Clone Instance
3
Line Count
7
Source Line
2198
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java

                                if (recoveryScanner != null) {
                                        if (addedToken > -1) {
                                                recoveryScanner.replaceTokens(addedToken, errorStart, errorEnd);
                                        }
                                        else   {
                                                int[] template = getNTermTemplate(-addedToken);
                                                if (template != null) {
                                                        recoveryScanner.replaceTokens(template, errorStart, errorEnd);
                                                }
                                        }
                                }


Clone Instance
4
Line Count
7
Source Line
2286
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java

                                if (recoveryScanner != null) {
                                        if (addedToken > -1) {
                                                recoveryScanner.replaceTokens(addedToken, errorStart, errorEnd);
                                        }
                                        else   {
                                                int[] template = getNTermTemplate(-addedToken);
                                                if (template != null) {
                                                        recoveryScanner.replaceTokens(template, errorStart, errorEnd);
                                                }
                                        }
                                }


Clone Instance
5
Line Count
7
Source Line
2321
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java

                                        if (recoveryScanner != null) {
                                                if (addedToken > -1) {
                                                        recoveryScanner.replaceTokens(addedToken, errorStart, errorEnd);
                                                }
                                                else   {
                                                        int[] template = getNTermTemplate(-addedToken);
                                                        if (template != null) {
                                                                recoveryScanner.replaceTokens(template, errorStart, errorEnd);
                                                        }
                                                }
                                        }


Clone Instance
6
Line Count
7
Source Line
2455
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java

                                if (recoveryScanner != null) {
                                        if (addedToken > -1) {
                                                recoveryScanner.replaceTokens(addedToken, errorStart, errorEnd);
                                        }
                                        else   {
                                                int[] template = getNTermTemplate(-addedToken);
                                                if (template != null) {
                                                        recoveryScanner.replaceTokens(template, errorStart, errorEnd);
                                                }
                                        }
                                }


Clone Instance
7
Line Count
7
Source Line
2487
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/diagnose/DiagnoseParser.java

                                        if (recoveryScanner != null) {
                                                if (addedToken > -1) {
                                                        recoveryScanner.replaceTokens(addedToken, errorStart, errorEnd);
                                                }
                                                else   {
                                                        int[] template = getNTermTemplate(-addedToken);
                                                        if (template != null) {
                                                                recoveryScanner.replaceTokens(template, errorStart, errorEnd);
                                                        }
                                                }
                                        }


Clone AbstractionParameter Count: 3Parameter Bindings

if (recoveryScanner != null) {
  if (addedToken > -1) {
    recoveryScanner. [[#variable754346c0]](addedToken,  [[#variable75434660]], errorEnd);
  }
  else {
    int[] template = getNTermTemplate(-addedToken);
    if (template != null) {
      recoveryScanner. [[#variable75434600]](template,  [[#variable75434660]], errorEnd);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#754346c0]]
replaceTokens 
12[[#754346c0]]
insertToken 
13[[#754346c0]]
replaceTokens 
14[[#754346c0]]
replaceTokens 
15[[#754346c0]]
replaceTokens 
16[[#754346c0]]
replaceTokens 
17[[#754346c0]]
replaceTokens 
21[[#75434660]]
errorStart 
22[[#75434660]]
-1 
23[[#75434660]]
errorStart 
24[[#75434660]]
errorStart 
25[[#75434660]]
errorStart 
26[[#75434660]]
errorStart 
27[[#75434660]]
errorStart 
31[[#75434600]]
replaceTokens 
32[[#75434600]]
insertTokens 
33[[#75434600]]
replaceTokens 
34[[#75434600]]
replaceTokens 
35[[#75434600]]
replaceTokens 
36[[#75434600]]
replaceTokens 
37[[#75434600]]
replaceTokens