public boolean hasClassIndex() {
    return (classIndex >= 0);
  }
Returns whether the constant's class index has been set for this instance.

@return {@code true} iff the index has been set
@see #setClassIndex
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/code/CstInsn.java