CloneSet3061


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8310.993class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
183781
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
293833
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
383843
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
Clone Instance
1
Line Count
8
Source Line
3781
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

protected void consumeInvalidAnnotationTypeDeclaration() {
        // BlockStatement ::= AnnotationTypeDeclaration
        TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr];
        if ( !this.statementRecoveryActivated)
                                             problemReporter().illegalLocalTypeDeclaration(typeDecl);
        // remove the ast node created in interface header
        this.astPtr--;
        pushOnAstLengthStack(-1);
        concatNodeLists();
}


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

protected void consumeInvalidInterfaceDeclaration() {
        // BlockStatement ::= InvalidInterfaceDeclaration
        //InterfaceDeclaration ::= Modifiersopt 'interface' 'Identifier' ExtendsInterfacesopt InterfaceHeader InterfaceBody
        TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr];
        if ( !this.statementRecoveryActivated)
                                             problemReporter().illegalLocalTypeDeclaration(typeDecl);
        // remove the ast node created in interface header
        this.astPtr--;
        pushOnAstLengthStack(-1);
        concatNodeLists();
}


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

protected void consumeInvalidEnumDeclaration() {
        // BlockStatement ::= EnumDeclaration
        TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr];
        if ( !this.statementRecoveryActivated)
                                             problemReporter().illegalLocalTypeDeclaration(typeDecl);
        // remove the ast node created in interface header
        this.astPtr--;
        pushOnAstLengthStack(-1);
        concatNodeLists();
}


Clone AbstractionParameter Count: 1Parameter Bindings

protected void [[#variable52e572e0]]() {
  // BlockStatement ::= AnnotationTypeDeclaration
  // BlockStatement ::= InvalidInterfaceDeclaration
  //InterfaceDeclaration ::= Modifiersopt 'interface' 'Identifier' ExtendsInterfacesopt InterfaceHeader InterfaceBody
  // BlockStatement ::= EnumDeclaration
  TypeDeclaration typeDecl = (TypeDeclaration) this.astStack[this.astPtr];
  if ( !this.statementRecoveryActivated)
    problemReporter().illegalLocalTypeDeclaration(typeDecl);
  // remove the ast node created in interface header
  this.astPtr--;
  pushOnAstLengthStack(-1);
  concatNodeLists();
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52e572e0]]
consumeInvalidAnnotationTypeDeclaration 
12[[#52e572e0]]
consumeInvalidInterfaceDeclaration 
13[[#52e572e0]]
consumeInvalidEnumDeclaration