CloneSet1403


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5520.979class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15208
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java
25228
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java
35320
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java
45326
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java
55337
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java
Clone Instance
1
Line Count
5
Source Line
208
Source File
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);
}


Clone Instance
2
Line Count
5
Source Line
228
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java

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);
}


Clone Instance
3
Line Count
5
Source Line
320
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java

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);
}


Clone Instance
4
Line Count
5
Source Line
326
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java

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);
}


Clone Instance
5
Line Count
5
Source Line
337
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/ScannerHelper.java

/**
 * 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);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#64afdaa0]]
isJavaIdentifierPart 
12[[#64afdaa0]]
isJavaIdentifierStart 
13[[#64afdaa0]]
isLowerCase 
14[[#64afdaa0]]
isUpperCase 
15[[#64afdaa0]]
isWhitespace 
21[[#b61e65c0]]
C_IDENT_PART 
22[[#b61e65c0]]
C_IDENT_START 
23[[#b61e65c0]]
C_LOWER_LETTER 
24[[#b61e65c0]]
C_UPPER_LETTER 
25[[#b61e65c0]]
C_SPACE