Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 5 | 2 | 0.979 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 208 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
2 | 5 | 228 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
3 | 5 | 320 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
4 | 5 | 326 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
5 | 5 | 337 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java |
| ||||
public static boolean isJavaIdentifierPart(char c) { if (c < MAX_OBVIOUS) { return (ScannerHelper.OBVIOUS_IDENT_CHAR_NATURES[c]& ScannerHelper.C_IDENT_PART) != 0; } return Character.isJavaIdentifierPart(c); } |
| ||||
public static boolean isJavaIdentifierStart(char c) { if (c < MAX_OBVIOUS) { return (ScannerHelper.OBVIOUS_IDENT_CHAR_NATURES[c]& ScannerHelper.C_IDENT_START) != 0; } return Character.isJavaIdentifierStart(c); } |
| ||||
public static boolean isLowerCase(char c) { if (c < MAX_OBVIOUS) { return (ScannerHelper.OBVIOUS_IDENT_CHAR_NATURES[c]& ScannerHelper.C_LOWER_LETTER) != 0; } return Character.isLowerCase(c); } |
| ||||
public static boolean isUpperCase(char c) { if (c < MAX_OBVIOUS) { return (ScannerHelper.OBVIOUS_IDENT_CHAR_NATURES[c]& ScannerHelper.C_UPPER_LETTER) != 0; } return Character.isUpperCase(c); } |
| ||||
/** * Include also non JLS whitespaces. * * return true if Character.isWhitespace(c) would return true */ public static boolean isWhitespace(char c) { if (c < MAX_OBVIOUS) { return (ScannerHelper.OBVIOUS_IDENT_CHAR_NATURES[c]& ScannerHelper.C_SPACE) != 0; } return Character.isWhitespace(c); } |
| |||
/** * Include also non JLS whitespaces. * * return true if Character.isWhitespace(c) would return true */ public static boolean [[#variable64afdaa0]](char c) { if (c < MAX_OBVIOUS) { return (ScannerHelper.OBVIOUS_IDENT_CHAR_NATURES[c]&ScannerHelper. [[#variableb61e65c0]]) != 0; } return Character. [[#variable64afdaa0]](c); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#64afdaa0]] | isJavaIdentifierPart |
1 | 2 | [[#64afdaa0]] | isJavaIdentifierStart |
1 | 3 | [[#64afdaa0]] | isLowerCase |
1 | 4 | [[#64afdaa0]] | isUpperCase |
1 | 5 | [[#64afdaa0]] | isWhitespace |
2 | 1 | [[#b61e65c0]] | C_IDENT_PART |
2 | 2 | [[#b61e65c0]] | C_IDENT_START |
2 | 3 | [[#b61e65c0]] | C_LOWER_LETTER |
2 | 4 | [[#b61e65c0]] | C_UPPER_LETTER |
2 | 5 | [[#b61e65c0]] | C_SPACE |