private static String getAnnotationDescription()

in TransformCore/src/main/java/com/facebook/ads/injkit/sdkdebugger/SdkDebuggerInjector.java [170:188]


  private static String getAnnotationDescription(AnnotationNode annotation) {
    if (annotation.values == null) {
      return null;
    }

    if (annotation.values.size() % 2 != 0) {
      throw new IllegalStateException("AnnotationNode::values should be of even size");
    }

    for (int i = 0; i < annotation.values.size(); i += 2) {
      String key = (String) annotation.values.get(i);
      Object val = annotation.values.get(i + 1);
      if (key.equalsIgnoreCase(METHOD_DESCRIPTION_PARAM)) {
        return (String) val;
      }
    }

    return null;
  }