| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 2 | 0 | 1.000 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 125 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IntLiteral.java |
| 2 | 12 | 146 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LongLiteral.java |
| ||||
public TypeBinding resolveType(BlockScope scope) {
// the format may be incorrect while the scanner could detect
// such an error only on painfull tests...easier and faster here
TypeBinding tb = super.resolveType(scope);
if (constant == FORMAT_ERROR) {
constant = Constant.NotAConstant;
scope.problemReporter().constantOutOfFormat(this );
this.resolvedType = null;
return null;
}
return tb;
}
|
| ||||
public TypeBinding resolveType(BlockScope scope) {
// the format may be incorrect while the scanner could detect
// such error only on painfull tests...easier and faster here
TypeBinding tb = super.resolveType(scope);
if (constant == FORMAT_ERROR) {
constant = Constant.NotAConstant;
scope.problemReporter().constantOutOfFormat(this );
this.resolvedType = null;
return null;
}
return tb;
}
|
| |||
public TypeBinding resolveType(BlockScope scope) {
// the format may be incorrect while the scanner could detect
// such error only on painfull tests...easier and faster here
// such an error only on painfull tests...easier and faster here
TypeBinding tb = super.resolveType(scope);
if (constant == FORMAT_ERROR) {
constant = Constant.NotAConstant;
scope.problemReporter().constantOutOfFormat(this );
this.resolvedType = null;
return null;
}
return tb;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||