jsii-reflect 1.63.1 → 1.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsii-reflect",
3
- "version": "1.63.1",
3
+ "version": "1.65.0",
4
4
  "description": "strongly-typed reflection library and tools for jsii",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -34,18 +34,18 @@
34
34
  "package": "package-js"
35
35
  },
36
36
  "dependencies": {
37
- "@jsii/check-node": "1.63.1",
38
- "@jsii/spec": "^1.63.1",
37
+ "@jsii/check-node": "1.65.0",
38
+ "@jsii/spec": "^1.65.0",
39
39
  "chalk": "^4",
40
40
  "fs-extra": "^10.1.0",
41
- "oo-ascii-tree": "^1.63.1",
41
+ "oo-ascii-tree": "^1.65.0",
42
42
  "yargs": "^16.2.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@scope/jsii-calc-lib": "^1.63.1",
45
+ "@scope/jsii-calc-lib": "^1.65.0",
46
46
  "@types/fs-extra": "^9.0.13",
47
- "jsii": "^1.63.1",
48
- "jsii-build-tools": "^1.63.1",
47
+ "jsii": "^1.65.0",
48
+ "jsii-build-tools": "^1.65.0",
49
49
  "jsii-calc": "^3.20.120"
50
50
  }
51
51
  }
@@ -78,6 +78,38 @@ exports[`jsii-tree --all 1`] = `
78
78
  │ │ │ ├── abstract
79
79
  │ │ │ ├── immutable
80
80
  │ │ │ └── type: string
81
+ │ │ ├─┬ anonymous
82
+ │ │ │ └─┬ types
83
+ │ │ │ ├─┬ class UseOptions (stable)
84
+ │ │ │ │ └─┬ members
85
+ │ │ │ │ ├─┬ static consume(option) method (stable)
86
+ │ │ │ │ │ ├── static
87
+ │ │ │ │ │ ├─┬ parameters
88
+ │ │ │ │ │ │ └─┬ option
89
+ │ │ │ │ │ │ └── type: jsii-calc.anonymous.IOptionA | jsii-calc.anonymous.IOptionB
90
+ │ │ │ │ │ └── returns: string
91
+ │ │ │ │ ├─┬ static privideAsAny(which) method (stable)
92
+ │ │ │ │ │ ├── static
93
+ │ │ │ │ │ ├─┬ parameters
94
+ │ │ │ │ │ │ └─┬ which
95
+ │ │ │ │ │ │ └── type: string
96
+ │ │ │ │ │ └── returns: any
97
+ │ │ │ │ └─┬ static provide(which) method (stable)
98
+ │ │ │ │ ├── static
99
+ │ │ │ │ ├─┬ parameters
100
+ │ │ │ │ │ └─┬ which
101
+ │ │ │ │ │ └── type: string
102
+ │ │ │ │ └── returns: jsii-calc.anonymous.IOptionA | jsii-calc.anonymous.IOptionB
103
+ │ │ │ ├─┬ interface IOptionA (stable)
104
+ │ │ │ │ └─┬ members
105
+ │ │ │ │ └─┬ doSomething() method (stable)
106
+ │ │ │ │ ├── abstract
107
+ │ │ │ │ └── returns: string
108
+ │ │ │ └─┬ interface IOptionB (stable)
109
+ │ │ │ └─┬ members
110
+ │ │ │ └─┬ doSomethingElse() method (stable)
111
+ │ │ │ ├── abstract
112
+ │ │ │ └── returns: string
81
113
  │ │ ├─┬ cdk16625
82
114
  │ │ │ ├─┬ submodules
83
115
  │ │ │ │ └─┬ donotimport
@@ -128,6 +160,33 @@ exports[`jsii-tree --all 1`] = `
128
160
  │ │ │ └─┬ enum CompositionStringStyle (stable)
129
161
  │ │ │ ├── NORMAL (stable)
130
162
  │ │ │ └── DECORATED (stable)
