public void set(Element element) {
    if (element == null) {
      throw new NullPointerException("element == null");
    }

    CstString pairName = new CstString(element.getName());
    Constant pairValue = Element.toConstant(element.getValue());
    NameValuePair nameValuePair = new NameValuePair(pairName, pairValue);
    elements.put(element.getName(), nameValuePair);
  }
Set an annotation element of this instance. If there is a preexisting element with the same
name, it will be replaced by this method.

@param element {@code non-null;} the annotation element to be set.
android/android_framework/dex-maker/src/main/java/com/android/dx/AnnotationId.java