| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 1 | 0.992 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 34 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Wildcard.java |
| 2 | 8 | 45 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Wildcard.java |
| ||||
public char [][] getParameterizedTypeName() {
switch (this.kind) {
case Wildcard.UNBOUND:
return new char[][] {
WILDCARD_NAME
};
case Wildcard.EXTENDS:
return new char[][] {
CharOperation.concat(WILDCARD_NAME, WILDCARD_EXTENDS, CharOperation.concatWith(this.bound.getParameterizedTypeName(), '.'))
};
default: // SUPER
return new char[][] {
CharOperation.concat(WILDCARD_NAME, WILDCARD_SUPER, CharOperation.concatWith(this.bound.getParameterizedTypeName(), '.'))
};
}
}
|
| ||||
public char [][] getTypeName() {
switch (this.kind) {
case Wildcard.UNBOUND:
return new char[][] {
WILDCARD_NAME
};
case Wildcard.EXTENDS:
return new char[][] {
CharOperation.concat(WILDCARD_NAME, WILDCARD_EXTENDS, CharOperation.concatWith(this.bound.getTypeName(), '.'))
};
default: // SUPER
return new char[][] {
CharOperation.concat(WILDCARD_NAME, WILDCARD_SUPER, CharOperation.concatWith(this.bound.getTypeName(), '.'))
};
}
}
|
| |||
public char[][] [[#variableb83a0ce0]]() {
switch (this.kind) {
case Wildcard.UNBOUND:
return new char[][] {
WILDCARD_NAME
};
case Wildcard.EXTENDS:
return new char[][] {
CharOperation.concat(WILDCARD_NAME, WILDCARD_EXTENDS, CharOperation.concatWith(this.bound. [[#variableb83a0ce0]](), '.'))
};
default: // SUPER
return new char[][] {
CharOperation.concat(WILDCARD_NAME, WILDCARD_SUPER, CharOperation.concatWith(this.bound. [[#variableb83a0ce0]](), '.'))
};
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b83a0ce0]] | getParameterizedTypeName |
| 1 | 2 | [[#b83a0ce0]] | getTypeName |