xref: /OK3568_Linux_fs/external/chromium/licenses/LICENSE.26 (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 document file library., AndroidX print 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*4882a593Smuzhiyun
344*4882a593SmuzhiyunAndroidX versioned parcelable library.:
345*4882a593Smuzhiyun
346*4882a593Smuzhiyun
347*4882a593Smuzhiyun   Copyright (c) 2005-2018, The Android Open Source Project
348*4882a593Smuzhiyun
349*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
350*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
351*4882a593Smuzhiyun
352*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
353*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
354*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
355*4882a593Smuzhiyun   See the License for the specific language governing permissions and
356*4882a593Smuzhiyun   limitations under the License.
357*4882a593Smuzhiyun
358*4882a593Smuzhiyun
359*4882a593Smuzhiyun                                 Apache License
360*4882a593Smuzhiyun                           Version 2.0, January 2004
361*4882a593Smuzhiyun                        http://www.apache.org/licenses/
362*4882a593Smuzhiyun
363*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
364*4882a593Smuzhiyun
365*4882a593Smuzhiyun   1. Definitions.
366*4882a593Smuzhiyun
367*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
368*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
369*4882a593Smuzhiyun
370*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
371*4882a593Smuzhiyun      the copyright owner that is granting the License.
372*4882a593Smuzhiyun
373*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
374*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
375*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
376*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
377*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
378*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
379*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
380*4882a593Smuzhiyun
381*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
382*4882a593Smuzhiyun      exercising permissions granted by this License.
383*4882a593Smuzhiyun
384*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
385*4882a593Smuzhiyun      including but not limited to software source code, documentation
386*4882a593Smuzhiyun      source, and configuration files.
387*4882a593Smuzhiyun
388*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
389*4882a593Smuzhiyun      transformation or translation of a Source form, including but
390*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
391*4882a593Smuzhiyun      and conversions to other media types.
392*4882a593Smuzhiyun
393*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
394*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
395*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
396*4882a593Smuzhiyun      (an example is provided in the Appendix below).
397*4882a593Smuzhiyun
398*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
399*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
400*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
401*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
402*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
403*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
404*4882a593Smuzhiyun      the Work and Derivative Works thereof.
405*4882a593Smuzhiyun
406*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
407*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
408*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
409*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
410*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
411*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
412*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
413*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
414*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
415*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
416*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
417*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
418*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
419*4882a593Smuzhiyun
420*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
421*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
422*4882a593Smuzhiyun      subsequently incorporated within the Work.
423*4882a593Smuzhiyun
424*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
425*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
426*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
427*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
428*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
429*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
430*4882a593Smuzhiyun
431*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
432*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
433*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
434*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
435*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
436*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
437*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
438*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
439*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
440*4882a593Smuzhiyun      institute patent litigation against any entity (including a
441*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
442*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
443*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
444*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
445*4882a593Smuzhiyun      as of the date such litigation is filed.
446*4882a593Smuzhiyun
447*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
448*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
449*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
450*4882a593Smuzhiyun      meet the following conditions:
451*4882a593Smuzhiyun
452*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
453*4882a593Smuzhiyun          Derivative Works a copy of this License; and
454*4882a593Smuzhiyun
455*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
456*4882a593Smuzhiyun          stating that You changed the files; and
457*4882a593Smuzhiyun
458*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
459*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
460*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
461*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
462*4882a593Smuzhiyun          the Derivative Works; and
463*4882a593Smuzhiyun
464*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
465*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
466*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
467*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
468*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
469*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
470*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
471*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
472*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
473*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
474*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
475*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
476*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
477*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
478*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
479*4882a593Smuzhiyun          as modifying the License.
480*4882a593Smuzhiyun
481*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
482*4882a593Smuzhiyun      may provide additional or different license terms and conditions
483*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
484*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
485*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
486*4882a593Smuzhiyun      the conditions stated in this License.
487*4882a593Smuzhiyun
488*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
489*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
490*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
491*4882a593Smuzhiyun      this License, without any additional terms or conditions.
492*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
493*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
494*4882a593Smuzhiyun      with Licensor regarding such Contributions.
495*4882a593Smuzhiyun
496*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
497*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
498*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
499*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
500*4882a593Smuzhiyun
501*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
502*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
503*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
504*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
505*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
506*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
507*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
508*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
509*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
510*4882a593Smuzhiyun
511*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
512*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
513*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
514*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
515*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
516*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
517*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
518*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
519*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
520*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
521*4882a593Smuzhiyun      has been advised of the possibility of such damages.
522*4882a593Smuzhiyun
523*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
524*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
525*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
526*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
527*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
528*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
529*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
530*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
531*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
532*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
533*4882a593Smuzhiyun
534*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
535*4882a593Smuzhiyun
536*4882a593Smuzhiyun
537*4882a593Smuzhiyun
538*4882a593SmuzhiyunChecker Framework Annotations:
539*4882a593Smuzhiyun
540*4882a593SmuzhiyunA few parts of the Checker Framework have more permissive licenses.
541*4882a593Smuzhiyun
542*4882a593Smuzhiyun * The annotations are licensed under the MIT License.  (The text of this
543*4882a593Smuzhiyun   license appears below.)  More specifically, all the parts of the Checker
544*4882a593Smuzhiyun   Framework that you might want to include with your own program use the
545*4882a593Smuzhiyun   MIT License.  This is the checker-qual.jar file and all the files that
546*4882a593Smuzhiyun   appear in it:  every file in a qual/ directory, plus NullnessUtils.java
547*4882a593Smuzhiyun   and RegexUtil.java.  In addition, the cleanroom implementations of
548*4882a593Smuzhiyun   third-party annotations, which the Checker Framework recognizes as
549*4882a593Smuzhiyun   aliases for its own annotations, are licensed under the MIT License.
550*4882a593Smuzhiyun
551*4882a593Smuzhiyun===========================================================================
552*4882a593Smuzhiyun
553*4882a593SmuzhiyunMIT License:
554*4882a593Smuzhiyun
555*4882a593SmuzhiyunPermission is hereby granted, free of charge, to any person obtaining a copy
556*4882a593Smuzhiyunof this software and associated documentation files (the "Software"), to deal
557*4882a593Smuzhiyunin the Software without restriction, including without limitation the rights
558*4882a593Smuzhiyunto use, copy, modify, merge, publish, distribute, sublicense, and/or sell
559*4882a593Smuzhiyuncopies of the Software, and to permit persons to whom the Software is
560*4882a593Smuzhiyunfurnished to do so, subject to the following conditions:
561*4882a593Smuzhiyun
562*4882a593SmuzhiyunThe above copyright notice and this permission notice shall be included in
563*4882a593Smuzhiyunall copies or substantial portions of the Software.
564*4882a593Smuzhiyun
565*4882a593SmuzhiyunTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
566*4882a593SmuzhiyunIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
567*4882a593SmuzhiyunFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
568*4882a593SmuzhiyunAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
569*4882a593SmuzhiyunLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
570*4882a593SmuzhiyunOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
571*4882a593SmuzhiyunTHE SOFTWARE.
572*4882a593Smuzhiyun
573*4882a593Smuzhiyun===========================================================================
574*4882a593Smuzhiyun
575*4882a593Smuzhiyun
576*4882a593SmuzhiyunFlatBuffers:
577*4882a593Smuzhiyun
578*4882a593Smuzhiyun
579*4882a593Smuzhiyun                                 Apache License
580*4882a593Smuzhiyun                           Version 2.0, January 2004
581*4882a593Smuzhiyun                        http://www.apache.org/licenses/
582*4882a593Smuzhiyun
583*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
584*4882a593Smuzhiyun
585*4882a593Smuzhiyun   1. Definitions.
586*4882a593Smuzhiyun
587*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
588*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
589*4882a593Smuzhiyun
590*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
591*4882a593Smuzhiyun      the copyright owner that is granting the License.
592*4882a593Smuzhiyun
593*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
594*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
595*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
596*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
597*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
598*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
599*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
600*4882a593Smuzhiyun
601*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
602*4882a593Smuzhiyun      exercising permissions granted by this License.
603*4882a593Smuzhiyun
604*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
605*4882a593Smuzhiyun      including but not limited to software source code, documentation
606*4882a593Smuzhiyun      source, and configuration files.
607*4882a593Smuzhiyun
608*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
609*4882a593Smuzhiyun      transformation or translation of a Source form, including but
610*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
611*4882a593Smuzhiyun      and conversions to other media types.
612*4882a593Smuzhiyun
613*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
614*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
615*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
616*4882a593Smuzhiyun      (an example is provided in the Appendix below).
617*4882a593Smuzhiyun
618*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
619*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
620*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
621*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
622*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
623*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
624*4882a593Smuzhiyun      the Work and Derivative Works thereof.
625*4882a593Smuzhiyun
626*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
627*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
628*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
629*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
630*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
631*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
632*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
633*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
634*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
635*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
636*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
637*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
638*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
639*4882a593Smuzhiyun
640*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
641*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
642*4882a593Smuzhiyun      subsequently incorporated within the Work.
643*4882a593Smuzhiyun
644*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
645*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
646*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
647*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
648*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
649*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
650*4882a593Smuzhiyun
651*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
652*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
653*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
654*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
655*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
656*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
657*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
658*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
659*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
660*4882a593Smuzhiyun      institute patent litigation against any entity (including a
661*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
662*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
663*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
664*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
665*4882a593Smuzhiyun      as of the date such litigation is filed.
666*4882a593Smuzhiyun
667*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
668*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
669*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
670*4882a593Smuzhiyun      meet the following conditions:
671*4882a593Smuzhiyun
672*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
673*4882a593Smuzhiyun          Derivative Works a copy of this License; and
674*4882a593Smuzhiyun
675*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
676*4882a593Smuzhiyun          stating that You changed the files; and
677*4882a593Smuzhiyun
678*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
679*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
680*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
681*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
682*4882a593Smuzhiyun          the Derivative Works; and
683*4882a593Smuzhiyun
684*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
685*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
686*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
687*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
688*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
689*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
690*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
691*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
692*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
693*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
694*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
695*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
696*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
697*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
698*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
699*4882a593Smuzhiyun          as modifying the License.
700*4882a593Smuzhiyun
701*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
702*4882a593Smuzhiyun      may provide additional or different license terms and conditions
703*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
704*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
705*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
706*4882a593Smuzhiyun      the conditions stated in this License.
707*4882a593Smuzhiyun
708*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
709*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
710*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
711*4882a593Smuzhiyun      this License, without any additional terms or conditions.
712*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
713*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
714*4882a593Smuzhiyun      with Licensor regarding such Contributions.
715*4882a593Smuzhiyun
716*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
717*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
718*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
719*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
720*4882a593Smuzhiyun
721*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
722*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
723*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
724*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
725*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
726*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
727*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
728*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
729*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
730*4882a593Smuzhiyun
731*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
732*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
733*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
734*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
735*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
736*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
737*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
738*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
739*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
740*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
741*4882a593Smuzhiyun      has been advised of the possibility of such damages.
742*4882a593Smuzhiyun
743*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
744*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
745*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
746*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
747*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
748*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
749*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
750*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
751*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
752*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
753*4882a593Smuzhiyun
754*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
755*4882a593Smuzhiyun
756*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
757*4882a593Smuzhiyun
758*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
759*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
760*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
761*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
762*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
763*4882a593Smuzhiyun      file or class name and description of purpose be included on the
764*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
765*4882a593Smuzhiyun      identification within third-party archives.
766*4882a593Smuzhiyun
767*4882a593Smuzhiyun   Copyright 2014 Google Inc.
768*4882a593Smuzhiyun
769*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
770*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
771*4882a593Smuzhiyun   You may obtain a copy of the License at
772*4882a593Smuzhiyun
773*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
774*4882a593Smuzhiyun
775*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
776*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
777*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
778*4882a593Smuzhiyun   See the License for the specific language governing permissions and
779*4882a593Smuzhiyun   limitations under the License.
780*4882a593Smuzhiyun
781*4882a593Smuzhiyun
782*4882a593SmuzhiyunJSR 250, safeparcel:
783*4882a593Smuzhiyun
784*4882a593Smuzhiyun
785*4882a593Smuzhiyun                                 Apache License
786*4882a593Smuzhiyun                           Version 2.0, January 2004
787*4882a593Smuzhiyun                        http://www.apache.org/licenses/
788*4882a593Smuzhiyun
789*4882a593Smuzhiyun   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
790*4882a593Smuzhiyun
791*4882a593Smuzhiyun   1. Definitions.
792*4882a593Smuzhiyun
793*4882a593Smuzhiyun      "License" shall mean the terms and conditions for use, reproduction,
794*4882a593Smuzhiyun      and distribution as defined by Sections 1 through 9 of this document.
795*4882a593Smuzhiyun
796*4882a593Smuzhiyun      "Licensor" shall mean the copyright owner or entity authorized by
797*4882a593Smuzhiyun      the copyright owner that is granting the License.
798*4882a593Smuzhiyun
799*4882a593Smuzhiyun      "Legal Entity" shall mean the union of the acting entity and all
800*4882a593Smuzhiyun      other entities that control, are controlled by, or are under common
801*4882a593Smuzhiyun      control with that entity. For the purposes of this definition,
802*4882a593Smuzhiyun      "control" means (i) the power, direct or indirect, to cause the
803*4882a593Smuzhiyun      direction or management of such entity, whether by contract or
804*4882a593Smuzhiyun      otherwise, or (ii) ownership of fifty percent (50%) or more of the
805*4882a593Smuzhiyun      outstanding shares, or (iii) beneficial ownership of such entity.
806*4882a593Smuzhiyun
807*4882a593Smuzhiyun      "You" (or "Your") shall mean an individual or Legal Entity
808*4882a593Smuzhiyun      exercising permissions granted by this License.
809*4882a593Smuzhiyun
810*4882a593Smuzhiyun      "Source" form shall mean the preferred form for making modifications,
811*4882a593Smuzhiyun      including but not limited to software source code, documentation
812*4882a593Smuzhiyun      source, and configuration files.
813*4882a593Smuzhiyun
814*4882a593Smuzhiyun      "Object" form shall mean any form resulting from mechanical
815*4882a593Smuzhiyun      transformation or translation of a Source form, including but
816*4882a593Smuzhiyun      not limited to compiled object code, generated documentation,
817*4882a593Smuzhiyun      and conversions to other media types.
818*4882a593Smuzhiyun
819*4882a593Smuzhiyun      "Work" shall mean the work of authorship, whether in Source or
820*4882a593Smuzhiyun      Object form, made available under the License, as indicated by a
821*4882a593Smuzhiyun      copyright notice that is included in or attached to the work
822*4882a593Smuzhiyun      (an example is provided in the Appendix below).
823*4882a593Smuzhiyun
824*4882a593Smuzhiyun      "Derivative Works" shall mean any work, whether in Source or Object
825*4882a593Smuzhiyun      form, that is based on (or derived from) the Work and for which the
826*4882a593Smuzhiyun      editorial revisions, annotations, elaborations, or other modifications
827*4882a593Smuzhiyun      represent, as a whole, an original work of authorship. For the purposes
828*4882a593Smuzhiyun      of this License, Derivative Works shall not include works that remain
829*4882a593Smuzhiyun      separable from, or merely link (or bind by name) to the interfaces of,
830*4882a593Smuzhiyun      the Work and Derivative Works thereof.
831*4882a593Smuzhiyun
832*4882a593Smuzhiyun      "Contribution" shall mean any work of authorship, including
833*4882a593Smuzhiyun      the original version of the Work and any modifications or additions
834*4882a593Smuzhiyun      to that Work or Derivative Works thereof, that is intentionally
835*4882a593Smuzhiyun      submitted to Licensor for inclusion in the Work by the copyright owner
836*4882a593Smuzhiyun      or by an individual or Legal Entity authorized to submit on behalf of
837*4882a593Smuzhiyun      the copyright owner. For the purposes of this definition, "submitted"
838*4882a593Smuzhiyun      means any form of electronic, verbal, or written communication sent
839*4882a593Smuzhiyun      to the Licensor or its representatives, including but not limited to
840*4882a593Smuzhiyun      communication on electronic mailing lists, source code control systems,
841*4882a593Smuzhiyun      and issue tracking systems that are managed by, or on behalf of, the
842*4882a593Smuzhiyun      Licensor for the purpose of discussing and improving the Work, but
843*4882a593Smuzhiyun      excluding communication that is conspicuously marked or otherwise
844*4882a593Smuzhiyun      designated in writing by the copyright owner as "Not a Contribution."
845*4882a593Smuzhiyun
846*4882a593Smuzhiyun      "Contributor" shall mean Licensor and any individual or Legal Entity
847*4882a593Smuzhiyun      on behalf of whom a Contribution has been received by Licensor and
848*4882a593Smuzhiyun      subsequently incorporated within the Work.
849*4882a593Smuzhiyun
850*4882a593Smuzhiyun   2. Grant of Copyright License. Subject to the terms and conditions of
851*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
852*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
853*4882a593Smuzhiyun      copyright license to reproduce, prepare Derivative Works of,
854*4882a593Smuzhiyun      publicly display, publicly perform, sublicense, and distribute the
855*4882a593Smuzhiyun      Work and such Derivative Works in Source or Object form.
856*4882a593Smuzhiyun
857*4882a593Smuzhiyun   3. Grant of Patent License. Subject to the terms and conditions of
858*4882a593Smuzhiyun      this License, each Contributor hereby grants to You a perpetual,
859*4882a593Smuzhiyun      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
860*4882a593Smuzhiyun      (except as stated in this section) patent license to make, have made,
861*4882a593Smuzhiyun      use, offer to sell, sell, import, and otherwise transfer the Work,
862*4882a593Smuzhiyun      where such license applies only to those patent claims licensable
863*4882a593Smuzhiyun      by such Contributor that are necessarily infringed by their
864*4882a593Smuzhiyun      Contribution(s) alone or by combination of their Contribution(s)
865*4882a593Smuzhiyun      with the Work to which such Contribution(s) was submitted. If You
866*4882a593Smuzhiyun      institute patent litigation against any entity (including a
867*4882a593Smuzhiyun      cross-claim or counterclaim in a lawsuit) alleging that the Work
868*4882a593Smuzhiyun      or a Contribution incorporated within the Work constitutes direct
869*4882a593Smuzhiyun      or contributory patent infringement, then any patent licenses
870*4882a593Smuzhiyun      granted to You under this License for that Work shall terminate
871*4882a593Smuzhiyun      as of the date such litigation is filed.
872*4882a593Smuzhiyun
873*4882a593Smuzhiyun   4. Redistribution. You may reproduce and distribute copies of the
874*4882a593Smuzhiyun      Work or Derivative Works thereof in any medium, with or without
875*4882a593Smuzhiyun      modifications, and in Source or Object form, provided that You
876*4882a593Smuzhiyun      meet the following conditions:
877*4882a593Smuzhiyun
878*4882a593Smuzhiyun      (a) You must give any other recipients of the Work or
879*4882a593Smuzhiyun          Derivative Works a copy of this License; and
880*4882a593Smuzhiyun
881*4882a593Smuzhiyun      (b) You must cause any modified files to carry prominent notices
882*4882a593Smuzhiyun          stating that You changed the files; and
883*4882a593Smuzhiyun
884*4882a593Smuzhiyun      (c) You must retain, in the Source form of any Derivative Works
885*4882a593Smuzhiyun          that You distribute, all copyright, patent, trademark, and
886*4882a593Smuzhiyun          attribution notices from the Source form of the Work,
887*4882a593Smuzhiyun          excluding those notices that do not pertain to any part of
888*4882a593Smuzhiyun          the Derivative Works; and
889*4882a593Smuzhiyun
890*4882a593Smuzhiyun      (d) If the Work includes a "NOTICE" text file as part of its
891*4882a593Smuzhiyun          distribution, then any Derivative Works that You distribute must
892*4882a593Smuzhiyun          include a readable copy of the attribution notices contained
893*4882a593Smuzhiyun          within such NOTICE file, excluding those notices that do not
894*4882a593Smuzhiyun          pertain to any part of the Derivative Works, in at least one
895*4882a593Smuzhiyun          of the following places: within a NOTICE text file distributed
896*4882a593Smuzhiyun          as part of the Derivative Works; within the Source form or
897*4882a593Smuzhiyun          documentation, if provided along with the Derivative Works; or,
898*4882a593Smuzhiyun          within a display generated by the Derivative Works, if and
899*4882a593Smuzhiyun          wherever such third-party notices normally appear. The contents
900*4882a593Smuzhiyun          of the NOTICE file are for informational purposes only and
901*4882a593Smuzhiyun          do not modify the License. You may add Your own attribution
902*4882a593Smuzhiyun          notices within Derivative Works that You distribute, alongside
903*4882a593Smuzhiyun          or as an addendum to the NOTICE text from the Work, provided
904*4882a593Smuzhiyun          that such additional attribution notices cannot be construed
905*4882a593Smuzhiyun          as modifying the License.
906*4882a593Smuzhiyun
907*4882a593Smuzhiyun      You may add Your own copyright statement to Your modifications and
908*4882a593Smuzhiyun      may provide additional or different license terms and conditions
909*4882a593Smuzhiyun      for use, reproduction, or distribution of Your modifications, or
910*4882a593Smuzhiyun      for any such Derivative Works as a whole, provided Your use,
911*4882a593Smuzhiyun      reproduction, and distribution of the Work otherwise complies with
912*4882a593Smuzhiyun      the conditions stated in this License.
913*4882a593Smuzhiyun
914*4882a593Smuzhiyun   5. Submission of Contributions. Unless You explicitly state otherwise,
915*4882a593Smuzhiyun      any Contribution intentionally submitted for inclusion in the Work
916*4882a593Smuzhiyun      by You to the Licensor shall be under the terms and conditions of
917*4882a593Smuzhiyun      this License, without any additional terms or conditions.
918*4882a593Smuzhiyun      Notwithstanding the above, nothing herein shall supersede or modify
919*4882a593Smuzhiyun      the terms of any separate license agreement you may have executed
920*4882a593Smuzhiyun      with Licensor regarding such Contributions.
921*4882a593Smuzhiyun
922*4882a593Smuzhiyun   6. Trademarks. This License does not grant permission to use the trade
923*4882a593Smuzhiyun      names, trademarks, service marks, or product names of the Licensor,
924*4882a593Smuzhiyun      except as required for reasonable and customary use in describing the
925*4882a593Smuzhiyun      origin of the Work and reproducing the content of the NOTICE file.
926*4882a593Smuzhiyun
927*4882a593Smuzhiyun   7. Disclaimer of Warranty. Unless required by applicable law or
928*4882a593Smuzhiyun      agreed to in writing, Licensor provides the Work (and each
929*4882a593Smuzhiyun      Contributor provides its Contributions) on an "AS IS" BASIS,
930*4882a593Smuzhiyun      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
931*4882a593Smuzhiyun      implied, including, without limitation, any warranties or conditions
932*4882a593Smuzhiyun      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
933*4882a593Smuzhiyun      PARTICULAR PURPOSE. You are solely responsible for determining the
934*4882a593Smuzhiyun      appropriateness of using or redistributing the Work and assume any
935*4882a593Smuzhiyun      risks associated with Your exercise of permissions under this License.
936*4882a593Smuzhiyun
937*4882a593Smuzhiyun   8. Limitation of Liability. In no event and under no legal theory,
938*4882a593Smuzhiyun      whether in tort (including negligence), contract, or otherwise,
939*4882a593Smuzhiyun      unless required by applicable law (such as deliberate and grossly
940*4882a593Smuzhiyun      negligent acts) or agreed to in writing, shall any Contributor be
941*4882a593Smuzhiyun      liable to You for damages, including any direct, indirect, special,
942*4882a593Smuzhiyun      incidental, or consequential damages of any character arising as a
943*4882a593Smuzhiyun      result of this License or out of the use or inability to use the
944*4882a593Smuzhiyun      Work (including but not limited to damages for loss of goodwill,
945*4882a593Smuzhiyun      work stoppage, computer failure or malfunction, or any and all
946*4882a593Smuzhiyun      other commercial damages or losses), even if such Contributor
947*4882a593Smuzhiyun      has been advised of the possibility of such damages.
948*4882a593Smuzhiyun
949*4882a593Smuzhiyun   9. Accepting Warranty or Additional Liability. While redistributing
950*4882a593Smuzhiyun      the Work or Derivative Works thereof, You may choose to offer,
951*4882a593Smuzhiyun      and charge a fee for, acceptance of support, warranty, indemnity,
952*4882a593Smuzhiyun      or other liability obligations and/or rights consistent with this
953*4882a593Smuzhiyun      License. However, in accepting such obligations, You may act only
954*4882a593Smuzhiyun      on Your own behalf and on Your sole responsibility, not on behalf
955*4882a593Smuzhiyun      of any other Contributor, and only if You agree to indemnify,
956*4882a593Smuzhiyun      defend, and hold each Contributor harmless for any liability
957*4882a593Smuzhiyun      incurred by, or claims asserted against, such Contributor by reason
958*4882a593Smuzhiyun      of your accepting any such warranty or additional liability.
959*4882a593Smuzhiyun
960*4882a593Smuzhiyun   END OF TERMS AND CONDITIONS
961*4882a593Smuzhiyun
962*4882a593Smuzhiyun   APPENDIX: How to apply the Apache License to your work.
963*4882a593Smuzhiyun
964*4882a593Smuzhiyun      To apply the Apache License to your work, attach the following
965*4882a593Smuzhiyun      boilerplate notice, with the fields enclosed by brackets "[]"
966*4882a593Smuzhiyun      replaced with your own identifying information. (Don't include
967*4882a593Smuzhiyun      the brackets!)  The text should be enclosed in the appropriate
968*4882a593Smuzhiyun      comment syntax for the file format. We also recommend that a
969*4882a593Smuzhiyun      file or class name and description of purpose be included on the
970*4882a593Smuzhiyun      same "printed page" as the copyright notice for easier
971*4882a593Smuzhiyun      identification within third-party archives.
972*4882a593Smuzhiyun
973*4882a593Smuzhiyun   Copyright [yyyy] [name of copyright owner]
974*4882a593Smuzhiyun
975*4882a593Smuzhiyun   Licensed under the Apache License, Version 2.0 (the "License");
976*4882a593Smuzhiyun   you may not use this file except in compliance with the License.
977*4882a593Smuzhiyun   You may obtain a copy of the License at
978*4882a593Smuzhiyun
979*4882a593Smuzhiyun       http://www.apache.org/licenses/LICENSE-2.0
980*4882a593Smuzhiyun
981*4882a593Smuzhiyun   Unless required by applicable law or agreed to in writing, software
982*4882a593Smuzhiyun   distributed under the License is distributed on an "AS IS" BASIS,
983*4882a593Smuzhiyun   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
984*4882a593Smuzhiyun   See the License for the specific language governing permissions and
985*4882a593Smuzhiyun   limitations under the License.
986*4882a593Smuzhiyun
987*4882a593Smuzhiyun
988*4882a593SmuzhiyunJSR 305:
989*4882a593Smuzhiyun
990*4882a593SmuzhiyunCopyright (c) 2007-2009, JSR305 expert group
991*4882a593SmuzhiyunAll rights reserved.
992*4882a593Smuzhiyun
993*4882a593Smuzhiyunhttp://www.opensource.org/licenses/bsd-license.php
994*4882a593Smuzhiyun
995*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without
996*4882a593Smuzhiyunmodification, are permitted provided that the following conditions are met:
997*4882a593Smuzhiyun
998*4882a593Smuzhiyun    * Redistributions of source code must retain the above copyright notice,
999*4882a593Smuzhiyun      this list of conditions and the following disclaimer.
1000*4882a593Smuzhiyun    * Redistributions in binary form must reproduce the above copyright notice,
1001*4882a593Smuzhiyun      this list of conditions and the following disclaimer in the documentation
1002*4882a593Smuzhiyun      and/or other materials provided with the distribution.
1003*4882a593Smuzhiyun    * Neither the name of the JSR305 expert group nor the names of its
1004*4882a593Smuzhiyun      contributors may be used to endorse or promote products derived from
1005*4882a593Smuzhiyun      this software without specific prior written permission.
1006*4882a593Smuzhiyun
1007*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1008*4882a593SmuzhiyunAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
1009*4882a593SmuzhiyunTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1010*4882a593SmuzhiyunARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
1011*4882a593SmuzhiyunLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1012*4882a593SmuzhiyunCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1013*4882a593SmuzhiyunSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1014*4882a593SmuzhiyunINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1015*4882a593SmuzhiyunCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1016*4882a593SmuzhiyunARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1017*4882a593SmuzhiyunPOSSIBILITY OF SUCH DAMAGE.
1018