public static Rop opPutStatic(TypeBearer type) {
    switch (type.getBasicType()) {
      case Type.BT_INT:
        return PUT_STATIC_INT;
      case Type.BT_LONG:
        return PUT_STATIC_LONG;
      case Type.BT_FLOAT:
        return PUT_STATIC_FLOAT;
      case Type.BT_DOUBLE:
        return PUT_STATIC_DOUBLE;
      case Type.BT_OBJECT:
        return PUT_STATIC_OBJECT;
      case Type.BT_BOOLEAN:
        return PUT_STATIC_BOOLEAN;
      case Type.BT_BYTE:
        return PUT_STATIC_BYTE;
      case Type.BT_CHAR:
        return PUT_STATIC_CHAR;
      case Type.BT_SHORT:
        return PUT_STATIC_SHORT;
    }

    return throwBadType(type);
  }
Returns the appropriate {@code put-static} rop for the given type. The result is a shared
instance.

@param type {@code non-null;} type of the field in question
@return {@code non-null;} an appropriate instance
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/code/Rops.java