public void setAttributeFactory(AttributeFactory attributeFactory) {
    if (attributeFactory == null) {
      throw new NullPointerException("attributeFactory == null");
    }

    this.attributeFactory = attributeFactory;
  }
Sets the attribute factory to use.

@param attributeFactory {@code non-null;} the attribute factory
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/direct/DirectClassFile.java