CloneSet411


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
30220.993class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
130183
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java
230637
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java
Clone Instance
1
Line Count
30
Source Line
183
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java

public void checkcast(int baseId) {
        super.checkcast(baseId);
        VerificationTypeInfo info = null;
        switch (baseId) {
                case TypeIds.T_byte:
                        info = new VerificationTypeInfo(TypeIds.T_JavaLangByte, ConstantPool.JavaLangByteConstantPoolName);
                        break;
                case TypeIds.T_short:
                        info = new VerificationTypeInfo(TypeIds.T_JavaLangShort, ConstantPool.JavaLangShortConstantPoolName);
                        break;
                case TypeIds.T_char:
                        info = new VerificationTypeInfo(TypeIds.T_JavaLangCharacter, ConstantPool.JavaLangCharacterConstantPoolName);
                        break;
                case TypeIds.T_int:
                        info = new VerificationTypeInfo(TypeIds.T_JavaLangInteger, ConstantPool.JavaLangIntegerConstantPoolName);
                        break;
                case TypeIds.T_long:
                        info = new VerificationTypeInfo(TypeIds.T_JavaLangLong, ConstantPool.JavaLangLongConstantPoolName);
                        break;
                case TypeIds.T_float:
                        info = new VerificationTypeInfo(TypeIds.T_JavaLangFloat, ConstantPool.JavaLangFloatConstantPoolName);
                        break;
                case TypeIds.T_double:
                        info = new VerificationTypeInfo(TypeIds.T_JavaLangDouble, ConstantPool.JavaLangDoubleConstantPoolName);
                        break;
                case TypeIds.T_boolean:
                        info = new VerificationTypeInfo(TypeIds.T_JavaLangBoolean, ConstantPool.JavaLangBooleanConstantPoolName);
              }
        if (info != null) {
                this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info;
        }
}


Clone Instance
2
Line Count
30
Source Line
637
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java

public void generateBoxingConversion(int unboxedTypeID) {
        super.generateBoxingConversion(unboxedTypeID);
        VerificationTypeInfo info = null;
    switch (unboxedTypeID) {
        case TypeIds.T_byte:
                info = new VerificationTypeInfo(TypeIds.T_JavaLangByte, ConstantPool.JavaLangByteConstantPoolName);
            break;
        case TypeIds.T_short:
                info = new VerificationTypeInfo(TypeIds.T_JavaLangShort, ConstantPool.JavaLangShortConstantPoolName);
            break;
        case TypeIds.T_char:
                info = new VerificationTypeInfo(TypeIds.T_JavaLangCharacter, ConstantPool.JavaLangCharacterConstantPoolName);
           break;
        case TypeIds.T_int:
                info = new VerificationTypeInfo(TypeIds.T_JavaLangInteger, ConstantPool.JavaLangIntegerConstantPoolName);
            break;
        case TypeIds.T_long:
                info = new VerificationTypeInfo(TypeIds.T_JavaLangLong, ConstantPool.JavaLangLongConstantPoolName);
            break;
        case TypeIds.T_float:
                info = new VerificationTypeInfo(TypeIds.T_JavaLangFloat, ConstantPool.JavaLangFloatConstantPoolName);
            break;
        case TypeIds.T_double:
                info = new VerificationTypeInfo(TypeIds.T_JavaLangDouble, ConstantPool.JavaLangDoubleConstantPoolName);
            break;
        case TypeIds.T_boolean:
                info = new VerificationTypeInfo(TypeIds.T_JavaLangBoolean, ConstantPool.JavaLangBooleanConstantPoolName);
      }
    if (info != null) {
        this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info;
    }
}


Clone AbstractionParameter Count: 2Parameter Bindings

public void [[#variable961888a0]](int  [[#variable96188940]]) {
  super. [[#variable961888a0]]( [[#variable96188940]]);
  VerificationTypeInfo info = null;
  switch ( [[#variable96188940]]) {
    case TypeIds.T_byte:
      info = new VerificationTypeInfo(TypeIds.T_JavaLangByte, ConstantPool.JavaLangByteConstantPoolName);
      break;
    case TypeIds.T_short:
      info = new VerificationTypeInfo(TypeIds.T_JavaLangShort, ConstantPool.JavaLangShortConstantPoolName);
      break;
    case TypeIds.T_char:
      info = new VerificationTypeInfo(TypeIds.T_JavaLangCharacter, ConstantPool.JavaLangCharacterConstantPoolName);
      break;
    case TypeIds.T_int:
      info = new VerificationTypeInfo(TypeIds.T_JavaLangInteger, ConstantPool.JavaLangIntegerConstantPoolName);
      break;
    case TypeIds.T_long:
      info = new VerificationTypeInfo(TypeIds.T_JavaLangLong, ConstantPool.JavaLangLongConstantPoolName);
      break;
    case TypeIds.T_float:
      info = new VerificationTypeInfo(TypeIds.T_JavaLangFloat, ConstantPool.JavaLangFloatConstantPoolName);
      break;
    case TypeIds.T_double:
      info = new VerificationTypeInfo(TypeIds.T_JavaLangDouble, ConstantPool.JavaLangDoubleConstantPoolName);
      break;
    case TypeIds.T_boolean:
      info = new VerificationTypeInfo(TypeIds.T_JavaLangBoolean, ConstantPool.JavaLangBooleanConstantPoolName);
  }
  if (info != null) {
    this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#961888a0]]
checkcast 
12[[#961888a0]]
generateBoxingConversion 
21[[#96188940]]
baseId 
22[[#96188940]]
unboxedTypeID