CloneSet485


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16320.996class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1167567
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
2167584
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
3167601
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java
Clone Instance
1
Line Count
16
Source Line
7567
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java

protected void consumeWildcardBounds1Extends() {
        Wildcard wildcard = new Wildcard(Wildcard.EXTENDS);
        wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
        wildcard.sourceEnd = wildcard.bound.sourceEnd;
        this.intPtr--; // remove end position of the '?'
        wildcard.sourceStart = this.intStack[this.intPtr-- ];
        this.genericsStack[this.genericsPtr] = wildcard;
}

protected void consumeWildcardBounds1Super() {
        Wildcard wildcard = new Wildcard(Wildcard.SUPER);
        wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
        this.intPtr--; // remove the starting position of the super keyword
        wildcard.sourceEnd = wildcard.bound.sourceEnd;
        this.intPtr--; // remove end position of the '?'
        wildcard.sourceStart = this.intStack[this.intPtr-- ];
        this.genericsStack[this.genericsPtr] = wildcard;
}


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

protected void consumeWildcardBounds2Extends() {
        Wildcard wildcard = new Wildcard(Wildcard.EXTENDS);
        wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
        wildcard.sourceEnd = wildcard.bound.sourceEnd;
        this.intPtr--; // remove end position of the '?'
        wildcard.sourceStart = this.intStack[this.intPtr-- ];
        this.genericsStack[this.genericsPtr] = wildcard;
}

protected void consumeWildcardBounds2Super() {
        Wildcard wildcard = new Wildcard(Wildcard.SUPER);
        wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
        this.intPtr--; // remove the starting position of the super keyword
        wildcard.sourceEnd = wildcard.bound.sourceEnd;
        this.intPtr--; // remove end position of the '?'
        wildcard.sourceStart = this.intStack[this.intPtr-- ];
        this.genericsStack[this.genericsPtr] = wildcard;
}


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

protected void consumeWildcardBounds3Extends() {
        Wildcard wildcard = new Wildcard(Wildcard.EXTENDS);
        wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
        wildcard.sourceEnd = wildcard.bound.sourceEnd;
        this.intPtr--; // remove end position of the '?'
        wildcard.sourceStart = this.intStack[this.intPtr-- ];
        this.genericsStack[this.genericsPtr] = wildcard;
}

protected void consumeWildcardBounds3Super() {
        Wildcard wildcard = new Wildcard(Wildcard.SUPER);
        wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
        this.intPtr--; // remove the starting position of the super keyword
        wildcard.sourceEnd = wildcard.bound.sourceEnd;
        this.intPtr--; // remove end position of the '?'
        wildcard.sourceStart = this.intStack[this.intPtr-- ];
        this.genericsStack[this.genericsPtr] = wildcard;
}


Clone AbstractionParameter Count: 2Parameter Bindings

protected void [[#variable91babb80]]() {
  Wildcard wildcard = new Wildcard(Wildcard.EXTENDS);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr-- ];
  this.genericsStack[this.genericsPtr] = wildcard;
}

protected void [[#variablebe733a00]]() {
  Wildcard wildcard = new Wildcard(Wildcard.SUPER);
  wildcard.bound = (TypeReference) this.genericsStack[this.genericsPtr];
  this.intPtr--; // remove the starting position of the super keyword
  wildcard.sourceEnd = wildcard.bound.sourceEnd;
  this.intPtr--; // remove end position of the '?'
  wildcard.sourceStart = this.intStack[this.intPtr-- ];
  this.genericsStack[this.genericsPtr] = wildcard;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#91babb80]]
consumeWildcardBounds3Extends 
12[[#91babb80]]
consumeWildcardBounds2Extends 
13[[#91babb80]]
consumeWildcardBounds1Extends 
21[[#be733a00]]
consumeWildcardBounds3Super 
22[[#be733a00]]
consumeWildcardBounds2Super 
23[[#be733a00]]
consumeWildcardBounds1Super