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