CloneSet2822


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11450.955class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1118351
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
2118373
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
3118385
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
4118397
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
Clone Instance
1
Line Count
11
Source Line
8351
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

public void goForFieldDeclaration() {
        //tells the scanner to go for field declaration parsing

        this.firstToken = TokenNameAND_AND;
        this.scanner.recordLineSeparator = true;
}

public void goForGenericMethodDeclaration() {
        //tells the scanner to go for generic method declarations parsing

        this.firstToken = TokenNameDIVIDE;
        this.scanner.recordLineSeparator = true;
}


Clone Instance
2
Line Count
11
Source Line
8373
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

public void goForImportDeclaration() {
        //tells the scanner to go for import declaration parsing

        this.firstToken = TokenNameOR_OR;
        this.scanner.recordLineSeparator = true;
}

public void goForInitializer() {
        //tells the scanner to go for initializer parsing

        this.firstToken = TokenNameRIGHT_SHIFT;
        this.scanner.recordLineSeparator = false;
}


Clone Instance
3
Line Count
11
Source Line
8385
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

public void goForMemberValue() {
        //tells the scanner to go for a member value parsing

        this.firstToken = TokenNameOR_OR;
        this.scanner.recordLineSeparator = true; // recovery goals must record line separators
}

public void goForMethodBody() {
        //tells the scanner to go for method body parsing

        this.firstToken = TokenNameMINUS_MINUS;
        this.scanner.recordLineSeparator = false;
}


Clone Instance
4
Line Count
11
Source Line
8397
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

public void goForPackageDeclaration() {
        //tells the scanner to go for package declaration parsing

        this.firstToken = TokenNameQUESTION;
        this.scanner.recordLineSeparator = true;
}

public void goForTypeDeclaration() {
        //tells the scanner to go for type (interface or class) declaration parsing

        this.firstToken = TokenNamePLUS;
        this.scanner.recordLineSeparator = true;
}


Clone AbstractionParameter Count: 5Parameter Bindings

public void [[#variable4efe5920]]() {
  //tells the scanner to go for a member value parsing
  //tells the scanner to go for package declaration parsing
  //tells the scanner to go for field declaration parsing
  //tells the scanner to go for import declaration parsing
  this.firstToken = [[#variable4efe5860]];
  this.scanner.recordLineSeparator = true; // recovery goals must record line separators
}

public void [[#variable4d4d46a0]]() {
  //tells the scanner to go for method body parsing
  //tells the scanner to go for type (interface or class) declaration parsing
  //tells the scanner to go for generic method declarations parsing
  //tells the scanner to go for initializer parsing
  this.firstToken = [[#variable4efe57e0]];
  this.scanner.recordLineSeparator = [[#variable9a179200]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4efe5920]]
goForMemberValue 
12[[#4efe5920]]
goForPackageDeclaration 
13[[#4efe5920]]
goForFieldDeclaration 
14[[#4efe5920]]
goForImportDeclaration 
21[[#4efe5860]]
TokenNameOR_OR 
22[[#4efe5860]]
TokenNameQUESTION 
23[[#4efe5860]]
TokenNameAND_AND 
24[[#4efe5860]]
TokenNameOR_OR 
31[[#4d4d46a0]]
goForMethodBody 
32[[#4d4d46a0]]
goForTypeDeclaration 
33[[#4d4d46a0]]
goForGenericMethodDeclaration 
34[[#4d4d46a0]]
goForInitializer 
41[[#4efe57e0]]
TokenNameMINUS_MINUS 
42[[#4efe57e0]]
TokenNamePLUS 
43[[#4efe57e0]]
TokenNameDIVIDE 
44[[#4efe57e0]]
TokenNameRIGHT_SHIFT 
51[[#9a179200]]
false 
52[[#9a179200]]
true 
53[[#9a179200]]
true 
54[[#9a179200]]
false