Add InlineMe to JsonKeysetReader.withJsonObject.
PiperOrigin-RevId: 473995889
Change-Id: Iec0c0e6afa5d81af24ea5030960ed4f6e57e48f7
diff --git a/src/main/java/com/google/crypto/tink/JsonKeysetReader.java b/src/main/java/com/google/crypto/tink/JsonKeysetReader.java
index 0c0c8bc..ce110c0 100644
--- a/src/main/java/com/google/crypto/tink/JsonKeysetReader.java
+++ b/src/main/java/com/google/crypto/tink/JsonKeysetReader.java
@@ -26,6 +26,7 @@
import com.google.crypto.tink.proto.OutputPrefixType;
import com.google.crypto.tink.subtle.Base64;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
+import com.google.errorprone.annotations.InlineMe;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
@@ -81,6 +82,9 @@
* @deprecated Use {@code #withString}
*/
@Deprecated
+ @InlineMe(
+ replacement = "JsonKeysetReader.withString(input.toString())",
+ imports = "com.google.crypto.tink.JsonKeysetReader")
public static JsonKeysetReader withJsonObject(Object input) {
return withString(input.toString());
}