public final void throwIfMutable() {
    if (mutable) {
      throw new MutabilityException("mutable instance");
    }
  }
Throws {@link MutabilityException} if this instance is mutable.
android/android_framework/dex-maker/src/main/java/com/android/dx/util/MutabilityControl.java