CloneSet973


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9410.968statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
191233
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
2101968
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
3103119
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
493616
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
Clone Instance
1
Line Count
9
Source Line
1233
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

        //always add <clinit> (will be remove at code gen time if empty)
        if (this.scanner.containsAssertKeyword) {
                typeDecl.bits |= ASTNode.ContainsAssertion;
        }
        typeDecl.addClinit();
        typeDecl.bodyEnd = this.endStatementPosition;
        if (length == 0 && !containsComment(typeDecl.bodyStart, typeDecl.bodyEnd)) {
                typeDecl.bits |= ASTNode.UndocumentedEmptyBlock;
        }
        typeDecl.declarationSourceEnd = flushCommentsDefinedPriorTo(this.endStatementPosition);


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

        //always add <clinit> (will be remove at code gen time if empty)
        if (this.scanner.containsAssertKeyword) {
                typeDecl.bits |= ASTNode.ContainsAssertion;
        }
        typeDecl.addClinit();
        typeDecl.bodyEnd = this.endStatementPosition;
        if (length == 0 && !containsComment(typeDecl.bodyStart, typeDecl.bodyEnd)) {
                typeDecl.bits |= ASTNode.UndocumentedEmptyBlock;
        }

        typeDecl.declarationSourceEnd = flushCommentsDefinedPriorTo(this.endStatementPosition);


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

        //always add <clinit> (will be remove at code gen time if empty)
        if (this.scanner.containsAssertKeyword) {
                enumDeclaration.bits |= ASTNode.ContainsAssertion;
        }
        enumDeclaration.addClinit();
        enumDeclaration.bodyEnd = this.endStatementPosition;
        if (length == 0 && !containsComment(enumDeclaration.bodyStart, enumDeclaration.bodyEnd)) {
                enumDeclaration.bits |= ASTNode.UndocumentedEmptyBlock;
        }

        enumDeclaration.declarationSourceEnd = flushCommentsDefinedPriorTo(this.endStatementPosition);


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

        //always add <clinit> (will be remove at code gen time if empty)
        if (this.scanner.containsAssertKeyword) {
                typeDecl.bits |= ASTNode.ContainsAssertion;
        }
        typeDecl.addClinit();
        typeDecl.bodyEnd = this.endStatementPosition;
        if (length == 0 && !containsComment(typeDecl.bodyStart, typeDecl.bodyEnd)) {
                typeDecl.bits |= ASTNode.UndocumentedEmptyBlock;
        }
        typeDecl.declarationSourceEnd = flushCommentsDefinedPriorTo(this.endStatementPosition);


Clone AbstractionParameter Count: 1Parameter Bindings

//always add <clinit> (will be remove at code gen time if empty)
if (this.scanner.containsAssertKeyword) {
   [[#variablebf1aa440]].bits |= ASTNode.ContainsAssertion;
}
 [[#variablebf1aa440]].addClinit();
 [[#variablebf1aa440]].bodyEnd = this.endStatementPosition;
if (length == 0 && !containsComment( [[#variablebf1aa440]].bodyStart,  [[#variablebf1aa440]].bodyEnd)) {
   [[#variablebf1aa440]].bits |= ASTNode.UndocumentedEmptyBlock;
}
 [[#variablebf1aa440]].declarationSourceEnd = flushCommentsDefinedPriorTo(this.endStatementPosition);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bf1aa440]]
typeDecl 
12[[#bf1aa440]]
enumDeclaration 
13[[#bf1aa440]]
typeDecl 
14[[#bf1aa440]]
typeDecl