1{ 2 "methods": { 3 "getQuantityString(int,int)": { 4 "isImplementation": true, 5 "modifiers": [ 6 "protected" 7 ], 8 "params": [ 9 "resId", 10 "quantity" 11 ], 12 "returnType": "java.lang.String", 13 "exceptions": [ 14 "android.content.res.Resources.NotFoundException" 15 ], 16 "name": "getQuantityString(int,int)" 17 }, 18 "getQuantityString(int,int,java.lang.Object...)": { 19 "isImplementation": true, 20 "modifiers": [ 21 "protected" 22 ], 23 "params": [ 24 "id", 25 "quantity", 26 "formatArgs" 27 ], 28 "returnType": "java.lang.String", 29 "exceptions": [ 30 "android.content.res.Resources.NotFoundException" 31 ], 32 "name": "getQuantityString(int,int,java.lang.Object...)" 33 }, 34 "getSystem()": { 35 "isImplementation": true, 36 "modifiers": [ 37 "protected", 38 "static" 39 ], 40 "params": [], 41 "returnType": "android.content.res.Resources", 42 "exceptions": [], 43 "name": "getSystem()" 44 }, 45 "isLegacyAssetManager()": { 46 "isImplementation": false, 47 "modifiers": [ 48 "private" 49 ], 50 "params": [], 51 "returnType": "boolean", 52 "exceptions": [], 53 "name": "isLegacyAssetManager()" 54 }, 55 "loadDrawable(android.util.TypedValue,int)": { 56 "isImplementation": true, 57 "modifiers": [ 58 "protected" 59 ], 60 "params": [ 61 "value", 62 "id" 63 ], 64 "returnType": "android.graphics.drawable.Drawable", 65 "exceptions": [], 66 "maxSdk": 20, 67 "name": "loadDrawable(android.util.TypedValue,int)" 68 }, 69 "loadDrawable(android.util.TypedValue,int,android.content.res.Resources.Theme)": { 70 "isImplementation": true, 71 "modifiers": [ 72 "protected" 73 ], 74 "params": [ 75 "value", 76 "id", 77 "theme" 78 ], 79 "returnType": "android.graphics.drawable.Drawable", 80 "exceptions": [ 81 "android.content.res.Resources.NotFoundException" 82 ], 83 "minSdk": 21, 84 "maxSdk": 25, 85 "name": "loadDrawable(android.util.TypedValue,int,android.content.res.Resources.Theme)" 86 }, 87 "loadXmlResourceParser(int,java.lang.String)": { 88 "isImplementation": true, 89 "modifiers": [ 90 "protected" 91 ], 92 "params": [ 93 "resId", 94 "type" 95 ], 96 "returnType": "android.content.res.XmlResourceParser", 97 "exceptions": [ 98 "android.content.res.Resources.NotFoundException" 99 ], 100 "name": "loadXmlResourceParser(int,java.lang.String)" 101 }, 102 "loadXmlResourceParser(java.lang.String,int,int,java.lang.String)": { 103 "isImplementation": true, 104 "modifiers": [ 105 "protected" 106 ], 107 "params": [ 108 "file", 109 "id", 110 "assetCookie", 111 "type" 112 ], 113 "returnType": "android.content.res.XmlResourceParser", 114 "exceptions": [ 115 "android.content.res.Resources.NotFoundException" 116 ], 117 "name": "loadXmlResourceParser(java.lang.String,int,int,java.lang.String)" 118 }, 119 "newNotFoundException(int)": { 120 "isImplementation": false, 121 "modifiers": [ 122 "private" 123 ], 124 "params": [ 125 "id" 126 ], 127 "returnType": "android.content.res.Resources.NotFoundException", 128 "exceptions": [], 129 "name": "newNotFoundException(int)" 130 }, 131 "obtainAttributes(android.util.AttributeSet,int[])": { 132 "isImplementation": true, 133 "modifiers": [ 134 "protected" 135 ], 136 "params": [ 137 "set", 138 "attrs" 139 ], 140 "returnType": "android.content.res.TypedArray", 141 "exceptions": [], 142 "name": "obtainAttributes(android.util.AttributeSet,int[])" 143 }, 144 "obtainResettableArrays()": { 145 "isImplementation": false, 146 "modifiers": [ 147 "private", 148 "static" 149 ], 150 "params": [], 151 "returnType": "java.util.List\u003candroid.util.LongSparseArray\u003c?\u003e\u003e", 152 "exceptions": [], 153 "name": "obtainResettableArrays()" 154 }, 155 "obtainTypedArray(int)": { 156 "isImplementation": true, 157 "modifiers": [ 158 "protected" 159 ], 160 "params": [ 161 "id" 162 ], 163 "returnType": "android.content.res.TypedArray", 164 "exceptions": [ 165 "android.content.res.Resources.NotFoundException" 166 ], 167 "name": "obtainTypedArray(int)" 168 }, 169 "openRawResource(int)": { 170 "isImplementation": true, 171 "modifiers": [ 172 "protected" 173 ], 174 "params": [ 175 "id" 176 ], 177 "returnType": "java.io.InputStream", 178 "exceptions": [ 179 "android.content.res.Resources.NotFoundException" 180 ], 181 "name": "openRawResource(int)" 182 }, 183 "openRawResourceFd(int)": { 184 "isImplementation": true, 185 "modifiers": [ 186 "protected" 187 ], 188 "params": [ 189 "id" 190 ], 191 "returnType": "android.content.res.AssetFileDescriptor", 192 "exceptions": [ 193 "android.content.res.Resources.NotFoundException" 194 ], 195 "name": "openRawResourceFd(int)", 196 "documentation": "Since {@link AssetFileDescriptor}s are not yet supported by Robolectric, {@code null} will be\nreturned if the resource is found. If the resource cannot be found, {@link\nResources.NotFoundException} will be thrown.\n" 197 }, 198 "reset()": { 199 "isImplementation": false, 200 "modifiers": [ 201 "public", 202 "static" 203 ], 204 "params": [], 205 "returnType": "void", 206 "exceptions": [], 207 "name": "reset()" 208 }, 209 "setCreatedFromResId(android.content.res.Resources,int,android.graphics.drawable.Drawable)": { 210 "isImplementation": false, 211 "modifiers": [ 212 "static" 213 ], 214 "params": [ 215 "resources", 216 "id", 217 "drawable" 218 ], 219 "returnType": "void", 220 "exceptions": [], 221 "name": "setCreatedFromResId(android.content.res.Resources,int,android.graphics.drawable.Drawable)" 222 } 223 }, 224 "imports": [ 225 "android.os.Build.VERSION_CODES.KITKAT_WATCH", 226 "android.os.Build.VERSION_CODES.LOLLIPOP", 227 "android.os.Build.VERSION_CODES.M", 228 "android.os.Build.VERSION_CODES.N", 229 "android.os.Build.VERSION_CODES.N_MR1", 230 "org.robolectric.shadow.api.Shadow.directlyOn", 231 "org.robolectric.shadows.ShadowAssetManager.legacyShadowOf", 232 "android.content.res.AssetFileDescriptor", 233 "android.content.res.AssetManager", 234 "android.content.res.Configuration", 235 "android.content.res.Resources", 236 "android.content.res.Resources.NotFoundException", 237 "android.content.res.ResourcesImpl", 238 "android.content.res.TypedArray", 239 "android.content.res.XmlResourceParser", 240 "android.graphics.Bitmap", 241 "android.graphics.drawable.BitmapDrawable", 242 "android.graphics.drawable.Drawable", 243 "android.os.ParcelFileDescriptor", 244 "android.util.AttributeSet", 245 "android.util.DisplayMetrics", 246 "android.util.LongSparseArray", 247 "android.util.TypedValue", 248 "java.io.FileInputStream", 249 "java.io.IOException", 250 "java.io.InputStream", 251 "java.lang.reflect.Field", 252 "java.lang.reflect.Modifier", 253 "java.util.ArrayList", 254 "java.util.List", 255 "java.util.Locale", 256 "org.robolectric.RuntimeEnvironment", 257 "org.robolectric.annotation.HiddenApi", 258 "org.robolectric.annotation.Implementation", 259 "org.robolectric.annotation.Implements", 260 "org.robolectric.annotation.RealObject", 261 "org.robolectric.annotation.Resetter", 262 "org.robolectric.res.Plural", 263 "org.robolectric.res.PluralRules", 264 "org.robolectric.res.ResName", 265 "org.robolectric.res.ResType", 266 "org.robolectric.res.ResourceTable", 267 "org.robolectric.res.TypedResource", 268 "org.robolectric.shadow.api.Shadow", 269 "org.robolectric.shadows.ShadowLegacyResourcesImpl.ShadowLegacyThemeImpl", 270 "org.robolectric.util.ReflectionHelpers", 271 "org.robolectric.util.ReflectionHelpers.ClassParameter", 272 "org.robolectric.shadows.ShadowResources.ShadowTheme", 273 "org.robolectric.shadows.ShadowResources.ShadowLegacyTheme", 274 "org.robolectric.shadows.ShadowResources.ShadowNotFoundException" 275 ], 276 "name": "org.robolectric.shadows.ShadowResources" 277}