forked from Workday/postman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidParcelable.xml
23 lines (23 loc) · 1.52 KB
/
AndroidParcelable.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<templateSet group="AndroidParcelable">
<template name="postman" value="public static final Parcelable.Creator<$className$> CREATOR = Postman.getCreator($className$.class); $className$() { // default constructor required by Postman } @Override public int describeContents() { return 0; } @Override public void writeToParcel(@NotNull Parcel dest, int flags) { Postman.writeToParcel(this, dest); } " shortcut="ENTER" description="Create a Postman block for your current class" toReformat="true" toShortenFQNames="true">
<variable name="className" expression="className()" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="false" />
<option name="HTML" value="false" />
<option name="XSL_TEXT" value="false" />
<option name="XML" value="false" />
<option name="JAVA_CODE" value="false" />
<option name="JAVA_STATEMENT" value="false" />
<option name="JAVA_EXPRESSION" value="false" />
<option name="JAVA_DECLARATION" value="true" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
<option name="GROOVY" value="false" />
<option name="GROOVY_EXPRESSION" value="false" />
<option name="GROOVY_STATEMENT" value="false" />
<option name="GROOVY_DECLARATION" value="false" />
<option name="OTHER" value="false" />
</context>
</template>
</templateSet>