163
+ │ │ ├─┬ jsii3656
164
+ │ │ │ └─┬ types
165
+ │ │ │ ├─┬ class OverrideMe (stable)
166
+ │ │ │ │ └─┬ members
167
+ │ │ │ │ ├── <initializer>() initializer (stable)
168
+ │ │ │ │ ├─┬ static callAbstract(receiver) method (stable)
169
+ │ │ │ │ │ ├── static
170
+ │ │ │ │ │ ├─┬ parameters
171
+ │ │ │ │ │ │ └─┬ receiver
172
+ │ │ │ │ │ │ └── type: jsii-calc.jsii3656.OverrideMe
173
+ │ │ │ │ │ └── returns: boolean
174
+ │ │ │ │ └─┬ implementMe(opts) method (stable)
175
+ │ │ │ │ ├── abstract
176
+ │ │ │ │ ├─┬ parameters
177
+ │ │ │ │ │ └─┬ opts
178
+ │ │ │ │ │ └── type: jsii-calc.jsii3656.ImplementMeOpts
179
+ │ │ │ │ └── returns: boolean
180
+ │ │ │ └─┬ interface ImplementMeOpts (stable)
181
+ │ │ │ └─┬ members
182
+ │ │ │ ├─┬ name property (stable)
183
+ │ │ │ │ ├── abstract
184
+ │ │ │ │ ├── immutable
185
+ │ │ │ │ └── type: string
186
+ │ │ │ └─┬ count property (stable)
187
+ │ │ │ ├── abstract
188
+ │ │ │ ├── immutable
189
+ │ │ │ └── type: Optional<number>
131
190
  │ │ ├─┬ module2530
132
191
  │ │ │ └─┬ types
133
192
  │ │ │ └─┬ class MyClass (stable)
@@ -831,6 +890,14 @@ exports[`jsii-tree --all 1`] = `
831
890
  │ │ │ └── type: string
832
891
  │ │ └─┬ e property (stable)
833
892
  │ │ └── type: string
893
+ │ ├─┬ class ClassWithCollectionOfUnions (stable)
894
+ │ │ └─┬ members
895
+ │ │ ├─┬ <initializer>(unionProperty) initializer (stable)
896
+ │ │ │ └─┬ parameters
897
+ │ │ │ └─┬ unionProperty
898
+ │ │ │ └── type: Array<Map<string => jsii-calc.StructA | jsii-calc.StructB>>
899
+ │ │ └─┬ unionProperty property (stable)
900
+ │ │ └── type: Array<Map<string => jsii-calc.StructA | jsii-calc.StructB>>
834
901
  │ ├─┬ class ClassWithCollections (stable)
835
902
  │ │ └─┬ members
836
903
  │ │ ├─┬ <initializer>(map,array) initializer (stable)
@@ -2097,12 +2164,18 @@ exports[`jsii-tree --all 1`] = `
2097
2164
  │ │ │ │ └─┬ struct
2098
2165
  │ │ │ │ └── type: jsii-calc.StructA | jsii-calc.StructB
2099
2166
  │ │ │ └── returns: boolean
2100
- │ │ └─┬ static isStructB(struct) method (stable)
2167
+ │ │ ├─┬ static isStructB(struct) method (stable)
2168
+ │ │ │ ├── static
2169
+ │ │ │ ├─┬ parameters
2170
+ │ │ │ │ └─┬ struct
2171
+ │ │ │ │ └── type: jsii-calc.StructA | jsii-calc.StructB
2172
+ │ │ │ └── returns: boolean
2173
+ │ │ └─┬ static provideStruct(which) method (stable)
2101
2174
  │ │ ├── static
2102
2175
  │ │ ├─┬ parameters
2103
- │ │ │ └─┬ struct
2104
- │ │ │ └── type: jsii-calc.StructA | jsii-calc.StructB
2105
- │ │ └── returns: boolean
2176
+ │ │ │ └─┬ which
2177
+ │ │ │ └── type: string
2178
+ │ │ └── returns: jsii-calc.StructA | jsii-calc.StructB
2106
2179
  │ ├─┬ class Sum (stable)
2107
2180
  │ │ ├── base: CompositeOperation
2108
2181
  │ │ └─┬ members
