1{
2  "methods": {
3    "addOptionalUpdater(java.util.List\u003ccom.android.server.pm.parsing.library.PackageSharedLibraryUpdater\u003e,java.lang.String,java.util.function.Supplier\u003ccom.android.server.pm.parsing.library.PackageSharedLibraryUpdater\u003e)": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected",
7        "static"
8      ],
9      "params": [
10        "packageUpdaters",
11        "className",
12        "defaultUpdater"
13      ],
14      "returnType": "boolean",
15      "exceptions": [],
16      "name": "addOptionalUpdater(java.util.List\u003ccom.android.server.pm.parsing.library.PackageSharedLibraryUpdater\u003e,java.lang.String,java.util.function.Supplier\u003ccom.android.server.pm.parsing.library.PackageSharedLibraryUpdater\u003e)",
17      "documentation": "Stubbing this out as if Android S+ is on the classpath, we\u0027ll get a ClassCastException instead\nof a ClassNotFoundException. Since we don\u0027t really need this logic, simpler to just skip it\n"
18    }
19  },
20  "imports": [
21    "android.os.Build.VERSION_CODES.P",
22    "com.android.server.pm.parsing.library.PackageSharedLibraryUpdater",
23    "java.util.List",
24    "java.util.function.Supplier",
25    "org.robolectric.annotation.Implementation",
26    "org.robolectric.annotation.Implements"
27  ],
28  "name": "org.robolectric.shadows.ShadowPackageBackwardCompatibility",
29  "documentation": "Shadow of {@link PackageBackwardCompatibility} to handle a scenario that can come up when\nmultiple Android versions end up on the classpath\n"
30}