jsii-reflect 1.70.0 → 1.72.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/lib/assembly.d.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  import * as jsii from '@jsii/spec';
2
+ import { ClassType } from './class';
2
3
  import { Dependency } from './dependency';
4
+ import { EnumType } from './enum';
5
+ import { InterfaceType } from './interface';
3
6
  import { ModuleLike } from './module-like';
4
7
  import { Submodule } from './submodule';
5
8
  import { Type } from './type';
@@ -96,13 +99,21 @@ export declare class Assembly extends ModuleLike {
96
99
  */
97
100
  get allSubmodules(): readonly Submodule[];
98
101
  /**
99
- * All types, even those in submodules and nested submodules.
102
+ * All types in the assembly and all of its submodules
100
103
  */
101
- get types(): readonly Type[];
104
+ get allTypes(): readonly Type[];
102
105
  /**
103
- * Return all types in the current assembly/submodule and all submodules underneath
106
+ * All classes in the assembly and all of its submodules
104
107
  */
105
- get allTypes(): readonly Type[];
108
+ get allClasses(): readonly ClassType[];
109
+ /**
110
+ * All interfaces in the assembly and all of its submodules
111
+ */
112
+ get allInterfaces(): readonly InterfaceType[];
113
+ /**
114
+ * All interfaces in the assembly and all of its submodules
115
+ */
116
+ get allEnums(): readonly EnumType[];
106
117
  findType(fqn: string): Type;
107
118
  /**
108
119
  * Validate an assembly after loading
package/lib/assembly.js CHANGED
@@ -139,16 +139,34 @@ class Assembly extends module_like_1.ModuleLike {
139
139
  return Array.from(submodules.values());
140
140
  }
141
141
  /**
142
- * All types, even those in submodules and nested submodules.
142
+ * All types in the assembly and all of its submodules
143
143
  */
144
- get types() {
145
- return Array.from(this.typeMap.values());
144
+ get allTypes() {
145
+ return [...this.types, ...this.allSubmodules.flatMap((s) => s.types)];
146
146
  }
147
147
  /**
148
- * Return all types in the current assembly/submodule and all submodules underneath
148
+ * All classes in the assembly and all of its submodules
149
149
  */
150
- get allTypes() {
151
- return [...this.types, ...this.allSubmodules.flatMap((s) => s.types)];
150
+ get allClasses() {
151
+ return this.allTypes
152
+ .filter((t) => t instanceof class_1.ClassType)
153
+ .map((t) => t);
154
+ }
155
+ /**
156
+ * All interfaces in the assembly and all of its submodules
157
+ */
158
+ get allInterfaces() {
159
+ return this.allTypes
160
+ .filter((t) => t instanceof interface_1.InterfaceType)
161
+ .map((t) => t);
162
+ }
163
+ /**
164
+ * All interfaces in the assembly and all of its submodules
165
+ */
166
+ get allEnums() {
167
+ return this.allTypes
168
+ .filter((t) => t instanceof enum_1.EnumType)
169
+ .map((t) => t);
152
170
  }
153
171
  findType(fqn) {
154
172
  const type = this.tryFindType(fqn);
@@ -22,9 +22,21 @@ export declare abstract class ModuleLike {
22
22
  private readonly typeLocatorCache;
23
23
  protected constructor(system: TypeSystem);
24
24
  get submodules(): readonly Submodule[];
25
+ /**
26
+ * All types in this module/namespace (not submodules)
27
+ */
25
28
  get types(): readonly Type[];
29
+ /**
30
+ * All classes in this module/namespace (not submodules)
31
+ */
26
32
  get classes(): readonly ClassType[];
33
+ /**
34
+ * All interfaces in this module/namespace (not submodules)
35
+ */
27
36
  get interfaces(): readonly InterfaceType[];
37
+ /**
38
+ * All enums in this module/namespace (not submodules)
39
+ */
28
40
  get enums(): readonly EnumType[];
29
41
  tryFindType(fqn: string): Type | undefined;
30
42
  }
@@ -15,19 +15,31 @@ class ModuleLike {
15
15
  get submodules() {
16
16
  return Array.from(this.submoduleMap.values());
17
17
  }
18
+ /**
19
+ * All types in this module/namespace (not submodules)
20
+ */
18
21
  get types() {
19
22
  return Array.from(this.typeMap.values());
20
23
  }
24
+ /**
25
+ * All classes in this module/namespace (not submodules)
26
+ */
21
27
  get classes() {
22
28
  return this.types
23
29
  .filter((t) => t instanceof class_1.ClassType)
24
30
  .map((t) => t);
25
31
  }
32
+ /**
33
+ * All interfaces in this module/namespace (not submodules)
34
+ */
26
35
  get interfaces() {
27
36
  return this.types
28
37
  .filter((t) => t instanceof interface_1.InterfaceType)
29
38
  .map((t) => t);
30
39
  }
40
+ /**
41
+ * All enums in this module/namespace (not submodules)
42
+ */
31
43
  get enums() {
32
44
  return this.types
33
45
  .filter((t) => t instanceof enum_1.EnumType)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jsii-reflect",
3
- "version": "1.70.0",
3
+ "version": "1.72.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.70.0",
38
- "@jsii/spec": "^1.70.0",
37
+ "@jsii/check-node": "1.72.0",
38
+ "@jsii/spec": "^1.72.0",
39
39
  "chalk": "^4",
40
40
  "fs-extra": "^10.1.0",
41
- "oo-ascii-tree": "^1.70.0",
41
+ "oo-ascii-tree": "^1.72.0",
42
42
  "yargs": "^16.2.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@scope/jsii-calc-lib": "^1.70.0",
45
+ "@scope/jsii-calc-lib": "^1.72.0",
46
46
  "@types/fs-extra": "^9.0.13",
47
- "jsii": "^1.70.0",
48
- "jsii-build-tools": "^1.70.0",
47
+ "jsii": "^1.72.0",
48
+ "jsii-build-tools": "^1.72.0",
49
49
  "jsii-calc": "^3.20.120"
50
50
  }
51
51
  }
@@ -136,6 +136,20 @@ exports[`jsii-tree --all 1`] = `
136
136
  │ │ │ │ └─┬ gen
137
137
  │ │ │ │ └── type: jsii-calc.IRandomNumberGenerator
138
138
  │ │ │ └── returns: number
139
+ │ │ ├─┬ cdk22369
140
+ │ │ │ └─┬ types
141
+ │ │ │ ├─┬ class AcceptsPath (stable)
142
+ │ │ │ │ └─┬ members
143
+ │ │ │ │ └─┬ <initializer>(props) initializer (stable)
144
+ │ │ │ │ └─┬ parameters
145
+ │ │ │ │ └─┬ props
146
+ │ │ │ │ └── type: jsii-calc.cdk22369.AcceptsPathProps
147
+ │ │ │ └─┬ interface AcceptsPathProps (stable)
148
+ │ │ │ └─┬ members
149
+ │ │ │ └─┬ sourcePath property (stable)
150
+ │ │ │ ├── abstract
151
+ │ │ │ ├── immutable
152
+ │ │ │ └── type: string
139
153
  │ │ ├─┬ composition
140
154
  │ │ │ └─┬ types
141
155
  │ │ │ ├─┬ class CompositeOperation (stable)
@@ -160,6 +174,53 @@ exports[`jsii-tree --all 1`] = `
160
174
  │ │ │ └─┬ enum CompositionStringStyle (stable)
161
175
  │ │ │ ├── NORMAL (stable)
162
176
  │ │ │ └── DECORATED (stable)
177
+ │ │ ├─┬ homonymousForwardReferences
178
+ │ │ │ ├─┬ submodules
179
+ │ │ │ │ ├─┬ bar
180
+ │ │ │ │ │ └─┬ types
181
+ │ │ │ │ │ ├─┬ class Consumer (stable)
182
+ │ │ │ │ │ │ └─┬ members
183
+ │ │ │ │ │ │ └─┬ static consume(props) method (stable)
184
+ │ │ │ │ │ │ ├── static
185
+ │ │ │ │ │ │ ├─┬ parameters
186
+ │ │ │ │ │ │ │ └─┬ props
187
+ │ │ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.bar.ConsumerProps
188
+ │ │ │ │ │ │ └── returns: jsii-calc.homonymousForwardReferences.bar.Homonymous
189
+ │ │ │ │ │ ├─┬ interface ConsumerProps (stable)
190
+ │ │ │ │ │ │ └─┬ members
191
+ │ │ │ │ │ │ └─┬ homonymous property (stable)
192
+ │ │ │ │ │ │ ├── abstract
193
+ │ │ │ │ │ │ ├── immutable
194
+ │ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.bar.Homonymous
195
+ │ │ │ │ │ └─┬ interface Homonymous (stable)
196
+ │ │ │ │ │ └─┬ members
197
+ │ │ │ │ │ └─┬ numericProperty property (stable)
198
+ │ │ │ │ │ ├── abstract
199
+ │ │ │ │ │ ├── immutable
200
+ │ │ │ │ │ └── type: number
201
+ │ │ │ │ └─┬ foo
202
+ │ │ │ │ └─┬ types
203
+ │ │ │ │ ├─┬ class Consumer (stable)
204
+ │ │ │ │ │ └─┬ members
205
+ │ │ │ │ │ └─┬ static consume(props) method (stable)
206
+ │ │ │ │ │ ├── static
207
+ │ │ │ │ │ ├─┬ parameters
208
+ │ │ │ │ │ │ └─┬ props
209
+ │ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.foo.ConsumerProps
210
+ │ │ │ │ │ └── returns: jsii-calc.homonymousForwardReferences.foo.Homonymous
211
+ │ │ │ │ ├─┬ interface ConsumerProps (stable)
212
+ │ │ │ │ │ └─┬ members
213
+ │ │ │ │ │ └─┬ homonymous property (stable)
214
+ │ │ │ │ │ ├── abstract
215
+ │ │ │ │ │ ├── immutable
216
+ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.foo.Homonymous
217
+ │ │ │ │ └─┬ interface Homonymous (stable)
218
+ │ │ │ │ └─┬ members
219
+ │ │ │ │ └─┬ stringProperty property (stable)
220
+ │ │ │ │ ├── abstract
221
+ │ │ │ │ ├── immutable
222
+ │ │ │ │ └── type: string
223
+ │ │ │ └── types
163
224
  │ │ ├─┬ jsii3656
164
225
  │ │ │ └─┬ types
165
226
  │ │ │ ├─┬ class OverrideMe (stable)
@@ -1870,6 +1931,24 @@ exports[`jsii-tree --all 1`] = `
1870
1931
  │ │ │ └─┬ obj
1871
1932
  │ │ │ └── type: jsii-calc.IReturnsNumber
1872
1933
  │ │ └── returns: number
1934
+ │ ├─┬ class ParamShadowsBuiltins (stable)
1935
+ │ │ └─┬ members
1936
+ │ │ └─┬ <initializer>(builtins,str,props) initializer (stable)
1937
+ │ │ └─┬ parameters
1938
+ │ │ ├─┬ builtins
1939
+ │ │ │ └── type: string
1940
+ │ │ ├─┬ str
1941
+ │ │ │ └── type: string
1942
+ │ │ └─┬ props
1943
+ │ │ └── type: jsii-calc.ParamShadowsBuiltinsProps
1944
+ │ ├─┬ class ParamShadowsScope (stable)
1945
+ │ │ └─┬ members
1946
+ │ │ ├── <initializer>() initializer (stable)
1947
+ │ │ └─┬ useScope(scope) method (stable)
1948
+ │ │ ├─┬ parameters
1949
+ │ │ │ └─┬ scope
1950
+ │ │ │ └── type: @scope/jsii-calc-lib.Number
1951
+ │ │ └── returns: @scope/jsii-calc-lib.Number
1873
1952
  │ ├─┬ class PartiallyInitializedThisConsumer (stable)
1874
1953
  │ │ └─┬ members
1875
1954
  │ │ ├── <initializer>() initializer (stable)
@@ -3138,6 +3217,20 @@ exports[`jsii-tree --all 1`] = `
3138
3217
  │ │ ├── abstract
3139
3218
  │ │ ├── immutable
3140
3219
  │ │ └── type: Optional<string>
3220
+ │ ├─┬ interface ParamShadowsBuiltinsProps (stable)
3221
+ │ │ └─┬ members
3222
+ │ │ ├─┬ booleanProperty property (stable)
3223
+ │ │ │ ├── abstract
3224
+ │ │ │ ├── immutable
3225
+ │ │ │ └── type: boolean
3226
+ │ │ ├─┬ stringProperty property (stable)
3227
+ │ │ │ ├── abstract
3228
+ │ │ │ ├── immutable
3229
+ │ │ │ └── type: string
3230
+ │ │ └─┬ structProperty property (stable)
3231
+ │ │ ├── abstract
3232
+ │ │ ├── immutable
3233
+ │ │ └── type: jsii-calc.StructA
3141
3234
  │ ├─┬ interface ParentStruct982 (stable)
3142
3235
  │ │ └─┬ members
3143
3236
  │ │ └─┬ foo property (stable)
@@ -3580,11 +3673,28 @@ exports[`jsii-tree --inheritance 1`] = `
3580
3673
  │ │ │ │ └── interfaces: IRandomNumberGenerator
3581
3674
  │ │ │ └─┬ types
3582
3675
  │ │ │ └── class Cdk16625
3676
+ │ │ ├─┬ cdk22369
3677
+ │ │ │ └─┬ types
3678
+ │ │ │ ├── class AcceptsPath
3679
+ │ │ │ └── interface AcceptsPathProps
3583
3680
  │ │ ├─┬ composition
3584
3681
  │ │ │ └─┬ types
3585
3682
  │ │ │ ├─┬ class CompositeOperation
3586
3683
  │ │ │ │ └── base: Operation
3587
3684
  │ │ │ └── enum CompositionStringStyle
3685
+ │ │ ├─┬ homonymousForwardReferences
3686
+ │ │ │ ├─┬ submodules
3687
+ │ │ │ │ ├─┬ bar
3688
+ │ │ │ │ │ └─┬ types
3689
+ │ │ │ │ │ ├── class Consumer
3690
+ │ │ │ │ │ ├── interface ConsumerProps
3691
+ │ │ │ │ │ └── interface Homonymous
3692
+ │ │ │ │ └─┬ foo
3693
+ │ │ │ │ └─┬ types
3694
+ │ │ │ │ ├── class Consumer
3695
+ │ │ │ │ ├── interface ConsumerProps
3696
+ │ │ │ │ └── interface Homonymous
3697
+ │ │ │ └── types
3588
3698
  │ │ ├─┬ jsii3656
3589
3699
  │ │ │ └─┬ types
3590
3700
  │ │ │ ├── class OverrideMe
@@ -3843,6 +3953,8 @@ exports[`jsii-tree --inheritance 1`] = `
3843
3953
  │ ├── class OptionalStructConsumer
3844
3954
  │ ├── class OverridableProtectedMember
3845
3955
  │ ├── class OverrideReturnsObject
3956
+ │ ├── class ParamShadowsBuiltins
3957
+ │ ├── class ParamShadowsScope
3846
3958
  │ ├── class PartiallyInitializedThisConsumer
3847
3959
  │ ├── class Polymorphism
3848
3960
  │ ├─┬ class Power
@@ -3983,6 +4095,7 @@ exports[`jsii-tree --inheritance 1`] = `
3983
4095
  │ ├── interface NestedStruct
3984
4096
  │ ├── interface NullShouldBeTreatedAsUndefinedData
3985
4097
  │ ├── interface OptionalStruct
4098
+ │ ├── interface ParamShadowsBuiltinsProps
3986
4099
  │ ├── interface ParentStruct982
3987
4100
  │ ├── interface RootStruct
3988
4101
  │ ├── interface SecondLevelStruct
@@ -4128,6 +4241,14 @@ exports[`jsii-tree --members 1`] = `
4128
4241
  │ │ │ ├── <initializer>() initializer
4129
4242
  │ │ │ ├── test() method
4130
4243
  │ │ │ └── unwrap(gen) method
4244
+ │ │ ├─┬ cdk22369
4245
+ │ │ │ └─┬ types
4246
+ │ │ │ ├─┬ class AcceptsPath
4247
+ │ │ │ │ └─┬ members
4248
+ │ │ │ │ └── <initializer>(props) initializer
4249
+ │ │ │ └─┬ interface AcceptsPathProps
4250
+ │ │ │ └─┬ members
4251
+ │ │ │ └── sourcePath property
4131
4252
  │ │ ├─┬ composition
4132
4253
  │ │ │ └─┬ types
4133
4254
  │ │ │ ├─┬ class CompositeOperation
@@ -4142,6 +4263,31 @@ exports[`jsii-tree --members 1`] = `
4142
4263
  │ │ │ └─┬ enum CompositionStringStyle
4143
4264
  │ │ │ ├── NORMAL
4144
4265
  │ │ │ └── DECORATED
4266
+ │ │ ├─┬ homonymousForwardReferences
4267
+ │ │ │ ├─┬ submodules
4268
+ │ │ │ │ ├─┬ bar
4269
+ │ │ │ │ │ └─┬ types
4270
+ │ │ │ │ │ ├─┬ class Consumer
4271
+ │ │ │ │ │ │ └─┬ members
4272
+ │ │ │ │ │ │ └── static consume(props) method
4273
+ │ │ │ │ │ ├─┬ interface ConsumerProps
4274
+ │ │ │ │ │ │ └─┬ members
4275
+ │ │ │ │ │ │ └── homonymous property
4276
+ │ │ │ │ │ └─┬ interface Homonymous
4277
+ │ │ │ │ │ └─┬ members
4278
+ │ │ │ │ │ └── numericProperty property
4279
+ │ │ │ │ └─┬ foo
4280
+ │ │ │ │ └─┬ types
4281
+ │ │ │ │ ├─┬ class Consumer
4282
+ │ │ │ │ │ └─┬ members
4283
+ │ │ │ │ │ └── static consume(props) method
4284
+ │ │ │ │ ├─┬ interface ConsumerProps
4285
+ │ │ │ │ │ └─┬ members
4286
+ │ │ │ │ │ └── homonymous property
4287
+ │ │ │ │ └─┬ interface Homonymous
4288
+ │ │ │ │ └─┬ members
4289
+ │ │ │ │ └── stringProperty property
4290
+ │ │ │ └── types
4145
4291
  │ │ ├─┬ jsii3656
4146
4292
  │ │ │ └─┬ types
4147
4293
  │ │ │ ├─┬ class OverrideMe
@@ -4949,6 +5095,13 @@ exports[`jsii-tree --members 1`] = `
4949
5095
  │ │ └─┬ members
4950
5096
  │ │ ├── <initializer>() initializer
4951
5097
  │ │ └── test(obj) method
5098
+ │ ├─┬ class ParamShadowsBuiltins
5099
+ │ │ └─┬ members
5100
+ │ │ └── <initializer>(builtins,str,props) initializer
5101
+ │ ├─┬ class ParamShadowsScope
5102
+ │ │ └─┬ members
5103
+ │ │ ├── <initializer>() initializer
5104
+ │ │ └── useScope(scope) method
4952
5105
  │ ├─┬ class PartiallyInitializedThisConsumer
4953
5106
  │ │ └─┬ members
4954
5107
  │ │ ├── <initializer>() initializer
@@ -5469,6 +5622,11 @@ exports[`jsii-tree --members 1`] = `
5469
5622
  │ ├─┬ interface OptionalStruct
5470
5623
  │ │ └─┬ members
5471
5624
  │ │ └── field property
5625
+ │ ├─┬ interface ParamShadowsBuiltinsProps
5626
+ │ │ └─┬ members
5627
+ │ │ ├── booleanProperty property
5628
+ │ │ ├── stringProperty property
5629
+ │ │ └── structProperty property
5472
5630
  │ ├─┬ interface ParentStruct982
5473
5631
  │ │ └─┬ members
5474
5632
  │ │ └── foo property
@@ -5678,7 +5836,12 @@ exports[`jsii-tree --signatures 1`] = `
5678
5836
  │ ├─┬ cdk16625
5679
5837
  │ │ └─┬ submodules
5680
5838
  │ │ └── donotimport
5839
+ │ ├── cdk22369
5681
5840
  │ ├── composition
5841
+ │ ├─┬ homonymousForwardReferences
5842
+ │ │ └─┬ submodules
5843
+ │ │ ├── bar
5844
+ │ │ └── foo
5682
5845
  │ ├── jsii3656
5683
5846
  │ ├── module2530
5684
5847
  │ ├── module2617
@@ -5753,10 +5916,27 @@ exports[`jsii-tree --types 1`] = `
5753
5916
  │ │ │ │ └── class UnimportedSubmoduleType
5754
5917
  │ │ │ └─┬ types
5755
5918
  │ │ │ └── class Cdk16625
5919
+ │ │ ├─┬ cdk22369
5920
+ │ │ │ └─┬ types
5921
+ │ │ │ ├── class AcceptsPath
5922
+ │ │ │ └── interface AcceptsPathProps
5756
5923
  │ │ ├─┬ composition
5757
5924
  │ │ │ └─┬ types
5758
5925
  │ │ │ ├── class CompositeOperation
5759
5926
  │ │ │ └── enum CompositionStringStyle
5927
+ │ │ ├─┬ homonymousForwardReferences
5928
+ │ │ │ ├─┬ submodules
5929
+ │ │ │ │ ├─┬ bar
5930
+ │ │ │ │ │ └─┬ types
5931
+ │ │ │ │ │ ├── class Consumer
5932
+ │ │ │ │ │ ├── interface ConsumerProps
5933
+ │ │ │ │ │ └── interface Homonymous
5934
+ │ │ │ │ └─┬ foo
5935
+ │ │ │ │ └─┬ types
5936
+ │ │ │ │ ├── class Consumer
5937
+ │ │ │ │ ├── interface ConsumerProps
5938
+ │ │ │ │ └── interface Homonymous
5939
+ │ │ │ └── types
5760
5940
  │ │ ├─┬ jsii3656
5761
5941
  │ │ │ └─┬ types
5762
5942
  │ │ │ ├── class OverrideMe
@@ -5958,6 +6138,8 @@ exports[`jsii-tree --types 1`] = `
5958
6138
  │ ├── class OptionalStructConsumer
5959
6139
  │ ├── class OverridableProtectedMember
5960
6140
  │ ├── class OverrideReturnsObject
6141
+ │ ├── class ParamShadowsBuiltins
6142
+ │ ├── class ParamShadowsScope
5961
6143
  │ ├── class PartiallyInitializedThisConsumer
5962
6144
  │ ├── class Polymorphism
5963
6145
  │ ├── class Power
@@ -6063,6 +6245,7 @@ exports[`jsii-tree --types 1`] = `
6063
6245
  │ ├── interface NestedStruct
6064
6246
  │ ├── interface NullShouldBeTreatedAsUndefinedData
6065
6247
  │ ├── interface OptionalStruct
6248
+ │ ├── interface ParamShadowsBuiltinsProps
6066
6249
  │ ├── interface ParentStruct982
6067
6250
  │ ├── interface RootStruct
6068
6251
  │ ├── interface SecondLevelStruct
@@ -6139,7 +6322,12 @@ exports[`jsii-tree 1`] = `
6139
6322
  │ ├─┬ cdk16625
6140
6323
  │ │ └─┬ submodules
6141
6324
  │ │ └── donotimport
6325
+ │ ├── cdk22369
6142
6326
  │ ├── composition
6327
+ │ ├─┬ homonymousForwardReferences
6328
+ │ │ └─┬ submodules
6329
+ │ │ ├── bar
6330
+ │ │ └── foo
6143
6331
  │ ├── jsii3656
6144
6332
  │ ├── module2530
6145
6333
  │ ├── module2617
@@ -12,7 +12,12 @@ exports[`defaults 1`] = `
12
12
  │ ├─┬ cdk16625
13
13
  │ │ └─┬ submodules
14
14
  │ │ └── donotimport
15
+ │ ├── cdk22369
15
16
  │ ├── composition
17
+ │ ├─┬ homonymousForwardReferences
18
+ │ │ └─┬ submodules
19
+ │ │ ├── bar
20
+ │ │ └── foo
16
21
  │ ├── jsii3656
17
22
  │ ├── module2530
18
23
  │ ├── module2617
@@ -66,7 +71,12 @@ exports[`inheritance 1`] = `
66
71
  │ ├─┬ cdk16625
67
72
  │ │ └─┬ submodules
68
73
  │ │ └── donotimport
74
+ │ ├── cdk22369
69
75
  │ ├── composition
76
+ │ ├─┬ homonymousForwardReferences
77
+ │ │ └─┬ submodules
78
+ │ │ ├── bar
79
+ │ │ └── foo
70
80
  │ ├── jsii3656
71
81
  │ ├── module2530
72
82
  │ ├── module2617
@@ -120,7 +130,12 @@ exports[`members 1`] = `
120
130
  │ ├─┬ cdk16625
121
131
  │ │ └─┬ submodules
122
132
  │ │ └── donotimport
133
+ │ ├── cdk22369
123
134
  │ ├── composition
135
+ │ ├─┬ homonymousForwardReferences
136
+ │ │ └─┬ submodules
137
+ │ │ ├── bar
138
+ │ │ └── foo
124
139
  │ ├── jsii3656
125
140
  │ ├── module2530
126
141
  │ ├── module2617
@@ -298,6 +313,20 @@ exports[`showAll 1`] = `
298
313
  │ │ │ │ └─┬ gen
299
314
  │ │ │ │ └── type: jsii-calc.IRandomNumberGenerator
300
315
  │ │ │ └── returns: number
316
+ │ │ ├─┬ cdk22369
317
+ │ │ │ └─┬ types
318
+ │ │ │ ├─┬ class AcceptsPath
319
+ │ │ │ │ └─┬ members
320
+ │ │ │ │ └─┬ <initializer>(props) initializer
321
+ │ │ │ │ └─┬ parameters
322
+ │ │ │ │ └─┬ props
323
+ │ │ │ │ └── type: jsii-calc.cdk22369.AcceptsPathProps
324
+ │ │ │ └─┬ interface AcceptsPathProps
325
+ │ │ │ └─┬ members
326
+ │ │ │ └─┬ sourcePath property
327
+ │ │ │ ├── abstract
328
+ │ │ │ ├── immutable
329
+ │ │ │ └── type: string
301
330
  │ │ ├─┬ composition
302
331
  │ │ │ └─┬ types
303
332
  │ │ │ ├─┬ class CompositeOperation
@@ -322,6 +351,53 @@ exports[`showAll 1`] = `
322
351
  │ │ │ └─┬ enum CompositionStringStyle
323
352
  │ │ │ ├── NORMAL
324
353
  │ │ │ └── DECORATED
354
+ │ │ ├─┬ homonymousForwardReferences
355
+ │ │ │ ├─┬ submodules
356
+ │ │ │ │ ├─┬ bar
357
+ │ │ │ │ │ └─┬ types
358
+ │ │ │ │ │ ├─┬ class Consumer
359
+ │ │ │ │ │ │ └─┬ members
360
+ │ │ │ │ │ │ └─┬ static consume(props) method
361
+ │ │ │ │ │ │ ├── static
362
+ │ │ │ │ │ │ ├─┬ parameters
363
+ │ │ │ │ │ │ │ └─┬ props
364
+ │ │ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.bar.ConsumerProps
365
+ │ │ │ │ │ │ └── returns: jsii-calc.homonymousForwardReferences.bar.Homonymous
366
+ │ │ │ │ │ ├─┬ interface ConsumerProps
367
+ │ │ │ │ │ │ └─┬ members
368
+ │ │ │ │ │ │ └─┬ homonymous property
369
+ │ │ │ │ │ │ ├── abstract
370
+ │ │ │ │ │ │ ├── immutable
371
+ │ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.bar.Homonymous
372
+ │ │ │ │ │ └─┬ interface Homonymous
373
+ │ │ │ │ │ └─┬ members
374
+ │ │ │ │ │ └─┬ numericProperty property
375
+ │ │ │ │ │ ├── abstract
376
+ │ │ │ │ │ ├── immutable
377
+ │ │ │ │ │ └── type: number
378
+ │ │ │ │ └─┬ foo
379
+ │ │ │ │ └─┬ types
380
+ │ │ │ │ ├─┬ class Consumer
381
+ │ │ │ │ │ └─┬ members
382
+ │ │ │ │ │ └─┬ static consume(props) method
383
+ │ │ │ │ │ ├── static
384
+ │ │ │ │ │ ├─┬ parameters
385
+ │ │ │ │ │ │ └─┬ props
386
+ │ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.foo.ConsumerProps
387
+ │ │ │ │ │ └── returns: jsii-calc.homonymousForwardReferences.foo.Homonymous
388
+ │ │ │ │ ├─┬ interface ConsumerProps
389
+ │ │ │ │ │ └─┬ members
390
+ │ │ │ │ │ └─┬ homonymous property
391
+ │ │ │ │ │ ├── abstract
392
+ │ │ │ │ │ ├── immutable
393
+ │ │ │ │ │ └── type: jsii-calc.homonymousForwardReferences.foo.Homonymous
394
+ │ │ │ │ └─┬ interface Homonymous
395
+ │ │ │ │ └─┬ members
396
+ │ │ │ │ └─┬ stringProperty property
397
+ │ │ │ │ ├── abstract
398
+ │ │ │ │ ├── immutable
399
+ │ │ │ │ └── type: string
400
+ │ │ │ └── types
325
401
  │ │ ├─┬ jsii3656
326
402
  │ │ │ └─┬ types
327
403
  │ │ │ ├─┬ class OverrideMe
@@ -2032,6 +2108,24 @@ exports[`showAll 1`] = `
2032
2108
  │ │ │ └─┬ obj
2033
2109
  │ │ │ └── type: jsii-calc.IReturnsNumber
2034
2110
  │ │ └── returns: number
2111
+ │ ├─┬ class ParamShadowsBuiltins
2112
+ │ │ └─┬ members
2113
+ │ │ └─┬ <initializer>(builtins,str,props) initializer
2114
+ │ │ └─┬ parameters
2115
+ │ │ ├─┬ builtins
2116
+ │ │ │ └── type: string
2117
+ │ │ ├─┬ str
2118
+ │ │ │ └── type: string
2119
+ │ │ └─┬ props
2120
+ │ │ └── type: jsii-calc.ParamShadowsBuiltinsProps
2121
+ │ ├─┬ class ParamShadowsScope
2122
+ │ │ └─┬ members
2123
+ │ │ ├── <initializer>() initializer
2124
+ │ │ └─┬ useScope(scope) method
2125
+ │ │ ├─┬ parameters
2126
+ │ │ │ └─┬ scope
2127
+ │ │ │ └── type: @scope/jsii-calc-lib.Number
2128
+ │ │ └── returns: @scope/jsii-calc-lib.Number
2035
2129
  │ ├─┬ class PartiallyInitializedThisConsumer
2036
2130
  │ │ └─┬ members
2037
2131
  │ │ ├── <initializer>() initializer
@@ -3300,6 +3394,20 @@ exports[`showAll 1`] = `
3300
3394
  │ │ ├── abstract
3301
3395
  │ │ ├── immutable
3302
3396
  │ │ └── type: Optional<string>
3397
+ │ ├─┬ interface ParamShadowsBuiltinsProps
3398
+ │ │ └─┬ members
3399
+ │ │ ├─┬ booleanProperty property
3400
+ │ │ │ ├── abstract
3401
+ │ │ │ ├── immutable
3402
+ │ │ │ └── type: boolean
3403
+ │ │ ├─┬ stringProperty property
3404
+ │ │ │ ├── abstract
3405
+ │ │ │ ├── immutable
3406
+ │ │ │ └── type: string
3407
+ │ │ └─┬ structProperty property
3408
+ │ │ ├── abstract
3409
+ │ │ ├── immutable
3410
+ │ │ └── type: jsii-calc.StructA
3303
3411
  │ ├─┬ interface ParentStruct982
3304
3412
  │ │ └─┬ members
3305
3413
  │ │ └─┬ foo property
@@ -3719,7 +3827,12 @@ exports[`signatures 1`] = `
3719
3827
  │ ├─┬ cdk16625
3720
3828
  │ │ └─┬ submodules
3721
3829
  │ │ └── donotimport
3830
+ │ ├── cdk22369
3722
3831
  │ ├── composition
3832
+ │ ├─┬ homonymousForwardReferences
3833
+ │ │ └─┬ submodules
3834
+ │ │ ├── bar
3835
+ │ │ └── foo
3723
3836
  │ ├── jsii3656
3724
3837
  │ ├── module2530
3725
3838
  │ ├── module2617
@@ -3794,10 +3907,27 @@ exports[`types 1`] = `
3794
3907
  │ │ │ │ └── class UnimportedSubmoduleType
3795
3908
  │ │ │ └─┬ types
3796
3909
  │ │ │ └── class Cdk16625
3910
+ │ │ ├─┬ cdk22369
3911
+ │ │ │ └─┬ types
3912
+ │ │ │ ├── class AcceptsPath
3913
+ │ │ │ └── interface AcceptsPathProps
3797
3914
  │ │ ├─┬ composition
3798
3915
  │ │ │ └─┬ types
3799
3916
  │ │ │ ├── class CompositeOperation
3800
3917
  │ │ │ └── enum CompositionStringStyle
3918
+ │ │ ├─┬ homonymousForwardReferences
3919
+ │ │ │ ├─┬ submodules
3920
+ │ │ │ │ ├─┬ bar
3921
+ │ │ │ │ │ └─┬ types
3922
+ │ │ │ │ │ ├── class Consumer
3923
+ │ │ │ │ │ ├── interface ConsumerProps
3924
+ │ │ │ │ │ └── interface Homonymous
3925
+ │ │ │ │ └─┬ foo
3926
+ │ │ │ │ └─┬ types
3927
+ │ │ │ │ ├── class Consumer
3928
+ │ │ │ │ ├── interface ConsumerProps
3929
+ │ │ │ │ └── interface Homonymous
3930
+ │ │ │ └── types
3801
3931
  │ │ ├─┬ jsii3656
3802
3932
  │ │ │ └─┬ types
3803
3933
  │ │ │ ├── class OverrideMe
@@ -3999,6 +4129,8 @@ exports[`types 1`] = `
3999
4129
  │ ├── class OptionalStructConsumer
4000
4130
  │ ├── class OverridableProtectedMember
4001
4131
  │ ├── class OverrideReturnsObject
4132
+ │ ├── class ParamShadowsBuiltins
4133
+ │ ├── class ParamShadowsScope
4002
4134
  │ ├── class PartiallyInitializedThisConsumer
4003
4135
  │ ├── class Polymorphism
4004
4136
  │ ├── class Power
@@ -4104,6 +4236,7 @@ exports[`types 1`] = `
4104
4236
  │ ├── interface NestedStruct
4105
4237
  │ ├── interface NullShouldBeTreatedAsUndefinedData
4106
4238
  │ ├── interface OptionalStruct
4239
+ │ ├── interface ParamShadowsBuiltinsProps
4107
4240
  │ ├── interface ParentStruct982
4108
4241
  │ ├── interface RootStruct
4109
4242
  │ ├── interface SecondLevelStruct
@@ -118,6 +118,8 @@ exports[`TypeSystem.classes lists all the classes in the typesystem 1`] = `
118
118
  "jsii-calc.OptionalStructConsumer",
119
119
  "jsii-calc.OverridableProtectedMember",
120
120
  "jsii-calc.OverrideReturnsObject",
121
+ "jsii-calc.ParamShadowsBuiltins",
122
+ "jsii-calc.ParamShadowsScope",
121
123
  "jsii-calc.PartiallyInitializedThisConsumer",
122
124
  "jsii-calc.Polymorphism",
123
125
  "jsii-calc.Power",
@@ -164,7 +166,10 @@ exports[`TypeSystem.classes lists all the classes in the typesystem 1`] = `
164
166
  "jsii-calc.anonymous.UseOptions",
165
167
  "jsii-calc.cdk16625.Cdk16625",
166
168
  "jsii-calc.cdk16625.donotimport.UnimportedSubmoduleType",
169
+ "jsii-calc.cdk22369.AcceptsPath",
167
170
  "jsii-calc.composition.CompositeOperation",
171
+ "jsii-calc.homonymousForwardReferences.bar.Consumer",
172
+ "jsii-calc.homonymousForwardReferences.foo.Consumer",
168
173
  "jsii-calc.jsii3656.OverrideMe",
169
174
  "jsii-calc.module2530.MyClass",
170
175
  "jsii-calc.module2617.OnlyStatics",