CloneSet568


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

public void generateUnboxingConversion(int unboxedTypeID) {
        super.generateUnboxingConversion(unboxedTypeID);
        VerificationTypeInfo info = null;
        switch (unboxedTypeID) {
                case TypeIds.T_byte:
                        info = new VerificationTypeInfo(TypeBinding.BYTE);
                        break;
                case TypeIds.T_short:
                        info = new VerificationTypeInfo(TypeBinding.SHORT);
                        break;
                case TypeIds.T_char:
                        info = new VerificationTypeInfo(TypeBinding.CHAR);
                        break;
                case TypeIds.T_int:
                        info = new VerificationTypeInfo(TypeBinding.INT);
                        break;
                case TypeIds.T_long:
                        info = new VerificationTypeInfo(TypeBinding.LONG);
                        break;
                case TypeIds.T_float:
                        info = new VerificationTypeInfo(TypeBinding.FLOAT);
                        break;
                case TypeIds.T_double:
                        info = new VerificationTypeInfo(TypeBinding.DOUBLE);
                        break;
                case TypeIds.T_boolean:
                        info = new VerificationTypeInfo(TypeBinding.BOOLEAN);
              }
        if (info != null) {
        this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info;
        }
}


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

public void getBaseTypeValue(int baseTypeID) {
        super.getBaseTypeValue(baseTypeID);
        VerificationTypeInfo info = null;
        switch (baseTypeID) {
                case TypeIds.T_byte:
                        info = new VerificationTypeInfo(TypeBinding.BYTE);
                        break;
                case TypeIds.T_short:
                        info = new VerificationTypeInfo(TypeBinding.SHORT);
                        break;
                case TypeIds.T_char:
                        info = new VerificationTypeInfo(TypeBinding.CHAR);
                        break;
                case TypeIds.T_int:
                        info = new VerificationTypeInfo(TypeBinding.INT);
                        break;
                case TypeIds.T_long:
                        info = new VerificationTypeInfo(TypeBinding.LONG);
                        break;
                case TypeIds.T_float:
                        info = new VerificationTypeInfo(TypeBinding.FLOAT);
                        break;
                case TypeIds.T_double:
                        info = new VerificationTypeInfo(TypeBinding.DOUBLE);
                        break;
                case TypeIds.T_boolean:
                        info = new VerificationTypeInfo(TypeBinding.BOOLEAN);
              }
        if (info != null) {
                this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info;
        }
}


Clone AbstractionParameter Count: 2Parameter Bindings

public void [[#variableb2f672e0]](int  [[#variableb2f67160]]) {
  super. [[#variableb2f672e0]]( [[#variableb2f67160]]);
  VerificationTypeInfo info = null;
  switch ( [[#variableb2f67160]]) {
    case TypeIds.T_byte:
      info = new VerificationTypeInfo(TypeBinding.BYTE);
      break;
    case TypeIds.T_short:
      info = new VerificationTypeInfo(TypeBinding.SHORT);
      break;
    case TypeIds.T_char:
      info = new VerificationTypeInfo(TypeBinding.CHAR);
      break;
    case TypeIds.T_int:
      info = new VerificationTypeInfo(TypeBinding.INT);
      break;
    case TypeIds.T_long:
      info = new VerificationTypeInfo(TypeBinding.LONG);
      break;
    case TypeIds.T_float:
      info = new VerificationTypeInfo(TypeBinding.FLOAT);
      break;
    case TypeIds.T_double:
      info = new VerificationTypeInfo(TypeBinding.DOUBLE);
      break;
    case TypeIds.T_boolean:
      info = new VerificationTypeInfo(TypeBinding.BOOLEAN);
  }
  if (info != null) {
    this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = info;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2f672e0]]
generateUnboxingConversion 
12[[#b2f672e0]]
getBaseTypeValue 
21[[#b2f67160]]
unboxedTypeID 
22[[#b2f67160]]
baseTypeID