Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 4 | 5 | 0.955 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 8351 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
2 | 11 | 8373 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
3 | 11 | 8385 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
4 | 11 | 8397 | 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; } |
| ||||
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; } |
| ||||
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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#4efe5920]] | goForMemberValue |
1 | 2 | [[#4efe5920]] | goForPackageDeclaration |
1 | 3 | [[#4efe5920]] | goForFieldDeclaration |
1 | 4 | [[#4efe5920]] | goForImportDeclaration |
2 | 1 | [[#4efe5860]] | TokenNameOR_OR |
2 | 2 | [[#4efe5860]] | TokenNameQUESTION |
2 | 3 | [[#4efe5860]] | TokenNameAND_AND |
2 | 4 | [[#4efe5860]] | TokenNameOR_OR |
3 | 1 | [[#4d4d46a0]] | goForMethodBody |
3 | 2 | [[#4d4d46a0]] | goForTypeDeclaration |
3 | 3 | [[#4d4d46a0]] | goForGenericMethodDeclaration |
3 | 4 | [[#4d4d46a0]] | goForInitializer |
4 | 1 | [[#4efe57e0]] | TokenNameMINUS_MINUS |
4 | 2 | [[#4efe57e0]] | TokenNamePLUS |
4 | 3 | [[#4efe57e0]] | TokenNameDIVIDE |
4 | 4 | [[#4efe57e0]] | TokenNameRIGHT_SHIFT |
5 | 1 | [[#9a179200]] | false |
5 | 2 | [[#9a179200]] | true |
5 | 3 | [[#9a179200]] | true |
5 | 4 | [[#9a179200]] | false |