@@ -3107,6 +3180,12 @@ exports[`jsii-tree --all 1`] = `
3107
3180
  │ │ ├── abstract
3108
3181
  │ │ ├── immutable
3109
3182
  │ │ └── type: Optional<boolean>
3183
+ │ ├─┬ interface StructWithCollectionOfUnionts (stable)
3184
+ │ │ └─┬ members
3185
+ │ │ └─┬ unionProperty property (stable)
3186
+ │ │ ├── abstract
3187
+ │ │ ├── immutable
3188
+ │ │ └── type: Array<Map<string => jsii-calc.StructA | jsii-calc.StructB>>
3110
3189
  │ ├─┬ interface StructWithEnum (stable)
3111
3190
  │ │ └─┬ members
3112
3191
  │ │ ├─┬ foo property (stable)
@@ -3438,6 +3517,11 @@ exports[`jsii-tree --inheritance 1`] = `
3438
3517
  │ │ │ ├── class ClassWithSelfKwarg
3439
3518
  │ │ │ ├── interface IInterfaceWithSelf
3440
3519
  │ │ │ └── interface StructWithSelf
3520
+ │ │ ├─┬ anonymous
3521
+ │ │ │ └─┬ types
3522
+ │ │ │ ├── class UseOptions
3523
+ │ │ │ ├── interface IOptionA
3524
+ │ │ │ └── interface IOptionB
3441
3525
  │ │ ├─┬ cdk16625
3442
3526
  │ │ │ ├─┬ submodules
3443
3527
  │ │ │ │ └─┬ donotimport
@@ -3451,6 +3535,10 @@ exports[`jsii-tree --inheritance 1`] = `
3451
3535
  │ │ │ ├─┬ class CompositeOperation
3452
3536
  │ │ │ │ └── base: Operation
3453
3537
  │ │ │ └── enum CompositionStringStyle
3538
+ │ │ ├─┬ jsii3656
3539
+ │ │ │ └─┬ types
3540
+ │ │ │ ├── class OverrideMe
3541
+ │ │ │ └── interface ImplementMeOpts
3454
3542
  │ │ ├─┬ module2530
3455
3543
  │ │ │ └─┬ types
3456
3544
  │ │ │ └── class MyClass
@@ -3610,6 +3698,7 @@ exports[`jsii-tree --inheritance 1`] = `
3610
3698
  │ │ └── interfaces: INonInternalInterface
3611
3699
  │ ├─┬ class ClassThatImplementsThePrivateInterface
3612
3700
  │ │ └── interfaces: INonInternalInterface
3701
+ │ ├── class ClassWithCollectionOfUnions
3613
3702
  │ ├── class ClassWithCollections
3614
3703
  │ ├── class ClassWithContainerTypes
3615
3704
  │ ├── class ClassWithDocs
@@ -3844,6 +3933,7 @@ exports[`jsii-tree --inheritance 1`] = `
3844
3933
  │ ├── interface StructA
3845
3934
  │ ├── interface StructB
3846
3935
  │ ├── interface StructParameterType
3936
+ │ ├── interface StructWithCollectionOfUnionts
3847
3937
  │ ├── interface StructWithEnum
3848
3938
  │ ├── interface StructWithJavaReservedWords
3849
3939
  │ ├── interface SupportsNiceJavaBuilderProps
@@ -3949,6 +4039,19 @@ exports[`jsii-tree --members 1`] = `
3949
4039
  │ │ │ └─┬ interface StructWithSelf
3950
4040
  │ │ │ └─┬ members
3951
4041
  │ │ │ └── self property
4042
+ │ │ ├─┬ anonymous
4043
+ │ │ │ └─┬ types
4044
+ │ │ │ ├─┬ class UseOptions
4045
+ │ │ │ │ └─┬ members
4046
+ │ │ │ │ ├── static consume(option) method
4047
+ │ │ │ │ ├── static privideAsAny(which) method
4048
+ │ │ │ │ └── static provide(which) method
4049
+ │ │ │ ├─┬ interface IOptionA
4050
+ │ │ │ │ └─┬ members
4051
+ │ │ │ │ └── doSomething() method
4052
+ │ │ │ └─┬ interface IOptionB
4053
+ │ │ │ └─┬ members
4054
+ │ │ │ └── doSomethingElse() method
3952
4055
  │ │ ├─┬ cdk16625
