public int getCategory() {
    switch (basicType) {
      case BT_LONG:
      case BT_DOUBLE:
        {
          return 2;
        }
    }

    return 1;
  }
Gets the category. Most instances are category 1. {@code long} and {@code double} are the only
category 2 types.

@return the category
@see #isCategory1
@see #isCategory2
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/type/Type.java