Skip to content

Commit d0f1c9b

Browse files
Merge pull request #186 from SpineEventEngine/migrate-to-PSI
Migrate `ValidationCode` to PSI
2 parents 9748a15 + 20a0d61 commit d0f1c9b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+519
-1484
lines changed

dependencies.md

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
# Dependencies of `io.spine.validation:spine-validation-java:2.0.0-SNAPSHOT.189`
3+
# Dependencies of `io.spine.validation:spine-validation-java:2.0.0-SNAPSHOT.190`
44

55
## Runtime
66
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -848,12 +848,12 @@
848848

849849
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
850850

851-
This report was generated on **Tue Jan 21 11:56:56 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
851+
This report was generated on **Thu Jan 23 17:50:31 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
852852

853853

854854

855855

856-
# Dependencies of `io.spine.validation:spine-validation-java-bundle:2.0.0-SNAPSHOT.189`
856+
# Dependencies of `io.spine.validation:spine-validation-java-bundle:2.0.0-SNAPSHOT.190`
857857

858858
## Runtime
859859
1. **Group** : org.jetbrains. **Name** : annotations. **Version** : 24.0.1.
@@ -1448,12 +1448,12 @@ This report was generated on **Tue Jan 21 11:56:56 CET 2025** using [Gradle-Lice
14481448

14491449
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
14501450

1451-
This report was generated on **Tue Jan 21 11:56:56 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1451+
This report was generated on **Thu Jan 23 17:50:31 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
14521452

14531453

14541454

14551455

1456-
# Dependencies of `io.spine.validation:spine-validation-java-runtime:2.0.0-SNAPSHOT.189`
1456+
# Dependencies of `io.spine.validation:spine-validation-java-runtime:2.0.0-SNAPSHOT.190`
14571457

14581458
## Runtime
14591459
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -2110,12 +2110,12 @@ This report was generated on **Tue Jan 21 11:56:56 CET 2025** using [Gradle-Lice
21102110

21112111
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
21122112

2113-
This report was generated on **Tue Jan 21 11:56:56 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
2113+
This report was generated on **Thu Jan 23 17:50:31 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
21142114

21152115

21162116

21172117

2118-
# Dependencies of `io.spine.validation:spine-validation-java-tests:2.0.0-SNAPSHOT.189`
2118+
# Dependencies of `io.spine.validation:spine-validation-java-tests:2.0.0-SNAPSHOT.190`
21192119

21202120
## Runtime
21212121
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -3031,12 +3031,12 @@ This report was generated on **Tue Jan 21 11:56:56 CET 2025** using [Gradle-Lice
30313031

30323032
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
30333033

3034-
This report was generated on **Tue Jan 21 11:56:57 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
3034+
This report was generated on **Thu Jan 23 17:50:31 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
30353035

30363036

30373037

30383038

3039-
# Dependencies of `io.spine.validation:spine-validation-model:2.0.0-SNAPSHOT.189`
3039+
# Dependencies of `io.spine.validation:spine-validation-model:2.0.0-SNAPSHOT.190`
30403040

30413041
## Runtime
30423042
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -3895,12 +3895,12 @@ This report was generated on **Tue Jan 21 11:56:57 CET 2025** using [Gradle-Lice
38953895

38963896
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
38973897

3898-
This report was generated on **Tue Jan 21 11:56:57 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
3898+
This report was generated on **Thu Jan 23 17:50:32 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
38993899

39003900

39013901

39023902

3903-
# Dependencies of `io.spine.validation:spine-validation-proto:2.0.0-SNAPSHOT.189`
3903+
# Dependencies of `io.spine.validation:spine-validation-proto:2.0.0-SNAPSHOT.190`
39043904

39053905
## Runtime
39063906
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -4785,12 +4785,12 @@ This report was generated on **Tue Jan 21 11:56:57 CET 2025** using [Gradle-Lice
47854785

47864786
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
47874787

4788-
This report was generated on **Tue Jan 21 11:56:57 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
4788+
This report was generated on **Thu Jan 23 17:50:32 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
47894789

47904790

47914791

47924792

4793-
# Dependencies of `io.spine.validation:spine-validation-consumer:2.0.0-SNAPSHOT.189`
4793+
# Dependencies of `io.spine.validation:spine-validation-consumer:2.0.0-SNAPSHOT.190`
47944794

47954795
## Runtime
47964796
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -5657,12 +5657,12 @@ This report was generated on **Tue Jan 21 11:56:57 CET 2025** using [Gradle-Lice
56575657

56585658
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
56595659

5660-
This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
5660+
This report was generated on **Thu Jan 23 17:50:32 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
56615661

56625662

56635663

56645664

5665-
# Dependencies of `io.spine.validation:spine-validation-consumer-dependency:2.0.0-SNAPSHOT.189`
5665+
# Dependencies of `io.spine.validation:spine-validation-consumer-dependency:2.0.0-SNAPSHOT.190`
56665666

56675667
## Runtime
56685668
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -6410,12 +6410,12 @@ This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-Lice
64106410

64116411
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
64126412

6413-
This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
6413+
This report was generated on **Thu Jan 23 17:50:32 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
64146414

64156415

64166416

64176417

6418-
# Dependencies of `io.spine.validation:spine-validation-extensions:2.0.0-SNAPSHOT.189`
6418+
# Dependencies of `io.spine.validation:spine-validation-extensions:2.0.0-SNAPSHOT.190`
64196419

64206420
## Runtime
64216421
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -7308,12 +7308,12 @@ This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-Lice
73087308

73097309
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
73107310

7311-
This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
7311+
This report was generated on **Thu Jan 23 17:50:32 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
73127312

73137313

73147314

73157315

7316-
# Dependencies of `io.spine.validation:spine-validation-runtime:2.0.0-SNAPSHOT.189`
7316+
# Dependencies of `io.spine.validation:spine-validation-runtime:2.0.0-SNAPSHOT.190`
73177317

73187318
## Runtime
73197319
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -8064,12 +8064,12 @@ This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-Lice
80648064

80658065
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
80668066

8067-
This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
8067+
This report was generated on **Thu Jan 23 17:50:33 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
80688068

80698069

80708070

80718071

8072-
# Dependencies of `io.spine.validation:spine-validation-validating:2.0.0-SNAPSHOT.189`
8072+
# Dependencies of `io.spine.validation:spine-validation-validating:2.0.0-SNAPSHOT.190`
80738073

80748074
## Runtime
80758075
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -8824,12 +8824,12 @@ This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-Lice
88248824

88258825
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
88268826

8827-
This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
8827+
This report was generated on **Thu Jan 23 17:50:33 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
88288828

88298829

88308830

88318831

8832-
# Dependencies of `io.spine.validation:spine-validation-vanilla:2.0.0-SNAPSHOT.189`
8832+
# Dependencies of `io.spine.validation:spine-validation-vanilla:2.0.0-SNAPSHOT.190`
88338833

88348834
## Runtime
88358835
1. **Group** : com.google.code.findbugs. **Name** : jsr305. **Version** : 3.0.2.
@@ -9575,12 +9575,12 @@ This report was generated on **Tue Jan 21 11:56:58 CET 2025** using [Gradle-Lice
95759575

95769576
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
95779577

9578-
This report was generated on **Tue Jan 21 11:56:59 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
9578+
This report was generated on **Thu Jan 23 17:50:33 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
95799579

95809580

95819581

95829582

9583-
# Dependencies of `io.spine.validation:spine-validation-configuration:2.0.0-SNAPSHOT.189`
9583+
# Dependencies of `io.spine.validation:spine-validation-configuration:2.0.0-SNAPSHOT.190`
95849584

95859585
## Runtime
95869586
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -10449,12 +10449,12 @@ This report was generated on **Tue Jan 21 11:56:59 CET 2025** using [Gradle-Lice
1044910449

1045010450
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1045110451

10452-
This report was generated on **Tue Jan 21 11:56:59 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
10452+
This report was generated on **Thu Jan 23 17:50:33 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
1045310453

1045410454

1045510455

1045610456

10457-
# Dependencies of `io.spine.validation:spine-validation-context:2.0.0-SNAPSHOT.189`
10457+
# Dependencies of `io.spine.validation:spine-validation-context:2.0.0-SNAPSHOT.190`
1045810458

1045910459
## Runtime
1046010460
1. **Group** : com.fasterxml.jackson. **Name** : jackson-bom. **Version** : 2.15.3.
@@ -11323,4 +11323,4 @@ This report was generated on **Tue Jan 21 11:56:59 CET 2025** using [Gradle-Lice
1132311323

1132411324
The dependencies distributed under several licenses, are used according their commercial-use-friendly license.
1132511325

11326-
This report was generated on **Tue Jan 21 11:56:59 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).
11326+
This report was generated on **Thu Jan 23 17:50:33 CET 2025** using [Gradle-License-Report plugin](https://github.com/jk1/Gradle-License-Report) by Evgeny Naumenko, licensed under [Apache 2.0 License](https://github.com/jk1/Gradle-License-Report/blob/master/LICENSE).

java-runtime/src/main/java/io/spine/validate/NonValidated.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,13 @@
3838
* Marks a message which may not be valid.
3939
*
4040
* <p>By default, all the messages should be validated. In some cases, users may choose not to
41-
* validate certain parts of model at a certain point. For example, to group them into a bigger
41+
* validate certain parts of a model at a certain point. For example, to group them into a bigger
4242
* message which is going to be validated later.
4343
*
44+
* <p>Note: {@link java.lang.annotation.RetentionPolicy#CLASS RetentionPolicy.CLASS}
45+
* is explicitly specified because this annotation is designed to improve method semantics
46+
* in source files, and is intended for programmers. It does not affect runtime behavior.
47+
*
4448
* @see ValidatingBuilder
4549
* @see Validated
4650
*/

java-runtime/src/main/java/io/spine/validate/Validated.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
* is overridden with a version which returns only valid messages, that version should be marked
4343
* with this annotation.
4444
*
45+
* <p>Note: {@link java.lang.annotation.RetentionPolicy#CLASS RetentionPolicy.CLASS}
46+
* is explicitly specified because this annotation is designed to improve method semantics
47+
* in source files, and is intended for programmers. It does not affect runtime behavior.
48+
*
4549
* @see ValidatingBuilder
4650
* @see NonValidated
4751
*/

java-tests/validating/build.gradle.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
*/
2626

2727
import io.spine.dependency.lib.AutoService
28+
import io.spine.dependency.local.Base
2829
import io.spine.dependency.local.Logging
29-
import io.spine.dependency.local.Spine
30+
import io.spine.dependency.local.TestLib
31+
import io.spine.dependency.local.Time
3032
import io.spine.dependency.local.Validation
3133
import io.spine.dependency.test.JUnit
3234
import io.spine.dependency.test.Kotest
@@ -41,8 +43,8 @@ dependencies {
4143
testFixturesCompileOnly(AutoService.annotations)
4244

4345
val testFixtureDependencies = listOf(
44-
Spine.base,
45-
Spine.time,
46+
Base.lib,
47+
Time.lib,
4648
Logging.lib,
4749
Validation.runtime,
4850
Kotest.assertions
@@ -53,8 +55,8 @@ dependencies {
5355
}
5456

5557
testImplementation(JUnit.params)
56-
testImplementation(Spine.testlib)
57-
testImplementation(Spine.time)
58+
testImplementation(TestLib.lib)
59+
testImplementation(Time.lib)
5860
}
5961

6062
testProtoDataRemoteDebug(enabled = false)

java-tests/validating/src/test/kotlin/io/spine/test/JavaMessageSmokeTest.kt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,14 @@
2727
package io.spine.test
2828

2929
import com.google.protobuf.Message
30+
import io.kotest.matchers.collections.shouldContain
3031
import io.kotest.matchers.collections.shouldNotBeEmpty
3132
import io.kotest.matchers.shouldNotBe
3233
import io.spine.test.protobuf.CardNumber
3334
import io.spine.validate.NonValidated
35+
import io.spine.validate.ValidatableMessage
3436
import io.spine.validate.Validate.check
37+
import io.spine.validate.ValidatingBuilder
3538
import io.spine.validate.ValidationException
3639
import org.junit.jupiter.api.DisplayName
3740
import org.junit.jupiter.api.Test
@@ -77,4 +80,14 @@ internal class JavaMessageSmokeTest {
7780
check(number)
7881
}
7982
}
83+
84+
@Test
85+
fun `make the message implement 'ValidatableMessage'`() {
86+
CardNumber::class.java.interfaces shouldContain ValidatableMessage::class.java
87+
}
88+
89+
@Test
90+
fun `make the message builder implement 'ValidatingBuilder'`() {
91+
CardNumber.Builder::class.java.interfaces shouldContain ValidatingBuilder::class.java
92+
}
8093
}

java/src/main/kotlin/io/spine/validation/java/CodeGenerator.kt

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
package io.spine.validation.java
3030

3131
import com.squareup.javapoet.CodeBlock
32+
import com.squareup.javapoet.FieldSpec
33+
import com.squareup.javapoet.MethodSpec
3234
import io.spine.logging.WithLogging
3335
import io.spine.protodata.java.Expression
3436
import io.spine.tools.java.codeBlock
@@ -77,11 +79,18 @@ internal abstract class CodeGenerator(
7779
}
7880

7981
/**
80-
* The code which is inserted into the message class scope.
82+
* Fields to be inserted into the message class scope.
8183
*
82-
* Such code may maintain caches for intermediate validation results, etc.
84+
* Such fields may cache intermediate validation results, etc.
8385
*/
84-
open fun supportingMembers(): CodeBlock = noCode()
86+
open fun supportingFields(): List<FieldSpec> = emptyList()
87+
88+
/**
89+
* Methods to be inserted into the message class scope.
90+
*
91+
* Such methods may contain validation subroutines, etc.
92+
*/
93+
open fun supportingMethods(): List<MethodSpec> = emptyList()
8594

8695
/**
8796
* Generated code which does preparations before the validation checks can be performed.

java/src/main/kotlin/io/spine/validation/java/CompositeRuleGenerators.kt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
package io.spine.validation.java
2828

2929
import com.squareup.javapoet.CodeBlock
30+
import com.squareup.javapoet.FieldSpec
31+
import com.squareup.javapoet.MethodSpec
3032
import io.spine.protobuf.isNotDefault
3133
import io.spine.protodata.ast.Field
3234
import io.spine.protodata.java.Expression
@@ -107,10 +109,12 @@ internal class CompositeRuleGenerator(ctx: GenerationContext) : CodeGenerator(ct
107109
ctx.validatedType, ctx.violationList, field, accessor
108110
)
109111
}
110-
override fun supportingMembers(): CodeBlock = codeBlock {
111-
add(left.supportingMembers())
112-
add(right.supportingMembers())
113-
}
112+
113+
override fun supportingFields(): List<FieldSpec> =
114+
left.supportingFields() + right.supportingFields()
115+
116+
override fun supportingMethods(): List<MethodSpec> =
117+
left.supportingMethods() + right.supportingMethods()
114118

115119
override fun prologue(): CodeBlock = codeBlock {
116120
add(left.prologue())

0 commit comments

Comments
 (0)