3953
4056
  │ │ │ ├─┬ submodules
3954
4057
  │ │ │ │ └─┬ donotimport
@@ -3977,6 +4080,17 @@ exports[`jsii-tree --members 1`] = `
3977
4080
  │ │ │ └─┬ enum CompositionStringStyle
3978
4081
  │ │ │ ├── NORMAL
3979
4082
  │ │ │ └── DECORATED
4083
+ │ │ ├─┬ jsii3656
4084
+ │ │ │ └─┬ types
4085
+ │ │ │ ├─┬ class OverrideMe
4086
+ │ │ │ │ └─┬ members
4087
+ │ │ │ │ ├── <initializer>() initializer
4088
+ │ │ │ │ ├── static callAbstract(receiver) method
4089
+ │ │ │ │ └── implementMe(opts) method
4090
+ │ │ │ └─┬ interface ImplementMeOpts
4091
+ │ │ │ └─┬ members
4092
+ │ │ │ ├── name property
4093
+ │ │ │ └── count property
3980
4094
  │ │ ├─┬ module2530
3981
4095
  │ │ │ └─┬ types
3982
4096
  │ │ │ └─┬ class MyClass
@@ -4336,6 +4450,10 @@ exports[`jsii-tree --members 1`] = `
4336
4450
  │ │ ├── b property
4337
4451
  │ │ ├── c property
4338
4452
  │ │ └── e property
4453
+ │ ├─┬ class ClassWithCollectionOfUnions
4454
+ │ │ └─┬ members
4455
+ │ │ ├── <initializer>(unionProperty) initializer
4456
+ │ │ └── unionProperty property
4339
4457
  │ ├─┬ class ClassWithCollections
4340
4458
  │ │ └─┬ members
4341
4459
  │ │ ├── <initializer>(map,array) initializer
@@ -4890,7 +5008,8 @@ exports[`jsii-tree --members 1`] = `
4890
5008
  │ ├─┬ class StructUnionConsumer
4891
5009
  │ │ └─┬ members
4892
5010
  │ │ ├── static isStructA(struct) method
4893
- │ │ └── static isStructB(struct) method
5011
+ │ │ ├── static isStructB(struct) method
5012
+ │ │ └── static provideStruct(which) method
4894
5013
  │ ├─┬ class Sum
4895
5014
  │ │ └─┬ members
4896
5015
  │ │ ├── <initializer>() initializer
@@ -5301,6 +5420,9 @@ exports[`jsii-tree --members 1`] = `
5301
5420
  │ │ └─┬ members
5302
5421
  │ │ ├── scope property
5303
5422
  │ │ └── props property
5423
+ │ ├─┬ interface StructWithCollectionOfUnionts
5424
+ │ │ └─┬ members
5425
+ │ │ └── unionProperty property
5304
5426
  │ ├─┬ interface StructWithEnum
5305
5427
  │ │ └─┬ members
5306
5428
  │ │ ├── foo property
@@ -5463,10 +5585,12 @@ exports[`jsii-tree --signatures 1`] = `
5463
5585
  │ ├── InterfaceInNamespaceIncludesClasses
5464
5586
  │ ├── InterfaceInNamespaceOnlyInterface
5465
5587
  │ ├── PythonSelf
5588
+ │ ├── anonymous
5466
5589
  │ ├─┬ cdk16625
5467
5590
  │ │ └─┬ submodules
5468
5591
  │ │ └── donotimport
5469
5592
  │ ├── composition
5593
+ │ ├── jsii3656
5470
5594
  │ ├── module2530
5471
5595
  │ ├── module2617
5472
5596
  │ ├── module2647
@@ -5526,6 +5650,11 @@ exports[`jsii-tree --types 1`] = `
5526
5650
  │ │ │ ├── class ClassWithSelfKwarg
5527
5651
  │ │ │ ├── interface IInterfaceWithSelf
