xref: /OK3568_Linux_fs/external/chromium/licenses/LICENSE.25 (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunTerms and conditions
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThis is the Android Software Development Kit License Agreement
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun1. Introduction
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS).
12*4882a593Smuzhiyun
13*4882a593Smuzhiyun1.4 "Google" means Google LLC, a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun2. Accepting this License Agreement
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun2.2 By clicking to accept, you hereby agree to the terms of the License Agreement.
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity.
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun3. SDK License from Google
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android.
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement.  Except to the extent required by applicable third party licenses, you may not copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyun3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you.
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
42*4882a593Smuzhiyun
43*4882a593Smuzhiyun3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK.
44*4882a593Smuzhiyun
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun4. Use of the SDK by You
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications.
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so.
53*4882a593Smuzhiyun
54*4882a593Smuzhiyun4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier.
55*4882a593Smuzhiyun
56*4882a593Smuzhiyun4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
57*4882a593Smuzhiyun
58*4882a593Smuzhiyun4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
59*4882a593Smuzhiyun
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun5. Your Developer Credentials
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
64*4882a593Smuzhiyun
65*4882a593Smuzhiyun
66*4882a593Smuzhiyun6. Privacy and Information
67*4882a593Smuzhiyun
68*4882a593Smuzhiyun6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected.
69*4882a593Smuzhiyun
70*4882a593Smuzhiyun6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy.
71*4882a593Smuzhiyun
72*4882a593Smuzhiyun
73*4882a593Smuzhiyun7. Third Party Applications
74*4882a593Smuzhiyun
75*4882a593Smuzhiyun7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
76*4882a593Smuzhiyun
77*4882a593Smuzhiyun7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
78*4882a593Smuzhiyun
79*4882a593Smuzhiyun7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties.
80*4882a593Smuzhiyun
81*4882a593Smuzhiyun
82*4882a593Smuzhiyun8. Using Android APIs
83*4882a593Smuzhiyun
84*4882a593Smuzhiyun8.1 Google Data APIs
85*4882a593Smuzhiyun
86*4882a593Smuzhiyun8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
87*4882a593Smuzhiyun
88*4882a593Smuzhiyun8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
89*4882a593Smuzhiyun
90*4882a593Smuzhiyun
91*4882a593Smuzhiyun9. Terminating this License Agreement
92*4882a593Smuzhiyun
93*4882a593Smuzhiyun9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below.
94*4882a593Smuzhiyun
95*4882a593Smuzhiyun9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials.
96*4882a593Smuzhiyun
97*4882a593Smuzhiyun9.3 Google may at any time, terminate the License Agreement with you if:
98*4882a593Smuzhiyun(A) you have breached any provision of the License Agreement; or
99*4882a593Smuzhiyun(B) Google is required to do so by law; or
100*4882a593Smuzhiyun(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or
101*4882a593Smuzhiyun(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable.
102*4882a593Smuzhiyun
103*4882a593Smuzhiyun9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely.
104*4882a593Smuzhiyun
105*4882a593Smuzhiyun
106*4882a593Smuzhiyun10. DISCLAIMER OF WARRANTIES
107*4882a593Smuzhiyun
108*4882a593Smuzhiyun10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
109*4882a593Smuzhiyun
110*4882a593Smuzhiyun10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE.
111*4882a593Smuzhiyun
112*4882a593Smuzhiyun10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
113*4882a593Smuzhiyun
114*4882a593Smuzhiyun
115*4882a593Smuzhiyun11. LIMITATION OF LIABILITY
116*4882a593Smuzhiyun
117*4882a593Smuzhiyun11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
118*4882a593Smuzhiyun
119*4882a593Smuzhiyun
120*4882a593Smuzhiyun12. Indemnification
121*4882a593Smuzhiyun
122*4882a593Smuzhiyun12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement.
123*4882a593Smuzhiyun
124*4882a593Smuzhiyun
125*4882a593Smuzhiyun13. Changes to the License Agreement
126*4882a593Smuzhiyun
127*4882a593Smuzhiyun13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available.
128*4882a593Smuzhiyun
129*4882a593Smuzhiyun
130*4882a593Smuzhiyun14. General Legal Terms
131*4882a593Smuzhiyun
132*4882a593Smuzhiyun14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK.
133*4882a593Smuzhiyun
134*4882a593Smuzhiyun14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
135*4882a593Smuzhiyun
136*4882a593Smuzhiyun14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable.
137*4882a593Smuzhiyun
138*4882a593Smuzhiyun14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement.
139*4882a593Smuzhiyun
140*4882a593Smuzhiyun14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
141*4882a593Smuzhiyun
142*4882a593Smuzhiyun14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party.
143*4882a593Smuzhiyun
144*4882a593Smuzhiyun14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
145*4882a593Smuzhiyun
146*4882a593Smuzhiyun
147*4882a593SmuzhiyunDecember 9, 2016
148*4882a593Smuzhiyun
149*4882a593Smuzhiyun
150*4882a593SmuzhiyunAndroidX lifecycle common library, AndroidX lifecycle livedatacore library, AndroidX lifecycle runtime library:
151*4882a593Smuzhiyun
152*4882a593Smuzhiyun
153*4882a593Smuzhiyun   Copyright (c) 2005-2011, The Android Open Source Project
154*4882a593Smuzhiyun
155*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
156*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
157*4882a593Smuzhiyun
158*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
159*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
160*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
161*4882a593Smuzhiyun   See the License for the specific language governing permissions and
162*4882a593Smuzhiyun   limitations under the License.
163*4882a593Smuzhiyun
164*4882a593Smuzhiyun
165*4882a593Smuzhiyun                                 Apache License
166*4882a593Smuzhiyun                           Version 2.0, January 2004
167*4882a593Smuzhiyun                        http://www.apache.org/licenses/
168*4882a593Smuzhiyun
169*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
170*4882a593Smuzhiyun
171*4882a593Smuzhiyun   1. Definitions.
172*4882a593Smuzhiyun
173*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
174*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
175*4882a593Smuzhiyun
176*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
177*4882a593Smuzhiyun      the copyright owner that is granting the License.
178*4882a593Smuzhiyun
179*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
180*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
181*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
182*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
183*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
184*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
185*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
186*4882a593Smuzhiyun
187*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
188*4882a593Smuzhiyun      exercising permissions granted by this License.
189*4882a593Smuzhiyun
190*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
191*4882a593Smuzhiyun      including but not limited to software source code, documentation
192*4882a593Smuzhiyun      source, and configuration files.
193*4882a593Smuzhiyun
194*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
195*4882a593Smuzhiyun      transformation or translation of a Source form, including but
196*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
197*4882a593Smuzhiyun      and conversions to other media types.
198*4882a593Smuzhiyun
199*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
200*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
201*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
202*4882a593Smuzhiyun      (an example is provided in the Appendix below).
203*4882a593Smuzhiyun
204*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
205*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
206*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
207*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
208*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
209*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
210*4882a593Smuzhiyun      the Work and Derivative Works thereof.
211*4882a593Smuzhiyun
212*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
213*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
214*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
215*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
216*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
217*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
218*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
219*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
220*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
221*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
222*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
223*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
224*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
225*4882a593Smuzhiyun
226*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
227*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
228*4882a593Smuzhiyun      subsequently incorporated within the Work.
229*4882a593Smuzhiyun
230*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
231*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
232*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
233*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
234*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
235*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
236*4882a593Smuzhiyun
237*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
238*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
239*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
240*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
241*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
242*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
243*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
244*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
245*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
246*4882a593Smuzhiyun      institute patent litigation against any entity (including a
247*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
248*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
249*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
250*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
251*4882a593Smuzhiyun      as of the date such litigation is filed.
252*4882a593Smuzhiyun
253*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
254*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
255*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
256*4882a593Smuzhiyun      meet the following conditions:
257*4882a593Smuzhiyun
258*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
259*4882a593Smuzhiyun          Derivative Works a copy of this License; and
260*4882a593Smuzhiyun
261*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
262*4882a593Smuzhiyun          stating that You changed the files; and
263*4882a593Smuzhiyun
264*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
265*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
266*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
267*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
268*4882a593Smuzhiyun          the Derivative Works; and
269*4882a593Smuzhiyun
270*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
271*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
272*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
273*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
274*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
275*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
276*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
277*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
278*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
279*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
280*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
281*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
282*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
283*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
284*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
285*4882a593Smuzhiyun          as modifying the License.
286*4882a593Smuzhiyun
287*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
288*4882a593Smuzhiyun      may provide additional or different license terms and conditions
289*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
290*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
291*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
292*4882a593Smuzhiyun      the conditions stated in this License.
293*4882a593Smuzhiyun
294*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
295*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
296*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
297*4882a593Smuzhiyun      this License, without any additional terms or conditions.
298*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
299*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
300*4882a593Smuzhiyun      with Licensor regarding such Contributions.
301*4882a593Smuzhiyun
302*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
303*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
304*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
305*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
306*4882a593Smuzhiyun
307*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
308*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
309*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
310*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
311*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
312*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
313*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
314*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
315*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
316*4882a593Smuzhiyun
317*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
318*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
319*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
320*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
321*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
322*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
323*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
324*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
325*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
326*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
327*4882a593Smuzhiyun      has been advised of the possibility of such damages.
328*4882a593Smuzhiyun
329*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
330*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
331*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
332*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
333*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
334*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
335*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
336*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
337*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
338*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
339*4882a593Smuzhiyun
340*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
341*4882a593Smuzhiyun
342*4882a593Smuzhiyun
343*4882a593SmuzhiyunAnimal Sniffer:
344*4882a593Smuzhiyun
345*4882a593SmuzhiyunThe MIT License
346*4882a593Smuzhiyun
347*4882a593SmuzhiyunCopyright (c) 2008 Kohsuke Kawaguchi and codehaus.org.
348*4882a593Smuzhiyun
349*4882a593SmuzhiyunPermission is hereby granted, free of charge, to any person obtaining a copy
350*4882a593Smuzhiyunof this software and associated documentation files (the "Software"), to deal
351*4882a593Smuzhiyunin the Software without restriction, including without limitation the rights
352*4882a593Smuzhiyunto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
353*4882a593Smuzhiyuncopies of the Software, and to permit persons to whom the Software is
354*4882a593Smuzhiyunfurnished to do so, subject to the following conditions:
355*4882a593Smuzhiyun
356*4882a593SmuzhiyunThe above copyright notice and this permission notice shall be included in
357*4882a593Smuzhiyunall copies or substantial portions of the Software.
358*4882a593Smuzhiyun
359*4882a593SmuzhiyunTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
360*4882a593SmuzhiyunIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
361*4882a593SmuzhiyunFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
362*4882a593SmuzhiyunAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
363*4882a593SmuzhiyunLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
364*4882a593SmuzhiyunOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
365*4882a593SmuzhiyunTHE SOFTWARE.
366*4882a593Smuzhiyun
367*4882a593Smuzhiyun
368*4882a593SmuzhiyunChecker Framework Annotations:
369*4882a593Smuzhiyun
370*4882a593SmuzhiyunA few parts of the Checker Framework have more permissive licenses.
371*4882a593Smuzhiyun
372*4882a593Smuzhiyun * The annotations are licensed under the MIT License.  (The text of this
373*4882a593Smuzhiyun   license appears below.)  More specifically, all the parts of the Checker
374*4882a593Smuzhiyun   Framework that you might want to include with your own program use the
375*4882a593Smuzhiyun   MIT License.  This is the checker-qual.jar file and all the files that
376*4882a593Smuzhiyun   appear in it:  every file in a qual/ directory, plus NullnessUtils.java
377*4882a593Smuzhiyun   and RegexUtil.java.  In addition, the cleanroom implementations of
378*4882a593Smuzhiyun   third-party annotations, which the Checker Framework recognizes as
379*4882a593Smuzhiyun   aliases for its own annotations, are licensed under the MIT License.
380*4882a593Smuzhiyun
381*4882a593Smuzhiyun===========================================================================
382*4882a593Smuzhiyun
383*4882a593SmuzhiyunMIT License:
384*4882a593Smuzhiyun
385*4882a593SmuzhiyunPermission is hereby granted, free of charge, to any person obtaining a copy
386*4882a593Smuzhiyunof this software and associated documentation files (the "Software"), to deal
387*4882a593Smuzhiyunin the Software without restriction, including without limitation the rights
388*4882a593Smuzhiyunto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
389*4882a593Smuzhiyuncopies of the Software, and to permit persons to whom the Software is
390*4882a593Smuzhiyunfurnished to do so, subject to the following conditions:
391*4882a593Smuzhiyun
392*4882a593SmuzhiyunThe above copyright notice and this permission notice shall be included in
393*4882a593Smuzhiyunall copies or substantial portions of the Software.
394*4882a593Smuzhiyun
395*4882a593SmuzhiyunTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
396*4882a593SmuzhiyunIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
397*4882a593SmuzhiyunFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
398*4882a593SmuzhiyunAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
399*4882a593SmuzhiyunLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
400*4882a593SmuzhiyunOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
401*4882a593SmuzhiyunTHE SOFTWARE.
402*4882a593Smuzhiyun
403*4882a593Smuzhiyun===========================================================================
404*4882a593Smuzhiyun
405*4882a593Smuzhiyun
406*4882a593SmuzhiyunError Prone:
407*4882a593Smuzhiyun
408*4882a593Smuzhiyun                                 Apache License
409*4882a593Smuzhiyun                           Version 2.0, January 2004
410*4882a593Smuzhiyun                        http://www.apache.org/licenses/
411*4882a593Smuzhiyun
412*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
413*4882a593Smuzhiyun
414*4882a593Smuzhiyun   1. Definitions.
415*4882a593Smuzhiyun
416*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
417*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
418*4882a593Smuzhiyun
419*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
420*4882a593Smuzhiyun      the copyright owner that is granting the License.
421*4882a593Smuzhiyun
422*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
423*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
424*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
425*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
426*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
427*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
428*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
429*4882a593Smuzhiyun
430*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
431*4882a593Smuzhiyun      exercising permissions granted by this License.
432*4882a593Smuzhiyun
433*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
434*4882a593Smuzhiyun      including but not limited to software source code, documentation
435*4882a593Smuzhiyun      source, and configuration files.
436*4882a593Smuzhiyun
437*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
438*4882a593Smuzhiyun      transformation or translation of a Source form, including but
439*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
440*4882a593Smuzhiyun      and conversions to other media types.
441*4882a593Smuzhiyun
442*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
443*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
444*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
445*4882a593Smuzhiyun      (an example is provided in the Appendix below).
446*4882a593Smuzhiyun
447*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
448*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
449*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
450*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
451*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
452*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
453*4882a593Smuzhiyun      the Work and Derivative Works thereof.
454*4882a593Smuzhiyun
455*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
456*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
457*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
458*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
459*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
460*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
461*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
462*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
463*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
464*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
465*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
466*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
467*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
468*4882a593Smuzhiyun
469*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
470*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
471*4882a593Smuzhiyun      subsequently incorporated within the Work.
472*4882a593Smuzhiyun
473*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
474*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
475*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
476*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
477*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
478*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
479*4882a593Smuzhiyun
480*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
481*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
482*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
483*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
484*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
485*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
486*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
487*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
488*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
489*4882a593Smuzhiyun      institute patent litigation against any entity (including a
490*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
491*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
492*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
493*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
494*4882a593Smuzhiyun      as of the date such litigation is filed.
495*4882a593Smuzhiyun
496*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
497*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
498*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
499*4882a593Smuzhiyun      meet the following conditions:
500*4882a593Smuzhiyun
501*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
502*4882a593Smuzhiyun          Derivative Works a copy of this License; and
503*4882a593Smuzhiyun
504*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
505*4882a593Smuzhiyun          stating that You changed the files; and
506*4882a593Smuzhiyun
507*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
508*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
509*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
510*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
511*4882a593Smuzhiyun          the Derivative Works; and
512*4882a593Smuzhiyun
513*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
514*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
515*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
516*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
517*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
518*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
519*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
520*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
521*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
522*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
523*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
524*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
525*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
526*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
527*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
528*4882a593Smuzhiyun          as modifying the License.
529*4882a593Smuzhiyun
530*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
531*4882a593Smuzhiyun      may provide additional or different license terms and conditions
532*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
533*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
534*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
535*4882a593Smuzhiyun      the conditions stated in this License.
536*4882a593Smuzhiyun
537*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
538*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
539*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
540*4882a593Smuzhiyun      this License, without any additional terms or conditions.
541*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
542*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
543*4882a593Smuzhiyun      with Licensor regarding such Contributions.
544*4882a593Smuzhiyun
545*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
546*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
547*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
548*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
549*4882a593Smuzhiyun
550*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
551*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
552*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
553*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
554*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
555*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
556*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
557*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
558*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
559*4882a593Smuzhiyun
560*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
561*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
562*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
563*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
564*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
565*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
566*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
567*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
568*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
569*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
570*4882a593Smuzhiyun      has been advised of the possibility of such damages.
571*4882a593Smuzhiyun
572*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
573*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
574*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
575*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
576*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
577*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
578*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
579*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
580*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
581*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
582*4882a593Smuzhiyun
583*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
584*4882a593Smuzhiyun
585*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
586*4882a593Smuzhiyun
587*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
588*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
589*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
590*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
591*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
592*4882a593Smuzhiyun      file or class name and description of purpose be included on the
593*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
594*4882a593Smuzhiyun      identification within third-party archives.
595*4882a593Smuzhiyun
596*4882a593Smuzhiyun   Copyright [yyyy] [name of copyright owner]
597*4882a593Smuzhiyun
598*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
599*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
600*4882a593Smuzhiyun   You may obtain a copy of the License at
601*4882a593Smuzhiyun
602*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
603*4882a593Smuzhiyun
604*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
605*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
606*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
607*4882a593Smuzhiyun   See the License for the specific language governing permissions and
608*4882a593Smuzhiyun   limitations under the License.
609*4882a593Smuzhiyun
610*4882a593Smuzhiyun
611*4882a593SmuzhiyunGuava JDK5, J2ObjC, SafeParcelable library:
612*4882a593Smuzhiyun
613*4882a593Smuzhiyun
614*4882a593Smuzhiyun                                 Apache License
615*4882a593Smuzhiyun                           Version 2.0, January 2004
616*4882a593Smuzhiyun                        http://www.apache.org/licenses/
617*4882a593Smuzhiyun
618*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
619*4882a593Smuzhiyun
620*4882a593Smuzhiyun   1. Definitions.
621*4882a593Smuzhiyun
622*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
623*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
624*4882a593Smuzhiyun
625*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
626*4882a593Smuzhiyun      the copyright owner that is granting the License.
627*4882a593Smuzhiyun
628*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
629*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
630*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
631*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
632*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
633*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
634*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
635*4882a593Smuzhiyun
636*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
637*4882a593Smuzhiyun      exercising permissions granted by this License.
638*4882a593Smuzhiyun
639*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
640*4882a593Smuzhiyun      including but not limited to software source code, documentation
641*4882a593Smuzhiyun      source, and configuration files.
642*4882a593Smuzhiyun
643*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
644*4882a593Smuzhiyun      transformation or translation of a Source form, including but
645*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
646*4882a593Smuzhiyun      and conversions to other media types.
647*4882a593Smuzhiyun
648*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
649*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
650*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
651*4882a593Smuzhiyun      (an example is provided in the Appendix below).
652*4882a593Smuzhiyun
653*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
654*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
655*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
656*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
657*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
658*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
659*4882a593Smuzhiyun      the Work and Derivative Works thereof.
660*4882a593Smuzhiyun
661*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
662*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
663*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
664*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
665*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
666*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
667*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
668*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
669*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
670*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
671*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
672*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
673*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
674*4882a593Smuzhiyun
675*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
676*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
677*4882a593Smuzhiyun      subsequently incorporated within the Work.
678*4882a593Smuzhiyun
679*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
680*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
681*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
682*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
683*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
684*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
685*4882a593Smuzhiyun
686*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
687*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
688*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
689*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
690*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
691*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
692*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
693*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
694*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
695*4882a593Smuzhiyun      institute patent litigation against any entity (including a
696*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
697*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
698*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
699*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
700*4882a593Smuzhiyun      as of the date such litigation is filed.
701*4882a593Smuzhiyun
702*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
703*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
704*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
705*4882a593Smuzhiyun      meet the following conditions:
706*4882a593Smuzhiyun
707*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
708*4882a593Smuzhiyun          Derivative Works a copy of this License; and
709*4882a593Smuzhiyun
710*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
711*4882a593Smuzhiyun          stating that You changed the files; and
712*4882a593Smuzhiyun
713*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
714*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
715*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
716*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
717*4882a593Smuzhiyun          the Derivative Works; and
718*4882a593Smuzhiyun
719*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
720*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
721*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
722*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
723*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
724*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
725*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
726*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
727*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
728*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
729*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
730*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
731*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
732*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
733*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
734*4882a593Smuzhiyun          as modifying the License.
735*4882a593Smuzhiyun
736*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
737*4882a593Smuzhiyun      may provide additional or different license terms and conditions
738*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
739*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
740*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
741*4882a593Smuzhiyun      the conditions stated in this License.
742*4882a593Smuzhiyun
743*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
744*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
745*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
746*4882a593Smuzhiyun      this License, without any additional terms or conditions.
747*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
748*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
749*4882a593Smuzhiyun      with Licensor regarding such Contributions.
750*4882a593Smuzhiyun
751*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
752*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
753*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
754*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
755*4882a593Smuzhiyun
756*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
757*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
758*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
759*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
760*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
761*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
762*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
763*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
764*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
765*4882a593Smuzhiyun
766*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
767*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
768*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
769*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
770*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
771*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
772*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
773*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
774*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
775*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
776*4882a593Smuzhiyun      has been advised of the possibility of such damages.
777*4882a593Smuzhiyun
778*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
779*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
780*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
781*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
782*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
783*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
784*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
785*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
786*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
787*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
788*4882a593Smuzhiyun
789*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
790*4882a593Smuzhiyun
791*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
792*4882a593Smuzhiyun
793*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
794*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
795*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
796*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
797*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
798*4882a593Smuzhiyun      file or class name and description of purpose be included on the
799*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
800*4882a593Smuzhiyun      identification within third-party archives.
801*4882a593Smuzhiyun
802*4882a593Smuzhiyun   Copyright [yyyy] [name of copyright owner]
803*4882a593Smuzhiyun
804*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
805*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
806*4882a593Smuzhiyun   You may obtain a copy of the License at
807*4882a593Smuzhiyun
808*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
809*4882a593Smuzhiyun
810*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
811*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
812*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
813*4882a593Smuzhiyun   See the License for the specific language governing permissions and
814*4882a593Smuzhiyun   limitations under the License.
815*4882a593Smuzhiyun
816*4882a593Smuzhiyun
817*4882a593SmuzhiyunGuava JDK7:
818*4882a593Smuzhiyun
819*4882a593Smuzhiyun
820*4882a593Smuzhiyun                                 Apache License
821*4882a593Smuzhiyun                           Version 2.0, January 2004
822*4882a593Smuzhiyun                        http://www.apache.org/licenses/
823*4882a593Smuzhiyun
824*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
825*4882a593Smuzhiyun
826*4882a593Smuzhiyun   1. Definitions.
827*4882a593Smuzhiyun
828*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
829*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
830*4882a593Smuzhiyun
831*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
832*4882a593Smuzhiyun      the copyright owner that is granting the License.
833*4882a593Smuzhiyun
834*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
835*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
836*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
837*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
838*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
839*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
840*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
841*4882a593Smuzhiyun
842*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
843*4882a593Smuzhiyun      exercising permissions granted by this License.
844*4882a593Smuzhiyun
845*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
846*4882a593Smuzhiyun      including but not limited to software source code, documentation
847*4882a593Smuzhiyun      source, and configuration files.
848*4882a593Smuzhiyun
849*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
850*4882a593Smuzhiyun      transformation or translation of a Source form, including but
851*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
852*4882a593Smuzhiyun      and conversions to other media types.
853*4882a593Smuzhiyun
854*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
855*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
856*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
857*4882a593Smuzhiyun      (an example is provided in the Appendix below).
858*4882a593Smuzhiyun
859*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
860*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
861*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
862*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
863*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
864*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
865*4882a593Smuzhiyun      the Work and Derivative Works thereof.
866*4882a593Smuzhiyun
867*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
868*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
869*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
870*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
871*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
872*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
873*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
874*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
875*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
876*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
877*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
878*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
879*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
880*4882a593Smuzhiyun
881*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
882*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
883*4882a593Smuzhiyun      subsequently incorporated within the Work.
884*4882a593Smuzhiyun
885*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
886*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
887*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
888*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
889*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
890*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
891*4882a593Smuzhiyun
892*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
893*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
894*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
895*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
896*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
897*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
898*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
899*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
900*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
901*4882a593Smuzhiyun      institute patent litigation against any entity (including a
902*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
903*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
904*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
905*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
906*4882a593Smuzhiyun      as of the date such litigation is filed.
907*4882a593Smuzhiyun
908*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
909*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
910*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
911*4882a593Smuzhiyun      meet the following conditions:
912*4882a593Smuzhiyun
913*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
914*4882a593Smuzhiyun          Derivative Works a copy of this License; and
915*4882a593Smuzhiyun
916*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
917*4882a593Smuzhiyun          stating that You changed the files; and
918*4882a593Smuzhiyun
919*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
920*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
921*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
922*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
923*4882a593Smuzhiyun          the Derivative Works; and
924*4882a593Smuzhiyun
925*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
926*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
927*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
928*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
929*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
930*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
931*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
932*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
933*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
934*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
935*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
936*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
937*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
938*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
939*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
940*4882a593Smuzhiyun          as modifying the License.
941*4882a593Smuzhiyun
942*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
943*4882a593Smuzhiyun      may provide additional or different license terms and conditions
944*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
945*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
946*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
947*4882a593Smuzhiyun      the conditions stated in this License.
948*4882a593Smuzhiyun
949*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
950*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
951*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
952*4882a593Smuzhiyun      this License, without any additional terms or conditions.
953*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
954*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
955*4882a593Smuzhiyun      with Licensor regarding such Contributions.
956*4882a593Smuzhiyun
957*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
958*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
959*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
960*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
961*4882a593Smuzhiyun
962*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
963*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
964*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
965*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
966*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
967*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
968*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
969*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
970*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
971*4882a593Smuzhiyun
972*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
973*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
974*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
975*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
976*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
977*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
978*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
979*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
980*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
981*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
982*4882a593Smuzhiyun      has been advised of the possibility of such damages.
983*4882a593Smuzhiyun
984*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
985*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
986*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
987*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
988*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
989*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
990*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
991*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
992*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
993*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
994*4882a593Smuzhiyun
995*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
996*4882a593Smuzhiyun
997*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
998*4882a593Smuzhiyun
999*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
1000*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
1001*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
1002*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
1003*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
1004*4882a593Smuzhiyun      file or class name and description of purpose be included on the
1005*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
1006*4882a593Smuzhiyun      identification within third-party archives.
1007*4882a593Smuzhiyun
1008*4882a593Smuzhiyun   Copyright [yyyy] [name of copyright owner]
1009*4882a593Smuzhiyun
1010*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
1011*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
1012*4882a593Smuzhiyun   You may obtain a copy of the License at
1013*4882a593Smuzhiyun
1014*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
1015*4882a593Smuzhiyun
1016*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
1017*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
1018*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1019*4882a593Smuzhiyun   See the License for the specific language governing permissions and
1020*4882a593Smuzhiyun   limitations under the License.
1021*4882a593Smuzhiyun
1022*4882a593Smuzhiyun
1023*4882a593Smuzhiyun
1024*4882a593SmuzhiyunJsInterop Annotations:
1025*4882a593Smuzhiyun
1026*4882a593SmuzhiyunApache License
1027*4882a593Smuzhiyun                           Version 2.0, January 2004
1028*4882a593Smuzhiyun                        http://www.apache.org/licenses/
1029*4882a593Smuzhiyun
1030*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1031*4882a593Smuzhiyun
1032*4882a593Smuzhiyun   1. Definitions.
1033*4882a593Smuzhiyun
1034*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
1035*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
1036*4882a593Smuzhiyun
1037*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
1038*4882a593Smuzhiyun      the copyright owner that is granting the License.
1039*4882a593Smuzhiyun
1040*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
1041*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
1042*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
1043*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
1044*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
1045*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
1046*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
1047*4882a593Smuzhiyun
1048*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
1049*4882a593Smuzhiyun      exercising permissions granted by this License.
1050*4882a593Smuzhiyun
1051*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
1052*4882a593Smuzhiyun      including but not limited to software source code, documentation
1053*4882a593Smuzhiyun      source, and configuration files.
1054*4882a593Smuzhiyun
1055*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
1056*4882a593Smuzhiyun      transformation or translation of a Source form, including but
1057*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
1058*4882a593Smuzhiyun      and conversions to other media types.
1059*4882a593Smuzhiyun
1060*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
1061*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
1062*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
1063*4882a593Smuzhiyun      (an example is provided in the Appendix below).
1064*4882a593Smuzhiyun
1065*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
1066*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
1067*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
1068*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
1069*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
1070*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
1071*4882a593Smuzhiyun      the Work and Derivative Works thereof.
1072*4882a593Smuzhiyun
1073*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
1074*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
1075*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
1076*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
1077*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
1078*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
1079*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
1080*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
1081*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
1082*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
1083*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
1084*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
1085*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
1086*4882a593Smuzhiyun
1087*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
1088*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
1089*4882a593Smuzhiyun      subsequently incorporated within the Work.
1090*4882a593Smuzhiyun
1091*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
1092*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1093*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1094*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
1095*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
1096*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
1097*4882a593Smuzhiyun
1098*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
1099*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
1100*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1101*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
1102*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
1103*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
1104*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
1105*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
1106*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
1107*4882a593Smuzhiyun      institute patent litigation against any entity (including a
1108*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
1109*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
1110*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
1111*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
1112*4882a593Smuzhiyun      as of the date such litigation is filed.
1113*4882a593Smuzhiyun
1114*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
1115*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
1116*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
1117*4882a593Smuzhiyun      meet the following conditions:
1118*4882a593Smuzhiyun
1119*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
1120*4882a593Smuzhiyun          Derivative Works a copy of this License; and
1121*4882a593Smuzhiyun
1122*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
1123*4882a593Smuzhiyun          stating that You changed the files; and
1124*4882a593Smuzhiyun
1125*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
1126*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
1127*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
1128*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
1129*4882a593Smuzhiyun          the Derivative Works; and
1130*4882a593Smuzhiyun
1131*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
1132*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
1133*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
1134*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
1135*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
1136*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
1137*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
1138*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
1139*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
1140*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
1141*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
1142*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
1143*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
1144*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
1145*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
1146*4882a593Smuzhiyun          as modifying the License.
1147*4882a593Smuzhiyun
1148*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
1149*4882a593Smuzhiyun      may provide additional or different license terms and conditions
1150*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
1151*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
1152*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
1153*4882a593Smuzhiyun      the conditions stated in this License.
1154*4882a593Smuzhiyun
1155*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
1156*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
1157*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
1158*4882a593Smuzhiyun      this License, without any additional terms or conditions.
1159*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
1160*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
1161*4882a593Smuzhiyun      with Licensor regarding such Contributions.
1162*4882a593Smuzhiyun
1163*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
1164*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
1165*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
1166*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
1167*4882a593Smuzhiyun
1168*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
1169*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
1170*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
1171*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1172*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
1173*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1174*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
1175*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
1176*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
1177*4882a593Smuzhiyun
1178*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
1179*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
1180*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
1181*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
1182*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
1183*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
1184*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
1185*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
1186*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
1187*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
1188*4882a593Smuzhiyun      has been advised of the possibility of such damages.
1189*4882a593Smuzhiyun
1190*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
1191*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
1192*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
1193*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
1194*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
1195*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
1196*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
1197*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
1198*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
1199*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
1200*4882a593Smuzhiyun
1201*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
1202*4882a593Smuzhiyun
1203*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
1204*4882a593Smuzhiyun
1205*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
1206*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
1207*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
1208*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
1209*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
1210*4882a593Smuzhiyun      file or class name and description of purpose be included on the
1211*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
1212*4882a593Smuzhiyun      identification within third-party archives.
1213*4882a593Smuzhiyun
1214*4882a593Smuzhiyun   Copyright 2017 Google Inc.
1215*4882a593Smuzhiyun
1216*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
1217*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
1218*4882a593Smuzhiyun   You may obtain a copy of the License at
1219*4882a593Smuzhiyun
1220*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
1221*4882a593Smuzhiyun
1222*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
1223*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
1224*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1225*4882a593Smuzhiyun   See the License for the specific language governing permissions and
1226*4882a593Smuzhiyun   limitations under the License.
1227*4882a593Smuzhiyun
1228*4882a593SmuzhiyunJSR 305:
1229*4882a593Smuzhiyun
1230*4882a593SmuzhiyunCopyright (c) 2007-2009, JSR305 expert group
1231*4882a593SmuzhiyunAll rights reserved.
1232*4882a593Smuzhiyun
1233*4882a593Smuzhiyunhttp://www.opensource.org/licenses/bsd-license.php
1234*4882a593Smuzhiyun
1235*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without
1236*4882a593Smuzhiyunmodification, are permitted provided that the following conditions are met:
1237*4882a593Smuzhiyun
1238*4882a593Smuzhiyun    * Redistributions of source code must retain the above copyright notice,
1239*4882a593Smuzhiyun      this list of conditions and the following disclaimer.
1240*4882a593Smuzhiyun    * Redistributions in binary form must reproduce the above copyright notice,
1241*4882a593Smuzhiyun      this list of conditions and the following disclaimer in the documentation
1242*4882a593Smuzhiyun      and/or other materials provided with the distribution.
1243*4882a593Smuzhiyun    * Neither the name of the JSR305 expert group nor the names of its
1244*4882a593Smuzhiyun      contributors may be used to endorse or promote products derived from
1245*4882a593Smuzhiyun      this software without specific prior written permission.
1246*4882a593Smuzhiyun
1247*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1248*4882a593SmuzhiyunAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
1249*4882a593SmuzhiyunTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1250*4882a593SmuzhiyunARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
1251*4882a593SmuzhiyunLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1252*4882a593SmuzhiyunCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1253*4882a593SmuzhiyunSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1254*4882a593SmuzhiyunINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1255*4882a593SmuzhiyunCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1256*4882a593SmuzhiyunARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1257*4882a593SmuzhiyunPOSSIBILITY OF SUCH DAMAGE.
1258