public void setDeclaringClass(CstType declaringClass) {
    if (this.declaringClass != null) {
      throw new IllegalArgumentException("already added declaring class");
    } else if (declaringClass == null) {
      throw new NullPointerException("declaringClass == null");
    }
    this.declaringClass = declaringClass;
  }
Sets the declaring class of this instance.

<p>This is a set-once property.

@param declaringClass {@code non-null;} the declaring class
android/android_framework/dex-maker/src/main/java/com/android/dx/rop/cst/CstInvokeDynamic.java