5528
5652
  │ │ │ └── interface StructWithSelf
5653
+ │ │ ├─┬ anonymous
5654
+ │ │ │ └─┬ types
5655
+ │ │ │ ├── class UseOptions
5656
+ │ │ │ ├── interface IOptionA
5657
+ │ │ │ └── interface IOptionB
5529
5658
  │ │ ├─┬ cdk16625
5530
5659
  │ │ │ ├─┬ submodules
5531
5660
  │ │ │ │ └─┬ donotimport
@@ -5537,6 +5666,10 @@ exports[`jsii-tree --types 1`] = `
5537
5666
  │ │ │ └─┬ types
5538
5667
  │ │ │ ├── class CompositeOperation
5539
5668
  │ │ │ └── enum CompositionStringStyle
5669
+ │ │ ├─┬ jsii3656
5670
+ │ │ │ └─┬ types
5671
+ │ │ │ ├── class OverrideMe
5672
+ │ │ │ └── interface ImplementMeOpts
5540
5673
  │ │ ├─┬ module2530
5541
5674
  │ │ │ └─┬ types
5542
5675
  │ │ │ └── class MyClass
@@ -5656,6 +5789,7 @@ exports[`jsii-tree --types 1`] = `
5656
5789
  │ ├── class Calculator
5657
5790
  │ ├── class ClassThatImplementsTheInternalInterface
5658
5791
  │ ├── class ClassThatImplementsThePrivateInterface
5792
+ │ ├── class ClassWithCollectionOfUnions
5659
5793
  │ ├── class ClassWithCollections
5660
5794
  │ ├── class ClassWithContainerTypes
5661
5795
  │ ├── class ClassWithDocs
@@ -5839,6 +5973,7 @@ exports[`jsii-tree --types 1`] = `
5839
5973
  │ ├── interface StructA
5840
5974
  │ ├── interface StructB
5841
5975
  │ ├── interface StructParameterType
5976
+ │ ├── interface StructWithCollectionOfUnionts
5842
5977
  │ ├── interface StructWithEnum
5843
5978
  │ ├── interface StructWithJavaReservedWords
5844
5979
  │ ├── interface SupportsNiceJavaBuilderProps
@@ -5898,10 +6033,12 @@ exports[`jsii-tree 1`] = `
5898
6033
  │ ├── InterfaceInNamespaceIncludesClasses
5899
6034
  │ ├── InterfaceInNamespaceOnlyInterface
5900
6035
  │ ├── PythonSelf
6036
+ │ ├── anonymous
5901
6037
  │ ├─┬ cdk16625
5902
6038
  │ │ └─┬ submodules
5903
6039
  │ │ └── donotimport
5904
6040
  │ ├── composition
6041
+ │ ├── jsii3656
5905
6042
  │ ├── module2530
5906
6043
  │ ├── module2617
5907
6044
  │ ├── module2647
@@ -8,10 +8,12 @@ exports[`defaults 1`] = `
8
8
  │ ├── InterfaceInNamespaceIncludesClasses
9
9
  │ ├── InterfaceInNamespaceOnlyInterface
10
10
  │ ├── PythonSelf
11
+ │ ├── anonymous
11
12
  │ ├─┬ cdk16625
12
13
  │ │ └─┬ submodules
13
14
  │ │ └── donotimport
14
15
  │ ├── composition
16
+ │ ├── jsii3656
15
17
  │ ├── module2530
16
18
  │ ├── module2617
17
19
  │ ├── module2647
@@ -58,10 +60,12 @@ exports[`inheritance 1`] = `
58
60
  │ ├── InterfaceInNamespaceIncludesClasses
59
61
  │ ├── InterfaceInNamespaceOnlyInterface
60
62
  │ ├── PythonSelf
63
+ │ ├── anonymous
61
64
  │ ├─┬ cdk16625
62
65
  │ │ └─┬ submodules
63
66
  │ │ └── donotimport
64
67
  │ ├── composition
68
+ │ ├── jsii3656
65
69
  │ ├── module2530
66
70
  │ ├── module2617
67
71
  │ ├── module2647
