CloneSet6767


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.972class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19115
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
29594
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java
Clone Instance
1
Line Count
9
Source Line
115
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java

/*
 *
 * INTERNAL USE-ONLY
 */
protected void consumeClassDeclaration() {
        super.consumeClassDeclaration();
        // we know that we have a TypeDeclaration on the top of the astStack
        if (isLocalDeclaration()) {
                // we ignore the local variable declarations
                return;
        }
        requestor.exitClass(endStatementPosition, // '}' is the end of the body 
                             ((TypeDeclaration) astStack[astPtr]).declarationSourceEnd);
}


Clone Instance
2
Line Count
9
Source Line
594
Source File
plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java

/*
 *
 * INTERNAL USE-ONLY
 */
protected void consumeInterfaceDeclaration() {
        super.consumeInterfaceDeclaration();
        // we know that we have a TypeDeclaration on the top of the astStack
        if (isLocalDeclaration()) {
                // we ignore the local variable declarations
                return;
        }
        requestor.exitInterface(endStatementPosition, // the '}' is the end of the body
                                 ((TypeDeclaration) astStack[astPtr]).declarationSourceEnd);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/*
 *
 * INTERNAL USE-ONLY
 */
protected void [[#variable64691f00]]() {
  super. [[#variable64691f00]]();
  // we know that we have a TypeDeclaration on the top of the astStack
  if (isLocalDeclaration()) {
    // we ignore the local variable declarations
    return;
  }
  requestor. [[#variable64691e40]](endStatementPosition, // '}' is the end of the body  // the '}' is the end of the body
                                    ((TypeDeclaration) astStack[astPtr]).declarationSourceEnd);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#64691f00]]
consumeClassDeclaration 
12[[#64691f00]]
consumeInterfaceDeclaration 
21[[#64691e40]]
exitClass 
22[[#64691e40]]
exitInterface