1{
2  "methods": {
3    "getNext()": {
4      "isImplementation": false,
5      "modifiers": [
6        "public"
7      ],
8      "params": [],
9      "returnType": "android.os.Message",
10      "exceptions": [],
11      "name": "getNext()",
12      "documentation": "Convenience method to provide getter access to the private field\n{@code Message.next}.\n\n@return The next message in the current message chain.\n@see #setNext(Message) \n"
13    },
14    "isInUse()": {
15      "isImplementation": true,
16      "modifiers": [
17        "protected"
18      ],
19      "params": [],
20      "returnType": "boolean",
21      "exceptions": [],
22      "name": "isInUse()",
23      "documentation": "Convenience method to provide access to the private {@code Message.isInUse()} method. Note that\nthe definition of \"in use\" changed with API 21:\n\n\u003cp\u003eIn API 19, a message was only considered \"in use\" during its dispatch. In API 21, the\nmessage is considered \"in use\" from the time it is enqueued until the time that it is freshly\nobtained via a call to {@link Message#obtain()}. This means that in API 21 messages that are in\nthe recycled pool will still be marked as \"in use\".\n\n@return {@code true} if the message is currently \"in use\", {@code false} otherwise.\n"
24    },
25    "recycle()": {
26      "isImplementation": true,
27      "modifiers": [
28        "protected"
29      ],
30      "params": [],
31      "returnType": "void",
32      "exceptions": [],
33      "maxSdk": 20,
34      "name": "recycle()",
35      "documentation": "Hook to unscheduled the callback when the message is recycled. Invokes {@link #unschedule()}\nand then calls through to {@link Message#recycle()} on the real object.\n"
36    },
37    "recycleUnchecked()": {
38      "isImplementation": true,
39      "modifiers": [
40        "public"
41      ],
42      "params": [],
43      "returnType": "void",
44      "exceptions": [],
45      "minSdk": 21,
46      "name": "recycleUnchecked()",
47      "documentation": "Hook to unscheduled the callback when the message is recycled.\nInvokes {@link #unschedule()} and then calls through to the\npackage private method {@link Message#recycleUnchecked()}\non the real object.\n"
48    },
49    "reset()": {
50      "isImplementation": false,
51      "modifiers": [
52        "public",
53        "static"
54      ],
55      "params": [],
56      "returnType": "void",
57      "exceptions": [],
58      "name": "reset()",
59      "documentation": "Resets the static state of the {@link Message} class by\nemptying the message pool.\n"
60    },
61    "setNext(android.os.Message)": {
62      "isImplementation": false,
63      "modifiers": [
64        "public"
65      ],
66      "params": [
67        "next"
68      ],
69      "returnType": "void",
70      "exceptions": [],
71      "name": "setNext(android.os.Message)",
72      "documentation": "Convenience method to provide setter access to the private field\n{@code Message.next}.\n\n@param next the new next message for the current message.\n@see #getNext() \n"
73    },
74    "setScheduledRunnable(java.lang.Runnable)": {
75      "isImplementation": false,
76      "modifiers": [
77        "public"
78      ],
79      "params": [
80        "r"
81      ],
82      "returnType": "void",
83      "exceptions": [],
84      "name": "setScheduledRunnable(java.lang.Runnable)",
85      "documentation": "Stores the {@link Runnable} instance that has been scheduled\nto invoke this message. This is called when the message is\nenqueued by {@link ShadowMessageQueue#enqueueMessage} and is used when\nthe message is recycled to ensure that the correct\n{@link Runnable} instance is removed from the associated scheduler.\n\n@param r the {@link Runnable} instance that is scheduled to\ntrigger this message.\n\n#if ($api \u003e\u003d 21)   * @see #recycleUnchecked()\n#else   * @see #recycle()\n#end\n"
86    },
87    "shadowOf(android.os.Looper)": {
88      "isImplementation": false,
89      "modifiers": [
90        "private",
91        "static"
92      ],
93      "params": [
94        "looper"
95      ],
96      "returnType": "org.robolectric.shadows.ShadowLooper",
97      "exceptions": [],
98      "name": "shadowOf(android.os.Looper)"
99    },
100    "shadowOf(android.os.MessageQueue)": {
101      "isImplementation": false,
102      "modifiers": [
103        "private",
104        "static"
105      ],
106      "params": [
107        "mq"
108      ],
109      "returnType": "org.robolectric.shadows.ShadowMessageQueue",
110      "exceptions": [],
111      "name": "shadowOf(android.os.MessageQueue)"
112    },
113    "unschedule()": {
114      "isImplementation": false,
115      "modifiers": [
116        "private"
117      ],
118      "params": [],
119      "returnType": "void",
120      "exceptions": [],
121      "name": "unschedule()"
122    }
123  },
124  "imports": [
125    "android.os.Build.VERSION_CODES.KITKAT_WATCH",
126    "android.os.Build.VERSION_CODES.LOLLIPOP",
127    "org.robolectric.RuntimeEnvironment.getApiLevel",
128    "org.robolectric.shadow.api.Shadow.directlyOn",
129    "org.robolectric.util.ReflectionHelpers.getField",
130    "org.robolectric.util.ReflectionHelpers.getStaticField",
131    "org.robolectric.util.ReflectionHelpers.setField",
132    "org.robolectric.util.ReflectionHelpers.setStaticField",
133    "android.os.Handler",
134    "android.os.Looper",
135    "android.os.Message",
136    "android.os.MessageQueue",
137    "org.robolectric.annotation.HiddenApi",
138    "org.robolectric.annotation.Implementation",
139    "org.robolectric.annotation.Implements",
140    "org.robolectric.annotation.RealObject",
141    "org.robolectric.annotation.Resetter",
142    "org.robolectric.shadow.api.Shadow"
143  ],
144  "name": "org.robolectric.shadows.ShadowMessage"
145}