@@ -108,10 +112,12 @@ exports[`members 1`] = `
108
112
  │ ├── InterfaceInNamespaceIncludesClasses
109
113
  │ ├── InterfaceInNamespaceOnlyInterface
110
114
  │ ├── PythonSelf
115
+ │ ├── anonymous
111
116
  │ ├─┬ cdk16625
112
117
  │ │ └─┬ submodules
113
118
  │ │ └── donotimport
114
119
  │ ├── composition
120
+ │ ├── jsii3656
115
121
  │ ├── module2530
116
122
  │ ├── module2617
117
123
  │ ├── module2647
@@ -228,6 +234,38 @@ exports[`showAll 1`] = `
228
234
  │ │ │ ├── abstract
229
235
  │ │ │ ├── immutable
230
236
  │ │ │ └── type: string
237
+ │ │ ├─┬ anonymous
238
+ │ │ │ └─┬ types
239
+ │ │ │ ├─┬ class UseOptions
240
+ │ │ │ │ └─┬ members
241
+ │ │ │ │ ├─┬ static consume(option) method
242
+ │ │ │ │ │ ├── static
243
+ │ │ │ │ │ ├─┬ parameters
244
+ │ │ │ │ │ │ └─┬ option
245
+ │ │ │ │ │ │ └── type: jsii-calc.anonymous.IOptionA | jsii-calc.anonymous.IOptionB
246
+ │ │ │ │ │ └── returns: string
247
+ │ │ │ │ ├─┬ static privideAsAny(which) method
248
+ │ │ │ │ │ ├── static
249
+ │ │ │ │ │ ├─┬ parameters
250
+ │ │ │ │ │ │ └─┬ which
251
+ │ │ │ │ │ │ └── type: string
252
+ │ │ │ │ │ └── returns: any
253
+ │ │ │ │ └─┬ static provide(which) method
254
+ │ │ │ │ ├── static
255
+ │ │ │ │ ├─┬ parameters
256
+ │ │ │ │ │ └─┬ which
257
+ │ │ │ │ │ └── type: string
258
+ │ │ │ │ └── returns: jsii-calc.anonymous.IOptionA | jsii-calc.anonymous.IOptionB
259
+ │ │ │ ├─┬ interface IOptionA
260
+ │ │ │ │ └─┬ members
261
+ │ │ │ │ └─┬ doSomething() method
262
+ │ │ │ │ ├── abstract
263
+ │ │ │ │ └── returns: string
264
+ │ │ │ └─┬ interface IOptionB
265
+ │ │ │ └─┬ members
266
+ │ │ │ └─┬ doSomethingElse() method
267
+ │ │ │ ├── abstract
268
+ │ │ │ └── returns: string
231
269
  │ │ ├─┬ cdk16625
232
270
  │ │ │ ├─┬ submodules
233
271
  │ │ │ │ └─┬ donotimport
@@ -278,6 +316,33 @@ exports[`showAll 1`] = `
278
316
  │ │ │ └─┬ enum CompositionStringStyle
279
317
  │ │ │ ├── NORMAL
280
318
  │ │ │ └── DECORATED
319
+ │ │ ├─┬ jsii3656
320
+ │ │ │ └─┬ types
321
+ │ │ │ ├─┬ class OverrideMe
322
+ │ │ │ │ └─┬ members
323
+ │ │ │ │ ├── <initializer>() initializer
324
+ │ │ │ │ ├─┬ static callAbstract(receiver) method
325
+ │ │ │ │ │ ├── static
326
+ │ │ │ │ │ ├─┬ parameters
327
+ │ │ │ │ │ │ └─┬ receiver
328
+ │ │ │ │ │ │ └── type: jsii-calc.jsii3656.OverrideMe
329
+ │ │ │ │ │ └── returns: boolean
330
+ │ │ │ │ └─┬ implementMe(opts) method
331
+ │ │ │ │ ├── abstract
332
+ │ │ │ │ ├─┬ parameters
333
+ │ │ │ │ │ └─┬ opts
334
+ │ │ │ │ │ └── type: jsii-calc.jsii3656.ImplementMeOpts
335
+ │ │ │ │ └── returns: boolean
336
+ │ │ │ └─┬ interface ImplementMeOpts
337
+ │ │ │ └─┬ members
338
+ │ │ │ ├─┬ name property
339
+ │ │ │ │ ├── abstract
340
+ │ │ │ │ ├── immutable
341
+ │ │ │ │ └── type: string
342
+ │ │ │ └─┬ count property
343
+ │ │ │ ├── abstract
344
+ │ │ │ ├── immutable
345
+ │ │ │ └── type: Optional<number>
281
346
  │ │ ├─┬ module2530
282
347
  │ │ │ └─┬ types
283
348
  │ │ │ └─┬ class MyClass
@@ -981,6 +1046,14 @@ exports[`showAll 1`] = `
981
1046
  │ │ │ └── type: string
