CloneSet3462


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112125
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IntLiteral.java
212146
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LongLiteral.java
Clone Instance
1
Line Count
12
Source Line
125
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IntLiteral.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;
}


Clone Instance
2
Line Count
12
Source Line
146
Source File
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 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;
}


Clone AbstractionParameter Count: 0Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None