├── netty.xml
├── vert.x.xml
├── java-swing.xml
├── javaFX.xml
├── quickfix-app-messages.xml
├── RxJava1.xml
├── examples
├── InvokeLaterExample.java
├── FutureExample.java
├── FuturesExample.scala
├── ActorsExample.scala
├── RxJava2Example.java
└── RxJava3Example.java
├── kotlin-coroutines.xml
├── java.xml
├── akka-scala.xml
├── scala.xml
├── java8.xml
├── README.md
├── RxJava2.xml
├── LICENSE.txt
└── RxJava3.xml
/netty.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/vert.x.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/java-swing.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/javaFX.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
--------------------------------------------------------------------------------
/quickfix-app-messages.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/RxJava1.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
16 |
--------------------------------------------------------------------------------
/examples/InvokeLaterExample.java:
--------------------------------------------------------------------------------
1 | import javax.swing.*;
2 |
3 | public class InvokeLaterExample {
4 |
5 | public static void main(String[] args) {
6 | SwingUtilities.invokeLater(new Runnable() {
7 | @Override
8 | public void run() {
9 | new InvokeLaterExample().run("xxx", 555);
10 | }
11 | });
12 | }
13 |
14 | public void run(final String arg, final int ai) {
15 | SwingUtilities.invokeLater(new Runnable() {
16 | @Override
17 | public void run() {
18 | InvokeLaterExample.this.boo(arg, ai);
19 | }
20 | });
21 | }
22 |
23 | void boo(String arg, int ai) {
24 | zoo(3); // set a breakpoint here
25 | }
26 |
27 | private void zoo(int a) {
28 | System.out.println(a);
29 | }
30 | }
--------------------------------------------------------------------------------
/examples/FutureExample.java:
--------------------------------------------------------------------------------
1 | import java.util.concurrent.CompletableFuture;
2 | import java.util.concurrent.ExecutionException;
3 |
4 | public class FutureExample {
5 | public static void main(String[] args) throws ExecutionException, InterruptedException {
6 | CompletableFuture run = CompletableFuture.runAsync(() -> {
7 | System.out.println("run"); // set a breakpoint here
8 | });
9 | CompletableFuture.supplyAsync(() -> {
10 | return "hello"; // set a breakpoint here
11 | })
12 | .thenAcceptAsync(s -> {
13 | new Exception().printStackTrace(); // set a breakpoint here
14 | })
15 | .thenRunAsync(() -> {
16 | System.out.println("ds"); // set a breakpoint here
17 | }).get();
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/kotlin-coroutines.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
17 |
--------------------------------------------------------------------------------
/examples/FuturesExample.scala:
--------------------------------------------------------------------------------
1 | package foo
2 |
3 | import scala.concurrent.ExecutionContext.Implicits.global
4 | import scala.concurrent.Future
5 |
6 | object FuturesExample {
7 | private var attempt = 0
8 |
9 | def main(args: Array[String]): Unit = {
10 |
11 | val f = asyncComputation()
12 |
13 | f.foreach(printResult)
14 |
15 | Thread.sleep(1000)
16 | }
17 |
18 | def computeSomething(): String = {
19 | val fail = attempt < 3
20 |
21 | if (fail) {
22 | attempt += 1
23 | throw new Exception("oops")
24 | }
25 | else "Hooray!" //set breakpoint here
26 | }
27 |
28 | def asyncComputation(): Future[String] = {
29 | val f1 = Future(computeSomething())
30 |
31 | f1.recoverWith {
32 | case _: Throwable =>
33 | asyncComputation()
34 | }
35 | }
36 |
37 | def printResult(s: String): Unit = {
38 | println(s) //or here
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/java.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
19 |
--------------------------------------------------------------------------------
/akka-scala.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
10 |
14 |
18 |
22 |
26 |
27 |
--------------------------------------------------------------------------------
/scala.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
16 |
23 |
24 |
--------------------------------------------------------------------------------
/examples/ActorsExample.scala:
--------------------------------------------------------------------------------
1 |
2 | import akka.actor.{ ActorSystem, Actor, ActorRef, Props, PoisonPill }
3 | import language.postfixOps
4 | import scala.concurrent.duration._
5 |
6 | /*
7 | * Slightly modified example from
8 | * http://doc.akka.io/docs/akka/2.5.4/scala/actors.html
9 | **/
10 |
11 | case object Ping
12 | case object Pong
13 |
14 | class Pinger extends Actor {
15 | var countDown = 10
16 |
17 | def receive = {
18 | case Pong =>
19 | println(s"${self.path} received pong, count down $countDown")
20 |
21 | if (countDown > 0) {
22 | countDown -= 1
23 | sender() ! Ping
24 | } else {
25 | sender() ! PoisonPill //set breakpoint here
26 | self ! PoisonPill
27 | }
28 | }
29 | }
30 |
31 | class Ponger(pinger: ActorRef) extends Actor {
32 | def receive = {
33 | case Ping =>
34 | println(s"${self.path} received ping")
35 | pinger ! Pong
36 | }
37 | }
38 |
39 | object PingPong {
40 | def main(args: Array[String]): Unit = {
41 | val system = ActorSystem("pingpong")
42 |
43 | val pinger = system.actorOf(Props[Pinger], "pinger")
44 |
45 | val ponger = system.actorOf(Props(classOf[Ponger], pinger), "ponger")
46 |
47 | import system.dispatcher
48 | system.scheduler.scheduleOnce(500 millis) {
49 | ponger ! Ping
50 | }
51 | }
52 | }
53 |
54 |
--------------------------------------------------------------------------------
/java8.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
19 |
20 |
25 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # IDEA debugger Capture Points [](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
2 |
3 |
4 | Read more about the feature in the [Jetbrains blog](https://blog.jetbrains.com/idea/2017/02/intellij-idea-2017-1-eap-extends-debugger-with-async-stacktraces/).
5 |
6 | In IDEA 2017.3 Async Stack Traces were implemented using the dedicated java agent, which works with much lower overhead, and most settings from this repository were hardcoded into the agent settings. Project specific setup is still available via the [code annotations]( https://github.com/JetBrains/capture-points/wiki/Annotations-support).
7 |
8 | ## To use the capture points
9 | 1. download the xml settings file:
10 | 1. click on the required xml file
11 | 2. right click on Raw and choose "save link as..."
12 | 2. go to IDEA Settings | Build, Execution, Deployment | Debugger | Async Stacktraces and use the Import action
13 | 4. enable the points you need
14 | 5. start debugging
15 |
16 | ## How to write your own
17 | **Capture point** is a place in your program where debugger collects and saves the stack frames for later use.
18 | It is specified by the method name (and containing class) and the key expression which is evaluated and the resulting object is used later to get the information.
19 | So first go to your IDEA Settings | Build, Execution, Deployment | Debugger | Async Stacktraces and create a new capture point.
20 | Specify the method and the key expression. Usually the key expression is just a parameter name.
21 |
22 | ```
23 | For example, javax.swing.SwingUtilities.invokeLater with the key "doRun"
24 | will capture all invocations of the invokeLater and associate them with the Runnable instance parameter
25 | ```
26 |
27 | When the debugger stops it starts matching stack frames with **insertion point**, which is another method and expression. If the method is matched, it evalautes the expression and if the value has some related stack information, it replaces the rest of the stack with it. This way you see what "was happening" at the related capture point.
28 |
29 | ```
30 | For example, java.awt.event.InvocationEvent.dispatch with the insert key "runnable"
31 | will insert information captured for invokeLater to the place where the Runnable is executed
32 | ```
33 |
34 | Evaluating key expression may slow down your application, so try to use simple expressions, e.g.:
35 | * this
36 | * method param name (also you can use param_N, where N is a zero-based param number)
37 | * local variable or field name
38 |
39 | Method invocations are much slower and highly not recommended.
40 |
41 | more implementation details [here](https://blog.jetbrains.com/idea/2017/02/intellij-idea-2017-1-eap-extends-debugger-with-async-stacktraces/#comment-403133)
42 |
43 | ## How to contribute
44 | 1. create a new capture point in the IDEA, test it
45 | 3. go to IDEA Settings | Build, Execution, Deployment | Debugger | Async Stacktraces
46 | 4. select capture points and use export action
47 | 5. create a pull request here with the file created
48 |
--------------------------------------------------------------------------------
/examples/RxJava2Example.java:
--------------------------------------------------------------------------------
1 | import io.reactivex.Completable;
2 | import io.reactivex.Flowable;
3 | import io.reactivex.Maybe;
4 | import io.reactivex.Observable;
5 | import io.reactivex.Single;
6 |
7 | import java.util.List;
8 |
9 |
10 | public class RxJava2Example {
11 | public static void main(String[] args) {
12 |
13 | Single.defer(() -> {
14 | return Single.just(1);
15 | }).subscribe();
16 |
17 | Single.just(1).map(i -> {
18 | return 2;
19 | }).subscribe();
20 |
21 | Single.just(1).flatMap(i -> {
22 | return Single.just(2);
23 | }).subscribe();
24 |
25 | Single.just(1).flatMapCompletable(i -> {
26 | return Completable.complete();
27 | }).subscribe();
28 |
29 | Single.just(1).flatMapMaybe(i -> {
30 | return Maybe.empty();
31 | }).subscribe();
32 |
33 | Single.just(1).flatMapObservable(i -> {
34 | return Observable.empty();
35 | }).subscribe();
36 |
37 | Single.just(1).flatMapPublisher(i -> {
38 | return Flowable.empty();
39 | }).subscribe();
40 |
41 | Single.just(1).flattenAsFlowable(i -> {
42 | return List.of(i);
43 | }).subscribe();
44 |
45 | Single.just(1).flattenAsObservable(i -> {
46 | return List.of(i);
47 | }).subscribe();
48 |
49 |
50 | Maybe.defer(() -> {
51 | return Maybe.empty();
52 | }).subscribe();
53 |
54 | Maybe.just(1).map(i -> {
55 | return 2;
56 | }).subscribe();
57 |
58 | Maybe.just(1).flatMap(i -> {
59 | return Maybe.just(2);
60 | }).subscribe();
61 |
62 | Maybe.just(1).flatMapCompletable(i -> {
63 | return Completable.complete();
64 | }).subscribe();
65 |
66 | Maybe.just(1).flatMapSingle(i -> {
67 | return Single.just(1);
68 | }).subscribe();
69 |
70 | Maybe.just(1).flatMapObservable(i -> {
71 | return Observable.empty();
72 | }).subscribe();
73 |
74 | Maybe.just(1).flatMapPublisher(i -> {
75 | return Flowable.empty();
76 | }).subscribe();
77 |
78 | Maybe.just(1).flattenAsFlowable(i -> {
79 | return List.of(i);
80 | }).subscribe();
81 |
82 | Maybe.just(1).flattenAsObservable(i -> {
83 | return List.of(i);
84 | }).subscribe();
85 |
86 |
87 | Completable.defer(() -> {
88 | return Completable.complete();
89 | }).subscribe();
90 |
91 | Observable.defer(() -> {
92 | return Observable.empty();
93 | }).subscribe();
94 |
95 | Observable.just(1).map(i -> {
96 | return 2;
97 | }).subscribe();
98 |
99 | Observable.just(1).flatMap(i -> {
100 | return Observable.just(2);
101 | }).subscribe();
102 |
103 | Observable.just(1).flatMapCompletable(i -> {
104 | return Completable.complete();
105 | }).subscribe();
106 |
107 | Observable.just(1).flatMapSingle(i -> {
108 | return Single.just(1);
109 | }).subscribe();
110 |
111 | Observable.just(1).flatMapMaybe(i -> {
112 | return Maybe.empty();
113 | }).subscribe();
114 |
115 |
116 | Flowable.defer(() -> {
117 | return Flowable.empty();
118 | }).subscribe();
119 |
120 | Flowable.just(1).map(i -> {
121 | return 2;
122 | }).subscribe();
123 |
124 | Flowable.just(1).flatMap(i -> {
125 | return Flowable.just(2);
126 | }).subscribe();
127 |
128 | Flowable.just(1).flatMapCompletable(i -> {
129 | return Completable.complete();
130 | }).subscribe();
131 |
132 | Flowable.just(1).flatMapSingle(i -> {
133 | return Single.just(1);
134 | }).subscribe();
135 |
136 | Flowable.just(1).flatMapMaybe(i -> {
137 | return Maybe.empty();
138 | }).subscribe();
139 | }
140 | }
141 |
--------------------------------------------------------------------------------
/examples/RxJava3Example.java:
--------------------------------------------------------------------------------
1 |
2 | import io.reactivex.rxjava3.core.Completable;
3 | import io.reactivex.rxjava3.core.Flowable;
4 | import io.reactivex.rxjava3.core.Maybe;
5 | import io.reactivex.rxjava3.core.Observable;
6 | import io.reactivex.rxjava3.core.Single;
7 |
8 | import java.util.List;
9 | import java.util.Optional;
10 | import java.util.stream.Stream;
11 |
12 |
13 | public class RxJava3Example {
14 | public static void main(String[] args) {
15 |
16 | Single.defer(() -> {
17 | return Single.just(1);
18 | }).subscribe();
19 |
20 | Single.just(1).map(i -> {
21 | return 2;
22 | }).subscribe();
23 |
24 | Single.just(1).mapOptional(i -> {
25 | return Optional.of(2);
26 | }).subscribe();
27 |
28 | Single.just(1).flatMap(i -> {
29 | return Single.just(2);
30 | }).subscribe();
31 |
32 | Single.just(1).flatMapCompletable(i -> {
33 | return Completable.complete();
34 | }).subscribe();
35 |
36 | Single.just(1).flatMapMaybe(i -> {
37 | return Maybe.empty();
38 | }).subscribe();
39 |
40 | Single.just(1).flatMapObservable(i -> {
41 | return Observable.empty();
42 | }).subscribe();
43 |
44 | Single.just(1).flatMapPublisher(i -> {
45 | return Flowable.empty();
46 | }).subscribe();
47 |
48 | Single.just(1).flattenAsFlowable(i -> {
49 | return List.of(i);
50 | }).subscribe();
51 |
52 | Single.just(1).flattenAsObservable(i -> {
53 | return List.of(i);
54 | }).subscribe();
55 |
56 | Single.just(1).flattenStreamAsFlowable(i -> {
57 | return Stream.of(i);
58 | }).subscribe();
59 |
60 | Single.just(1).flattenStreamAsObservable(i -> {
61 | return Stream.of(i);
62 | }).subscribe();
63 |
64 |
65 | Maybe.defer(() -> {
66 | return Maybe.empty();
67 | }).subscribe();
68 |
69 | Maybe.just(1).map(i -> {
70 | return 2;
71 | }).subscribe();
72 |
73 | Maybe.just(1).mapOptional(i -> {
74 | return Optional.of(2);
75 | }).subscribe();
76 |
77 | Maybe.just(1).flatMap(i -> {
78 | return Maybe.just(2);
79 | }).subscribe();
80 |
81 | Maybe.just(1).flatMapCompletable(i -> {
82 | return Completable.complete();
83 | }).subscribe();
84 |
85 | Maybe.just(1).flatMapSingle(i -> {
86 | return Single.just(1);
87 | }).subscribe();
88 |
89 | Maybe.just(1).flatMapObservable(i -> {
90 | return Observable.empty();
91 | }).subscribe();
92 |
93 | Maybe.just(1).flatMapPublisher(i -> {
94 | return Flowable.empty();
95 | }).subscribe();
96 |
97 | Maybe.just(1).flattenAsFlowable(i -> {
98 | return List.of(i);
99 | }).subscribe();
100 |
101 | Maybe.just(1).flattenAsObservable(i -> {
102 | return List.of(i);
103 | }).subscribe();
104 |
105 | Maybe.just(1).flattenStreamAsFlowable(i -> {
106 | return Stream.of(i);
107 | }).subscribe();
108 |
109 | Maybe.just(1).flattenStreamAsObservable(i -> {
110 | return Stream.of(i);
111 | }).subscribe();
112 |
113 |
114 | Completable.defer(() -> {
115 | return Completable.complete();
116 | }).subscribe();
117 |
118 |
119 | Observable.defer(() -> {
120 | return Observable.empty();
121 | }).subscribe();
122 |
123 | Observable.just(1).map(i -> {
124 | return 2;
125 | }).subscribe();
126 |
127 | Observable.just(1).mapOptional(i -> {
128 | return Optional.of(2);
129 | }).subscribe();
130 |
131 | Observable.just(1).flatMap(i -> {
132 | return Observable.just(2);
133 | }).subscribe();
134 |
135 | Observable.just(1).flatMapCompletable(i -> {
136 | return Completable.complete();
137 | }).subscribe();
138 |
139 | Observable.just(1).flatMapSingle(i -> {
140 | return Single.just(1);
141 | }).subscribe();
142 |
143 | Observable.just(1).flatMapMaybe(i -> {
144 | return Maybe.empty();
145 | }).subscribe();
146 |
147 |
148 | Flowable.defer(() -> {
149 | return Flowable.empty();
150 | }).subscribe();
151 |
152 | Flowable.just(1).map(i -> {
153 | return 2;
154 | }).subscribe();
155 |
156 | Flowable.just(1).mapOptional(i -> {
157 | return Optional.of(2);
158 | }).subscribe();
159 |
160 | Flowable.just(1).flatMap(i -> {
161 | return Flowable.just(2);
162 | }).subscribe();
163 |
164 | Flowable.just(1).flatMapCompletable(i -> {
165 | return Completable.complete();
166 | }).subscribe();
167 |
168 | Flowable.just(1).flatMapSingle(i -> {
169 | return Single.just(1);
170 | }).subscribe();
171 |
172 | Flowable.just(1).flatMapMaybe(i -> {
173 | return Maybe.empty();
174 | }).subscribe();
175 | }
176 | }
177 |
--------------------------------------------------------------------------------
/RxJava2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 |
2 | Apache License
3 | Version 2.0, January 2004
4 | http://www.apache.org/licenses/
5 |
6 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7 |
8 | 1. Definitions.
9 |
10 | "License" shall mean the terms and conditions for use, reproduction,
11 | and distribution as defined by Sections 1 through 9 of this document.
12 |
13 | "Licensor" shall mean the copyright owner or entity authorized by
14 | the copyright owner that is granting the License.
15 |
16 | "Legal Entity" shall mean the union of the acting entity and all
17 | other entities that control, are controlled by, or are under common
18 | control with that entity. For the purposes of this definition,
19 | "control" means (i) the power, direct or indirect, to cause the
20 | direction or management of such entity, whether by contract or
21 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
22 | outstanding shares, or (iii) beneficial ownership of such entity.
23 |
24 | "You" (or "Your") shall mean an individual or Legal Entity
25 | exercising permissions granted by this License.
26 |
27 | "Source" form shall mean the preferred form for making modifications,
28 | including but not limited to software source code, documentation
29 | source, and configuration files.
30 |
31 | "Object" form shall mean any form resulting from mechanical
32 | transformation or translation of a Source form, including but
33 | not limited to compiled object code, generated documentation,
34 | and conversions to other media types.
35 |
36 | "Work" shall mean the work of authorship, whether in Source or
37 | Object form, made available under the License, as indicated by a
38 | copyright notice that is included in or attached to the work
39 | (an example is provided in the Appendix below).
40 |
41 | "Derivative Works" shall mean any work, whether in Source or Object
42 | form, that is based on (or derived from) the Work and for which the
43 | editorial revisions, annotations, elaborations, or other modifications
44 | represent, as a whole, an original work of authorship. For the purposes
45 | of this License, Derivative Works shall not include works that remain
46 | separable from, or merely link (or bind by name) to the interfaces of,
47 | the Work and Derivative Works thereof.
48 |
49 | "Contribution" shall mean any work of authorship, including
50 | the original version of the Work and any modifications or additions
51 | to that Work or Derivative Works thereof, that is intentionally
52 | submitted to Licensor for inclusion in the Work by the copyright owner
53 | or by an individual or Legal Entity authorized to submit on behalf of
54 | the copyright owner. For the purposes of this definition, "submitted"
55 | means any form of electronic, verbal, or written communication sent
56 | to the Licensor or its representatives, including but not limited to
57 | communication on electronic mailing lists, source code control systems,
58 | and issue tracking systems that are managed by, or on behalf of, the
59 | Licensor for the purpose of discussing and improving the Work, but
60 | excluding communication that is conspicuously marked or otherwise
61 | designated in writing by the copyright owner as "Not a Contribution."
62 |
63 | "Contributor" shall mean Licensor and any individual or Legal Entity
64 | on behalf of whom a Contribution has been received by Licensor and
65 | subsequently incorporated within the Work.
66 |
67 | 2. Grant of Copyright License. Subject to the terms and conditions of
68 | this License, each Contributor hereby grants to You a perpetual,
69 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70 | copyright license to reproduce, prepare Derivative Works of,
71 | publicly display, publicly perform, sublicense, and distribute the
72 | Work and such Derivative Works in Source or Object form.
73 |
74 | 3. Grant of Patent License. Subject to the terms and conditions of
75 | this License, each Contributor hereby grants to You a perpetual,
76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77 | (except as stated in this section) patent license to make, have made,
78 | use, offer to sell, sell, import, and otherwise transfer the Work,
79 | where such license applies only to those patent claims licensable
80 | by such Contributor that are necessarily infringed by their
81 | Contribution(s) alone or by combination of their Contribution(s)
82 | with the Work to which such Contribution(s) was submitted. If You
83 | institute patent litigation against any entity (including a
84 | cross-claim or counterclaim in a lawsuit) alleging that the Work
85 | or a Contribution incorporated within the Work constitutes direct
86 | or contributory patent infringement, then any patent licenses
87 | granted to You under this License for that Work shall terminate
88 | as of the date such litigation is filed.
89 |
90 | 4. Redistribution. You may reproduce and distribute copies of the
91 | Work or Derivative Works thereof in any medium, with or without
92 | modifications, and in Source or Object form, provided that You
93 | meet the following conditions:
94 |
95 | (a) You must give any other recipients of the Work or
96 | Derivative Works a copy of this License; and
97 |
98 | (b) You must cause any modified files to carry prominent notices
99 | stating that You changed the files; and
100 |
101 | (c) You must retain, in the Source form of any Derivative Works
102 | that You distribute, all copyright, patent, trademark, and
103 | attribution notices from the Source form of the Work,
104 | excluding those notices that do not pertain to any part of
105 | the Derivative Works; and
106 |
107 | (d) If the Work includes a "NOTICE" text file as part of its
108 | distribution, then any Derivative Works that You distribute must
109 | include a readable copy of the attribution notices contained
110 | within such NOTICE file, excluding those notices that do not
111 | pertain to any part of the Derivative Works, in at least one
112 | of the following places: within a NOTICE text file distributed
113 | as part of the Derivative Works; within the Source form or
114 | documentation, if provided along with the Derivative Works; or,
115 | within a display generated by the Derivative Works, if and
116 | wherever such third-party notices normally appear. The contents
117 | of the NOTICE file are for informational purposes only and
118 | do not modify the License. You may add Your own attribution
119 | notices within Derivative Works that You distribute, alongside
120 | or as an addendum to the NOTICE text from the Work, provided
121 | that such additional attribution notices cannot be construed
122 | as modifying the License.
123 |
124 | You may add Your own copyright statement to Your modifications and
125 | may provide additional or different license terms and conditions
126 | for use, reproduction, or distribution of Your modifications, or
127 | for any such Derivative Works as a whole, provided Your use,
128 | reproduction, and distribution of the Work otherwise complies with
129 | the conditions stated in this License.
130 |
131 | 5. Submission of Contributions. Unless You explicitly state otherwise,
132 | any Contribution intentionally submitted for inclusion in the Work
133 | by You to the Licensor shall be under the terms and conditions of
134 | this License, without any additional terms or conditions.
135 | Notwithstanding the above, nothing herein shall supersede or modify
136 | the terms of any separate license agreement you may have executed
137 | with Licensor regarding such Contributions.
138 |
139 | 6. Trademarks. This License does not grant permission to use the trade
140 | names, trademarks, service marks, or product names of the Licensor,
141 | except as required for reasonable and customary use in describing the
142 | origin of the Work and reproducing the content of the NOTICE file.
143 |
144 | 7. Disclaimer of Warranty. Unless required by applicable law or
145 | agreed to in writing, Licensor provides the Work (and each
146 | Contributor provides its Contributions) on an "AS IS" BASIS,
147 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148 | implied, including, without limitation, any warranties or conditions
149 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150 | PARTICULAR PURPOSE. You are solely responsible for determining the
151 | appropriateness of using or redistributing the Work and assume any
152 | risks associated with Your exercise of permissions under this License.
153 |
154 | 8. Limitation of Liability. In no event and under no legal theory,
155 | whether in tort (including negligence), contract, or otherwise,
156 | unless required by applicable law (such as deliberate and grossly
157 | negligent acts) or agreed to in writing, shall any Contributor be
158 | liable to You for damages, including any direct, indirect, special,
159 | incidental, or consequential damages of any character arising as a
160 | result of this License or out of the use or inability to use the
161 | Work (including but not limited to damages for loss of goodwill,
162 | work stoppage, computer failure or malfunction, or any and all
163 | other commercial damages or losses), even if such Contributor
164 | has been advised of the possibility of such damages.
165 |
166 | 9. Accepting Warranty or Additional Liability. While redistributing
167 | the Work or Derivative Works thereof, You may choose to offer,
168 | and charge a fee for, acceptance of support, warranty, indemnity,
169 | or other liability obligations and/or rights consistent with this
170 | License. However, in accepting such obligations, You may act only
171 | on Your own behalf and on Your sole responsibility, not on behalf
172 | of any other Contributor, and only if You agree to indemnify,
173 | defend, and hold each Contributor harmless for any liability
174 | incurred by, or claims asserted against, such Contributor by reason
175 | of your accepting any such warranty or additional liability.
176 |
177 | END OF TERMS AND CONDITIONS
178 |
179 | APPENDIX: How to apply the Apache License to your work.
180 |
181 | To apply the Apache License to your work, attach the following
182 | boilerplate notice, with the fields enclosed by brackets "[]"
183 | replaced with your own identifying information. (Don't include
184 | the brackets!) The text should be enclosed in the appropriate
185 | comment syntax for the file format. We also recommend that a
186 | file or class name and description of purpose be included on the
187 | same "printed page" as the copyright notice for easier
188 | identification within third-party archives.
189 |
190 | Copyright 2000-2018 JetBrains s.r.o.
191 |
192 | Licensed under the Apache License, Version 2.0 (the "License");
193 | you may not use this file except in compliance with the License.
194 | You may obtain a copy of the License at
195 |
196 | http://www.apache.org/licenses/LICENSE-2.0
197 |
198 | Unless required by applicable law or agreed to in writing, software
199 | distributed under the License is distributed on an "AS IS" BASIS,
200 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201 | See the License for the specific language governing permissions and
202 | limitations under the License.
203 |
--------------------------------------------------------------------------------
/RxJava3.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------