982
1047
  │ │ └─┬ e property
983
1048
  │ │ └── type: string
1049
+ │ ├─┬ class ClassWithCollectionOfUnions
1050
+ │ │ └─┬ members
1051
+ │ │ ├─┬ <initializer>(unionProperty) initializer
1052
+ │ │ │ └─┬ parameters
1053
+ │ │ │ └─┬ unionProperty
1054
+ │ │ │ └── type: Array<Map<string => jsii-calc.StructA | jsii-calc.StructB>>
1055
+ │ │ └─┬ unionProperty property
1056
+ │ │ └── type: Array<Map<string => jsii-calc.StructA | jsii-calc.StructB>>
984
1057
  │ ├─┬ class ClassWithCollections
985
1058
  │ │ └─┬ members
986
1059
  │ │ ├─┬ <initializer>(map,array) initializer
@@ -2247,12 +2320,18 @@ exports[`showAll 1`] = `
2247
2320
  │ │ │ │ └─┬ struct
2248
2321
  │ │ │ │ └── type: jsii-calc.StructA | jsii-calc.StructB
2249
2322
  │ │ │ └── returns: boolean
2250
- │ │ └─┬ static isStructB(struct) method
2323
+ │ │ ├─┬ static isStructB(struct) method
2324
+ │ │ │ ├── static
2325
+ │ │ │ ├─┬ parameters
2326
+ │ │ │ │ └─┬ struct
2327
+ │ │ │ │ └── type: jsii-calc.StructA | jsii-calc.StructB
2328
+ │ │ │ └── returns: boolean
2329
+ │ │ └─┬ static provideStruct(which) method
2251
2330
  │ │ ├── static
2252
2331
  │ │ ├─┬ parameters
2253
- │ │ │ └─┬ struct
2254
- │ │ │ └── type: jsii-calc.StructA | jsii-calc.StructB
2255
- │ │ └── returns: boolean
2332
+ │ │ │ └─┬ which
2333
+ │ │ │ └── type: string
2334
+ │ │ └── returns: jsii-calc.StructA | jsii-calc.StructB
2256
2335
  │ ├─┬ class Sum
2257
2336
  │ │ ├── base: CompositeOperation
2258
2337
  │ │ └─┬ members
@@ -3257,6 +3336,12 @@ exports[`showAll 1`] = `
3257
3336
  │ │ ├── abstract
3258
3337
  │ │ ├── immutable
3259
3338
  │ │ └── type: Optional<boolean>
3339
+ │ ├─┬ interface StructWithCollectionOfUnionts
3340
+ │ │ └─┬ members
3341
+ │ │ └─┬ unionProperty property
3342
+ │ │ ├── abstract
3343
+ │ │ ├── immutable
3344
+ │ │ └── type: Array<Map<string => jsii-calc.StructA | jsii-calc.StructB>>
3260
3345
  │ ├─┬ interface StructWithEnum
3261
3346
  │ │ └─┬ members
3262
3347
  │ │ ├─┬ foo property
@@ -3574,10 +3659,12 @@ exports[`signatures 1`] = `
3574
3659
  │ ├── InterfaceInNamespaceIncludesClasses
3575
3660
  │ ├── InterfaceInNamespaceOnlyInterface
3576
3661
  │ ├── PythonSelf
3662
+ │ ├── anonymous
3577
3663
  │ ├─┬ cdk16625
3578
3664
  │ │ └─┬ submodules
3579
3665
  │ │ └── donotimport
3580
3666
  │ ├── composition
3667
+ │ ├── jsii3656
3581
3668
  │ ├── module2530
3582
3669
  │ ├── module2617
3583
3670
  │ ├── module2647
@@ -3637,6 +3724,11 @@ exports[`types 1`] = `
3637
3724
  │ │ │ ├── class ClassWithSelfKwarg
3638
3725
  │ │ │ ├── interface IInterfaceWithSelf
3639
3726
  │ │ │ └── interface StructWithSelf
3727
+ │ │ ├─┬ anonymous
3728
+ │ │ │ └─┬ types
3729
+ │ │ │ ├── class UseOptions
3730
+ │ │ │ ├── interface IOptionA
3731
+ │ │ │ └── interface IOptionB
3640
3732
  │ │ ├─┬ cdk16625
3641
3733
  │ │ │ ├─┬ submodules
3642
3734
  │ │ │ │ └─┬ donotimport
@@ -3648,6 +3740,10 @@ exports[`types 1`] = `
3648
3740
  │ │ │ └─┬ types
3649
3741
  │ │ │ ├── class CompositeOperation
3650
3742
  │ │ │ └── enum CompositionStringStyle
3743
+ │ │ ├─┬ jsii3656
3744
+ │ │ │ └─┬ types
3745
+ │ │ │ ├── class OverrideMe
3746
+ │ │ │ └── interface ImplementMeOpts
3651
3747
  │ │ ├─┬ module2530
3652
3748
  │ │ │ └─┬ types
3653
3749
  │ │ │ └── class MyClass
@@ -3767,6 +3863,7 @@ exports[`types 1`] = `
3767
3863
  │ ├── class Calculator
3768
3864
  │ ├── class ClassThatImplementsTheInternalInterface
3769
3865
  │ ├── class ClassThatImplementsThePrivateInterface
3866
+ │ ├── class ClassWithCollectionOfUnions
3770
3867
  │ ├── class ClassWithCollections
3771
3868
  │ ├── class ClassWithContainerTypes
3772
3869
  │ ├── class ClassWithDocs
@@ -3950,6 +4047,7 @@ exports[`types 1`] = `
3950
4047
  │ ├── interface StructA
3951
4048
  │ ├── interface StructB
3952
4049
  │ ├── interface StructParameterType
4050
+ │ ├── interface StructWithCollectionOfUnionts
3953
4051
  │ ├── interface StructWithEnum
3954
4052
  │ ├── interface StructWithJavaReservedWords
3955
4053
  │ ├── interface SupportsNiceJavaBuilderProps
@@ -41,6 +41,7 @@ Array [
41
41
  "jsii-calc.Calculator",
42
42
  "jsii-calc.ClassThatImplementsTheInternalInterface",
43
43
  "jsii-calc.ClassThatImplementsThePrivateInterface",
44
+ "jsii-calc.ClassWithCollectionOfUnions",
44
45
  "jsii-calc.ClassWithCollections",
45
46
  "jsii-calc.ClassWithContainerTypes",
46
47
  "jsii-calc.ClassWithDocs",
@@ -157,9 +158,11 @@ Array [
157
158
  "jsii-calc.VirtualMethodPlayground",
158
159
  "jsii-calc.VoidCallback",
159
160
  "jsii-calc.WithPrivatePropertyInConstructor",
161
+ "jsii-calc.anonymous.UseOptions",
160
162
  "jsii-calc.cdk16625.Cdk16625",
161
163
  "jsii-calc.cdk16625.donotimport.UnimportedSubmoduleType",
162
164
  "jsii-calc.composition.CompositeOperation",
165
+ "jsii-calc.jsii3656.OverrideMe",
163
166
  "jsii-calc.module2530.MyClass",
164
167
  "jsii-calc.module2617.OnlyStatics",
165
168
  "jsii-calc.module2647.ExtendAndImplement",