diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 978175bb11..9d0c0fe448 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,8 +59,10 @@ jobs: ${{ steps.cache-locations.outputs.pip-cache }} ${{ steps.cache-locations.outputs.yarn-cache }} ~/.m2/repository + !~/.m2/repository/software/amazon/jsii/ ~/.nuget/packages - key: ${{ runner.os }}-node@12-python@3.6-${{ hashFiles('**/yarn.lock') }} + !~/.nuget/packages/amazon.jsii.* + key: ${{ runner.os }}-node@12-python@3.6-${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }} restore-keys: |- ${{ runner.os }}-node@12-python@3.6- ${{ runner.os }}-node@12- @@ -130,8 +132,10 @@ jobs: ${{ steps.cache-locations.outputs.pip-cache }} ${{ steps.cache-locations.outputs.yarn-cache }} ~/.m2/repository + !~/.m2/repository/software/amazon/jsii/ ~/.nuget/packages - key: ${{ runner.os }}-node@12-python@3.6-${{ hashFiles('**/yarn.lock') }} + !~/.nuget/packages/amazon.jsii.* + key: ${{ runner.os }}-node@12-python@3.6-${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }} restore-keys: |- ${{ runner.os }}-node@12-python@3.6- ${{ runner.os }}-node@12- @@ -276,9 +280,11 @@ jobs: ${{ steps.cache-locations.outputs.pip-cache }} ${{ steps.cache-locations.outputs.yarn-cache }} ~/.m2/repository + !~/.m2/repository/software/amazon/jsii/ ~/.nuget/packages + !~/.nuget/packages/amazon.jsii.* # Not including .NET / Java in the cache keys, those artifacts are SDK-version-independent - key: ${{ runner.os }}-node@${{ matrix.node }}-python@${{ matrix.python }}-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-node@${{ matrix.node }}-python@${{ matrix.python }}-${{ hashFiles('**/yarn.lock', '**/Directory.Build.targets') }} restore-keys: |- ${{ runner.os }}-node@${{ matrix.node }}-python@${{ matrix.python }}- ${{ runner.os }}-node@${{ matrix.node }}- @@ -353,6 +359,10 @@ jobs: # Run the integration test - name: Install Dependencies run: |- + # Python tools used during packaging + python3 -m pip install --upgrade pipx setuptools twine wheel + + # TypeScript project dependencies yarn install --frozen-lockfile working-directory: aws-cdk - name: Install Tested Packages diff --git a/packages/@scope/jsii-calc-lib/lib/submodule/index.ts b/packages/@scope/jsii-calc-lib/lib/submodule/index.ts index c6e8c21031..47f4d88df6 100644 --- a/packages/@scope/jsii-calc-lib/lib/submodule/index.ts +++ b/packages/@scope/jsii-calc-lib/lib/submodule/index.ts @@ -8,15 +8,26 @@ export interface ReflectableEntry { } export class Reflector { - public constructor() { } - public asMap(reflectable: IReflectable): Record { - return reflectable.entries.reduce( - (mapping, entry) => { - mapping[entry.key] = entry.value; - return mapping; - }, - {} as Record, - ); + return reflectable.entries.reduce((mapping, entry) => { + mapping[entry.key] = entry.value; + return mapping; + }, {} as Record); + } +} + +/** + * This class is here to show we can use nested classes across module boundaries. + */ +export class NestingClass { + private constructor() {} +} +// eslint-disable-next-line @typescript-eslint/no-namespace +export namespace NestingClass { + /** + * This class is here to show we can use nested classes across module boundaries. + */ + export class NestedClass { + public readonly property: string = 'property'; } } diff --git a/packages/@scope/jsii-calc-lib/test/assembly.jsii b/packages/@scope/jsii-calc-lib/test/assembly.jsii index ab9b6e0c47..45cfe84bb7 100644 --- a/packages/@scope/jsii-calc-lib/test/assembly.jsii +++ b/packages/@scope/jsii-calc-lib/test/assembly.jsii @@ -574,6 +574,57 @@ } ] }, + "@scope/jsii-calc-lib.submodule.NestingClass": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "stability": "deprecated", + "summary": "This class is here to show we can use nested classes across module boundaries." + }, + "fqn": "@scope/jsii-calc-lib.submodule.NestingClass", + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 22 + }, + "name": "NestingClass", + "namespace": "submodule" + }, + "@scope/jsii-calc-lib.submodule.NestingClass.NestedClass": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "stability": "deprecated", + "summary": "This class is here to show we can use nested classes across module boundaries." + }, + "fqn": "@scope/jsii-calc-lib.submodule.NestingClass.NestedClass", + "initializer": { + "docs": { + "stability": "deprecated" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 30 + }, + "name": "NestedClass", + "namespace": "submodule.NestingClass", + "properties": [ + { + "docs": { + "stability": "deprecated" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 31 + }, + "name": "property", + "type": { + "primitive": "string" + } + } + ] + }, "@scope/jsii-calc-lib.submodule.ReflectableEntry": { "assembly": "@scope/jsii-calc-lib", "datatype": true, @@ -630,10 +681,6 @@ "initializer": { "docs": { "stability": "deprecated" - }, - "locationInModule": { - "filename": "lib/submodule/index.ts", - "line": 11 } }, "kind": "class", @@ -648,7 +695,7 @@ }, "locationInModule": { "filename": "lib/submodule/index.ts", - "line": 13 + "line": 11 }, "name": "asMap", "parameters": [ @@ -676,5 +723,5 @@ } }, "version": "0.0.0", - "fingerprint": "fVfpIK7xUajlT1zkHIJ8uYJPvy0gLgEe5BM8afu1mVg=" + "fingerprint": "f/4VuNiOkSgTgLR80loQUAzAuzFi+25rmfLcRWKDCrY=" } diff --git a/packages/jsii-calc/lib/index.ts b/packages/jsii-calc/lib/index.ts index f32fd46330..93509cfad0 100644 --- a/packages/jsii-calc/lib/index.ts +++ b/packages/jsii-calc/lib/index.ts @@ -2,6 +2,7 @@ export * from './calculator'; export * from './compliance'; export * from './documented'; export * from './erasures'; +export * from './nested-class'; export * from './stability'; export * from './submodules'; diff --git a/packages/jsii-calc/lib/nested-class.ts b/packages/jsii-calc/lib/nested-class.ts new file mode 100644 index 0000000000..8311927085 --- /dev/null +++ b/packages/jsii-calc/lib/nested-class.ts @@ -0,0 +1,9 @@ +import { submodule } from '@scope/jsii-calc-lib'; + +export class NestedClassInstance { + public static makeInstance(): submodule.NestingClass.NestedClass { + return new submodule.NestingClass.NestedClass(); + } + + private constructor() {} +} diff --git a/packages/jsii-calc/test/assembly.jsii b/packages/jsii-calc/test/assembly.jsii index 6c551a825b..fc62bbbf1a 100644 --- a/packages/jsii-calc/test/assembly.jsii +++ b/packages/jsii-calc/test/assembly.jsii @@ -196,7 +196,7 @@ "jsii-calc.submodule": { "locationInModule": { "filename": "lib/index.ts", - "line": 8 + "line": 9 } }, "jsii-calc.submodule.back_references": { @@ -8439,6 +8439,37 @@ } ] }, + "jsii-calc.NestedClassInstance": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.NestedClassInstance", + "kind": "class", + "locationInModule": { + "filename": "lib/nested-class.ts", + "line": 3 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/nested-class.ts", + "line": 4 + }, + "name": "makeInstance", + "returns": { + "type": { + "fqn": "@scope/jsii-calc-lib.submodule.NestingClass.NestedClass" + } + }, + "static": true + } + ], + "name": "NestedClassInstance" + }, "jsii-calc.NestedStruct": { "assembly": "jsii-calc", "datatype": true, @@ -13788,5 +13819,5 @@ } }, "version": "0.0.0", - "fingerprint": "kQYWZjxtnycywR9qo/KXKyeVPmP6HoAefGhHN7SidkM=" + "fingerprint": "NsqdwWgXi+kjrpLQtQ27eA/znULJ7TtXy03ht68N9Ms=" } diff --git a/packages/jsii-pacmak/lib/targets/dotnet.ts b/packages/jsii-pacmak/lib/targets/dotnet.ts index c69ad5d262..b65602693e 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet.ts @@ -53,7 +53,7 @@ export class DotnetBuilder implements TargetBuilder { // Build solution logging.debug('Building .NET'); - await shell('dotnet', ['build', '-c', 'Release'], { + await shell('dotnet', ['build', '--force', '-c', 'Release'], { cwd: tempSourceDir.directory, }); diff --git a/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts b/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts index 691655584c..98fffa0bc8 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts @@ -283,7 +283,6 @@ export class DotNetGenerator extends Generator { // Nested classes will be dealt with during calc code generation const nested = this.isNested(cls); - const inner = nested ? ' static' : ''; const absPrefix = abstract ? ' abstract' : ''; this.openFileIfNeeded(className, namespace, nested); @@ -294,7 +293,7 @@ export class DotNetGenerator extends Generator { this.dotnetRuntimeGenerator.emitAttributesForClass(cls); this.code.openBlock( - `public${inner}${absPrefix} class ${className}${implementsExpr}`, + `public${absPrefix} class ${className}${implementsExpr}`, ); // Compute the class parameters diff --git a/packages/jsii-pacmak/lib/targets/python.ts b/packages/jsii-pacmak/lib/targets/python.ts index 49d61ccf54..fc56f31e62 100644 --- a/packages/jsii-pacmak/lib/targets/python.ts +++ b/packages/jsii-pacmak/lib/targets/python.ts @@ -48,13 +48,25 @@ export default class Python extends Target { await shell('python3', ['setup.py', 'sdist', '--dist-dir', outDir], { cwd: sourceDir, }); - await shell('python3', ['setup.py', 'bdist_wheel', '--dist-dir', outDir], { - cwd: sourceDir, - }); + await shell( + 'python3', + ['-m', 'pip', 'wheel', '--no-deps', '--wheel-dir', outDir, sourceDir], + { + cwd: sourceDir, + }, + ); if (await isPresent('twine', sourceDir)) { await shell('twine', ['check', path.join(outDir, '*')], { cwd: sourceDir, }); + } else if (await isPresent('pipx', sourceDir)) { + await shell('pipx', ['run', 'twine', 'check', path.join(outDir, '*')], { + cwd: sourceDir, + env: { + ...process.env, + PIPX_HOME: path.join(sourceDir, '.pipx'), + }, + }); } else { warn( 'Unable to validate distribution packages because `twine` is not present. ' + @@ -1649,6 +1661,9 @@ class Package { (this.metadata.author.email !== undefined ? `<${this.metadata.author.email}>` : ''), + bdist_wheel: { + universal: true, + }, project_urls: { Source: this.metadata.repository.url, }, @@ -1659,7 +1674,9 @@ class Package { install_requires: [ `jsii${toPythonVersionRange(`^${jsiiVersionSimple}`)}`, 'publication>=0.0.3', - ].concat(dependencies), + ] + .concat(dependencies) + .sort(), classifiers: [ 'Intended Audience :: Developers', 'Operating System :: OS Independent', @@ -1719,7 +1736,7 @@ class Package { // TODO: Might be easier to just use a TOML library to write this out. code.openFile('pyproject.toml'); code.line('[build-system]'); - code.line('requires = ["setuptools >= 38.6.0", "wheel >= 0.31.0"]'); + code.line('requires = ["setuptools >= 49.3.1", "wheel >= 0.34.2"]'); code.line('build-backend = "setuptools.build_meta"'); code.closeFile('pyproject.toml'); diff --git a/packages/jsii-pacmak/package.json b/packages/jsii-pacmak/package.json index ff187ae1a0..2960c63427 100644 --- a/packages/jsii-pacmak/package.json +++ b/packages/jsii-pacmak/package.json @@ -30,8 +30,9 @@ "watch": "tsc --build -w", "lint": "eslint . --ext .js,.ts --ignore-path=.gitignore", "lint:fix": "yarn lint --fix", - "test": "jest && bash test/build-test.sh", - "test:update": "jest -u && bash test/build-test.sh", + "test": "jest && npm run test:build", + "test:build": "bash test/build-test.sh", + "test:update": "jest -u && npm run test:build", "package": "package-js" }, "dependencies": { diff --git a/packages/jsii-pacmak/test/__snapshots__/jsii-pacmak.test.ts.snap b/packages/jsii-pacmak/test/__snapshots__/jsii-pacmak.test.ts.snap index 049f714a02..f428ff92a9 100644 --- a/packages/jsii-pacmak/test/__snapshots__/jsii-pacmak.test.ts.snap +++ b/packages/jsii-pacmak/test/__snapshots__/jsii-pacmak.test.ts.snap @@ -65,169 +65,166 @@ exports[`Generated code for "@scope/jsii-calc-base": / 1`] = ` `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/.jsii 1`] = ` -Object { - Symbol(file): "{ - \\"author\\": { - \\"name\\": \\"Amazon Web Services\\", - \\"organization\\": true, - \\"roles\\": [ - \\"author\\" +{ + "author": { + "name": "Amazon Web Services", + "organization": true, + "roles": [ + "author" ], - \\"url\\": \\"https://aws.amazon.com\\" + "url": "https://aws.amazon.com" }, - \\"dependencies\\": { - \\"@scope/jsii-calc-base-of-base\\": \\"^0.0.0\\" + "dependencies": { + "@scope/jsii-calc-base-of-base": "^0.0.0" }, - \\"dependencyClosure\\": { - \\"@scope/jsii-calc-base-of-base\\": { - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId\\" + "dependencyClosure": { + "@scope/jsii-calc-base-of-base": { + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator-base-of-base\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\" + "java": { + "maven": { + "artifactId": "calculator-base-of-base", + "groupId": "software.amazon.jsii.tests" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator.baseofbase\\" + "package": "software.amazon.jsii.tests.calculator.baseofbase" }, - \\"js\\": { - \\"npm\\": \\"@scope/jsii-calc-base-of-base\\" + "js": { + "npm": "@scope/jsii-calc-base-of-base" }, - \\"python\\": { - \\"distName\\": \\"scope.jsii-calc-base-of-base\\", - \\"module\\": \\"scope.jsii_calc_base_of_base\\" + "python": { + "distName": "scope.jsii-calc-base-of-base", + "module": "scope.jsii_calc_base_of_base" } } } }, - \\"description\\": \\"An example direct dependency for jsii-calc.\\", - \\"homepage\\": \\"https://github.com/aws/jsii\\", - \\"jsiiVersion\\": \\"0.0.0\\", - \\"license\\": \\"Apache-2.0\\", - \\"name\\": \\"@scope/jsii-calc-base\\", - \\"repository\\": { - \\"directory\\": \\"packages/@scope/jsii-calc-base\\", - \\"type\\": \\"git\\", - \\"url\\": \\"https://github.com/aws/jsii.git\\" + "description": "An example direct dependency for jsii-calc.", + "homepage": "https://github.com/aws/jsii", + "jsiiVersion": "0.0.0", + "license": "Apache-2.0", + "name": "@scope/jsii-calc-base", + "repository": { + "directory": "packages/@scope/jsii-calc-base", + "type": "git", + "url": "https://github.com/aws/jsii.git" }, - \\"schema\\": \\"jsii/0.10.0\\", - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId.BasePackageId\\" + "schema": "jsii/0.10.0", + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId.BasePackageId" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator-base\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\" + "java": { + "maven": { + "artifactId": "calculator-base", + "groupId": "software.amazon.jsii.tests" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator.base\\" + "package": "software.amazon.jsii.tests.calculator.base" }, - \\"js\\": { - \\"npm\\": \\"@scope/jsii-calc-base\\" + "js": { + "npm": "@scope/jsii-calc-base" }, - \\"python\\": { - \\"distName\\": \\"scope.jsii-calc-base\\", - \\"module\\": \\"scope.jsii_calc_base\\" + "python": { + "distName": "scope.jsii-calc-base", + "module": "scope.jsii_calc_base" } }, - \\"types\\": { - \\"@scope/jsii-calc-base.Base\\": { - \\"abstract\\": true, - \\"assembly\\": \\"@scope/jsii-calc-base\\", - \\"docs\\": { - \\"summary\\": \\"A base class.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-base.Base\\", - \\"initializer\\": {}, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 6 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"returns\\": \\"the name of the class (to verify native type names are created for derived classes).\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 10 - }, - \\"name\\": \\"typeName\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "types": { + "@scope/jsii-calc-base.Base": { + "abstract": true, + "assembly": "@scope/jsii-calc-base", + "docs": { + "summary": "A base class." + }, + "fqn": "@scope/jsii-calc-base.Base", + "initializer": {}, + "kind": "class", + "locationInModule": { + "filename": "lib/index.ts", + "line": 6 + }, + "methods": [ + { + "docs": { + "returns": "the name of the class (to verify native type names are created for derived classes)." + }, + "locationInModule": { + "filename": "lib/index.ts", + "line": 10 + }, + "name": "typeName", + "returns": { + "type": { + "primitive": "any" } } } ], - \\"name\\": \\"Base\\" + "name": "Base" }, - \\"@scope/jsii-calc-base.BaseProps\\": { - \\"assembly\\": \\"@scope/jsii-calc-base\\", - \\"datatype\\": true, - \\"fqn\\": \\"@scope/jsii-calc-base.BaseProps\\", - \\"interfaces\\": [ - \\"@scope/jsii-calc-base-of-base.VeryBaseProps\\" + "@scope/jsii-calc-base.BaseProps": { + "assembly": "@scope/jsii-calc-base", + "datatype": true, + "fqn": "@scope/jsii-calc-base.BaseProps", + "interfaces": [ + "@scope/jsii-calc-base-of-base.VeryBaseProps" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 15 - }, - \\"name\\": \\"BaseProps\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 16 - }, - \\"name\\": \\"bar\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/index.ts", + "line": 15 + }, + "name": "BaseProps", + "properties": [ + { + "abstract": true, + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 16 + }, + "name": "bar", + "type": { + "primitive": "string" } } ] }, - \\"@scope/jsii-calc-base.IBaseInterface\\": { - \\"assembly\\": \\"@scope/jsii-calc-base\\", - \\"fqn\\": \\"@scope/jsii-calc-base.IBaseInterface\\", - \\"interfaces\\": [ - \\"@scope/jsii-calc-base-of-base.IVeryBaseInterface\\" + "@scope/jsii-calc-base.IBaseInterface": { + "assembly": "@scope/jsii-calc-base", + "fqn": "@scope/jsii-calc-base.IBaseInterface", + "interfaces": [ + "@scope/jsii-calc-base-of-base.IVeryBaseInterface" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 19 + "kind": "interface", + "locationInModule": { + "filename": "lib/index.ts", + "line": 19 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 20 + "abstract": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 20 }, - \\"name\\": \\"bar\\" + "name": "bar" } ], - \\"name\\": \\"IBaseInterface\\" + "name": "IBaseInterface" } }, - \\"version\\": \\"0.0.0\\", - \\"fingerprint\\": \\"ttHhQ5EzgjW0lybCNSKOfqilJ04kp4VK3arcpRl3rBM=\\" -} -", + "version": "0.0.0", + "fingerprint": "ttHhQ5EzgjW0lybCNSKOfqilJ04kp4VK3arcpRl3rBM=" } + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId.csproj 1`] = ` -Object { - Symbol(file): " + An example direct dependency for jsii-calc. @@ -251,31 +248,29 @@ Object { netcoreapp3.1 - + - - + + 0612,0618 -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Base.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { /// A base class. - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Base), fullyQualifiedName: \\"@scope/jsii-calc-base.Base\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Base), fullyQualifiedName: "@scope/jsii-calc-base.Base")] public abstract class Base : DeputyBase { protected Base(): base(new DeputyProps(new object[]{})) @@ -283,34 +278,32 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Base(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Base(DeputyProps props): base(props) { } /// the name of the class (to verify native type names are created for derived classes). - [JsiiMethod(name: \\"typeName\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "typeName", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public virtual object TypeName() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BaseProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -318,17 +311,17 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { #pragma warning disable CS8618 - [JsiiByValue(fqn: \\"@scope/jsii-calc-base.BaseProps\\")] + [JsiiByValue(fqn: "@scope/jsii-calc-base.BaseProps")] public class BaseProps : Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseProps { - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Bar { get; set; } - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-base-of-base.Very\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-base-of-base.Very\\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { get; @@ -336,52 +329,48 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BasePropsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { - [JsiiTypeProxy(nativeType: typeof(IBaseProps), fullyQualifiedName: \\"@scope/jsii-calc-base.BaseProps\\")] + [JsiiTypeProxy(nativeType: typeof(IBaseProps), fullyQualifiedName: "@scope/jsii-calc-base.BaseProps")] internal sealed class BasePropsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseProps { private BasePropsProxy(ByRefValue reference): base(reference) { } - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Bar { get => GetInstanceProperty(); } - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-base-of-base.Very\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-base-of-base.Very\\"}")] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/BaseProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { /// A base class. - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Base), fullyQualifiedName: \\"@scope/jsii-calc-base.Base\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Base), fullyQualifiedName: "@scope/jsii-calc-base.Base")] internal sealed class BaseProxy : Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Base { private BaseProxy(ByRefValue reference): base(reference) @@ -389,86 +378,78 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { - [JsiiInterface(nativeType: typeof(IBaseInterface), fullyQualifiedName: \\"@scope/jsii-calc-base.IBaseInterface\\")] + [JsiiInterface(nativeType: typeof(IBaseInterface), fullyQualifiedName: "@scope/jsii-calc-base.IBaseInterface")] public interface IBaseInterface : Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseInterface { - [JsiiMethod(name: \\"bar\\")] + [JsiiMethod(name: "bar")] void Bar(); } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { - [JsiiTypeProxy(nativeType: typeof(IBaseInterface), fullyQualifiedName: \\"@scope/jsii-calc-base.IBaseInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IBaseInterface), fullyQualifiedName: "@scope/jsii-calc-base.IBaseInterface")] internal sealed class IBaseInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseInterface { private IBaseInterfaceProxy(ByRefValue reference): base(reference) { } - [JsiiMethod(name: \\"bar\\")] + [JsiiMethod(name: "bar")] public void Bar() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } - [JsiiMethod(name: \\"foo\\")] + [JsiiMethod(name: "foo")] public void Foo() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/IBaseProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace { - [JsiiInterface(nativeType: typeof(IBaseProps), fullyQualifiedName: \\"@scope/jsii-calc-base.BaseProps\\")] + [JsiiInterface(nativeType: typeof(IBaseProps), fullyQualifiedName: "@scope/jsii-calc-base.BaseProps")] public interface IBaseProps : Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseProps { - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"string\\"}")] string Bar { get; } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseNamespace/Internal/DependencyResolution/Anchor.cs 1`] = ` -Object { - Symbol(file): "#pragma warning disable CS0672,CS0809,CS1591 +#pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Internal.DependencyResolution { @@ -480,25 +461,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Internal.Dependenc } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/AssemblyInfo.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; + +[assembly: JsiiAssembly("@scope/jsii-calc-base", "0.0.0", "scope-jsii-calc-base-0.0.0.tgz")] -[assembly: JsiiAssembly(\\"@scope/jsii-calc-base\\", \\"0.0.0\\", \\"scope-jsii-calc-base-0.0.0.tgz\\")] -", -} `; exports[`Generated code for "@scope/jsii-calc-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/scope-jsii-calc-base-0.0.0.tgz 1`] = `dotnet/Amazon.JSII.Tests.CalculatorPackageId.BasePackageId/scope-jsii-calc-base-0.0.0.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-base": /java/pom.xml 1`] = ` -Object { - Symbol(file): " - + + 4.0.0 \${project.groupId}:\${project.artifactId} An example direct dependency for jsii-calc. @@ -646,13 +623,11 @@ Object { -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /java/src/main/java/software/amazon/jsii/tests/calculator/base/$Module.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.base; +package software.amazon.jsii.tests.calculator.base; import static java.util.Arrays.asList; @@ -677,13 +652,13 @@ public final class $Module extends JsiiModule { private static Map load() { final Map result = new HashMap<>(); final ClassLoader cl = $Module.class.getClassLoader(); - try (final InputStream is = cl.getResourceAsStream(\\"software/amazon/jsii/tests/calculator/base/$Module.txt\\"); + try (final InputStream is = cl.getResourceAsStream("software/amazon/jsii/tests/calculator/base/$Module.txt"); final Reader rd = new InputStreamReader(is, StandardCharsets.UTF_8); final BufferedReader br = new BufferedReader(rd)) { br.lines() .filter(line -> !line.trim().isEmpty()) .forEach(line -> { - final String[] parts = line.split(\\"=\\", 2); + final String[] parts = line.split("=", 2); final String fqn = parts[0]; final String className = parts[1]; result.put(fqn, className); @@ -698,7 +673,7 @@ public final class $Module extends JsiiModule { private final Map> cache = new HashMap<>(); public $Module() { - super(\\"@scope/jsii-calc-base\\", \\"0.0.0\\", $Module.class, \\"jsii-calc-base@0.0.0.jsii.tgz\\"); + super("@scope/jsii-calc-base", "0.0.0", $Module.class, "jsii-calc-base@0.0.0.jsii.tgz"); } @Override @@ -709,7 +684,7 @@ public final class $Module extends JsiiModule { @Override protected Class resolveClass(final String fqn) throws ClassNotFoundException { if (!MODULE_TYPES.containsKey(fqn)) { - throw new ClassNotFoundException(\\"Unknown JSII type: \\" + fqn); + throw new ClassNotFoundException("Unknown JSII type: " + fqn); } String className = MODULE_TYPES.get(fqn); if (!this.cache.containsKey(className)) { @@ -727,19 +702,17 @@ public final class $Module extends JsiiModule { } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /java/src/main/java/software/amazon/jsii/tests/calculator/base/Base.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.base; +package software.amazon.jsii.tests.calculator.base; /** * A base class. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.base.$Module.class, fqn = \\"@scope/jsii-calc-base.Base\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.base.$Module.class, fqn = "@scope/jsii-calc-base.Base") public abstract class Base extends software.amazon.jsii.JsiiObject { protected Base(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -759,7 +732,7 @@ public abstract class Base extends software.amazon.jsii.JsiiObject { * @return the name of the class (to verify native type names are created for derived classes). */ public @org.jetbrains.annotations.NotNull java.lang.Object typeName() { - return this.jsiiCall(\\"typeName\\", java.lang.Object.class); + return this.jsiiCall("typeName", java.lang.Object.class); } /** @@ -771,16 +744,14 @@ public abstract class Base extends software.amazon.jsii.JsiiObject { } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /java/src/main/java/software/amazon/jsii/tests/calculator/base/BaseProps.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.base; +package software.amazon.jsii.tests.calculator.base; -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.base.$Module.class, fqn = \\"@scope/jsii-calc-base.BaseProps\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.base.$Module.class, fqn = "@scope/jsii-calc-base.BaseProps") @software.amazon.jsii.Jsii.Proxy(BaseProps.Jsii$Proxy.class) public interface BaseProps extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.baseofbase.VeryBaseProps { @@ -843,8 +814,8 @@ public interface BaseProps extends software.amazon.jsii.JsiiSerializable, softwa */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.bar = this.jsiiGet(\\"bar\\", java.lang.String.class); - this.foo = this.jsiiGet(\\"foo\\", software.amazon.jsii.tests.calculator.baseofbase.Very.class); + this.bar = this.jsiiGet("bar", java.lang.String.class); + this.foo = this.jsiiGet("foo", software.amazon.jsii.tests.calculator.baseofbase.Very.class); } /** @@ -852,8 +823,8 @@ public interface BaseProps extends software.amazon.jsii.JsiiSerializable, softwa */ private Jsii$Proxy(final java.lang.String bar, final software.amazon.jsii.tests.calculator.baseofbase.Very foo) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.bar = java.util.Objects.requireNonNull(bar, \\"bar is required\\"); - this.foo = java.util.Objects.requireNonNull(foo, \\"foo is required\\"); + this.bar = java.util.Objects.requireNonNull(bar, "bar is required"); + this.foo = java.util.Objects.requireNonNull(foo, "foo is required"); } @Override @@ -871,15 +842,15 @@ public interface BaseProps extends software.amazon.jsii.JsiiSerializable, softwa final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"bar\\", om.valueToTree(this.getBar())); - data.set(\\"foo\\", om.valueToTree(this.getFoo())); + data.set("bar", om.valueToTree(this.getBar())); + data.set("foo", om.valueToTree(this.getFoo())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"@scope/jsii-calc-base.BaseProps\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("@scope/jsii-calc-base.BaseProps")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -903,16 +874,14 @@ public interface BaseProps extends software.amazon.jsii.JsiiSerializable, softwa } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /java/src/main/java/software/amazon/jsii/tests/calculator/base/IBaseInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.base; +package software.amazon.jsii.tests.calculator.base; -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.base.$Module.class, fqn = \\"@scope/jsii-calc-base.IBaseInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.base.$Module.class, fqn = "@scope/jsii-calc-base.IBaseInterface") @software.amazon.jsii.Jsii.Proxy(IBaseInterface.Jsii$Proxy.class) public interface IBaseInterface extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.baseofbase.IVeryBaseInterface { @@ -928,26 +897,23 @@ public interface IBaseInterface extends software.amazon.jsii.JsiiSerializable, s @Override public void bar() { - this.jsiiCall(\\"bar\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("bar", software.amazon.jsii.NativeType.VOID); } @Override public void foo() { - this.jsiiCall(\\"foo\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("foo", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /java/src/main/resources/software/amazon/jsii/tests/calculator/base/$Module.txt 1`] = ` -Object { - Symbol(file): "@scope/jsii-calc-base.Base=software.amazon.jsii.tests.calculator.base.Base +@scope/jsii-calc-base.Base=software.amazon.jsii.tests.calculator.base.Base @scope/jsii-calc-base.BaseProps=software.amazon.jsii.tests.calculator.base.BaseProps @scope/jsii-calc-base.IBaseInterface=software.amazon.jsii.tests.calculator.base.IBaseInterface -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /java/src/main/resources/software/amazon/jsii/tests/calculator/base/jsii-calc-base@0.0.0.jsii.tgz 1`] = `java/src/main/resources/software/amazon/jsii/tests/calculator/base/jsii-calc-base@0.0.0.jsii.tgz is a tarball`; @@ -955,94 +921,88 @@ exports[`Generated code for "@scope/jsii-calc-base": /java/src/main/reso exports[`Generated code for "@scope/jsii-calc-base": /js/jsii-calc-base@0.0.0.jsii.tgz 1`] = `js/jsii-calc-base@0.0.0.jsii.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-base": /python/MANIFEST.in 1`] = ` -Object { - Symbol(file): "include pyproject.toml -", -} +include pyproject.toml + `; exports[`Generated code for "@scope/jsii-calc-base": /python/README.md 1`] = ` -Object { - Symbol(file): " -", -} + + `; exports[`Generated code for "@scope/jsii-calc-base": /python/pyproject.toml 1`] = ` -Object { - Symbol(file): "[build-system] -requires = [\\"setuptools >= 38.6.0\\", \\"wheel >= 0.31.0\\"] -build-backend = \\"setuptools.build_meta\\" -", -} +[build-system] +requires = ["setuptools >= 49.3.1", "wheel >= 0.34.2"] +build-backend = "setuptools.build_meta" + `; exports[`Generated code for "@scope/jsii-calc-base": /python/setup.py 1`] = ` -Object { - Symbol(file): "import json +import json import setuptools kwargs = json.loads( - \\"\\"\\" + """ { - \\"name\\": \\"scope.jsii-calc-base\\", - \\"version\\": \\"0.0.0\\", - \\"description\\": \\"An example direct dependency for jsii-calc.\\", - \\"license\\": \\"Apache-2.0\\", - \\"url\\": \\"https://github.com/aws/jsii\\", - \\"long_description_content_type\\": \\"text/markdown\\", - \\"author\\": \\"Amazon Web Services\\", - \\"project_urls\\": { - \\"Source\\": \\"https://github.com/aws/jsii.git\\" + "name": "scope.jsii-calc-base", + "version": "0.0.0", + "description": "An example direct dependency for jsii-calc.", + "license": "Apache-2.0", + "url": "https://github.com/aws/jsii", + "long_description_content_type": "text/markdown", + "author": "Amazon Web Services", + "bdist_wheel": { + "universal": true }, - \\"package_dir\\": { - \\"\\": \\"src\\" + "project_urls": { + "Source": "https://github.com/aws/jsii.git" }, - \\"packages\\": [ - \\"scope.jsii_calc_base\\", - \\"scope.jsii_calc_base._jsii\\" + "package_dir": { + "": "src" + }, + "packages": [ + "scope.jsii_calc_base", + "scope.jsii_calc_base._jsii" ], - \\"package_data\\": { - \\"scope.jsii_calc_base._jsii\\": [ - \\"jsii-calc-base@0.0.0.jsii.tgz\\" + "package_data": { + "scope.jsii_calc_base._jsii": [ + "jsii-calc-base@0.0.0.jsii.tgz" ], - \\"scope.jsii_calc_base\\": [ - \\"py.typed\\" + "scope.jsii_calc_base": [ + "py.typed" ] }, - \\"python_requires\\": \\">=3.6\\", - \\"install_requires\\": [ - \\"jsii>=0.0.0, <0.0.1\\", - \\"publication>=0.0.3\\", - \\"scope.jsii-calc-base-of-base>=0.0.0, <0.0.1\\" + "python_requires": ">=3.6", + "install_requires": [ + "jsii>=0.0.0, <0.0.1", + "publication>=0.0.3", + "scope.jsii-calc-base-of-base>=0.0.0, <0.0.1" ], - \\"classifiers\\": [ - \\"Intended Audience :: Developers\\", - \\"Operating System :: OS Independent\\", - \\"Programming Language :: JavaScript\\", - \\"Programming Language :: Python :: 3 :: Only\\", - \\"Programming Language :: Python :: 3.6\\", - \\"Programming Language :: Python :: 3.7\\", - \\"Programming Language :: Python :: 3.8\\", - \\"Typing :: Typed\\", - \\"License :: OSI Approved\\" + "classifiers": [ + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: JavaScript", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Typing :: Typed", + "License :: OSI Approved" ] } -\\"\\"\\" +""" ) -with open(\\"README.md\\") as fp: - kwargs[\\"long_description\\"] = fp.read() +with open("README.md") as fp: + kwargs["long_description"] = fp.read() setuptools.setup(**kwargs) -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /python/src/scope/jsii_calc_base/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -1057,8 +1017,8 @@ from ._jsii import * import scope.jsii_calc_base_of_base -class Base(metaclass=jsii.JSIIAbstractClass, jsii_type=\\"@scope/jsii-calc-base.Base\\"): - \\"\\"\\"A base class.\\"\\"\\" +class Base(metaclass=jsii.JSIIAbstractClass, jsii_type="@scope/jsii-calc-base.Base"): + """A base class.""" @builtins.staticmethod def __jsii_proxy_class__(): @@ -1067,13 +1027,13 @@ class Base(metaclass=jsii.JSIIAbstractClass, jsii_type=\\"@scope/jsii-calc-base. def __init__(self) -> None: jsii.create(Base, self, []) - @jsii.member(jsii_name=\\"typeName\\") + @jsii.member(jsii_name="typeName") def type_name(self) -> typing.Any: - \\"\\"\\" + """ return :return: the name of the class (to verify native type names are created for derived classes). - \\"\\"\\" - return jsii.invoke(self, \\"typeName\\", []) + """ + return jsii.invoke(self, "typeName", []) class _BaseProxy(Base): @@ -1081,28 +1041,28 @@ class _BaseProxy(Base): @jsii.data_type( - jsii_type=\\"@scope/jsii-calc-base.BaseProps\\", + jsii_type="@scope/jsii-calc-base.BaseProps", jsii_struct_bases=[scope.jsii_calc_base_of_base.VeryBaseProps], - name_mapping={\\"foo\\": \\"foo\\", \\"bar\\": \\"bar\\"}, + name_mapping={"foo": "foo", "bar": "bar"}, ) class BaseProps(scope.jsii_calc_base_of_base.VeryBaseProps): def __init__(self, *, foo: scope.jsii_calc_base_of_base.Very, bar: str) -> None: - \\"\\"\\" + """ :param foo: - :param bar: - - \\"\\"\\" + """ self._values = { - \\"foo\\": foo, - \\"bar\\": bar, + "foo": foo, + "bar": bar, } @builtins.property def foo(self) -> scope.jsii_calc_base_of_base.Very: - return self._values.get(\\"foo\\") + return self._values.get("foo") @builtins.property def bar(self) -> str: - return self._values.get(\\"bar\\") + return self._values.get("bar") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -1111,12 +1071,12 @@ class BaseProps(scope.jsii_calc_base_of_base.VeryBaseProps): return not (rhs == self) def __repr__(self) -> str: - return \\"BaseProps(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "BaseProps(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) -@jsii.interface(jsii_type=\\"@scope/jsii-calc-base.IBaseInterface\\") +@jsii.interface(jsii_type="@scope/jsii-calc-base.IBaseInterface") class IBaseInterface( scope.jsii_calc_base_of_base.IVeryBaseInterface, jsii.compat.Protocol ): @@ -1124,7 +1084,7 @@ class IBaseInterface( def __jsii_proxy_class__(): return _IBaseInterfaceProxy - @jsii.member(jsii_name=\\"bar\\") + @jsii.member(jsii_name="bar") def bar(self) -> None: ... @@ -1132,27 +1092,25 @@ class IBaseInterface( class _IBaseInterfaceProxy( jsii.proxy_for(scope.jsii_calc_base_of_base.IVeryBaseInterface) ): - __jsii_type__ = \\"@scope/jsii-calc-base.IBaseInterface\\" + __jsii_type__ = "@scope/jsii-calc-base.IBaseInterface" - @jsii.member(jsii_name=\\"bar\\") + @jsii.member(jsii_name="bar") def bar(self) -> None: - return jsii.invoke(self, \\"bar\\", []) + return jsii.invoke(self, "bar", []) __all__ = [ - \\"Base\\", - \\"BaseProps\\", - \\"IBaseInterface\\", + "Base", + "BaseProps", + "IBaseInterface", ] publication.publish() -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /python/src/scope/jsii_calc_base/_jsii/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -1165,25 +1123,22 @@ import publication import scope.jsii_calc_base_of_base._jsii __jsii_assembly__ = jsii.JSIIAssembly.load( - \\"@scope/jsii-calc-base\\", \\"0.0.0\\", __name__[0:-6], \\"jsii-calc-base@0.0.0.jsii.tgz\\" + "@scope/jsii-calc-base", "0.0.0", __name__[0:-6], "jsii-calc-base@0.0.0.jsii.tgz" ) __all__ = [ - \\"__jsii_assembly__\\", + "__jsii_assembly__", ] publication.publish() -", -} + `; exports[`Generated code for "@scope/jsii-calc-base": /python/src/scope/jsii_calc_base/_jsii/jsii-calc-base@0.0.0.jsii.tgz 1`] = `python/src/scope/jsii_calc_base/_jsii/jsii-calc-base@0.0.0.jsii.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-base": /python/src/scope/jsii_calc_base/py.typed 1`] = ` -Object { - Symbol(file): " -", -} + + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": / 1`] = ` @@ -1250,129 +1205,126 @@ exports[`Generated code for "@scope/jsii-calc-base-of-base": / 1`] = ` `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/.jsii 1`] = ` -Object { - Symbol(file): "{ - \\"author\\": { - \\"name\\": \\"Amazon Web Services\\", - \\"organization\\": true, - \\"roles\\": [ - \\"author\\" +{ + "author": { + "name": "Amazon Web Services", + "organization": true, + "roles": [ + "author" ], - \\"url\\": \\"https://aws.amazon.com\\" + "url": "https://aws.amazon.com" }, - \\"description\\": \\"An example transitive dependency for jsii-calc.\\", - \\"homepage\\": \\"https://github.com/aws/jsii\\", - \\"jsiiVersion\\": \\"0.0.0\\", - \\"license\\": \\"Apache-2.0\\", - \\"name\\": \\"@scope/jsii-calc-base-of-base\\", - \\"repository\\": { - \\"directory\\": \\"packages/@scope/jsii-calc-base-of-base\\", - \\"type\\": \\"git\\", - \\"url\\": \\"https://github.com/aws/jsii.git\\" + "description": "An example transitive dependency for jsii-calc.", + "homepage": "https://github.com/aws/jsii", + "jsiiVersion": "0.0.0", + "license": "Apache-2.0", + "name": "@scope/jsii-calc-base-of-base", + "repository": { + "directory": "packages/@scope/jsii-calc-base-of-base", + "type": "git", + "url": "https://github.com/aws/jsii.git" }, - \\"schema\\": \\"jsii/0.10.0\\", - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId\\" + "schema": "jsii/0.10.0", + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator-base-of-base\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\" + "java": { + "maven": { + "artifactId": "calculator-base-of-base", + "groupId": "software.amazon.jsii.tests" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator.baseofbase\\" + "package": "software.amazon.jsii.tests.calculator.baseofbase" }, - \\"js\\": { - \\"npm\\": \\"@scope/jsii-calc-base-of-base\\" + "js": { + "npm": "@scope/jsii-calc-base-of-base" }, - \\"python\\": { - \\"distName\\": \\"scope.jsii-calc-base-of-base\\", - \\"module\\": \\"scope.jsii_calc_base_of_base\\" + "python": { + "distName": "scope.jsii-calc-base-of-base", + "module": "scope.jsii_calc_base_of_base" } }, - \\"types\\": { - \\"@scope/jsii-calc-base-of-base.IVeryBaseInterface\\": { - \\"assembly\\": \\"@scope/jsii-calc-base-of-base\\", - \\"fqn\\": \\"@scope/jsii-calc-base-of-base.IVeryBaseInterface\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 1 + "types": { + "@scope/jsii-calc-base-of-base.IVeryBaseInterface": { + "assembly": "@scope/jsii-calc-base-of-base", + "fqn": "@scope/jsii-calc-base-of-base.IVeryBaseInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/index.ts", + "line": 1 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 2 + "abstract": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 2 }, - \\"name\\": \\"foo\\" + "name": "foo" } ], - \\"name\\": \\"IVeryBaseInterface\\" + "name": "IVeryBaseInterface" }, - \\"@scope/jsii-calc-base-of-base.Very\\": { - \\"assembly\\": \\"@scope/jsii-calc-base-of-base\\", - \\"fqn\\": \\"@scope/jsii-calc-base-of-base.Very\\", - \\"initializer\\": {}, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 9 - }, - \\"methods\\": [ - { - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 10 - }, - \\"name\\": \\"hey\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "@scope/jsii-calc-base-of-base.Very": { + "assembly": "@scope/jsii-calc-base-of-base", + "fqn": "@scope/jsii-calc-base-of-base.Very", + "initializer": {}, + "kind": "class", + "locationInModule": { + "filename": "lib/index.ts", + "line": 9 + }, + "methods": [ + { + "locationInModule": { + "filename": "lib/index.ts", + "line": 10 + }, + "name": "hey", + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"Very\\" + "name": "Very" }, - \\"@scope/jsii-calc-base-of-base.VeryBaseProps\\": { - \\"assembly\\": \\"@scope/jsii-calc-base-of-base\\", - \\"datatype\\": true, - \\"fqn\\": \\"@scope/jsii-calc-base-of-base.VeryBaseProps\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 5 - }, - \\"name\\": \\"VeryBaseProps\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 6 - }, - \\"name\\": \\"foo\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-base-of-base.Very\\" + "@scope/jsii-calc-base-of-base.VeryBaseProps": { + "assembly": "@scope/jsii-calc-base-of-base", + "datatype": true, + "fqn": "@scope/jsii-calc-base-of-base.VeryBaseProps", + "kind": "interface", + "locationInModule": { + "filename": "lib/index.ts", + "line": 5 + }, + "name": "VeryBaseProps", + "properties": [ + { + "abstract": true, + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 6 + }, + "name": "foo", + "type": { + "fqn": "@scope/jsii-calc-base-of-base.Very" } } ] } }, - \\"version\\": \\"0.0.0\\", - \\"fingerprint\\": \\"v3mwSbKGQ2aa8g0DEKIeaEXh3csX7PX2MJJxHVRufhI=\\" -} -", + "version": "0.0.0", + "fingerprint": "v3mwSbKGQ2aa8g0DEKIeaEXh3csX7PX2MJJxHVRufhI=" } + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId.csproj 1`] = ` -Object { - Symbol(file): " + An example transitive dependency for jsii-calc. @@ -1396,90 +1348,82 @@ Object { netcoreapp3.1 - + - + 0612,0618 -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { - [JsiiInterface(nativeType: typeof(IVeryBaseInterface), fullyQualifiedName: \\"@scope/jsii-calc-base-of-base.IVeryBaseInterface\\")] + [JsiiInterface(nativeType: typeof(IVeryBaseInterface), fullyQualifiedName: "@scope/jsii-calc-base-of-base.IVeryBaseInterface")] public interface IVeryBaseInterface { - [JsiiMethod(name: \\"foo\\")] + [JsiiMethod(name: "foo")] void Foo(); } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { - [JsiiTypeProxy(nativeType: typeof(IVeryBaseInterface), fullyQualifiedName: \\"@scope/jsii-calc-base-of-base.IVeryBaseInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IVeryBaseInterface), fullyQualifiedName: "@scope/jsii-calc-base-of-base.IVeryBaseInterface")] internal sealed class IVeryBaseInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseInterface { private IVeryBaseInterfaceProxy(ByRefValue reference): base(reference) { } - [JsiiMethod(name: \\"foo\\")] + [JsiiMethod(name: "foo")] public void Foo() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/IVeryBaseProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { - [JsiiInterface(nativeType: typeof(IVeryBaseProps), fullyQualifiedName: \\"@scope/jsii-calc-base-of-base.VeryBaseProps\\")] + [JsiiInterface(nativeType: typeof(IVeryBaseProps), fullyQualifiedName: "@scope/jsii-calc-base-of-base.VeryBaseProps")] public interface IVeryBaseProps { - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-base-of-base.Very\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-base-of-base.Very\\"}")] Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { get; } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Internal/DependencyResolution/Anchor.cs 1`] = ` -Object { - Symbol(file): "#pragma warning disable CS0672,CS0809,CS1591 +#pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Internal.DependencyResolution { @@ -1490,19 +1434,17 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Internal.Dep } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/Very.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very), fullyQualifiedName: \\"@scope/jsii-calc-base-of-base.Very\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very), fullyQualifiedName: "@scope/jsii-calc-base-of-base.Very")] public class Very : DeputyBase { public Very(): base(new DeputyProps(new object[]{})) @@ -1510,33 +1452,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Very(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Very(DeputyProps props): base(props) { } - [JsiiMethod(name: \\"hey\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "hey", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public virtual double Hey() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBaseProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -1544,10 +1484,10 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { #pragma warning disable CS8618 - [JsiiByValue(fqn: \\"@scope/jsii-calc-base-of-base.VeryBaseProps\\")] + [JsiiByValue(fqn: "@scope/jsii-calc-base-of-base.VeryBaseProps")] public class VeryBaseProps : Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseProps { - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-base-of-base.Very\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-base-of-base.Very\\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { get; @@ -1555,51 +1495,45 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseOfBaseNamespace/VeryBasePropsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace { - [JsiiTypeProxy(nativeType: typeof(IVeryBaseProps), fullyQualifiedName: \\"@scope/jsii-calc-base-of-base.VeryBaseProps\\")] + [JsiiTypeProxy(nativeType: typeof(IVeryBaseProps), fullyQualifiedName: "@scope/jsii-calc-base-of-base.VeryBaseProps")] internal sealed class VeryBasePropsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.IVeryBaseProps { private VeryBasePropsProxy(ByRefValue reference): base(reference) { } - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-base-of-base.Very\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-base-of-base.Very\\"}")] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/AssemblyInfo.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; + +[assembly: JsiiAssembly("@scope/jsii-calc-base-of-base", "0.0.0", "scope-jsii-calc-base-of-base-0.0.0.tgz")] -[assembly: JsiiAssembly(\\"@scope/jsii-calc-base-of-base\\", \\"0.0.0\\", \\"scope-jsii-calc-base-of-base-0.0.0.tgz\\")] -", -} `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/scope-jsii-calc-base-of-base-0.0.0.tgz 1`] = `dotnet/Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId/scope-jsii-calc-base-of-base-0.0.0.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-base-of-base": /java/pom.xml 1`] = ` -Object { - Symbol(file): " - + + 4.0.0 \${project.groupId}:\${project.artifactId} An example transitive dependency for jsii-calc. @@ -1742,13 +1676,11 @@ Object { -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /java/src/main/java/software/amazon/jsii/tests/calculator/baseofbase/$Module.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.baseofbase; +package software.amazon.jsii.tests.calculator.baseofbase; import java.io.BufferedReader; import java.io.InputStream; @@ -1770,13 +1702,13 @@ public final class $Module extends JsiiModule { private static Map load() { final Map result = new HashMap<>(); final ClassLoader cl = $Module.class.getClassLoader(); - try (final InputStream is = cl.getResourceAsStream(\\"software/amazon/jsii/tests/calculator/baseofbase/$Module.txt\\"); + try (final InputStream is = cl.getResourceAsStream("software/amazon/jsii/tests/calculator/baseofbase/$Module.txt"); final Reader rd = new InputStreamReader(is, StandardCharsets.UTF_8); final BufferedReader br = new BufferedReader(rd)) { br.lines() .filter(line -> !line.trim().isEmpty()) .forEach(line -> { - final String[] parts = line.split(\\"=\\", 2); + final String[] parts = line.split("=", 2); final String fqn = parts[0]; final String className = parts[1]; result.put(fqn, className); @@ -1791,13 +1723,13 @@ public final class $Module extends JsiiModule { private final Map> cache = new HashMap<>(); public $Module() { - super(\\"@scope/jsii-calc-base-of-base\\", \\"0.0.0\\", $Module.class, \\"jsii-calc-base-of-base@0.0.0.jsii.tgz\\"); + super("@scope/jsii-calc-base-of-base", "0.0.0", $Module.class, "jsii-calc-base-of-base@0.0.0.jsii.tgz"); } @Override protected Class resolveClass(final String fqn) throws ClassNotFoundException { if (!MODULE_TYPES.containsKey(fqn)) { - throw new ClassNotFoundException(\\"Unknown JSII type: \\" + fqn); + throw new ClassNotFoundException("Unknown JSII type: " + fqn); } String className = MODULE_TYPES.get(fqn); if (!this.cache.containsKey(className)) { @@ -1815,16 +1747,14 @@ public final class $Module extends JsiiModule { } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /java/src/main/java/software/amazon/jsii/tests/calculator/baseofbase/IVeryBaseInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.baseofbase; +package software.amazon.jsii.tests.calculator.baseofbase; -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.baseofbase.$Module.class, fqn = \\"@scope/jsii-calc-base-of-base.IVeryBaseInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.baseofbase.$Module.class, fqn = "@scope/jsii-calc-base-of-base.IVeryBaseInterface") @software.amazon.jsii.Jsii.Proxy(IVeryBaseInterface.Jsii$Proxy.class) public interface IVeryBaseInterface extends software.amazon.jsii.JsiiSerializable { @@ -1840,20 +1770,18 @@ public interface IVeryBaseInterface extends software.amazon.jsii.JsiiSerializabl @Override public void foo() { - this.jsiiCall(\\"foo\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("foo", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /java/src/main/java/software/amazon/jsii/tests/calculator/baseofbase/Very.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.baseofbase; +package software.amazon.jsii.tests.calculator.baseofbase; -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.baseofbase.$Module.class, fqn = \\"@scope/jsii-calc-base-of-base.Very\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.baseofbase.$Module.class, fqn = "@scope/jsii-calc-base-of-base.Very") public class Very extends software.amazon.jsii.JsiiObject { protected Very(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -1870,19 +1798,17 @@ public class Very extends software.amazon.jsii.JsiiObject { } public @org.jetbrains.annotations.NotNull java.lang.Number hey() { - return this.jsiiCall(\\"hey\\", java.lang.Number.class); + return this.jsiiCall("hey", java.lang.Number.class); } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /java/src/main/java/software/amazon/jsii/tests/calculator/baseofbase/VeryBaseProps.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.baseofbase; +package software.amazon.jsii.tests.calculator.baseofbase; -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.baseofbase.$Module.class, fqn = \\"@scope/jsii-calc-base-of-base.VeryBaseProps\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.baseofbase.$Module.class, fqn = "@scope/jsii-calc-base-of-base.VeryBaseProps") @software.amazon.jsii.Jsii.Proxy(VeryBaseProps.Jsii$Proxy.class) public interface VeryBaseProps extends software.amazon.jsii.JsiiSerializable { @@ -1933,7 +1859,7 @@ public interface VeryBaseProps extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.foo = this.jsiiGet(\\"foo\\", software.amazon.jsii.tests.calculator.baseofbase.Very.class); + this.foo = this.jsiiGet("foo", software.amazon.jsii.tests.calculator.baseofbase.Very.class); } /** @@ -1941,7 +1867,7 @@ public interface VeryBaseProps extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final software.amazon.jsii.tests.calculator.baseofbase.Very foo) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.foo = java.util.Objects.requireNonNull(foo, \\"foo is required\\"); + this.foo = java.util.Objects.requireNonNull(foo, "foo is required"); } @Override @@ -1954,14 +1880,14 @@ public interface VeryBaseProps extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"foo\\", om.valueToTree(this.getFoo())); + data.set("foo", om.valueToTree(this.getFoo())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"@scope/jsii-calc-base-of-base.VeryBaseProps\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("@scope/jsii-calc-base-of-base.VeryBaseProps")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -1983,17 +1909,14 @@ public interface VeryBaseProps extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /java/src/main/resources/software/amazon/jsii/tests/calculator/baseofbase/$Module.txt 1`] = ` -Object { - Symbol(file): "@scope/jsii-calc-base-of-base.IVeryBaseInterface=software.amazon.jsii.tests.calculator.baseofbase.IVeryBaseInterface +@scope/jsii-calc-base-of-base.IVeryBaseInterface=software.amazon.jsii.tests.calculator.baseofbase.IVeryBaseInterface @scope/jsii-calc-base-of-base.Very=software.amazon.jsii.tests.calculator.baseofbase.Very @scope/jsii-calc-base-of-base.VeryBaseProps=software.amazon.jsii.tests.calculator.baseofbase.VeryBaseProps -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /java/src/main/resources/software/amazon/jsii/tests/calculator/baseofbase/jsii-calc-base-of-base@0.0.0.jsii.tgz 1`] = `java/src/main/resources/software/amazon/jsii/tests/calculator/baseofbase/jsii-calc-base-of-base@0.0.0.jsii.tgz is a tarball`; @@ -2001,93 +1924,87 @@ exports[`Generated code for "@scope/jsii-calc-base-of-base": /java/src/m exports[`Generated code for "@scope/jsii-calc-base-of-base": /js/jsii-calc-base-of-base@0.0.0.jsii.tgz 1`] = `js/jsii-calc-base-of-base@0.0.0.jsii.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/MANIFEST.in 1`] = ` -Object { - Symbol(file): "include pyproject.toml -", -} +include pyproject.toml + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/README.md 1`] = ` -Object { - Symbol(file): " -", -} + + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/pyproject.toml 1`] = ` -Object { - Symbol(file): "[build-system] -requires = [\\"setuptools >= 38.6.0\\", \\"wheel >= 0.31.0\\"] -build-backend = \\"setuptools.build_meta\\" -", -} +[build-system] +requires = ["setuptools >= 49.3.1", "wheel >= 0.34.2"] +build-backend = "setuptools.build_meta" + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/setup.py 1`] = ` -Object { - Symbol(file): "import json +import json import setuptools kwargs = json.loads( - \\"\\"\\" + """ { - \\"name\\": \\"scope.jsii-calc-base-of-base\\", - \\"version\\": \\"0.0.0\\", - \\"description\\": \\"An example transitive dependency for jsii-calc.\\", - \\"license\\": \\"Apache-2.0\\", - \\"url\\": \\"https://github.com/aws/jsii\\", - \\"long_description_content_type\\": \\"text/markdown\\", - \\"author\\": \\"Amazon Web Services\\", - \\"project_urls\\": { - \\"Source\\": \\"https://github.com/aws/jsii.git\\" + "name": "scope.jsii-calc-base-of-base", + "version": "0.0.0", + "description": "An example transitive dependency for jsii-calc.", + "license": "Apache-2.0", + "url": "https://github.com/aws/jsii", + "long_description_content_type": "text/markdown", + "author": "Amazon Web Services", + "bdist_wheel": { + "universal": true + }, + "project_urls": { + "Source": "https://github.com/aws/jsii.git" }, - \\"package_dir\\": { - \\"\\": \\"src\\" + "package_dir": { + "": "src" }, - \\"packages\\": [ - \\"scope.jsii_calc_base_of_base\\", - \\"scope.jsii_calc_base_of_base._jsii\\" + "packages": [ + "scope.jsii_calc_base_of_base", + "scope.jsii_calc_base_of_base._jsii" ], - \\"package_data\\": { - \\"scope.jsii_calc_base_of_base._jsii\\": [ - \\"jsii-calc-base-of-base@0.0.0.jsii.tgz\\" + "package_data": { + "scope.jsii_calc_base_of_base._jsii": [ + "jsii-calc-base-of-base@0.0.0.jsii.tgz" ], - \\"scope.jsii_calc_base_of_base\\": [ - \\"py.typed\\" + "scope.jsii_calc_base_of_base": [ + "py.typed" ] }, - \\"python_requires\\": \\">=3.6\\", - \\"install_requires\\": [ - \\"jsii>=0.0.0, <0.0.1\\", - \\"publication>=0.0.3\\" + "python_requires": ">=3.6", + "install_requires": [ + "jsii>=0.0.0, <0.0.1", + "publication>=0.0.3" ], - \\"classifiers\\": [ - \\"Intended Audience :: Developers\\", - \\"Operating System :: OS Independent\\", - \\"Programming Language :: JavaScript\\", - \\"Programming Language :: Python :: 3 :: Only\\", - \\"Programming Language :: Python :: 3.6\\", - \\"Programming Language :: Python :: 3.7\\", - \\"Programming Language :: Python :: 3.8\\", - \\"Typing :: Typed\\", - \\"License :: OSI Approved\\" + "classifiers": [ + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: JavaScript", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Typing :: Typed", + "License :: OSI Approved" ] } -\\"\\"\\" +""" ) -with open(\\"README.md\\") as fp: - kwargs[\\"long_description\\"] = fp.read() +with open("README.md") as fp: + kwargs["long_description"] = fp.read() setuptools.setup(**kwargs) -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/src/scope/jsii_calc_base_of_base/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -2100,51 +2017,51 @@ import publication from ._jsii import * -@jsii.interface(jsii_type=\\"@scope/jsii-calc-base-of-base.IVeryBaseInterface\\") +@jsii.interface(jsii_type="@scope/jsii-calc-base-of-base.IVeryBaseInterface") class IVeryBaseInterface(jsii.compat.Protocol): @builtins.staticmethod def __jsii_proxy_class__(): return _IVeryBaseInterfaceProxy - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> None: ... class _IVeryBaseInterfaceProxy: - __jsii_type__ = \\"@scope/jsii-calc-base-of-base.IVeryBaseInterface\\" + __jsii_type__ = "@scope/jsii-calc-base-of-base.IVeryBaseInterface" - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> None: - return jsii.invoke(self, \\"foo\\", []) + return jsii.invoke(self, "foo", []) -class Very(metaclass=jsii.JSIIMeta, jsii_type=\\"@scope/jsii-calc-base-of-base.Very\\"): +class Very(metaclass=jsii.JSIIMeta, jsii_type="@scope/jsii-calc-base-of-base.Very"): def __init__(self) -> None: jsii.create(Very, self, []) - @jsii.member(jsii_name=\\"hey\\") + @jsii.member(jsii_name="hey") def hey(self) -> jsii.Number: - return jsii.invoke(self, \\"hey\\", []) + return jsii.invoke(self, "hey", []) @jsii.data_type( - jsii_type=\\"@scope/jsii-calc-base-of-base.VeryBaseProps\\", + jsii_type="@scope/jsii-calc-base-of-base.VeryBaseProps", jsii_struct_bases=[], - name_mapping={\\"foo\\": \\"foo\\"}, + name_mapping={"foo": "foo"}, ) class VeryBaseProps: - def __init__(self, *, foo: \\"Very\\") -> None: - \\"\\"\\" + def __init__(self, *, foo: "Very") -> None: + """ :param foo: - - \\"\\"\\" + """ self._values = { - \\"foo\\": foo, + "foo": foo, } @builtins.property - def foo(self) -> \\"Very\\": - return self._values.get(\\"foo\\") + def foo(self) -> "Very": + return self._values.get("foo") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -2153,25 +2070,23 @@ class VeryBaseProps: return not (rhs == self) def __repr__(self) -> str: - return \\"VeryBaseProps(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "VeryBaseProps(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) __all__ = [ - \\"IVeryBaseInterface\\", - \\"Very\\", - \\"VeryBaseProps\\", + "IVeryBaseInterface", + "Very", + "VeryBaseProps", ] publication.publish() -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/src/scope/jsii_calc_base_of_base/_jsii/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -2182,28 +2097,25 @@ import jsii.compat import publication __jsii_assembly__ = jsii.JSIIAssembly.load( - \\"@scope/jsii-calc-base-of-base\\", - \\"0.0.0\\", + "@scope/jsii-calc-base-of-base", + "0.0.0", __name__[0:-6], - \\"jsii-calc-base-of-base@0.0.0.jsii.tgz\\", + "jsii-calc-base-of-base@0.0.0.jsii.tgz", ) __all__ = [ - \\"__jsii_assembly__\\", + "__jsii_assembly__", ] publication.publish() -", -} + `; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/src/scope/jsii_calc_base_of_base/_jsii/jsii-calc-base-of-base@0.0.0.jsii.tgz 1`] = `python/src/scope/jsii_calc_base_of_base/_jsii/jsii-calc-base-of-base@0.0.0.jsii.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/src/scope/jsii_calc_base_of_base/py.typed 1`] = ` -Object { - Symbol(file): " -", -} + + `; exports[`Generated code for "@scope/jsii-calc-lib": / 1`] = ` @@ -2241,6 +2153,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": / 1`] = ` ┃ ┃ ┣━ 📄 IReflectable.cs ┃ ┃ ┣━ 📄 IReflectableEntry.cs ┃ ┃ ┣━ 📄 IReflectableProxy.cs + ┃ ┃ ┣━ 📄 NestingClass.cs ┃ ┃ ┣━ 📄 ReflectableEntry.cs ┃ ┃ ┣━ 📄 ReflectableEntryProxy.cs ┃ ┃ ┗━ 📄 Reflector.cs @@ -2259,6 +2172,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": / 1`] = ` ┃ ┃ ┗━ 📁 calculator ┃ ┃ ┣━ 📁 custom_submodule_name ┃ ┃ ┃ ┣━ 📄 IReflectable.java + ┃ ┃ ┃ ┣━ 📄 NestingClass.java ┃ ┃ ┃ ┣━ 📄 ReflectableEntry.java ┃ ┃ ┃ ┗━ 📄 Reflector.java ┃ ┃ ┗━ 📁 lib @@ -2302,694 +2216,738 @@ exports[`Generated code for "@scope/jsii-calc-lib": / 1`] = ` `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/.jsii 1`] = ` -Object { - Symbol(file): "{ - \\"author\\": { - \\"name\\": \\"Amazon Web Services\\", - \\"organization\\": true, - \\"roles\\": [ - \\"author\\" +{ + "author": { + "name": "Amazon Web Services", + "organization": true, + "roles": [ + "author" ], - \\"url\\": \\"https://aws.amazon.com\\" + "url": "https://aws.amazon.com" }, - \\"dependencies\\": { - \\"@scope/jsii-calc-base\\": \\"^0.0.0\\", - \\"@scope/jsii-calc-base-of-base\\": \\"^0.0.0\\" + "dependencies": { + "@scope/jsii-calc-base": "^0.0.0", + "@scope/jsii-calc-base-of-base": "^0.0.0" }, - \\"dependencyClosure\\": { - \\"@scope/jsii-calc-base\\": { - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId.BasePackageId\\" + "dependencyClosure": { + "@scope/jsii-calc-base": { + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId.BasePackageId" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator-base\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\" + "java": { + "maven": { + "artifactId": "calculator-base", + "groupId": "software.amazon.jsii.tests" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator.base\\" + "package": "software.amazon.jsii.tests.calculator.base" }, - \\"js\\": { - \\"npm\\": \\"@scope/jsii-calc-base\\" + "js": { + "npm": "@scope/jsii-calc-base" }, - \\"python\\": { - \\"distName\\": \\"scope.jsii-calc-base\\", - \\"module\\": \\"scope.jsii_calc_base\\" + "python": { + "distName": "scope.jsii-calc-base", + "module": "scope.jsii_calc_base" } } }, - \\"@scope/jsii-calc-base-of-base\\": { - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId\\" + "@scope/jsii-calc-base-of-base": { + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator-base-of-base\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\" + "java": { + "maven": { + "artifactId": "calculator-base-of-base", + "groupId": "software.amazon.jsii.tests" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator.baseofbase\\" + "package": "software.amazon.jsii.tests.calculator.baseofbase" }, - \\"js\\": { - \\"npm\\": \\"@scope/jsii-calc-base-of-base\\" + "js": { + "npm": "@scope/jsii-calc-base-of-base" }, - \\"python\\": { - \\"distName\\": \\"scope.jsii-calc-base-of-base\\", - \\"module\\": \\"scope.jsii_calc_base_of_base\\" + "python": { + "distName": "scope.jsii-calc-base-of-base", + "module": "scope.jsii_calc_base_of_base" } } } }, - \\"description\\": \\"A simple calcuator library built on JSII.\\", - \\"docs\\": { - \\"deprecated\\": \\"Really just deprecated for shows...\\", - \\"stability\\": \\"deprecated\\" + "description": "A simple calcuator library built on JSII.", + "docs": { + "deprecated": "Really just deprecated for shows...", + "stability": "deprecated" }, - \\"homepage\\": \\"https://github.com/aws/jsii\\", - \\"jsiiVersion\\": \\"0.0.0\\", - \\"license\\": \\"Apache-2.0\\", - \\"name\\": \\"@scope/jsii-calc-lib\\", - \\"repository\\": { - \\"directory\\": \\"packages/@scope/jsii-calc-lib\\", - \\"type\\": \\"git\\", - \\"url\\": \\"https://github.com/aws/jsii.git\\" + "homepage": "https://github.com/aws/jsii", + "jsiiVersion": "0.0.0", + "license": "Apache-2.0", + "name": "@scope/jsii-calc-lib", + "repository": { + "directory": "packages/@scope/jsii-calc-lib", + "type": "git", + "url": "https://github.com/aws/jsii.git" }, - \\"schema\\": \\"jsii/0.10.0\\", - \\"submodules\\": { - \\"@scope/jsii-calc-lib.submodule\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 112 - }, - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CustomSubmoduleName\\" + "schema": "jsii/0.10.0", + "submodules": { + "@scope/jsii-calc-lib.submodule": { + "locationInModule": { + "filename": "lib/index.ts", + "line": 112 + }, + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CustomSubmoduleName" }, - \\"java\\": { - \\"package\\": \\"software.amazon.jsii.tests.calculator.custom_submodule_name\\" + "java": { + "package": "software.amazon.jsii.tests.calculator.custom_submodule_name" }, - \\"python\\": { - \\"module\\": \\"scope.jsii_calc_lib.custom_submodule_name\\" + "python": { + "module": "scope.jsii_calc_lib.custom_submodule_name" } } } }, - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace.LibNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId.LibPackageId\\", - \\"versionSuffix\\": \\"-devpreview\\" + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CalculatorNamespace.LibNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId", + "versionSuffix": "-devpreview" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator-lib\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\", - \\"versionSuffix\\": \\".DEVPREVIEW\\" + "java": { + "maven": { + "artifactId": "calculator-lib", + "groupId": "software.amazon.jsii.tests", + "versionSuffix": ".DEVPREVIEW" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator.lib\\" + "package": "software.amazon.jsii.tests.calculator.lib" }, - \\"js\\": { - \\"npm\\": \\"@scope/jsii-calc-lib\\" + "js": { + "npm": "@scope/jsii-calc-lib" }, - \\"python\\": { - \\"distName\\": \\"scope.jsii-calc-lib\\", - \\"module\\": \\"scope.jsii_calc_lib\\" + "python": { + "distName": "scope.jsii-calc-lib", + "module": "scope.jsii_calc_lib" } }, - \\"types\\": { - \\"@scope/jsii-calc-lib.EnumFromScopedModule\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"docs\\": { - \\"remarks\\": \\"See awslabs/jsii#138\\", - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Check that enums from \\\\\\\\@scoped packages can be references.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.EnumFromScopedModule\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 97 - }, - \\"members\\": [ - { - \\"docs\\": { - \\"stability\\": \\"deprecated\\" - }, - \\"name\\": \\"VALUE1\\" + "types": { + "@scope/jsii-calc-lib.EnumFromScopedModule": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "remarks": "See awslabs/jsii#138", + "stability": "deprecated", + "summary": "Check that enums from \\\\@scoped packages can be references." + }, + "fqn": "@scope/jsii-calc-lib.EnumFromScopedModule", + "kind": "enum", + "locationInModule": { + "filename": "lib/index.ts", + "line": 97 + }, + "members": [ + { + "docs": { + "stability": "deprecated" + }, + "name": "VALUE1" }, { - \\"docs\\": { - \\"stability\\": \\"deprecated\\" + "docs": { + "stability": "deprecated" }, - \\"name\\": \\"VALUE2\\" + "name": "VALUE2" } ], - \\"name\\": \\"EnumFromScopedModule\\" + "name": "EnumFromScopedModule" }, - \\"@scope/jsii-calc-lib.IDoublable\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"The general contract for a concrete number.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.IDoublable\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 23 - }, - \\"name\\": \\"IDoublable\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 24 - }, - \\"name\\": \\"doubleValue\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "@scope/jsii-calc-lib.IDoublable": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "stability": "deprecated", + "summary": "The general contract for a concrete number." + }, + "fqn": "@scope/jsii-calc-lib.IDoublable", + "kind": "interface", + "locationInModule": { + "filename": "lib/index.ts", + "line": 23 + }, + "name": "IDoublable", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "deprecated" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 24 + }, + "name": "doubleValue", + "type": { + "primitive": "number" } } ] }, - \\"@scope/jsii-calc-lib.IFriendly\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"docs\\": { - \\"remarks\\": \\"These classes can be greeted with\\\\na \\\\\\"hello\\\\\\" or \\\\\\"goodbye\\\\\\" blessing and they will respond back in a fun and friendly manner.\\", - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Applies to classes that are considered friendly.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.IFriendly\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 58 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Say hello!\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 62 - }, - \\"name\\": \\"hello\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "@scope/jsii-calc-lib.IFriendly": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "remarks": "These classes can be greeted with\\na \\"hello\\" or \\"goodbye\\" blessing and they will respond back in a fun and friendly manner.", + "stability": "deprecated", + "summary": "Applies to classes that are considered friendly." + }, + "fqn": "@scope/jsii-calc-lib.IFriendly", + "kind": "interface", + "locationInModule": { + "filename": "lib/index.ts", + "line": 58 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "deprecated", + "summary": "Say hello!" + }, + "locationInModule": { + "filename": "lib/index.ts", + "line": 62 + }, + "name": "hello", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"IFriendly\\" + "name": "IFriendly" }, - \\"@scope/jsii-calc-lib.IThreeLevelsInterface\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"docs\\": { - \\"remarks\\": \\"Their presence validates that .NET/Java/jsii-reflect can track all fields\\\\nfar enough up the tree.\\", - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Interface that inherits from packages 2 levels up the tree.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.IThreeLevelsInterface\\", - \\"interfaces\\": [ - \\"@scope/jsii-calc-base.IBaseInterface\\" + "@scope/jsii-calc-lib.IThreeLevelsInterface": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "remarks": "Their presence validates that .NET/Java/jsii-reflect can track all fields\\nfar enough up the tree.", + "stability": "deprecated", + "summary": "Interface that inherits from packages 2 levels up the tree." + }, + "fqn": "@scope/jsii-calc-lib.IThreeLevelsInterface", + "interfaces": [ + "@scope/jsii-calc-base.IBaseInterface" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 108 + "kind": "interface", + "locationInModule": { + "filename": "lib/index.ts", + "line": 108 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\" + "abstract": true, + "docs": { + "stability": "deprecated" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 109 + "locationInModule": { + "filename": "lib/index.ts", + "line": 109 }, - \\"name\\": \\"baz\\" + "name": "baz" } ], - \\"name\\": \\"IThreeLevelsInterface\\" + "name": "IThreeLevelsInterface" }, - \\"@scope/jsii-calc-lib.MyFirstStruct\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"This is the first struct we have created in jsii.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.MyFirstStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 68 - }, - \\"name\\": \\"MyFirstStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"An awesome number value.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 77 - }, - \\"name\\": \\"anumber\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "@scope/jsii-calc-lib.MyFirstStruct": { + "assembly": "@scope/jsii-calc-lib", + "datatype": true, + "docs": { + "stability": "deprecated", + "summary": "This is the first struct we have created in jsii." + }, + "fqn": "@scope/jsii-calc-lib.MyFirstStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/index.ts", + "line": 68 + }, + "name": "MyFirstStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "deprecated", + "summary": "An awesome number value." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 77 + }, + "name": "anumber", + "type": { + "primitive": "number" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"A string value.\\" + "abstract": true, + "docs": { + "stability": "deprecated", + "summary": "A string value." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 72 + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 72 }, - \\"name\\": \\"astring\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "astring", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 78 - }, - \\"name\\": \\"firstOptional\\", - \\"optional\\": true, - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "abstract": true, + "docs": { + "stability": "deprecated" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 78 + }, + "name": "firstOptional", + "optional": true, + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } } ] }, - \\"@scope/jsii-calc-lib.Number\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"base\\": \\"@scope/jsii-calc-lib.Value\\", - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Represents a concrete number.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.Number\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Creates a Number object.\\" + "@scope/jsii-calc-lib.Number": { + "assembly": "@scope/jsii-calc-lib", + "base": "@scope/jsii-calc-lib.Value", + "docs": { + "stability": "deprecated", + "summary": "Represents a concrete number." + }, + "fqn": "@scope/jsii-calc-lib.Number", + "initializer": { + "docs": { + "stability": "deprecated", + "summary": "Creates a Number object." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 35 + "locationInModule": { + "filename": "lib/index.ts", + "line": 35 }, - \\"parameters\\": [ + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"The number.\\" + "docs": { + "summary": "The number." }, - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "type": { + "primitive": "number" } } ] }, - \\"interfaces\\": [ - \\"@scope/jsii-calc-lib.IDoublable\\" + "interfaces": [ + "@scope/jsii-calc-lib.IDoublable" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 30 - }, - \\"name\\": \\"Number\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"The number multiplied by 2.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 42 - }, - \\"name\\": \\"doubleValue\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.IDoublable\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "kind": "class", + "locationInModule": { + "filename": "lib/index.ts", + "line": 30 + }, + "name": "Number", + "properties": [ + { + "docs": { + "stability": "deprecated", + "summary": "The number multiplied by 2." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 42 + }, + "name": "doubleValue", + "overrides": "@scope/jsii-calc-lib.IDoublable", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"The number.\\" + "docs": { + "stability": "deprecated", + "summary": "The number." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 35 + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 35 }, - \\"name\\": \\"value\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "overrides": "@scope/jsii-calc-lib.Value", + "type": { + "primitive": "number" } } ] }, - \\"@scope/jsii-calc-lib.Operation\\": { - \\"abstract\\": true, - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"base\\": \\"@scope/jsii-calc-lib.Value\\", - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Represents an operation on values.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.Operation\\", - \\"initializer\\": {}, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 50 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"String representation of the value.\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 51 - }, - \\"name\\": \\"toString\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Value\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "@scope/jsii-calc-lib.Operation": { + "abstract": true, + "assembly": "@scope/jsii-calc-lib", + "base": "@scope/jsii-calc-lib.Value", + "docs": { + "stability": "deprecated", + "summary": "Represents an operation on values." + }, + "fqn": "@scope/jsii-calc-lib.Operation", + "initializer": {}, + "kind": "class", + "locationInModule": { + "filename": "lib/index.ts", + "line": 50 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "deprecated", + "summary": "String representation of the value." + }, + "locationInModule": { + "filename": "lib/index.ts", + "line": 51 + }, + "name": "toString", + "overrides": "@scope/jsii-calc-lib.Value", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"Operation\\" + "name": "Operation" }, - \\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"This is a struct with only optional properties.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 84 - }, - \\"name\\": \\"StructWithOnlyOptionals\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"The first optional!\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 88 - }, - \\"name\\": \\"optional1\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "@scope/jsii-calc-lib.StructWithOnlyOptionals": { + "assembly": "@scope/jsii-calc-lib", + "datatype": true, + "docs": { + "stability": "deprecated", + "summary": "This is a struct with only optional properties." + }, + "fqn": "@scope/jsii-calc-lib.StructWithOnlyOptionals", + "kind": "interface", + "locationInModule": { + "filename": "lib/index.ts", + "line": 84 + }, + "name": "StructWithOnlyOptionals", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "deprecated", + "summary": "The first optional!" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 88 + }, + "name": "optional1", + "optional": true, + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\" + "abstract": true, + "docs": { + "stability": "deprecated" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 89 + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 89 }, - \\"name\\": \\"optional2\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "optional2", + "optional": true, + "type": { + "primitive": "number" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\" + "abstract": true, + "docs": { + "stability": "deprecated" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 90 + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 90 }, - \\"name\\": \\"optional3\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "optional3", + "optional": true, + "type": { + "primitive": "boolean" } } ] }, - \\"@scope/jsii-calc-lib.Value\\": { - \\"abstract\\": true, - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"base\\": \\"@scope/jsii-calc-base.Base\\", - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Abstract class which represents a numeric value.\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\", - \\"initializer\\": {}, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 6 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"String representation of the value.\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 15 - }, - \\"name\\": \\"toString\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "@scope/jsii-calc-lib.Value": { + "abstract": true, + "assembly": "@scope/jsii-calc-lib", + "base": "@scope/jsii-calc-base.Base", + "docs": { + "stability": "deprecated", + "summary": "Abstract class which represents a numeric value." + }, + "fqn": "@scope/jsii-calc-lib.Value", + "initializer": {}, + "kind": "class", + "locationInModule": { + "filename": "lib/index.ts", + "line": 6 + }, + "methods": [ + { + "docs": { + "stability": "deprecated", + "summary": "String representation of the value." + }, + "locationInModule": { + "filename": "lib/index.ts", + "line": 15 + }, + "name": "toString", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"Value\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"The value.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 10 - }, - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "Value", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "deprecated", + "summary": "The value." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/index.ts", + "line": 10 + }, + "name": "value", + "type": { + "primitive": "number" } } ] }, - \\"@scope/jsii-calc-lib.submodule.IReflectable\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"docs\\": { - \\"stability\\": \\"deprecated\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.submodule.IReflectable\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 1 - }, - \\"name\\": \\"IReflectable\\", - \\"namespace\\": \\"submodule\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 2 - }, - \\"name\\": \\"entries\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\" + "@scope/jsii-calc-lib.submodule.IReflectable": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "stability": "deprecated" + }, + "fqn": "@scope/jsii-calc-lib.submodule.IReflectable", + "kind": "interface", + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 1 + }, + "name": "IReflectable", + "namespace": "submodule", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "deprecated" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 2 + }, + "name": "entries", + "type": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.submodule.ReflectableEntry" }, - \\"kind\\": \\"array\\" + "kind": "array" } } } ] }, - \\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 5 - }, - \\"name\\": \\"ReflectableEntry\\", - \\"namespace\\": \\"submodule\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 6 - }, - \\"name\\": \\"key\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "@scope/jsii-calc-lib.submodule.NestingClass": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "stability": "deprecated", + "summary": "This class is here to show we can use nested classes across module boundaries." + }, + "fqn": "@scope/jsii-calc-lib.submodule.NestingClass", + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 22 + }, + "name": "NestingClass", + "namespace": "submodule" + }, + "@scope/jsii-calc-lib.submodule.NestingClass.NestedClass": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "stability": "deprecated", + "summary": "This class is here to show we can use nested classes across module boundaries." + }, + "fqn": "@scope/jsii-calc-lib.submodule.NestingClass.NestedClass", + "initializer": { + "docs": { + "stability": "deprecated" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 30 + }, + "name": "NestedClass", + "namespace": "submodule.NestingClass", + "properties": [ + { + "docs": { + "stability": "deprecated" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 31 + }, + "name": "property", + "type": { + "primitive": "string" + } + } + ] + }, + "@scope/jsii-calc-lib.submodule.ReflectableEntry": { + "assembly": "@scope/jsii-calc-lib", + "datatype": true, + "docs": { + "stability": "deprecated" + }, + "fqn": "@scope/jsii-calc-lib.submodule.ReflectableEntry", + "kind": "interface", + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 5 + }, + "name": "ReflectableEntry", + "namespace": "submodule", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "deprecated" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 6 + }, + "name": "key", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"deprecated\\" + "abstract": true, + "docs": { + "stability": "deprecated" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 7 + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 7 }, - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "value", + "type": { + "primitive": "any" } } ] }, - \\"@scope/jsii-calc-lib.submodule.Reflector\\": { - \\"assembly\\": \\"@scope/jsii-calc-lib\\", - \\"docs\\": { - \\"stability\\": \\"deprecated\\" - }, - \\"fqn\\": \\"@scope/jsii-calc-lib.submodule.Reflector\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"deprecated\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 11 + "@scope/jsii-calc-lib.submodule.Reflector": { + "assembly": "@scope/jsii-calc-lib", + "docs": { + "stability": "deprecated" + }, + "fqn": "@scope/jsii-calc-lib.submodule.Reflector", + "initializer": { + "docs": { + "stability": "deprecated" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 10 + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 10 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"deprecated\\" + "docs": { + "stability": "deprecated" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 13 + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 11 }, - \\"name\\": \\"asMap\\", - \\"parameters\\": [ + "name": "asMap", + "parameters": [ { - \\"name\\": \\"reflectable\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.submodule.IReflectable\\" + "name": "reflectable", + "type": { + "fqn": "@scope/jsii-calc-lib.submodule.IReflectable" } } ], - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "returns": { + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"map\\" + "kind": "map" } } } } ], - \\"name\\": \\"Reflector\\", - \\"namespace\\": \\"submodule\\" + "name": "Reflector", + "namespace": "submodule" } }, - \\"version\\": \\"0.0.0\\", - \\"fingerprint\\": \\"fVfpIK7xUajlT1zkHIJ8uYJPvy0gLgEe5BM8afu1mVg=\\" -} -", + "version": "0.0.0", + "fingerprint": "f/4VuNiOkSgTgLR80loQUAzAuzFi+25rmfLcRWKDCrY=" } + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId.csproj 1`] = ` -Object { - Symbol(file): " + A simple calcuator library built on JSII. (Stability: Deprecated) @@ -3013,61 +2971,57 @@ Object { netcoreapp3.1 - + - - - + + + 0612,0618 -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/EnumFromScopedModule.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace { - /// Check that enums from \\\\@scoped packages can be references. + /// Check that enums from \\@scoped packages can be references. /// /// See awslabs/jsii#138 /// /// Stability: Deprecated /// - [JsiiEnum(nativeType: typeof(EnumFromScopedModule), fullyQualifiedName: \\"@scope/jsii-calc-lib.EnumFromScopedModule\\")] + [JsiiEnum(nativeType: typeof(EnumFromScopedModule), fullyQualifiedName: "@scope/jsii-calc-lib.EnumFromScopedModule")] [System.Obsolete()] public enum EnumFromScopedModule { /// /// Stability: Deprecated /// - [JsiiEnumMember(name: \\"VALUE1\\")] + [JsiiEnumMember(name: "VALUE1")] [System.Obsolete()] VALUE1, /// /// Stability: Deprecated /// - [JsiiEnumMember(name: \\"VALUE2\\")] + [JsiiEnumMember(name: "VALUE2")] [System.Obsolete()] VALUE2 } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublable.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3077,14 +3031,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiInterface(nativeType: typeof(IDoublable), fullyQualifiedName: \\"@scope/jsii-calc-lib.IDoublable\\")] + [JsiiInterface(nativeType: typeof(IDoublable), fullyQualifiedName: "@scope/jsii-calc-lib.IDoublable")] [System.Obsolete()] public interface IDoublable { /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"doubleValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "doubleValue", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] double DoubleValue { @@ -3092,13 +3046,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IDoublableProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3108,7 +3060,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(IDoublable), fullyQualifiedName: \\"@scope/jsii-calc-lib.IDoublable\\")] + [JsiiTypeProxy(nativeType: typeof(IDoublable), fullyQualifiedName: "@scope/jsii-calc-lib.IDoublable")] [System.Obsolete()] internal sealed class IDoublableProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IDoublable { @@ -3119,7 +3071,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"doubleValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "doubleValue", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public double DoubleValue { @@ -3127,13 +3079,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendly.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3142,11 +3092,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Applies to classes that are considered friendly. /// /// These classes can be greeted with - /// a \\"hello\\" or \\"goodbye\\" blessing and they will respond back in a fun and friendly manner. + /// a "hello" or "goodbye" blessing and they will respond back in a fun and friendly manner. /// /// Stability: Deprecated /// - [JsiiInterface(nativeType: typeof(IFriendly), fullyQualifiedName: \\"@scope/jsii-calc-lib.IFriendly\\")] + [JsiiInterface(nativeType: typeof(IFriendly), fullyQualifiedName: "@scope/jsii-calc-lib.IFriendly")] [System.Obsolete()] public interface IFriendly { @@ -3154,18 +3104,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"hello\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "hello", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] [System.Obsolete()] string Hello(); } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IFriendlyProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3174,11 +3122,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Applies to classes that are considered friendly. /// /// These classes can be greeted with - /// a \\"hello\\" or \\"goodbye\\" blessing and they will respond back in a fun and friendly manner. + /// a "hello" or "goodbye" blessing and they will respond back in a fun and friendly manner. /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(IFriendly), fullyQualifiedName: \\"@scope/jsii-calc-lib.IFriendly\\")] + [JsiiTypeProxy(nativeType: typeof(IFriendly), fullyQualifiedName: "@scope/jsii-calc-lib.IFriendly")] [System.Obsolete()] internal sealed class IFriendlyProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly { @@ -3190,7 +3138,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"hello\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "hello", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] [System.Obsolete()] public string Hello() { @@ -3198,13 +3146,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IMyFirstStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3214,7 +3160,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiInterface(nativeType: typeof(IMyFirstStruct), fullyQualifiedName: \\"@scope/jsii-calc-lib.MyFirstStruct\\")] + [JsiiInterface(nativeType: typeof(IMyFirstStruct), fullyQualifiedName: "@scope/jsii-calc-lib.MyFirstStruct")] [System.Obsolete()] public interface IMyFirstStruct { @@ -3222,7 +3168,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"anumber\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "anumber", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] double Anumber { @@ -3233,7 +3179,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"astring\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "astring", typeJson: "{\\"primitive\\":\\"string\\"}")] [System.Obsolete()] string Astring { @@ -3243,7 +3189,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"firstOptional\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOptional: true)] + [JsiiProperty(name: "firstOptional", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}", isOptional: true)] [System.Obsolete()] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string[]? FirstOptional @@ -3255,13 +3201,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IStructWithOnlyOptionals.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3271,7 +3215,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiInterface(nativeType: typeof(IStructWithOnlyOptionals), fullyQualifiedName: \\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\")] + [JsiiInterface(nativeType: typeof(IStructWithOnlyOptionals), fullyQualifiedName: "@scope/jsii-calc-lib.StructWithOnlyOptionals")] [System.Obsolete()] public interface IStructWithOnlyOptionals { @@ -3279,7 +3223,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"optional1\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optional1", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [System.Obsolete()] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Optional1 @@ -3293,7 +3237,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"optional2\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optional2", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] [System.Obsolete()] [Amazon.JSII.Runtime.Deputy.JsiiOptional] double? Optional2 @@ -3307,7 +3251,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"optional3\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optional3", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] [System.Obsolete()] [Amazon.JSII.Runtime.Deputy.JsiiOptional] bool? Optional3 @@ -3319,13 +3263,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3338,25 +3280,23 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiInterface(nativeType: typeof(IThreeLevelsInterface), fullyQualifiedName: \\"@scope/jsii-calc-lib.IThreeLevelsInterface\\")] + [JsiiInterface(nativeType: typeof(IThreeLevelsInterface), fullyQualifiedName: "@scope/jsii-calc-lib.IThreeLevelsInterface")] [System.Obsolete()] public interface IThreeLevelsInterface : Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseInterface { /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"baz\\")] + [JsiiMethod(name: "baz")] [System.Obsolete()] void Baz(); } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/IThreeLevelsInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3369,7 +3309,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(IThreeLevelsInterface), fullyQualifiedName: \\"@scope/jsii-calc-lib.IThreeLevelsInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IThreeLevelsInterface), fullyQualifiedName: "@scope/jsii-calc-lib.IThreeLevelsInterface")] [System.Obsolete()] internal sealed class IThreeLevelsInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IThreeLevelsInterface { @@ -3380,33 +3320,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"baz\\")] + [JsiiMethod(name: "baz")] [System.Obsolete()] public void Baz() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } - [JsiiMethod(name: \\"bar\\")] + [JsiiMethod(name: "bar")] public void Bar() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } - [JsiiMethod(name: \\"foo\\")] + [JsiiMethod(name: "foo")] public void Foo() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Internal/DependencyResolution/Anchor.cs 1`] = ` -Object { - Symbol(file): "#pragma warning disable CS0672,CS0809,CS1591 +#pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Internal.DependencyResolution { @@ -3419,13 +3357,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Internal.Dependency } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3437,14 +3373,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiByValue(fqn: \\"@scope/jsii-calc-lib.MyFirstStruct\\")] + [JsiiByValue(fqn: "@scope/jsii-calc-lib.MyFirstStruct")] public class MyFirstStruct : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct { /// An awesome number value. /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"anumber\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "anumber", typeJson: "{\\"primitive\\":\\"number\\"}", isOverride: true)] [System.Obsolete()] public double Anumber { @@ -3456,7 +3392,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"astring\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "astring", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] [System.Obsolete()] public string Astring { @@ -3468,7 +3404,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"firstOptional\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "firstOptional", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}", isOptional: true, isOverride: true)] [System.Obsolete()] public string[]? FirstOptional { @@ -3477,13 +3413,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/MyFirstStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3493,7 +3427,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(IMyFirstStruct), fullyQualifiedName: \\"@scope/jsii-calc-lib.MyFirstStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IMyFirstStruct), fullyQualifiedName: "@scope/jsii-calc-lib.MyFirstStruct")] [System.Obsolete()] internal sealed class MyFirstStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct { @@ -3505,7 +3439,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"anumber\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "anumber", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public double Anumber { @@ -3516,7 +3450,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"astring\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "astring", typeJson: "{\\"primitive\\":\\"string\\"}")] [System.Obsolete()] public string Astring { @@ -3527,7 +3461,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"firstOptional\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOptional: true)] + [JsiiProperty(name: "firstOptional", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}", isOptional: true)] [System.Obsolete()] public string[]? FirstOptional { @@ -3535,13 +3469,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Number.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3551,12 +3483,12 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Number), fullyQualifiedName: \\"@scope/jsii-calc-lib.Number\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"The number.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Number), fullyQualifiedName: "@scope/jsii-calc-lib.Number", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"The number.\\"},\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] [System.Obsolete()] public class Number : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IDoublable { /// Creates a Number object. - /// The number. + /// The number. /// /// Stability: Deprecated /// @@ -3566,7 +3498,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.Obsolete()] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Number(ByRefValue reference): base(reference) @@ -3574,7 +3506,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.Obsolete()] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Number(DeputyProps props): base(props) @@ -3585,7 +3517,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"doubleValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "doubleValue", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public virtual double DoubleValue { @@ -3596,7 +3528,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public override double Value { @@ -3604,13 +3536,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Operation.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3620,7 +3550,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation), fullyQualifiedName: \\"@scope/jsii-calc-lib.Operation\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation), fullyQualifiedName: "@scope/jsii-calc-lib.Operation")] [System.Obsolete()] public abstract class Operation : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ { @@ -3629,14 +3559,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Operation(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Operation(DeputyProps props): base(props) { @@ -3646,19 +3576,17 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"toString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "toString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] [System.Obsolete()] public override abstract string ToString(); } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/OperationProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3668,7 +3596,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation), fullyQualifiedName: \\"@scope/jsii-calc-lib.Operation\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation), fullyQualifiedName: "@scope/jsii-calc-lib.Operation")] [System.Obsolete()] internal sealed class OperationProxy : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation { @@ -3680,7 +3608,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public override double Value { @@ -3691,7 +3619,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"toString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "toString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] [System.Obsolete()] public override string ToString() { @@ -3699,13 +3627,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionals.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3715,7 +3641,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiByValue(fqn: \\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\")] + [JsiiByValue(fqn: "@scope/jsii-calc-lib.StructWithOnlyOptionals")] public class StructWithOnlyOptionals : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IStructWithOnlyOptionals { /// The first optional! @@ -3723,7 +3649,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"optional1\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optional1", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] [System.Obsolete()] public string? Optional1 { @@ -3735,7 +3661,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"optional2\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optional2", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true, isOverride: true)] [System.Obsolete()] public double? Optional2 { @@ -3747,7 +3673,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"optional3\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optional3", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true, isOverride: true)] [System.Obsolete()] public bool? Optional3 { @@ -3756,13 +3682,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/StructWithOnlyOptionalsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3772,7 +3696,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(IStructWithOnlyOptionals), fullyQualifiedName: \\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\")] + [JsiiTypeProxy(nativeType: typeof(IStructWithOnlyOptionals), fullyQualifiedName: "@scope/jsii-calc-lib.StructWithOnlyOptionals")] [System.Obsolete()] internal sealed class StructWithOnlyOptionalsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IStructWithOnlyOptionals { @@ -3785,7 +3709,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"optional1\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optional1", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [System.Obsolete()] public string? Optional1 { @@ -3796,7 +3720,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"optional2\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optional2", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] [System.Obsolete()] public double? Optional2 { @@ -3807,7 +3731,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"optional3\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optional3", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] [System.Obsolete()] public bool? Optional3 { @@ -3815,13 +3739,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/Value_.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3831,7 +3753,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_), fullyQualifiedName: \\"@scope/jsii-calc-lib.Value\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_), fullyQualifiedName: "@scope/jsii-calc-lib.Value")] [System.Obsolete()] public abstract class Value_ : Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Base { @@ -3840,14 +3762,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Value_(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Value_(DeputyProps props): base(props) { @@ -3857,7 +3779,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"toString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "toString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] [System.Obsolete()] public override string ToString() { @@ -3868,7 +3790,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public abstract double Value { @@ -3876,13 +3798,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CalculatorNamespace/LibNamespace/ValueProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3892,7 +3812,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_), fullyQualifiedName: \\"@scope/jsii-calc-lib.Value\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_), fullyQualifiedName: "@scope/jsii-calc-lib.Value")] [System.Obsolete()] internal sealed class ValueProxy : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ { @@ -3904,7 +3824,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public override double Value { @@ -3912,13 +3832,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.LibNamespace } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CustomSubmoduleName/IReflectable.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3927,14 +3845,14 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiInterface(nativeType: typeof(IReflectable), fullyQualifiedName: \\"@scope/jsii-calc-lib.submodule.IReflectable\\")] + [JsiiInterface(nativeType: typeof(IReflectable), fullyQualifiedName: "@scope/jsii-calc-lib.submodule.IReflectable")] [System.Obsolete()] public interface IReflectable { /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"entries\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "entries", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\"},\\"kind\\":\\"array\\"}}")] [System.Obsolete()] Amazon.JSII.Tests.CustomSubmoduleName.IReflectableEntry[] Entries { @@ -3942,13 +3860,11 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CustomSubmoduleName/IReflectableEntry.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3957,14 +3873,14 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiInterface(nativeType: typeof(IReflectableEntry), fullyQualifiedName: \\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\")] + [JsiiInterface(nativeType: typeof(IReflectableEntry), fullyQualifiedName: "@scope/jsii-calc-lib.submodule.ReflectableEntry")] [System.Obsolete()] public interface IReflectableEntry { /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"key\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "key", typeJson: "{\\"primitive\\":\\"string\\"}")] [System.Obsolete()] string Key { @@ -3974,7 +3890,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"any\\"}")] [System.Obsolete()] object Value { @@ -3982,13 +3898,11 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CustomSubmoduleName/IReflectableProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -3997,7 +3911,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(IReflectable), fullyQualifiedName: \\"@scope/jsii-calc-lib.submodule.IReflectable\\")] + [JsiiTypeProxy(nativeType: typeof(IReflectable), fullyQualifiedName: "@scope/jsii-calc-lib.submodule.IReflectable")] [System.Obsolete()] internal sealed class IReflectableProxy : DeputyBase, Amazon.JSII.Tests.CustomSubmoduleName.IReflectable { @@ -4008,7 +3922,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"entries\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "entries", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\"},\\"kind\\":\\"array\\"}}")] [System.Obsolete()] public Amazon.JSII.Tests.CustomSubmoduleName.IReflectableEntry[] Entries { @@ -4016,13 +3930,86 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName } } } -", + +`; + +exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CustomSubmoduleName/NestingClass.cs 1`] = ` +using Amazon.JSII.Runtime.Deputy; + +#pragma warning disable CS0672,CS0809,CS1591 + +namespace Amazon.JSII.Tests.CustomSubmoduleName +{ + /// This class is here to show we can use nested classes across module boundaries. + /// + /// Stability: Deprecated + /// + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CustomSubmoduleName.NestingClass), fullyQualifiedName: "@scope/jsii-calc-lib.submodule.NestingClass")] + [System.Obsolete()] + public class NestingClass : DeputyBase + { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + protected NestingClass(ByRefValue reference): base(reference) + { + } + + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + protected NestingClass(DeputyProps props): base(props) + { + } + /// This class is here to show we can use nested classes across module boundaries. + /// + /// Stability: Deprecated + /// + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CustomSubmoduleName.NestingClass.NestedClass), fullyQualifiedName: "@scope/jsii-calc-lib.submodule.NestingClass.NestedClass")] + [System.Obsolete()] + public class NestedClass : DeputyBase + { + /// + /// Stability: Deprecated + /// + [System.Obsolete()] + public NestedClass(): base(new DeputyProps(new object[]{})) + { + } + + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference + [System.Obsolete()] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + protected NestedClass(ByRefValue reference): base(reference) + { + } + + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props + [System.Obsolete()] + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + protected NestedClass(DeputyProps props): base(props) + { + } + + /// + /// Stability: Deprecated + /// + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] + [System.Obsolete()] + public virtual string Property + { + get => GetInstanceProperty(); + } + } + } } + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CustomSubmoduleName/ReflectableEntry.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -4033,13 +4020,13 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiByValue(fqn: \\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\")] + [JsiiByValue(fqn: "@scope/jsii-calc-lib.submodule.ReflectableEntry")] public class ReflectableEntry : Amazon.JSII.Tests.CustomSubmoduleName.IReflectableEntry { /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"key\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "key", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] [System.Obsolete()] public string Key { @@ -4050,7 +4037,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"any\\"}", isOverride: true)] [System.Obsolete()] public object Value { @@ -4059,13 +4046,11 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CustomSubmoduleName/ReflectableEntryProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -4074,7 +4059,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(IReflectableEntry), fullyQualifiedName: \\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\")] + [JsiiTypeProxy(nativeType: typeof(IReflectableEntry), fullyQualifiedName: "@scope/jsii-calc-lib.submodule.ReflectableEntry")] [System.Obsolete()] internal sealed class ReflectableEntryProxy : DeputyBase, Amazon.JSII.Tests.CustomSubmoduleName.IReflectableEntry { @@ -4085,7 +4070,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"key\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "key", typeJson: "{\\"primitive\\":\\"string\\"}")] [System.Obsolete()] public string Key { @@ -4095,7 +4080,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"any\\"}")] [System.Obsolete()] public object Value { @@ -4103,13 +4088,11 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/Amazon/JSII/Tests/CustomSubmoduleName/Reflector.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -4118,7 +4101,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CustomSubmoduleName.Reflector), fullyQualifiedName: \\"@scope/jsii-calc-lib.submodule.Reflector\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CustomSubmoduleName.Reflector), fullyQualifiedName: "@scope/jsii-calc-lib.submodule.Reflector")] [System.Obsolete()] public class Reflector : DeputyBase { @@ -4131,7 +4114,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.Obsolete()] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Reflector(ByRefValue reference): base(reference) @@ -4139,7 +4122,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.Obsolete()] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Reflector(DeputyProps props): base(props) @@ -4149,7 +4132,7 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"asMap\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"reflectable\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.submodule.IReflectable\\\\\\"}}]\\")] + [JsiiMethod(name: "asMap", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"map\\"}}}", parametersJson: "[{\\"name\\":\\"reflectable\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.submodule.IReflectable\\"}}]")] [System.Obsolete()] public virtual System.Collections.Generic.IDictionary AsMap(Amazon.JSII.Tests.CustomSubmoduleName.IReflectable reflectable) { @@ -4157,25 +4140,21 @@ namespace Amazon.JSII.Tests.CustomSubmoduleName } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/AssemblyInfo.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; + +[assembly: JsiiAssembly("@scope/jsii-calc-lib", "0.0.0", "scope-jsii-calc-lib-0.0.0.tgz")] -[assembly: JsiiAssembly(\\"@scope/jsii-calc-lib\\", \\"0.0.0\\", \\"scope-jsii-calc-lib-0.0.0.tgz\\")] -", -} `; exports[`Generated code for "@scope/jsii-calc-lib": /dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/scope-jsii-calc-lib-0.0.0.tgz 1`] = `dotnet/Amazon.JSII.Tests.CalculatorPackageId.LibPackageId/scope-jsii-calc-lib-0.0.0.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-lib": /java/pom.xml 1`] = ` -Object { - Symbol(file): " - + + 4.0.0 \${project.groupId}:\${project.artifactId} A simple calcuator library built on JSII. @@ -4328,18 +4307,16 @@ Object { -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/custom_submodule_name/IReflectable.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.custom_submodule_name; +package software.amazon.jsii.tests.calculator.custom_submodule_name; /** */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.submodule.IReflectable\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.submodule.IReflectable") @software.amazon.jsii.Jsii.Proxy(IReflectable.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @@ -4365,22 +4342,76 @@ public interface IReflectable extends software.amazon.jsii.JsiiSerializable { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.util.List getEntries() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"entries\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.custom_submodule_name.ReflectableEntry.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("entries", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.custom_submodule_name.ReflectableEntry.class)))); } } } -", + +`; + +exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/custom_submodule_name/NestingClass.java 1`] = ` +package software.amazon.jsii.tests.calculator.custom_submodule_name; + +/** + * This class is here to show we can use nested classes across module boundaries. + */ +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) +@Deprecated +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.submodule.NestingClass") +public class NestingClass extends software.amazon.jsii.JsiiObject { + + protected NestingClass(final software.amazon.jsii.JsiiObjectRef objRef) { + super(objRef); + } + + protected NestingClass(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { + super(initializationMode); + } + /** + * This class is here to show we can use nested classes across module boundaries. + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) + @Deprecated + @software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.submodule.NestingClass.NestedClass") + public static class NestedClass extends software.amazon.jsii.JsiiObject { + + protected NestedClass(final software.amazon.jsii.JsiiObjectRef objRef) { + super(objRef); + } + + protected NestedClass(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { + super(initializationMode); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) + @Deprecated + public NestedClass() { + super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) + @Deprecated + public @org.jetbrains.annotations.NotNull java.lang.String getProperty() { + return this.jsiiGet("property", java.lang.String.class); + } + } } + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/custom_submodule_name/ReflectableEntry.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.custom_submodule_name; +package software.amazon.jsii.tests.calculator.custom_submodule_name; /** */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.submodule.ReflectableEntry") @software.amazon.jsii.Jsii.Proxy(ReflectableEntry.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @@ -4467,8 +4498,8 @@ public interface ReflectableEntry extends software.amazon.jsii.JsiiSerializable */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.key = this.jsiiGet(\\"key\\", java.lang.String.class); - this.value = this.jsiiGet(\\"value\\", java.lang.Object.class); + this.key = this.jsiiGet("key", java.lang.String.class); + this.value = this.jsiiGet("value", java.lang.Object.class); } /** @@ -4476,8 +4507,8 @@ public interface ReflectableEntry extends software.amazon.jsii.JsiiSerializable */ private Jsii$Proxy(final java.lang.String key, final java.lang.Object value) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.key = java.util.Objects.requireNonNull(key, \\"key is required\\"); - this.value = java.util.Objects.requireNonNull(value, \\"value is required\\"); + this.key = java.util.Objects.requireNonNull(key, "key is required"); + this.value = java.util.Objects.requireNonNull(value, "value is required"); } @Override @@ -4495,15 +4526,15 @@ public interface ReflectableEntry extends software.amazon.jsii.JsiiSerializable final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"key\\", om.valueToTree(this.getKey())); - data.set(\\"value\\", om.valueToTree(this.getValue())); + data.set("key", om.valueToTree(this.getKey())); + data.set("value", om.valueToTree(this.getValue())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("@scope/jsii-calc-lib.submodule.ReflectableEntry")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -4527,20 +4558,18 @@ public interface ReflectableEntry extends software.amazon.jsii.JsiiSerializable } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/custom_submodule_name/Reflector.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.custom_submodule_name; +package software.amazon.jsii.tests.calculator.custom_submodule_name; /** */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.submodule.Reflector\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.submodule.Reflector") public class Reflector extends software.amazon.jsii.JsiiObject { protected Reflector(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -4566,16 +4595,14 @@ public class Reflector extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.util.Map asMap(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.custom_submodule_name.IReflectable reflectable) { - return java.util.Collections.unmodifiableMap(this.jsiiCall(\\"asMap\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)), new Object[] { java.util.Objects.requireNonNull(reflectable, \\"reflectable is required\\") })); + return java.util.Collections.unmodifiableMap(this.jsiiCall("asMap", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)), new Object[] { java.util.Objects.requireNonNull(reflectable, "reflectable is required") })); } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/$Module.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; import static java.util.Arrays.asList; @@ -4600,13 +4627,13 @@ public final class $Module extends JsiiModule { private static Map load() { final Map result = new HashMap<>(); final ClassLoader cl = $Module.class.getClassLoader(); - try (final InputStream is = cl.getResourceAsStream(\\"software/amazon/jsii/tests/calculator/lib/$Module.txt\\"); + try (final InputStream is = cl.getResourceAsStream("software/amazon/jsii/tests/calculator/lib/$Module.txt"); final Reader rd = new InputStreamReader(is, StandardCharsets.UTF_8); final BufferedReader br = new BufferedReader(rd)) { br.lines() .filter(line -> !line.trim().isEmpty()) .forEach(line -> { - final String[] parts = line.split(\\"=\\", 2); + final String[] parts = line.split("=", 2); final String fqn = parts[0]; final String className = parts[1]; result.put(fqn, className); @@ -4621,7 +4648,7 @@ public final class $Module extends JsiiModule { private final Map> cache = new HashMap<>(); public $Module() { - super(\\"@scope/jsii-calc-lib\\", \\"0.0.0\\", $Module.class, \\"jsii-calc-lib@0.0.0.jsii.tgz\\"); + super("@scope/jsii-calc-lib", "0.0.0", $Module.class, "jsii-calc-lib@0.0.0.jsii.tgz"); } @Override @@ -4632,7 +4659,7 @@ public final class $Module extends JsiiModule { @Override protected Class resolveClass(final String fqn) throws ClassNotFoundException { if (!MODULE_TYPES.containsKey(fqn)) { - throw new ClassNotFoundException(\\"Unknown JSII type: \\" + fqn); + throw new ClassNotFoundException("Unknown JSII type: " + fqn); } String className = MODULE_TYPES.get(fqn); if (!this.cache.containsKey(className)) { @@ -4650,23 +4677,21 @@ public final class $Module extends JsiiModule { } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/EnumFromScopedModule.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; /** - * Check that enums from \\\\@scoped packages can be references. + * Check that enums from \\@scoped packages can be references. *

* See awslabs/jsii#138 */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.EnumFromScopedModule\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.EnumFromScopedModule") public enum EnumFromScopedModule { /** */ @@ -4679,19 +4704,17 @@ public enum EnumFromScopedModule { @Deprecated VALUE2, } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/IDoublable.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; /** * The general contract for a concrete number. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.IDoublable\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.IDoublable") @software.amazon.jsii.Jsii.Proxy(IDoublable.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @@ -4717,26 +4740,24 @@ public interface IDoublable extends software.amazon.jsii.JsiiSerializable { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.Number getDoubleValue() { - return this.jsiiGet(\\"doubleValue\\", java.lang.Number.class); + return this.jsiiGet("doubleValue", java.lang.Number.class); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/IFriendly.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; /** * Applies to classes that are considered friendly. *

* These classes can be greeted with - * a \\"hello\\" or \\"goodbye\\" blessing and they will respond back in a fun and friendly manner. + * a "hello" or "goodbye" blessing and they will respond back in a fun and friendly manner. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.IFriendly\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.IFriendly") @software.amazon.jsii.Jsii.Proxy(IFriendly.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @@ -4764,17 +4785,15 @@ public interface IFriendly extends software.amazon.jsii.JsiiSerializable { @Deprecated @Override public @org.jetbrains.annotations.NotNull java.lang.String hello() { - return this.jsiiCall(\\"hello\\", java.lang.String.class); + return this.jsiiCall("hello", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/IThreeLevelsInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; /** * Interface that inherits from packages 2 levels up the tree. @@ -4782,8 +4801,8 @@ Object { * Their presence validates that .NET/Java/jsii-reflect can track all fields * far enough up the tree. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.IThreeLevelsInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.IThreeLevelsInterface") @software.amazon.jsii.Jsii.Proxy(IThreeLevelsInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @@ -4809,33 +4828,31 @@ public interface IThreeLevelsInterface extends software.amazon.jsii.JsiiSerializ @Deprecated @Override public void baz() { - this.jsiiCall(\\"baz\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("baz", software.amazon.jsii.NativeType.VOID); } @Override public void bar() { - this.jsiiCall(\\"bar\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("bar", software.amazon.jsii.NativeType.VOID); } @Override public void foo() { - this.jsiiCall(\\"foo\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("foo", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/MyFirstStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; /** * This is the first struct we have created in jsii. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.MyFirstStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.MyFirstStruct") @software.amazon.jsii.Jsii.Proxy(MyFirstStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @@ -4946,9 +4963,9 @@ public interface MyFirstStruct extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.anumber = this.jsiiGet(\\"anumber\\", java.lang.Number.class); - this.astring = this.jsiiGet(\\"astring\\", java.lang.String.class); - this.firstOptional = this.jsiiGet(\\"firstOptional\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))); + this.anumber = this.jsiiGet("anumber", java.lang.Number.class); + this.astring = this.jsiiGet("astring", java.lang.String.class); + this.firstOptional = this.jsiiGet("firstOptional", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))); } /** @@ -4956,8 +4973,8 @@ public interface MyFirstStruct extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.Number anumber, final java.lang.String astring, final java.util.List firstOptional) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.anumber = java.util.Objects.requireNonNull(anumber, \\"anumber is required\\"); - this.astring = java.util.Objects.requireNonNull(astring, \\"astring is required\\"); + this.anumber = java.util.Objects.requireNonNull(anumber, "anumber is required"); + this.astring = java.util.Objects.requireNonNull(astring, "astring is required"); this.firstOptional = firstOptional; } @@ -4981,18 +4998,18 @@ public interface MyFirstStruct extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"anumber\\", om.valueToTree(this.getAnumber())); - data.set(\\"astring\\", om.valueToTree(this.getAstring())); + data.set("anumber", om.valueToTree(this.getAnumber())); + data.set("astring", om.valueToTree(this.getAstring())); if (this.getFirstOptional() != null) { - data.set(\\"firstOptional\\", om.valueToTree(this.getFirstOptional())); + data.set("firstOptional", om.valueToTree(this.getFirstOptional())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"@scope/jsii-calc-lib.MyFirstStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("@scope/jsii-calc-lib.MyFirstStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -5018,21 +5035,19 @@ public interface MyFirstStruct extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/Number.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; /** * Represents a concrete number. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.Number\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.Number") public class Number extends software.amazon.jsii.tests.calculator.lib.Value implements software.amazon.jsii.tests.calculator.lib.IDoublable { protected Number(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -5052,7 +5067,7 @@ public class Number extends software.amazon.jsii.tests.calculator.lib.Value impl @Deprecated public Number(final @org.jetbrains.annotations.NotNull java.lang.Number value) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -5062,7 +5077,7 @@ public class Number extends software.amazon.jsii.tests.calculator.lib.Value impl @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.Number getDoubleValue() { - return this.jsiiGet(\\"doubleValue\\", java.lang.Number.class); + return this.jsiiGet("doubleValue", java.lang.Number.class); } /** @@ -5072,24 +5087,22 @@ public class Number extends software.amazon.jsii.tests.calculator.lib.Value impl @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/Operation.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; /** * Represents an operation on values. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.Operation\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.Operation") public abstract class Operation extends software.amazon.jsii.tests.calculator.lib.Value { protected Operation(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -5128,7 +5141,7 @@ public abstract class Operation extends software.amazon.jsii.tests.calculator.li @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } /** @@ -5138,23 +5151,21 @@ public abstract class Operation extends software.amazon.jsii.tests.calculator.li @Deprecated @Override public @org.jetbrains.annotations.NotNull java.lang.String toString() { - return this.jsiiCall(\\"toString\\", java.lang.String.class); + return this.jsiiCall("toString", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/StructWithOnlyOptionals.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; /** * This is a struct with only optional properties. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.StructWithOnlyOptionals") @software.amazon.jsii.Jsii.Proxy(StructWithOnlyOptionals.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @@ -5268,9 +5279,9 @@ public interface StructWithOnlyOptionals extends software.amazon.jsii.JsiiSerial */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.optional1 = this.jsiiGet(\\"optional1\\", java.lang.String.class); - this.optional2 = this.jsiiGet(\\"optional2\\", java.lang.Number.class); - this.optional3 = this.jsiiGet(\\"optional3\\", java.lang.Boolean.class); + this.optional1 = this.jsiiGet("optional1", java.lang.String.class); + this.optional2 = this.jsiiGet("optional2", java.lang.Number.class); + this.optional3 = this.jsiiGet("optional3", java.lang.Boolean.class); } /** @@ -5304,21 +5315,21 @@ public interface StructWithOnlyOptionals extends software.amazon.jsii.JsiiSerial final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getOptional1() != null) { - data.set(\\"optional1\\", om.valueToTree(this.getOptional1())); + data.set("optional1", om.valueToTree(this.getOptional1())); } if (this.getOptional2() != null) { - data.set(\\"optional2\\", om.valueToTree(this.getOptional2())); + data.set("optional2", om.valueToTree(this.getOptional2())); } if (this.getOptional3() != null) { - data.set(\\"optional3\\", om.valueToTree(this.getOptional3())); + data.set("optional3", om.valueToTree(this.getOptional3())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("@scope/jsii-calc-lib.StructWithOnlyOptionals")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -5344,21 +5355,19 @@ public interface StructWithOnlyOptionals extends software.amazon.jsii.JsiiSerial } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/Value.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.lib; +package software.amazon.jsii.tests.calculator.lib; /** * Abstract class which represents a numeric value. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = \\"@scope/jsii-calc-lib.Value\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.lib.$Module.class, fqn = "@scope/jsii-calc-lib.Value") public abstract class Value extends software.amazon.jsii.tests.calculator.base.Base { protected Value(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -5380,7 +5389,7 @@ public abstract class Value extends software.amazon.jsii.tests.calculator.base.B @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.String toString() { - return this.jsiiCall(\\"toString\\", java.lang.String.class); + return this.jsiiCall("toString", java.lang.String.class); } /** @@ -5405,30 +5414,26 @@ public abstract class Value extends software.amazon.jsii.tests.calculator.base.B @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } } } -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/java/software/amazon/jsii/tests/calculator/lib/package-info.java 1`] = ` -Object { - Symbol(file): "/** +/** * * Deprecated: Really just deprecated for shows... */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated package software.amazon.jsii.tests.calculator.lib; -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/resources/software/amazon/jsii/tests/calculator/lib/$Module.txt 1`] = ` -Object { - Symbol(file): "@scope/jsii-calc-lib.EnumFromScopedModule=software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule +@scope/jsii-calc-lib.EnumFromScopedModule=software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule @scope/jsii-calc-lib.IDoublable=software.amazon.jsii.tests.calculator.lib.IDoublable @scope/jsii-calc-lib.IFriendly=software.amazon.jsii.tests.calculator.lib.IFriendly @scope/jsii-calc-lib.IThreeLevelsInterface=software.amazon.jsii.tests.calculator.lib.IThreeLevelsInterface @@ -5438,10 +5443,11 @@ Object { @scope/jsii-calc-lib.StructWithOnlyOptionals=software.amazon.jsii.tests.calculator.lib.StructWithOnlyOptionals @scope/jsii-calc-lib.Value=software.amazon.jsii.tests.calculator.lib.Value @scope/jsii-calc-lib.submodule.IReflectable=software.amazon.jsii.tests.calculator.custom_submodule_name.IReflectable +@scope/jsii-calc-lib.submodule.NestingClass=software.amazon.jsii.tests.calculator.custom_submodule_name.NestingClass +@scope/jsii-calc-lib.submodule.NestingClass.NestedClass=software.amazon.jsii.tests.calculator.custom_submodule_name.NestingClass$NestedClass @scope/jsii-calc-lib.submodule.ReflectableEntry=software.amazon.jsii.tests.calculator.custom_submodule_name.ReflectableEntry @scope/jsii-calc-lib.submodule.Reflector=software.amazon.jsii.tests.calculator.custom_submodule_name.Reflector -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/resources/software/amazon/jsii/tests/calculator/lib/jsii-calc-lib@0.0.0.jsii.tgz 1`] = `java/src/main/resources/software/amazon/jsii/tests/calculator/lib/jsii-calc-lib@0.0.0.jsii.tgz is a tarball`; @@ -5449,97 +5455,91 @@ exports[`Generated code for "@scope/jsii-calc-lib": /java/src/main/resou exports[`Generated code for "@scope/jsii-calc-lib": /js/jsii-calc-lib@0.0.0.jsii.tgz 1`] = `js/jsii-calc-lib@0.0.0.jsii.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-lib": /python/MANIFEST.in 1`] = ` -Object { - Symbol(file): "include pyproject.toml -", -} +include pyproject.toml + `; exports[`Generated code for "@scope/jsii-calc-lib": /python/README.md 1`] = ` -Object { - Symbol(file): " -", -} + + `; exports[`Generated code for "@scope/jsii-calc-lib": /python/pyproject.toml 1`] = ` -Object { - Symbol(file): "[build-system] -requires = [\\"setuptools >= 38.6.0\\", \\"wheel >= 0.31.0\\"] -build-backend = \\"setuptools.build_meta\\" -", -} +[build-system] +requires = ["setuptools >= 49.3.1", "wheel >= 0.34.2"] +build-backend = "setuptools.build_meta" + `; exports[`Generated code for "@scope/jsii-calc-lib": /python/setup.py 1`] = ` -Object { - Symbol(file): "import json +import json import setuptools kwargs = json.loads( - \\"\\"\\" + """ { - \\"name\\": \\"scope.jsii-calc-lib\\", - \\"version\\": \\"0.0.0\\", - \\"description\\": \\"A simple calcuator library built on JSII.\\", - \\"license\\": \\"Apache-2.0\\", - \\"url\\": \\"https://github.com/aws/jsii\\", - \\"long_description_content_type\\": \\"text/markdown\\", - \\"author\\": \\"Amazon Web Services\\", - \\"project_urls\\": { - \\"Source\\": \\"https://github.com/aws/jsii.git\\" + "name": "scope.jsii-calc-lib", + "version": "0.0.0", + "description": "A simple calcuator library built on JSII.", + "license": "Apache-2.0", + "url": "https://github.com/aws/jsii", + "long_description_content_type": "text/markdown", + "author": "Amazon Web Services", + "bdist_wheel": { + "universal": true + }, + "project_urls": { + "Source": "https://github.com/aws/jsii.git" }, - \\"package_dir\\": { - \\"\\": \\"src\\" + "package_dir": { + "": "src" }, - \\"packages\\": [ - \\"scope.jsii_calc_lib\\", - \\"scope.jsii_calc_lib._jsii\\", - \\"scope.jsii_calc_lib.custom_submodule_name\\" + "packages": [ + "scope.jsii_calc_lib", + "scope.jsii_calc_lib._jsii", + "scope.jsii_calc_lib.custom_submodule_name" ], - \\"package_data\\": { - \\"scope.jsii_calc_lib._jsii\\": [ - \\"jsii-calc-lib@0.0.0.jsii.tgz\\" + "package_data": { + "scope.jsii_calc_lib._jsii": [ + "jsii-calc-lib@0.0.0.jsii.tgz" ], - \\"scope.jsii_calc_lib\\": [ - \\"py.typed\\" + "scope.jsii_calc_lib": [ + "py.typed" ] }, - \\"python_requires\\": \\">=3.6\\", - \\"install_requires\\": [ - \\"jsii>=0.0.0, <0.0.1\\", - \\"publication>=0.0.3\\", - \\"scope.jsii-calc-base>=0.0.0, <0.0.1\\", - \\"scope.jsii-calc-base-of-base>=0.0.0, <0.0.1\\" + "python_requires": ">=3.6", + "install_requires": [ + "jsii>=0.0.0, <0.0.1", + "publication>=0.0.3", + "scope.jsii-calc-base-of-base>=0.0.0, <0.0.1", + "scope.jsii-calc-base>=0.0.0, <0.0.1" ], - \\"classifiers\\": [ - \\"Intended Audience :: Developers\\", - \\"Operating System :: OS Independent\\", - \\"Programming Language :: JavaScript\\", - \\"Programming Language :: Python :: 3 :: Only\\", - \\"Programming Language :: Python :: 3.6\\", - \\"Programming Language :: Python :: 3.7\\", - \\"Programming Language :: Python :: 3.8\\", - \\"Typing :: Typed\\", - \\"Development Status :: 7 - Inactive\\", - \\"License :: OSI Approved\\" + "classifiers": [ + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: JavaScript", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Typing :: Typed", + "Development Status :: 7 - Inactive", + "License :: OSI Approved" ] } -\\"\\"\\" +""" ) -with open(\\"README.md\\") as fp: - kwargs[\\"long_description\\"] = fp.read() +with open("README.md") as fp: + kwargs["long_description"] = fp.read() setuptools.setup(**kwargs) -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -5554,168 +5554,168 @@ from ._jsii import * import scope.jsii_calc_base -@jsii.enum(jsii_type=\\"@scope/jsii-calc-lib.EnumFromScopedModule\\") +@jsii.enum(jsii_type="@scope/jsii-calc-lib.EnumFromScopedModule") class EnumFromScopedModule(enum.Enum): - \\"\\"\\"Check that enums from @scoped packages can be references. + """Check that enums from @scoped packages can be references. See awslabs/jsii#138 stability :stability: deprecated - \\"\\"\\" + """ - VALUE1 = \\"VALUE1\\" - \\"\\"\\" + VALUE1 = "VALUE1" + """ stability :stability: deprecated - \\"\\"\\" - VALUE2 = \\"VALUE2\\" - \\"\\"\\" + """ + VALUE2 = "VALUE2" + """ stability :stability: deprecated - \\"\\"\\" + """ -@jsii.interface(jsii_type=\\"@scope/jsii-calc-lib.IDoublable\\") +@jsii.interface(jsii_type="@scope/jsii-calc-lib.IDoublable") class IDoublable(jsii.compat.Protocol): - \\"\\"\\"The general contract for a concrete number. + """The general contract for a concrete number. stability :stability: deprecated - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IDoublableProxy @builtins.property - @jsii.member(jsii_name=\\"doubleValue\\") + @jsii.member(jsii_name="doubleValue") def double_value(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" + """ ... class _IDoublableProxy: - \\"\\"\\"The general contract for a concrete number. + """The general contract for a concrete number. stability :stability: deprecated - \\"\\"\\" + """ - __jsii_type__ = \\"@scope/jsii-calc-lib.IDoublable\\" + __jsii_type__ = "@scope/jsii-calc-lib.IDoublable" @builtins.property - @jsii.member(jsii_name=\\"doubleValue\\") + @jsii.member(jsii_name="doubleValue") def double_value(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" - return jsii.get(self, \\"doubleValue\\") + """ + return jsii.get(self, "doubleValue") -@jsii.interface(jsii_type=\\"@scope/jsii-calc-lib.IFriendly\\") +@jsii.interface(jsii_type="@scope/jsii-calc-lib.IFriendly") class IFriendly(jsii.compat.Protocol): - \\"\\"\\"Applies to classes that are considered friendly. + """Applies to classes that are considered friendly. These classes can be greeted with - a \\"hello\\" or \\"goodbye\\" blessing and they will respond back in a fun and friendly manner. + a "hello" or "goodbye" blessing and they will respond back in a fun and friendly manner. stability :stability: deprecated - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IFriendlyProxy - @jsii.member(jsii_name=\\"hello\\") + @jsii.member(jsii_name="hello") def hello(self) -> str: - \\"\\"\\"Say hello! + """Say hello! stability :stability: deprecated - \\"\\"\\" + """ ... class _IFriendlyProxy: - \\"\\"\\"Applies to classes that are considered friendly. + """Applies to classes that are considered friendly. These classes can be greeted with - a \\"hello\\" or \\"goodbye\\" blessing and they will respond back in a fun and friendly manner. + a "hello" or "goodbye" blessing and they will respond back in a fun and friendly manner. stability :stability: deprecated - \\"\\"\\" + """ - __jsii_type__ = \\"@scope/jsii-calc-lib.IFriendly\\" + __jsii_type__ = "@scope/jsii-calc-lib.IFriendly" - @jsii.member(jsii_name=\\"hello\\") + @jsii.member(jsii_name="hello") def hello(self) -> str: - \\"\\"\\"Say hello! + """Say hello! stability :stability: deprecated - \\"\\"\\" - return jsii.invoke(self, \\"hello\\", []) + """ + return jsii.invoke(self, "hello", []) -@jsii.interface(jsii_type=\\"@scope/jsii-calc-lib.IThreeLevelsInterface\\") +@jsii.interface(jsii_type="@scope/jsii-calc-lib.IThreeLevelsInterface") class IThreeLevelsInterface(scope.jsii_calc_base.IBaseInterface, jsii.compat.Protocol): - \\"\\"\\"Interface that inherits from packages 2 levels up the tree. + """Interface that inherits from packages 2 levels up the tree. Their presence validates that .NET/Java/jsii-reflect can track all fields far enough up the tree. stability :stability: deprecated - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IThreeLevelsInterfaceProxy - @jsii.member(jsii_name=\\"baz\\") + @jsii.member(jsii_name="baz") def baz(self) -> None: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" + """ ... class _IThreeLevelsInterfaceProxy(jsii.proxy_for(scope.jsii_calc_base.IBaseInterface)): - \\"\\"\\"Interface that inherits from packages 2 levels up the tree. + """Interface that inherits from packages 2 levels up the tree. Their presence validates that .NET/Java/jsii-reflect can track all fields far enough up the tree. stability :stability: deprecated - \\"\\"\\" + """ - __jsii_type__ = \\"@scope/jsii-calc-lib.IThreeLevelsInterface\\" + __jsii_type__ = "@scope/jsii-calc-lib.IThreeLevelsInterface" - @jsii.member(jsii_name=\\"baz\\") + @jsii.member(jsii_name="baz") def baz(self) -> None: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" - return jsii.invoke(self, \\"baz\\", []) + """ + return jsii.invoke(self, "baz", []) @jsii.data_type( - jsii_type=\\"@scope/jsii-calc-lib.MyFirstStruct\\", + jsii_type="@scope/jsii-calc-lib.MyFirstStruct", jsii_struct_bases=[], name_mapping={ - \\"anumber\\": \\"anumber\\", - \\"astring\\": \\"astring\\", - \\"first_optional\\": \\"firstOptional\\", + "anumber": "anumber", + "astring": "astring", + "first_optional": "firstOptional", }, ) class MyFirstStruct: @@ -5726,7 +5726,7 @@ class MyFirstStruct: astring: str, first_optional: typing.Optional[typing.List[str]] = None, ) -> None: - \\"\\"\\"This is the first struct we have created in jsii. + """This is the first struct we have created in jsii. :param anumber: An awesome number value. :param astring: A string value. @@ -5734,39 +5734,39 @@ class MyFirstStruct: stability :stability: deprecated - \\"\\"\\" + """ self._values = { - \\"anumber\\": anumber, - \\"astring\\": astring, + "anumber": anumber, + "astring": astring, } if first_optional is not None: - self._values[\\"first_optional\\"] = first_optional + self._values["first_optional"] = first_optional @builtins.property def anumber(self) -> jsii.Number: - \\"\\"\\"An awesome number value. + """An awesome number value. stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"anumber\\") + """ + return self._values.get("anumber") @builtins.property def astring(self) -> str: - \\"\\"\\"A string value. + """A string value. stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"astring\\") + """ + return self._values.get("astring") @builtins.property def first_optional(self) -> typing.Optional[typing.List[str]]: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"first_optional\\") + """ + return self._values.get("first_optional") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -5775,18 +5775,18 @@ class MyFirstStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"MyFirstStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "MyFirstStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\", + jsii_type="@scope/jsii-calc-lib.StructWithOnlyOptionals", jsii_struct_bases=[], name_mapping={ - \\"optional1\\": \\"optional1\\", - \\"optional2\\": \\"optional2\\", - \\"optional3\\": \\"optional3\\", + "optional1": "optional1", + "optional2": "optional2", + "optional3": "optional3", }, ) class StructWithOnlyOptionals: @@ -5797,7 +5797,7 @@ class StructWithOnlyOptionals: optional2: typing.Optional[jsii.Number] = None, optional3: typing.Optional[bool] = None, ) -> None: - \\"\\"\\"This is a struct with only optional properties. + """This is a struct with only optional properties. :param optional1: The first optional! :param optional2: @@ -5805,39 +5805,39 @@ class StructWithOnlyOptionals: stability :stability: deprecated - \\"\\"\\" + """ self._values = {} if optional1 is not None: - self._values[\\"optional1\\"] = optional1 + self._values["optional1"] = optional1 if optional2 is not None: - self._values[\\"optional2\\"] = optional2 + self._values["optional2"] = optional2 if optional3 is not None: - self._values[\\"optional3\\"] = optional3 + self._values["optional3"] = optional3 @builtins.property def optional1(self) -> typing.Optional[str]: - \\"\\"\\"The first optional! + """The first optional! stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"optional1\\") + """ + return self._values.get("optional1") @builtins.property def optional2(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"optional2\\") + """ + return self._values.get("optional2") @builtins.property def optional3(self) -> typing.Optional[bool]: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"optional3\\") + """ + return self._values.get("optional3") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -5846,21 +5846,21 @@ class StructWithOnlyOptionals: return not (rhs == self) def __repr__(self) -> str: - return \\"StructWithOnlyOptionals(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "StructWithOnlyOptionals(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class Value( scope.jsii_calc_base.Base, metaclass=jsii.JSIIAbstractClass, - jsii_type=\\"@scope/jsii-calc-lib.Value\\", + jsii_type="@scope/jsii-calc-lib.Value", ): - \\"\\"\\"Abstract class which represents a numeric value. + """Abstract class which represents a numeric value. stability :stability: deprecated - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): @@ -5869,86 +5869,86 @@ class Value( def __init__(self) -> None: jsii.create(Value, self, []) - @jsii.member(jsii_name=\\"toString\\") + @jsii.member(jsii_name="toString") def to_string(self) -> str: - \\"\\"\\"String representation of the value. + """String representation of the value. stability :stability: deprecated - \\"\\"\\" - return jsii.invoke(self, \\"toString\\", []) + """ + return jsii.invoke(self, "toString", []) @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") @abc.abstractmethod def value(self) -> jsii.Number: - \\"\\"\\"The value. + """The value. stability :stability: deprecated - \\"\\"\\" + """ ... class _ValueProxy(Value, jsii.proxy_for(scope.jsii_calc_base.Base)): @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> jsii.Number: - \\"\\"\\"The value. + """The value. stability :stability: deprecated - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") @jsii.implements(IDoublable) -class Number(Value, metaclass=jsii.JSIIMeta, jsii_type=\\"@scope/jsii-calc-lib.Number\\"): - \\"\\"\\"Represents a concrete number. +class Number(Value, metaclass=jsii.JSIIMeta, jsii_type="@scope/jsii-calc-lib.Number"): + """Represents a concrete number. stability :stability: deprecated - \\"\\"\\" + """ def __init__(self, value: jsii.Number) -> None: - \\"\\"\\"Creates a Number object. + """Creates a Number object. :param value: The number. stability :stability: deprecated - \\"\\"\\" + """ jsii.create(Number, self, [value]) @builtins.property - @jsii.member(jsii_name=\\"doubleValue\\") + @jsii.member(jsii_name="doubleValue") def double_value(self) -> jsii.Number: - \\"\\"\\"The number multiplied by 2. + """The number multiplied by 2. stability :stability: deprecated - \\"\\"\\" - return jsii.get(self, \\"doubleValue\\") + """ + return jsii.get(self, "doubleValue") @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> jsii.Number: - \\"\\"\\"The number. + """The number. stability :stability: deprecated - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") class Operation( - Value, metaclass=jsii.JSIIAbstractClass, jsii_type=\\"@scope/jsii-calc-lib.Operation\\" + Value, metaclass=jsii.JSIIAbstractClass, jsii_type="@scope/jsii-calc-lib.Operation" ): - \\"\\"\\"Represents an operation on values. + """Represents an operation on values. stability :stability: deprecated - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): @@ -5957,48 +5957,46 @@ class Operation( def __init__(self) -> None: jsii.create(Operation, self, []) - @jsii.member(jsii_name=\\"toString\\") + @jsii.member(jsii_name="toString") @abc.abstractmethod def to_string(self) -> str: - \\"\\"\\"String representation of the value. + """String representation of the value. stability :stability: deprecated - \\"\\"\\" + """ ... class _OperationProxy(Operation, jsii.proxy_for(Value)): - @jsii.member(jsii_name=\\"toString\\") + @jsii.member(jsii_name="toString") def to_string(self) -> str: - \\"\\"\\"String representation of the value. + """String representation of the value. stability :stability: deprecated - \\"\\"\\" - return jsii.invoke(self, \\"toString\\", []) + """ + return jsii.invoke(self, "toString", []) __all__ = [ - \\"EnumFromScopedModule\\", - \\"IDoublable\\", - \\"IFriendly\\", - \\"IThreeLevelsInterface\\", - \\"MyFirstStruct\\", - \\"Number\\", - \\"Operation\\", - \\"StructWithOnlyOptionals\\", - \\"Value\\", + "EnumFromScopedModule", + "IDoublable", + "IFriendly", + "IThreeLevelsInterface", + "MyFirstStruct", + "Number", + "Operation", + "StructWithOnlyOptionals", + "Value", ] publication.publish() -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/_jsii/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -6012,23 +6010,21 @@ import scope.jsii_calc_base._jsii import scope.jsii_calc_base_of_base._jsii __jsii_assembly__ = jsii.JSIIAssembly.load( - \\"@scope/jsii-calc-lib\\", \\"0.0.0\\", __name__[0:-6], \\"jsii-calc-lib@0.0.0.jsii.tgz\\" + "@scope/jsii-calc-lib", "0.0.0", __name__[0:-6], "jsii-calc-lib@0.0.0.jsii.tgz" ) __all__ = [ - \\"__jsii_assembly__\\", + "__jsii_assembly__", ] publication.publish() -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/_jsii/jsii-calc-lib@0.0.0.jsii.tgz 1`] = `python/src/scope/jsii_calc_lib/_jsii/jsii-calc-lib@0.0.0.jsii.tgz is a tarball`; exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/custom_submodule_name/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -6041,79 +6037,115 @@ import publication from .._jsii import * -@jsii.interface(jsii_type=\\"@scope/jsii-calc-lib.submodule.IReflectable\\") +@jsii.interface(jsii_type="@scope/jsii-calc-lib.submodule.IReflectable") class IReflectable(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IReflectableProxy @builtins.property - @jsii.member(jsii_name=\\"entries\\") - def entries(self) -> typing.List[\\"ReflectableEntry\\"]: - \\"\\"\\" + @jsii.member(jsii_name="entries") + def entries(self) -> typing.List["ReflectableEntry"]: + """ stability :stability: deprecated - \\"\\"\\" + """ ... class _IReflectableProxy: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" + """ - __jsii_type__ = \\"@scope/jsii-calc-lib.submodule.IReflectable\\" + __jsii_type__ = "@scope/jsii-calc-lib.submodule.IReflectable" @builtins.property - @jsii.member(jsii_name=\\"entries\\") - def entries(self) -> typing.List[\\"ReflectableEntry\\"]: - \\"\\"\\" + @jsii.member(jsii_name="entries") + def entries(self) -> typing.List["ReflectableEntry"]: + """ stability :stability: deprecated - \\"\\"\\" - return jsii.get(self, \\"entries\\") + """ + return jsii.get(self, "entries") + + +class NestingClass( + metaclass=jsii.JSIIMeta, jsii_type="@scope/jsii-calc-lib.submodule.NestingClass" +): + """This class is here to show we can use nested classes across module boundaries. + + stability + :stability: deprecated + """ + + class NestedClass( + metaclass=jsii.JSIIMeta, + jsii_type="@scope/jsii-calc-lib.submodule.NestingClass.NestedClass", + ): + """This class is here to show we can use nested classes across module boundaries. + + stability + :stability: deprecated + """ + + def __init__(self) -> None: + """ + stability + :stability: deprecated + """ + jsii.create(NestingClass.NestedClass, self, []) + + @builtins.property + @jsii.member(jsii_name="property") + def property(self) -> str: + """ + stability + :stability: deprecated + """ + return jsii.get(self, "property") @jsii.data_type( - jsii_type=\\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\", + jsii_type="@scope/jsii-calc-lib.submodule.ReflectableEntry", jsii_struct_bases=[], - name_mapping={\\"key\\": \\"key\\", \\"value\\": \\"value\\"}, + name_mapping={"key": "key", "value": "value"}, ) class ReflectableEntry: def __init__(self, *, key: str, value: typing.Any) -> None: - \\"\\"\\" + """ :param key: :param value: stability :stability: deprecated - \\"\\"\\" + """ self._values = { - \\"key\\": key, - \\"value\\": value, + "key": key, + "value": value, } @builtins.property def key(self) -> str: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"key\\") + """ + return self._values.get("key") @builtins.property def value(self) -> typing.Any: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"value\\") + """ + return self._values.get("value") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -6122,53 +6154,51 @@ class ReflectableEntry: return not (rhs == self) def __repr__(self) -> str: - return \\"ReflectableEntry(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "ReflectableEntry(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class Reflector( - metaclass=jsii.JSIIMeta, jsii_type=\\"@scope/jsii-calc-lib.submodule.Reflector\\" + metaclass=jsii.JSIIMeta, jsii_type="@scope/jsii-calc-lib.submodule.Reflector" ): - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" + """ jsii.create(Reflector, self, []) - @jsii.member(jsii_name=\\"asMap\\") - def as_map(self, reflectable: \\"IReflectable\\") -> typing.Mapping[str, typing.Any]: - \\"\\"\\" + @jsii.member(jsii_name="asMap") + def as_map(self, reflectable: "IReflectable") -> typing.Mapping[str, typing.Any]: + """ :param reflectable: - stability :stability: deprecated - \\"\\"\\" - return jsii.invoke(self, \\"asMap\\", [reflectable]) + """ + return jsii.invoke(self, "asMap", [reflectable]) __all__ = [ - \\"IReflectable\\", - \\"ReflectableEntry\\", - \\"Reflector\\", + "IReflectable", + "NestingClass", + "ReflectableEntry", + "Reflector", ] publication.publish() -", -} + `; exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/py.typed 1`] = ` -Object { - Symbol(file): " -", -} + + `; exports[`Generated code for "jsii-calc": / 1`] = ` @@ -6412,6 +6442,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` ┃ ┃ ┣━ 📄 Multiply.cs ┃ ┃ ┣━ 📄 NamespaceDoc.cs ┃ ┃ ┣━ 📄 Negate.cs + ┃ ┃ ┣━ 📄 NestedClassInstance.cs ┃ ┃ ┣━ 📄 NestedStruct.cs ┃ ┃ ┣━ 📄 NestedStructProxy.cs ┃ ┃ ┣━ 📄 NodeStandardLibrary.cs @@ -6681,6 +6712,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` ┃ ┃ ┣━ 📄 MethodNamedProperty.java ┃ ┃ ┣━ 📄 Multiply.java ┃ ┃ ┣━ 📄 Negate.java + ┃ ┃ ┣━ 📄 NestedClassInstance.java ┃ ┃ ┣━ 📄 NestedStruct.java ┃ ┃ ┣━ 📄 NodeStandardLibrary.java ┃ ┃ ┣━ 📄 NullShouldBeTreatedAsUndefined.java @@ -6819,1935 +6851,1934 @@ exports[`Generated code for "jsii-calc": / 1`] = ` `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/.jsii 1`] = ` -Object { - Symbol(file): "{ - \\"author\\": { - \\"name\\": \\"Amazon Web Services\\", - \\"organization\\": true, - \\"roles\\": [ - \\"author\\" +{ + "author": { + "name": "Amazon Web Services", + "organization": true, + "roles": [ + "author" ], - \\"url\\": \\"https://aws.amazon.com\\" + "url": "https://aws.amazon.com" }, - \\"bundled\\": { - \\"@fixtures/jsii-calc-bundled\\": \\"^0.19.0\\" + "bundled": { + "@fixtures/jsii-calc-bundled": "^0.19.0" }, - \\"contributors\\": [ + "contributors": [ { - \\"name\\": \\"Elad Ben-Israel\\", - \\"roles\\": [ - \\"maintainer\\" + "name": "Elad Ben-Israel", + "roles": [ + "maintainer" ], - \\"url\\": \\"https://github.com/eladb\\" + "url": "https://github.com/eladb" }, { - \\"name\\": \\"Rico Huijbers\\", - \\"roles\\": [ - \\"maintainer\\" + "name": "Rico Huijbers", + "roles": [ + "maintainer" ], - \\"url\\": \\"https://github.com/rix0rrr\\" + "url": "https://github.com/rix0rrr" }, { - \\"name\\": \\"Romain Marcadier-Muller\\", - \\"roles\\": [ - \\"maintainer\\" + "name": "Romain Marcadier-Muller", + "roles": [ + "maintainer" ], - \\"url\\": \\"https://github.com/RomainMuller\\" + "url": "https://github.com/RomainMuller" } ], - \\"dependencies\\": { - \\"@scope/jsii-calc-base\\": \\"^0.0.0\\", - \\"@scope/jsii-calc-base-of-base\\": \\"^0.0.0\\", - \\"@scope/jsii-calc-lib\\": \\"^0.0.0\\" + "dependencies": { + "@scope/jsii-calc-base": "^0.0.0", + "@scope/jsii-calc-base-of-base": "^0.0.0", + "@scope/jsii-calc-lib": "^0.0.0" }, - \\"dependencyClosure\\": { - \\"@scope/jsii-calc-base\\": { - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId.BasePackageId\\" + "dependencyClosure": { + "@scope/jsii-calc-base": { + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId.BasePackageId" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator-base\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\" + "java": { + "maven": { + "artifactId": "calculator-base", + "groupId": "software.amazon.jsii.tests" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator.base\\" + "package": "software.amazon.jsii.tests.calculator.base" }, - \\"js\\": { - \\"npm\\": \\"@scope/jsii-calc-base\\" + "js": { + "npm": "@scope/jsii-calc-base" }, - \\"python\\": { - \\"distName\\": \\"scope.jsii-calc-base\\", - \\"module\\": \\"scope.jsii_calc_base\\" + "python": { + "distName": "scope.jsii-calc-base", + "module": "scope.jsii_calc_base" } } }, - \\"@scope/jsii-calc-base-of-base\\": { - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId\\" + "@scope/jsii-calc-base-of-base": { + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId.BaseOfBasePackageId" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator-base-of-base\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\" + "java": { + "maven": { + "artifactId": "calculator-base-of-base", + "groupId": "software.amazon.jsii.tests" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator.baseofbase\\" + "package": "software.amazon.jsii.tests.calculator.baseofbase" }, - \\"js\\": { - \\"npm\\": \\"@scope/jsii-calc-base-of-base\\" + "js": { + "npm": "@scope/jsii-calc-base-of-base" }, - \\"python\\": { - \\"distName\\": \\"scope.jsii-calc-base-of-base\\", - \\"module\\": \\"scope.jsii_calc_base_of_base\\" + "python": { + "distName": "scope.jsii-calc-base-of-base", + "module": "scope.jsii_calc_base_of_base" } } }, - \\"@scope/jsii-calc-lib\\": { - \\"submodules\\": { - \\"@scope/jsii-calc-lib.submodule\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 112 - }, - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CustomSubmoduleName\\" + "@scope/jsii-calc-lib": { + "submodules": { + "@scope/jsii-calc-lib.submodule": { + "locationInModule": { + "filename": "lib/index.ts", + "line": 112 + }, + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CustomSubmoduleName" }, - \\"java\\": { - \\"package\\": \\"software.amazon.jsii.tests.calculator.custom_submodule_name\\" + "java": { + "package": "software.amazon.jsii.tests.calculator.custom_submodule_name" }, - \\"python\\": { - \\"module\\": \\"scope.jsii_calc_lib.custom_submodule_name\\" + "python": { + "module": "scope.jsii_calc_lib.custom_submodule_name" } } } }, - \\"targets\\": { - \\"dotnet\\": { - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace.LibNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId.LibPackageId\\", - \\"versionSuffix\\": \\"-devpreview\\" + "targets": { + "dotnet": { + "namespace": "Amazon.JSII.Tests.CalculatorNamespace.LibNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId.LibPackageId", + "versionSuffix": "-devpreview" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator-lib\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\", - \\"versionSuffix\\": \\".DEVPREVIEW\\" + "java": { + "maven": { + "artifactId": "calculator-lib", + "groupId": "software.amazon.jsii.tests", + "versionSuffix": ".DEVPREVIEW" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator.lib\\" + "package": "software.amazon.jsii.tests.calculator.lib" }, - \\"js\\": { - \\"npm\\": \\"@scope/jsii-calc-lib\\" + "js": { + "npm": "@scope/jsii-calc-lib" }, - \\"python\\": { - \\"distName\\": \\"scope.jsii-calc-lib\\", - \\"module\\": \\"scope.jsii_calc_lib\\" + "python": { + "distName": "scope.jsii-calc-lib", + "module": "scope.jsii_calc_lib" } } } }, - \\"description\\": \\"A simple calcuator built on JSII.\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "description": "A simple calcuator built on JSII.", + "docs": { + "stability": "experimental" }, - \\"homepage\\": \\"https://github.com/aws/jsii\\", - \\"jsiiVersion\\": \\"0.0.0\\", - \\"keywords\\": [ - \\"aws\\", - \\"jsii\\", - \\"test\\" + "homepage": "https://github.com/aws/jsii", + "jsiiVersion": "0.0.0", + "keywords": [ + "aws", + "jsii", + "test" ], - \\"license\\": \\"Apache-2.0\\", - \\"metadata\\": { - \\"jsii:boolean\\": true, - \\"jsii:number\\": 1337, - \\"jsii:object\\": { - \\"string\\": \\"yes!\\" + "license": "Apache-2.0", + "metadata": { + "jsii:boolean": true, + "jsii:number": 1337, + "jsii:object": { + "string": "yes!" } }, - \\"name\\": \\"jsii-calc\\", - \\"readme\\": { - \\"markdown\\": \\"# jsii Calculator\\\\n\\\\nThis library is used to demonstrate and test the features of JSII\\\\n\\\\n## How to use running sum API:\\\\n\\\\nFirst, create a calculator:\\\\n\\\\n\`\`\`ts\\\\nconst calculator = new calc.Calculator();\\\\n\`\`\`\\\\n\\\\nThen call some operations:\\\\n\\\\n\\\\n\`\`\`ts fixture=with-calculator\\\\ncalculator.add(10);\\\\n\`\`\`\\\\n\\\\n## Code Samples\\\\n\\\\n\`\`\`ts\\\\n/* This is totes a magic comment in here, just you wait! */\\\\nconst foo = 'bar';\\\\n\`\`\`\\\\n\\" + "name": "jsii-calc", + "readme": { + "markdown": "# jsii Calculator\\n\\nThis library is used to demonstrate and test the features of JSII\\n\\n## How to use running sum API:\\n\\nFirst, create a calculator:\\n\\n\`\`\`ts\\nconst calculator = new calc.Calculator();\\n\`\`\`\\n\\nThen call some operations:\\n\\n\\n\`\`\`ts fixture=with-calculator\\ncalculator.add(10);\\n\`\`\`\\n\\n## Code Samples\\n\\n\`\`\`ts\\n/* This is totes a magic comment in here, just you wait! */\\nconst foo = 'bar';\\n\`\`\`\\n" }, - \\"repository\\": { - \\"directory\\": \\"packages/jsii-calc\\", - \\"type\\": \\"git\\", - \\"url\\": \\"https://github.com/aws/jsii.git\\" + "repository": { + "directory": "packages/jsii-calc", + "type": "git", + "url": "https://github.com/aws/jsii.git" }, - \\"schema\\": \\"jsii/0.10.0\\", - \\"submodules\\": { - \\"@scope/jsii-calc-lib.submodule\\": { - \\"locationInModule\\": { - \\"filename\\": \\"../@scope/jsii-calc-lib/build/index.d.ts\\", - \\"line\\": 94 + "schema": "jsii/0.10.0", + "submodules": { + "@scope/jsii-calc-lib.submodule": { + "locationInModule": { + "filename": "../@scope/jsii-calc-lib/build/index.d.ts", + "line": 94 } }, - \\"jsii-calc.DerivedClassHasNoProperties\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 325 + "jsii-calc.DerivedClassHasNoProperties": { + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 325 } }, - \\"jsii-calc.InterfaceInNamespaceIncludesClasses\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1206 + "jsii-calc.InterfaceInNamespaceIncludesClasses": { + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1206 } }, - \\"jsii-calc.InterfaceInNamespaceOnlyInterface\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1199 + "jsii-calc.InterfaceInNamespaceOnlyInterface": { + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1199 } }, - \\"jsii-calc.PythonSelf\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1090 + "jsii-calc.PythonSelf": { + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1090 } }, - \\"jsii-calc.composition\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 134 + "jsii-calc.composition": { + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 134 } }, - \\"jsii-calc.submodule\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/index.ts\\", - \\"line\\": 8 + "jsii-calc.submodule": { + "locationInModule": { + "filename": "lib/index.ts", + "line": 9 } }, - \\"jsii-calc.submodule.back_references\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 5 + "jsii-calc.submodule.back_references": { + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 5 } }, - \\"jsii-calc.submodule.child\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 1 + "jsii-calc.submodule.child": { + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 1 } }, - \\"jsii-calc.submodule.isolated\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/index.ts\\", - \\"line\\": 2 + "jsii-calc.submodule.isolated": { + "locationInModule": { + "filename": "lib/submodule/index.ts", + "line": 2 } }, - \\"jsii-calc.submodule.nested_submodule\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/nested_submodule.ts\\", - \\"line\\": 4 + "jsii-calc.submodule.nested_submodule": { + "locationInModule": { + "filename": "lib/submodule/nested_submodule.ts", + "line": 4 } }, - \\"jsii-calc.submodule.nested_submodule.deeplyNested\\": { - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/nested_submodule.ts\\", - \\"line\\": 6 + "jsii-calc.submodule.nested_submodule.deeplyNested": { + "locationInModule": { + "filename": "lib/submodule/nested_submodule.ts", + "line": 6 } } }, - \\"targets\\": { - \\"dotnet\\": { - \\"iconUrl\\": \\"https://sdk-for-net.amazonwebservices.com/images/AWSLogo128x128.png\\", - \\"namespace\\": \\"Amazon.JSII.Tests.CalculatorNamespace\\", - \\"packageId\\": \\"Amazon.JSII.Tests.CalculatorPackageId\\" + "targets": { + "dotnet": { + "iconUrl": "https://sdk-for-net.amazonwebservices.com/images/AWSLogo128x128.png", + "namespace": "Amazon.JSII.Tests.CalculatorNamespace", + "packageId": "Amazon.JSII.Tests.CalculatorPackageId" }, - \\"java\\": { - \\"maven\\": { - \\"artifactId\\": \\"calculator\\", - \\"groupId\\": \\"software.amazon.jsii.tests\\" + "java": { + "maven": { + "artifactId": "calculator", + "groupId": "software.amazon.jsii.tests" }, - \\"package\\": \\"software.amazon.jsii.tests.calculator\\" + "package": "software.amazon.jsii.tests.calculator" }, - \\"js\\": { - \\"npm\\": \\"jsii-calc\\" + "js": { + "npm": "jsii-calc" }, - \\"python\\": { - \\"distName\\": \\"jsii-calc\\", - \\"module\\": \\"jsii_calc\\" + "python": { + "distName": "jsii-calc", + "module": "jsii_calc" } }, - \\"types\\": { - \\"jsii-calc.AbstractClass\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.AbstractClassBase\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.AbstractClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - } - }, - \\"interfaces\\": [ - \\"jsii-calc.IInterfaceImplementedByAbstractClass\\" + "types": { + "jsii-calc.AbstractClass": { + "abstract": true, + "assembly": "jsii-calc", + "base": "jsii-calc.AbstractClassBase", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.AbstractClass", + "initializer": { + "docs": { + "stability": "experimental" + } + }, + "interfaces": [ + "jsii-calc.IInterfaceImplementedByAbstractClass" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1250 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1250 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1256 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1256 }, - \\"name\\": \\"abstractMethod\\", - \\"parameters\\": [ + "name": "abstractMethod", + "parameters": [ { - \\"name\\": \\"name\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "name", + "type": { + "primitive": "string" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1252 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1252 }, - \\"name\\": \\"nonAbstractMethod\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "nonAbstractMethod", + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"AbstractClass\\", - \\"properties\\": [ + "name": "AbstractClass", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1258 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1258 }, - \\"name\\": \\"propFromInterface\\", - \\"overrides\\": \\"jsii-calc.IInterfaceImplementedByAbstractClass\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "propFromInterface", + "overrides": "jsii-calc.IInterfaceImplementedByAbstractClass", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.AbstractClassBase\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.AbstractClassBase\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - } - }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1246 - }, - \\"name\\": \\"AbstractClassBase\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1247 - }, - \\"name\\": \\"abstractProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.AbstractClassBase": { + "abstract": true, + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.AbstractClassBase", + "initializer": { + "docs": { + "stability": "experimental" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1246 + }, + "name": "AbstractClassBase", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1247 + }, + "name": "abstractProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.AbstractClassReturner\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.AbstractClassReturner": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.AbstractClassReturner\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.AbstractClassReturner", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1273 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1273 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1274 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1274 }, - \\"name\\": \\"giveMeAbstract\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.AbstractClass\\" + "name": "giveMeAbstract", + "returns": { + "type": { + "fqn": "jsii-calc.AbstractClass" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1278 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1278 }, - \\"name\\": \\"giveMeInterface\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IInterfaceImplementedByAbstractClass\\" + "name": "giveMeInterface", + "returns": { + "type": { + "fqn": "jsii-calc.IInterfaceImplementedByAbstractClass" } } } ], - \\"name\\": \\"AbstractClassReturner\\", - \\"properties\\": [ + "name": "AbstractClassReturner", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1282 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1282 }, - \\"name\\": \\"returnAbstractFromProperty\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.AbstractClassBase\\" + "name": "returnAbstractFromProperty", + "type": { + "fqn": "jsii-calc.AbstractClassBase" } } ] }, - \\"jsii-calc.AbstractSuite\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Ensures abstract members implementations correctly register overrides in various languages.\\" + "jsii-calc.AbstractSuite": { + "abstract": true, + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Ensures abstract members implementations correctly register overrides in various languages." }, - \\"fqn\\": \\"jsii-calc.AbstractSuite\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.AbstractSuite", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 411 + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 411 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 413 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 413 }, - \\"name\\": \\"someMethod\\", - \\"parameters\\": [ + "name": "someMethod", + "parameters": [ { - \\"name\\": \\"str\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "str", + "type": { + "primitive": "string" } } ], - \\"protected\\": true, - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "protected": true, + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Sets \`seed\` to \`this.property\`, then calls \`someMethod\` with \`this.property\` and returns the result.\\" + "docs": { + "stability": "experimental", + "summary": "Sets \`seed\` to \`this.property\`, then calls \`someMethod\` with \`this.property\` and returns the result." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 419 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 419 }, - \\"name\\": \\"workItAll\\", - \\"parameters\\": [ + "name": "workItAll", + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"a \`string\`.\\" + "docs": { + "summary": "a \`string\`." }, - \\"name\\": \\"seed\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "seed", + "type": { + "primitive": "string" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"AbstractSuite\\", - \\"properties\\": [ + "name": "AbstractSuite", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 412 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 412 }, - \\"name\\": \\"property\\", - \\"protected\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "property", + "protected": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.Add\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.BinaryOperation\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The \\\\\\"+\\\\\\" binary operation.\\" - }, - \\"fqn\\": \\"jsii-calc.Add\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Creates a BinaryOperation.\\" + "jsii-calc.Add": { + "assembly": "jsii-calc", + "base": "jsii-calc.BinaryOperation", + "docs": { + "stability": "experimental", + "summary": "The \\"+\\" binary operation." + }, + "fqn": "jsii-calc.Add", + "initializer": { + "docs": { + "stability": "experimental", + "summary": "Creates a BinaryOperation." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 49 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 49 }, - \\"parameters\\": [ + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"Left-hand side operand.\\" + "docs": { + "summary": "Left-hand side operand." }, - \\"name\\": \\"lhs\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "lhs", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"summary\\": \\"Right-hand side operand.\\" + "docs": { + "summary": "Right-hand side operand." }, - \\"name\\": \\"rhs\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "rhs", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 61 + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 61 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"String representation of the value.\\" + "docs": { + "stability": "experimental", + "summary": "String representation of the value." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 66 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 66 }, - \\"name\\": \\"toString\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Operation\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "toString", + "overrides": "@scope/jsii-calc-lib.Operation", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"Add\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The value.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 62 - }, - \\"name\\": \\"value\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "Add", + "properties": [ + { + "docs": { + "stability": "experimental", + "summary": "The value." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 62 + }, + "name": "value", + "overrides": "@scope/jsii-calc-lib.Value", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.AllTypes\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"The setters will validate\\\\nthat the value set is of the expected type and throw otherwise.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This class includes property for all types supported by jsii.\\" + "jsii-calc.AllTypes": { + "assembly": "jsii-calc", + "docs": { + "remarks": "The setters will validate\\nthat the value set is of the expected type and throw otherwise.", + "stability": "experimental", + "summary": "This class includes property for all types supported by jsii." }, - \\"fqn\\": \\"jsii-calc.AllTypes\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.AllTypes", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 63 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 63 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 232 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 232 }, - \\"name\\": \\"anyIn\\", - \\"parameters\\": [ + "name": "anyIn", + "parameters": [ { - \\"name\\": \\"inp\\", - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "inp", + "type": { + "primitive": "any" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 224 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 224 }, - \\"name\\": \\"anyOut\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyOut", + "returns": { + "type": { + "primitive": "any" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 220 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 220 }, - \\"name\\": \\"enumMethod\\", - \\"parameters\\": [ + "name": "enumMethod", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.StringEnum\\" + "name": "value", + "type": { + "fqn": "jsii-calc.StringEnum" } } ], - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.StringEnum\\" + "returns": { + "type": { + "fqn": "jsii-calc.StringEnum" } } } ], - \\"name\\": \\"AllTypes\\", - \\"properties\\": [ + "name": "AllTypes", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 216 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 216 }, - \\"name\\": \\"enumPropertyValue\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "enumPropertyValue", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 180 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 180 }, - \\"name\\": \\"anyArrayProperty\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "name": "anyArrayProperty", + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 181 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 181 }, - \\"name\\": \\"anyMapProperty\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "name": "anyMapProperty", + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 179 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 179 }, - \\"name\\": \\"anyProperty\\", - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyProperty", + "type": { + "primitive": "any" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 165 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 165 }, - \\"name\\": \\"arrayProperty\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "arrayProperty", + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 68 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 68 }, - \\"name\\": \\"booleanProperty\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "booleanProperty", + "type": { + "primitive": "boolean" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 114 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 114 }, - \\"name\\": \\"dateProperty\\", - \\"type\\": { - \\"primitive\\": \\"date\\" + "name": "dateProperty", + "type": { + "primitive": "date" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 200 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 200 }, - \\"name\\": \\"enumProperty\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.AllTypesEnum\\" + "name": "enumProperty", + "type": { + "fqn": "jsii-calc.AllTypesEnum" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 133 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 133 }, - \\"name\\": \\"jsonProperty\\", - \\"type\\": { - \\"primitive\\": \\"json\\" + "name": "jsonProperty", + "type": { + "primitive": "json" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 150 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 150 }, - \\"name\\": \\"mapProperty\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Number\\" + "name": "mapProperty", + "type": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.Number" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 99 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 99 }, - \\"name\\": \\"numberProperty\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "numberProperty", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 83 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 83 }, - \\"name\\": \\"stringProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "stringProperty", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 192 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 192 }, - \\"name\\": \\"unionArrayProperty\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"union\\": { - \\"types\\": [ + "name": "unionArrayProperty", + "type": { + "collection": { + "elementtype": { + "union": { + "types": [ { - \\"primitive\\": \\"number\\" + "primitive": "number" }, { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "fqn": "@scope/jsii-calc-lib.Value" } ] } }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 193 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 193 }, - \\"name\\": \\"unionMapProperty\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"union\\": { - \\"types\\": [ + "name": "unionMapProperty", + "type": { + "collection": { + "elementtype": { + "union": { + "types": [ { - \\"primitive\\": \\"string\\" + "primitive": "string" }, { - \\"primitive\\": \\"number\\" + "primitive": "number" }, { - \\"fqn\\": \\"@scope/jsii-calc-lib.Number\\" + "fqn": "@scope/jsii-calc-lib.Number" } ] } }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 191 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 191 }, - \\"name\\": \\"unionProperty\\", - \\"type\\": { - \\"union\\": { - \\"types\\": [ + "name": "unionProperty", + "type": { + "union": { + "types": [ { - \\"primitive\\": \\"string\\" + "primitive": "string" }, { - \\"primitive\\": \\"number\\" + "primitive": "number" }, { - \\"fqn\\": \\"jsii-calc.Multiply\\" + "fqn": "jsii-calc.Multiply" }, { - \\"fqn\\": \\"@scope/jsii-calc-lib.Number\\" + "fqn": "@scope/jsii-calc-lib.Number" } ] } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 186 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 186 }, - \\"name\\": \\"unknownArrayProperty\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "name": "unknownArrayProperty", + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 187 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 187 }, - \\"name\\": \\"unknownMapProperty\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "name": "unknownMapProperty", + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 185 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 185 }, - \\"name\\": \\"unknownProperty\\", - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "unknownProperty", + "type": { + "primitive": "any" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 197 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 197 }, - \\"name\\": \\"optionalEnumValue\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.StringEnum\\" + "name": "optionalEnumValue", + "optional": true, + "type": { + "fqn": "jsii-calc.StringEnum" } } ] }, - \\"jsii-calc.AllTypesEnum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.AllTypesEnum": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.AllTypesEnum\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 33 + "fqn": "jsii-calc.AllTypesEnum", + "kind": "enum", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 33 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"name\\": \\"MY_ENUM_VALUE\\" + "name": "MY_ENUM_VALUE" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"name\\": \\"YOUR_ENUM_VALUE\\" + "name": "YOUR_ENUM_VALUE" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"name\\": \\"THIS_IS_GREAT\\" + "name": "THIS_IS_GREAT" } ], - \\"name\\": \\"AllTypesEnum\\" + "name": "AllTypesEnum" }, - \\"jsii-calc.AllowedMethodNames\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.AllowedMethodNames": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.AllowedMethodNames\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.AllowedMethodNames", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 615 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 615 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 623 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 623 }, - \\"name\\": \\"getBar\\", - \\"parameters\\": [ + "name": "getBar", + "parameters": [ { - \\"name\\": \\"_p1\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "_p1", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"_p2\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "_p2", + "type": { + "primitive": "number" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"getXxx() is not allowed (see negatives), but getXxx(a, ...) is okay.\\" + "docs": { + "stability": "experimental", + "summary": "getXxx() is not allowed (see negatives), but getXxx(a, ...) is okay." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 619 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 619 }, - \\"name\\": \\"getFoo\\", - \\"parameters\\": [ + "name": "getFoo", + "parameters": [ { - \\"name\\": \\"withParam\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "withParam", + "type": { + "primitive": "string" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 634 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 634 }, - \\"name\\": \\"setBar\\", - \\"parameters\\": [ + "name": "setBar", + "parameters": [ { - \\"name\\": \\"_x\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "_x", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"_y\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "_y", + "type": { + "primitive": "number" } }, { - \\"name\\": \\"_z\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "_z", + "type": { + "primitive": "boolean" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"setFoo(x) is not allowed (see negatives), but setXxx(a, b, ...) is okay.\\" + "docs": { + "stability": "experimental", + "summary": "setFoo(x) is not allowed (see negatives), but setXxx(a, b, ...) is okay." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 630 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 630 }, - \\"name\\": \\"setFoo\\", - \\"parameters\\": [ + "name": "setFoo", + "parameters": [ { - \\"name\\": \\"_x\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "_x", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"_y\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "_y", + "type": { + "primitive": "number" } } ] } ], - \\"name\\": \\"AllowedMethodNames\\" + "name": "AllowedMethodNames" }, - \\"jsii-calc.AmbiguousParameters\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.AmbiguousParameters\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.AmbiguousParameters": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.AmbiguousParameters", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2683 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2683 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"scope\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.Bell\\" + "name": "scope", + "type": { + "fqn": "jsii-calc.Bell" } }, { - \\"name\\": \\"props\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.StructParameterType\\" + "name": "props", + "type": { + "fqn": "jsii-calc.StructParameterType" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2682 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2682 }, - \\"name\\": \\"AmbiguousParameters\\", - \\"properties\\": [ + "name": "AmbiguousParameters", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2685 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2685 }, - \\"name\\": \\"props\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.StructParameterType\\" + "name": "props", + "type": { + "fqn": "jsii-calc.StructParameterType" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2684 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2684 }, - \\"name\\": \\"scope\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.Bell\\" + "name": "scope", + "type": { + "fqn": "jsii-calc.Bell" } } ] }, - \\"jsii-calc.AnonymousImplementationProvider\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.AnonymousImplementationProvider": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.AnonymousImplementationProvider\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.AnonymousImplementationProvider", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"interfaces\\": [ - \\"jsii-calc.IAnonymousImplementationProvider\\" + "interfaces": [ + "jsii-calc.IAnonymousImplementationProvider" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2212 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2212 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2216 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2216 }, - \\"name\\": \\"provideAsClass\\", - \\"overrides\\": \\"jsii-calc.IAnonymousImplementationProvider\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.Implementation\\" + "name": "provideAsClass", + "overrides": "jsii-calc.IAnonymousImplementationProvider", + "returns": { + "type": { + "fqn": "jsii-calc.Implementation" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2220 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2220 }, - \\"name\\": \\"provideAsInterface\\", - \\"overrides\\": \\"jsii-calc.IAnonymousImplementationProvider\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IAnonymouslyImplementMe\\" + "name": "provideAsInterface", + "overrides": "jsii-calc.IAnonymousImplementationProvider", + "returns": { + "type": { + "fqn": "jsii-calc.IAnonymouslyImplementMe" } } } ], - \\"name\\": \\"AnonymousImplementationProvider\\" + "name": "AnonymousImplementationProvider" }, - \\"jsii-calc.AsyncVirtualMethods\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.AsyncVirtualMethods": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.AsyncVirtualMethods\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.AsyncVirtualMethods", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 333 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 333 }, - \\"methods\\": [ + "methods": [ { - \\"async\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "async": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 334 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 334 }, - \\"name\\": \\"callMe\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "callMe", + "returns": { + "type": { + "primitive": "number" } } }, { - \\"async\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Just calls \\\\\\"overrideMeToo\\\\\\".\\" + "async": true, + "docs": { + "stability": "experimental", + "summary": "Just calls \\"overrideMeToo\\"." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 353 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 353 }, - \\"name\\": \\"callMe2\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "callMe2", + "returns": { + "type": { + "primitive": "number" } } }, { - \\"async\\": true, - \\"docs\\": { - \\"remarks\\": \\"This is a \\\\\\"double promise\\\\\\" situation, which\\\\nmeans that callbacks are not going to be available immediate, but only\\\\nafter an \\\\\\"immediates\\\\\\" cycle.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This method calls the \\\\\\"callMe\\\\\\" async method indirectly, which will then invoke a virtual method.\\" + "async": true, + "docs": { + "remarks": "This is a \\"double promise\\" situation, which\\nmeans that callbacks are not going to be available immediate, but only\\nafter an \\"immediates\\" cycle.", + "stability": "experimental", + "summary": "This method calls the \\"callMe\\" async method indirectly, which will then invoke a virtual method." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 363 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 363 }, - \\"name\\": \\"callMeDoublePromise\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "callMeDoublePromise", + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 371 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 371 }, - \\"name\\": \\"dontOverrideMe\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "dontOverrideMe", + "returns": { + "type": { + "primitive": "number" } } }, { - \\"async\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "async": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 342 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 342 }, - \\"name\\": \\"overrideMe\\", - \\"parameters\\": [ + "name": "overrideMe", + "parameters": [ { - \\"name\\": \\"mult\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mult", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } }, { - \\"async\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "async": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 346 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 346 }, - \\"name\\": \\"overrideMeToo\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "overrideMeToo", + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"AsyncVirtualMethods\\" + "name": "AsyncVirtualMethods" }, - \\"jsii-calc.AugmentableClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.AugmentableClass": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.AugmentableClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.AugmentableClass", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1539 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1539 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1540 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1540 }, - \\"name\\": \\"methodOne\\" + "name": "methodOne" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1546 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1546 }, - \\"name\\": \\"methodTwo\\" + "name": "methodTwo" } ], - \\"name\\": \\"AugmentableClass\\" + "name": "AugmentableClass" }, - \\"jsii-calc.BaseJsii976\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.BaseJsii976": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.BaseJsii976\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.BaseJsii976", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2477 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2477 }, - \\"name\\": \\"BaseJsii976\\" + "name": "BaseJsii976" }, - \\"jsii-calc.Bell\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Bell": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.Bell\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.Bell", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"interfaces\\": [ - \\"jsii-calc.IBell\\" + "interfaces": [ + "jsii-calc.IBell" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2421 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2421 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2424 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2424 }, - \\"name\\": \\"ring\\", - \\"overrides\\": \\"jsii-calc.IBell\\" + "name": "ring", + "overrides": "jsii-calc.IBell" } ], - \\"name\\": \\"Bell\\", - \\"properties\\": [ + "name": "Bell", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2422 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2422 }, - \\"name\\": \\"rung\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "rung", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.BinaryOperation\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"@scope/jsii-calc-lib.Operation\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Represents an operation with two operands.\\" - }, - \\"fqn\\": \\"jsii-calc.BinaryOperation\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Creates a BinaryOperation.\\" + "jsii-calc.BinaryOperation": { + "abstract": true, + "assembly": "jsii-calc", + "base": "@scope/jsii-calc-lib.Operation", + "docs": { + "stability": "experimental", + "summary": "Represents an operation with two operands." + }, + "fqn": "jsii-calc.BinaryOperation", + "initializer": { + "docs": { + "stability": "experimental", + "summary": "Creates a BinaryOperation." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 49 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 49 }, - \\"parameters\\": [ + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"Left-hand side operand.\\" + "docs": { + "summary": "Left-hand side operand." }, - \\"name\\": \\"lhs\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "lhs", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"summary\\": \\"Right-hand side operand.\\" + "docs": { + "summary": "Right-hand side operand." }, - \\"name\\": \\"rhs\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "rhs", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } } ] }, - \\"interfaces\\": [ - \\"@scope/jsii-calc-lib.IFriendly\\" + "interfaces": [ + "@scope/jsii-calc-lib.IFriendly" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 43 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say hello!\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 53 - }, - \\"name\\": \\"hello\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.IFriendly\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 43 + }, + "methods": [ + { + "docs": { + "stability": "experimental", + "summary": "Say hello!" + }, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 53 + }, + "name": "hello", + "overrides": "@scope/jsii-calc-lib.IFriendly", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"BinaryOperation\\", - \\"properties\\": [ + "name": "BinaryOperation", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Left-hand side operand.\\" + "docs": { + "stability": "experimental", + "summary": "Left-hand side operand." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 49 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 49 }, - \\"name\\": \\"lhs\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "lhs", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Right-hand side operand.\\" + "docs": { + "stability": "experimental", + "summary": "Right-hand side operand." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 49 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 49 }, - \\"name\\": \\"rhs\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "rhs", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } } ] }, - \\"jsii-calc.BurriedAnonymousObject\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"See https://github.com/aws/aws-cdk/issues/7977.\\" + "jsii-calc.BurriedAnonymousObject": { + "abstract": true, + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "See https://github.com/aws/aws-cdk/issues/7977." }, - \\"fqn\\": \\"jsii-calc.BurriedAnonymousObject\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.BurriedAnonymousObject", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2767 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2767 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2768 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2768 }, - \\"name\\": \\"check\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "check", + "returns": { + "type": { + "primitive": "boolean" } } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"returns\\": \\"\`value\`\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Implement this method and have it return it's parameter.\\" + "abstract": true, + "docs": { + "returns": "\`value\`", + "stability": "experimental", + "summary": "Implement this method and have it return it's parameter." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2785 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2785 }, - \\"name\\": \\"giveItBack\\", - \\"parameters\\": [ + "name": "giveItBack", + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"the value that should be returned.\\" + "docs": { + "summary": "the value that should be returned." }, - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "value", + "type": { + "primitive": "any" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "returns": { + "type": { + "primitive": "any" } } } ], - \\"name\\": \\"BurriedAnonymousObject\\" + "name": "BurriedAnonymousObject" }, - \\"jsii-calc.Calculator\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.composition.CompositeOperation\\", - \\"docs\\": { - \\"example\\": \\"const calculator = new calc.Calculator();\\\\ncalculator.add(5);\\\\ncalculator.mul(3);\\\\nconsole.log(calculator.expression.value);\\", - \\"remarks\\": \\"Here's how you use it:\\\\n\\\\n\`\`\`ts\\\\nconst calculator = new calc.Calculator();\\\\ncalculator.add(5);\\\\ncalculator.mul(3);\\\\nconsole.log(calculator.expression.value);\\\\n\`\`\`\\\\n\\\\nI will repeat this example again, but in an @example tag.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"A calculator which maintains a current value and allows adding operations.\\" - }, - \\"fqn\\": \\"jsii-calc.Calculator\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Creates a Calculator object.\\" + "jsii-calc.Calculator": { + "assembly": "jsii-calc", + "base": "jsii-calc.composition.CompositeOperation", + "docs": { + "example": "const calculator = new calc.Calculator();\\ncalculator.add(5);\\ncalculator.mul(3);\\nconsole.log(calculator.expression.value);", + "remarks": "Here's how you use it:\\n\\n\`\`\`ts\\nconst calculator = new calc.Calculator();\\ncalculator.add(5);\\ncalculator.mul(3);\\nconsole.log(calculator.expression.value);\\n\`\`\`\\n\\nI will repeat this example again, but in an @example tag.", + "stability": "experimental", + "summary": "A calculator which maintains a current value and allows adding operations." + }, + "fqn": "jsii-calc.Calculator", + "initializer": { + "docs": { + "stability": "experimental", + "summary": "Creates a Calculator object." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 287 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 287 }, - \\"parameters\\": [ + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"Initialization properties.\\" + "docs": { + "summary": "Initialization properties." }, - \\"name\\": \\"props\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.CalculatorProps\\" + "name": "props", + "optional": true, + "type": { + "fqn": "jsii-calc.CalculatorProps" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 282 + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 282 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Adds a number to the current value.\\" + "docs": { + "stability": "experimental", + "summary": "Adds a number to the current value." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 320 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 320 }, - \\"name\\": \\"add\\", - \\"parameters\\": [ + "name": "add", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "type": { + "primitive": "number" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Multiplies the current value by a number.\\" + "docs": { + "stability": "experimental", + "summary": "Multiplies the current value by a number." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 327 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 327 }, - \\"name\\": \\"mul\\", - \\"parameters\\": [ + "name": "mul", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "type": { + "primitive": "number" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Negates the current value.\\" + "docs": { + "stability": "experimental", + "summary": "Negates the current value." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 341 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 341 }, - \\"name\\": \\"neg\\" + "name": "neg" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Raises the current value by a power.\\" + "docs": { + "stability": "experimental", + "summary": "Raises the current value by a power." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 334 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 334 }, - \\"name\\": \\"pow\\", - \\"parameters\\": [ + "name": "pow", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "type": { + "primitive": "number" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns teh value of the union property (if defined).\\" + "docs": { + "stability": "experimental", + "summary": "Returns teh value of the union property (if defined)." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 360 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 360 }, - \\"name\\": \\"readUnionValue\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "readUnionValue", + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"Calculator\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns the expression.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 348 - }, - \\"name\\": \\"expression\\", - \\"overrides\\": \\"jsii-calc.composition.CompositeOperation\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "Calculator", + "properties": [ + { + "docs": { + "stability": "experimental", + "summary": "Returns the expression." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 348 + }, + "name": "expression", + "overrides": "jsii-calc.composition.CompositeOperation", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"A log of all operations.\\" + "docs": { + "stability": "experimental", + "summary": "A log of all operations." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 310 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 310 }, - \\"name\\": \\"operationsLog\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "operationsLog", + "type": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.Value" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"A map of per operation name of all operations performed.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 305 - }, - \\"name\\": \\"operationsMap\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "docs": { + "stability": "experimental", + "summary": "A map of per operation name of all operations performed." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 305 + }, + "name": "operationsMap", + "type": { + "collection": { + "elementtype": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.Value" }, - \\"kind\\": \\"array\\" + "kind": "array" } }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The current value.\\" + "docs": { + "stability": "experimental", + "summary": "The current value." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 300 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 300 }, - \\"name\\": \\"curr\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "curr", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The maximum value allows in this calculator.\\" + "docs": { + "stability": "experimental", + "summary": "The maximum value allows in this calculator." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 315 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 315 }, - \\"name\\": \\"maxValue\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "maxValue", + "optional": true, + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Example of a property that accepts a union of types.\\" + "docs": { + "stability": "experimental", + "summary": "Example of a property that accepts a union of types." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 355 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 355 }, - \\"name\\": \\"unionProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"union\\": { - \\"types\\": [ + "name": "unionProperty", + "optional": true, + "type": { + "union": { + "types": [ { - \\"fqn\\": \\"jsii-calc.Add\\" + "fqn": "jsii-calc.Add" }, { - \\"fqn\\": \\"jsii-calc.Multiply\\" + "fqn": "jsii-calc.Multiply" }, { - \\"fqn\\": \\"jsii-calc.Power\\" + "fqn": "jsii-calc.Power" } ] } @@ -8755,705 +8786,705 @@ Object { } ] }, - \\"jsii-calc.CalculatorProps\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Properties for Calculator.\\" - }, - \\"fqn\\": \\"jsii-calc.CalculatorProps\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 243 - }, - \\"name\\": \\"CalculatorProps\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"default\\": \\"0\\", - \\"remarks\\": \\"NOTE: Any number works here, it's fine.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The initial value of the calculator.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 251 - }, - \\"name\\": \\"initialValue\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "jsii-calc.CalculatorProps": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental", + "summary": "Properties for Calculator." + }, + "fqn": "jsii-calc.CalculatorProps", + "kind": "interface", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 243 + }, + "name": "CalculatorProps", + "properties": [ + { + "abstract": true, + "docs": { + "default": "0", + "remarks": "NOTE: Any number works here, it's fine.", + "stability": "experimental", + "summary": "The initial value of the calculator." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 251 + }, + "name": "initialValue", + "optional": true, + "type": { + "primitive": "number" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"default\\": \\"none\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The maximum value the calculator can store.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 258 - }, - \\"name\\": \\"maximumValue\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "abstract": true, + "docs": { + "default": "none", + "stability": "experimental", + "summary": "The maximum value the calculator can store." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 258 + }, + "name": "maximumValue", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.ChildStruct982\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ChildStruct982\\", - \\"interfaces\\": [ - \\"jsii-calc.ParentStruct982\\" + "jsii-calc.ChildStruct982": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ChildStruct982", + "interfaces": [ + "jsii-calc.ParentStruct982" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2501 - }, - \\"name\\": \\"ChildStruct982\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2502 - }, - \\"name\\": \\"bar\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2501 + }, + "name": "ChildStruct982", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2502 + }, + "name": "bar", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.ClassThatImplementsTheInternalInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ClassThatImplementsTheInternalInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ClassThatImplementsTheInternalInterface\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ClassThatImplementsTheInternalInterface", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"interfaces\\": [ - \\"jsii-calc.INonInternalInterface\\" + "interfaces": [ + "jsii-calc.INonInternalInterface" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1802 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1802 }, - \\"name\\": \\"ClassThatImplementsTheInternalInterface\\", - \\"properties\\": [ + "name": "ClassThatImplementsTheInternalInterface", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1806 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1806 }, - \\"name\\": \\"a\\", - \\"overrides\\": \\"jsii-calc.IAnotherPublicInterface\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "a", + "overrides": "jsii-calc.IAnotherPublicInterface", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1807 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1807 }, - \\"name\\": \\"b\\", - \\"overrides\\": \\"jsii-calc.INonInternalInterface\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "b", + "overrides": "jsii-calc.INonInternalInterface", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1808 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1808 }, - \\"name\\": \\"c\\", - \\"overrides\\": \\"jsii-calc.INonInternalInterface\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "c", + "overrides": "jsii-calc.INonInternalInterface", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1809 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1809 }, - \\"name\\": \\"d\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "d", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.ClassThatImplementsThePrivateInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ClassThatImplementsThePrivateInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ClassThatImplementsThePrivateInterface\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ClassThatImplementsThePrivateInterface", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"interfaces\\": [ - \\"jsii-calc.INonInternalInterface\\" + "interfaces": [ + "jsii-calc.INonInternalInterface" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1812 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1812 }, - \\"name\\": \\"ClassThatImplementsThePrivateInterface\\", - \\"properties\\": [ + "name": "ClassThatImplementsThePrivateInterface", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1814 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1814 }, - \\"name\\": \\"a\\", - \\"overrides\\": \\"jsii-calc.IAnotherPublicInterface\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "a", + "overrides": "jsii-calc.IAnotherPublicInterface", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1815 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1815 }, - \\"name\\": \\"b\\", - \\"overrides\\": \\"jsii-calc.INonInternalInterface\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "b", + "overrides": "jsii-calc.INonInternalInterface", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1816 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1816 }, - \\"name\\": \\"c\\", - \\"overrides\\": \\"jsii-calc.INonInternalInterface\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "c", + "overrides": "jsii-calc.INonInternalInterface", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1817 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1817 }, - \\"name\\": \\"e\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "e", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.ClassWithCollections\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ClassWithCollections\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ClassWithCollections": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ClassWithCollections", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2118 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2118 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"map\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "map", + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, { - \\"name\\": \\"array\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "array", + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2108 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2108 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2123 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2123 }, - \\"name\\": \\"createAList\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "createAList", + "returns": { + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2127 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2127 }, - \\"name\\": \\"createAMap\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "createAMap", + "returns": { + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"ClassWithCollections\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2116 - }, - \\"name\\": \\"staticArray\\", - \\"static\\": true, - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "ClassWithCollections", + "properties": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2116 + }, + "name": "staticArray", + "static": true, + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2112 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2112 }, - \\"name\\": \\"staticMap\\", - \\"static\\": true, - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "staticMap", + "static": true, + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2110 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2110 }, - \\"name\\": \\"array\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "array", + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2109 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2109 }, - \\"name\\": \\"map\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "map", + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"map\\" + "kind": "map" } } } ] }, - \\"jsii-calc.ClassWithDocs\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"custom\\": { - \\"customAttribute\\": \\"hasAValue\\" + "jsii-calc.ClassWithDocs": { + "assembly": "jsii-calc", + "docs": { + "custom": { + "customAttribute": "hasAValue" }, - \\"example\\": \\"function anExample() {\\\\n}\\", - \\"remarks\\": \\"The docs are great. They're a bunch of tags.\\", - \\"see\\": \\"https://aws.amazon.com/\\", - \\"stability\\": \\"stable\\", - \\"summary\\": \\"This class has docs.\\" + "example": "function anExample() {\\n}", + "remarks": "The docs are great. They're a bunch of tags.", + "see": "https://aws.amazon.com/", + "stability": "stable", + "summary": "This class has docs." }, - \\"fqn\\": \\"jsii-calc.ClassWithDocs\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ClassWithDocs", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1885 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1885 }, - \\"name\\": \\"ClassWithDocs\\" + "name": "ClassWithDocs" }, - \\"jsii-calc.ClassWithJavaReservedWords\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ClassWithJavaReservedWords\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ClassWithJavaReservedWords": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ClassWithJavaReservedWords", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2058 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2058 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"int\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "int", + "type": { + "primitive": "string" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2055 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2055 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2062 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2062 }, - \\"name\\": \\"import\\", - \\"parameters\\": [ + "name": "import", + "parameters": [ { - \\"name\\": \\"assert\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "assert", + "type": { + "primitive": "string" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"ClassWithJavaReservedWords\\", - \\"properties\\": [ + "name": "ClassWithJavaReservedWords", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2056 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2056 }, - \\"name\\": \\"int\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "int", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.ClassWithMutableObjectLiteralProperty\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ClassWithMutableObjectLiteralProperty": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ClassWithMutableObjectLiteralProperty\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ClassWithMutableObjectLiteralProperty", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1293 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1293 }, - \\"name\\": \\"ClassWithMutableObjectLiteralProperty\\", - \\"properties\\": [ + "name": "ClassWithMutableObjectLiteralProperty", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1294 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1294 }, - \\"name\\": \\"mutableObject\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IMutableObjectLiteral\\" + "name": "mutableObject", + "type": { + "fqn": "jsii-calc.IMutableObjectLiteral" } } ] }, - \\"jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Class that implements interface properties automatically, but using a private constructor.\\" - }, - \\"fqn\\": \\"jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties\\", - \\"interfaces\\": [ - \\"jsii-calc.IInterfaceWithProperties\\" + "jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Class that implements interface properties automatically, but using a private constructor." + }, + "fqn": "jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties", + "interfaces": [ + "jsii-calc.IInterfaceWithProperties" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1320 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1320 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1322 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1322 }, - \\"name\\": \\"create\\", - \\"parameters\\": [ + "name": "create", + "parameters": [ { - \\"name\\": \\"readOnlyString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readOnlyString", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"readWriteString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readWriteString", + "type": { + "primitive": "string" } } ], - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties\\" + "returns": { + "type": { + "fqn": "jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"ClassWithPrivateConstructorAndAutomaticProperties\\", - \\"properties\\": [ + "name": "ClassWithPrivateConstructorAndAutomaticProperties", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1330 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1330 }, - \\"name\\": \\"readOnlyString\\", - \\"overrides\\": \\"jsii-calc.IInterfaceWithProperties\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readOnlyString", + "overrides": "jsii-calc.IInterfaceWithProperties", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1331 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1331 }, - \\"name\\": \\"readWriteString\\", - \\"overrides\\": \\"jsii-calc.IInterfaceWithProperties\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readWriteString", + "overrides": "jsii-calc.IInterfaceWithProperties", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.ConfusingToJackson\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"see\\": \\"https://github.com/aws/aws-cdk/issues/4080\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This tries to confuse Jackson by having overloaded property setters.\\" - }, - \\"fqn\\": \\"jsii-calc.ConfusingToJackson\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2640 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2641 - }, - \\"name\\": \\"makeInstance\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.ConfusingToJackson\\" + "jsii-calc.ConfusingToJackson": { + "assembly": "jsii-calc", + "docs": { + "see": "https://github.com/aws/aws-cdk/issues/4080", + "stability": "experimental", + "summary": "This tries to confuse Jackson by having overloaded property setters." + }, + "fqn": "jsii-calc.ConfusingToJackson", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2640 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2641 + }, + "name": "makeInstance", + "returns": { + "type": { + "fqn": "jsii-calc.ConfusingToJackson" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2645 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2645 }, - \\"name\\": \\"makeStructInstance\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.ConfusingToJacksonStruct\\" + "name": "makeStructInstance", + "returns": { + "type": { + "fqn": "jsii-calc.ConfusingToJacksonStruct" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"ConfusingToJackson\\", - \\"properties\\": [ + "name": "ConfusingToJackson", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2649 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2649 }, - \\"name\\": \\"unionProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"union\\": { - \\"types\\": [ + "name": "unionProperty", + "optional": true, + "type": { + "union": { + "types": [ { - \\"fqn\\": \\"@scope/jsii-calc-lib.IFriendly\\" + "fqn": "@scope/jsii-calc-lib.IFriendly" }, { - \\"collection\\": { - \\"elementtype\\": { - \\"union\\": { - \\"types\\": [ + "collection": { + "elementtype": { + "union": { + "types": [ { - \\"fqn\\": \\"@scope/jsii-calc-lib.IFriendly\\" + "fqn": "@scope/jsii-calc-lib.IFriendly" }, { - \\"fqn\\": \\"jsii-calc.AbstractClass\\" + "fqn": "jsii-calc.AbstractClass" } ] } }, - \\"kind\\": \\"array\\" + "kind": "array" } } ] @@ -9462,53 +9493,53 @@ Object { } ] }, - \\"jsii-calc.ConfusingToJacksonStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ConfusingToJacksonStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2653 - }, - \\"name\\": \\"ConfusingToJacksonStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2654 - }, - \\"name\\": \\"unionProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"union\\": { - \\"types\\": [ + "jsii-calc.ConfusingToJacksonStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ConfusingToJacksonStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2653 + }, + "name": "ConfusingToJacksonStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2654 + }, + "name": "unionProperty", + "optional": true, + "type": { + "union": { + "types": [ { - \\"fqn\\": \\"@scope/jsii-calc-lib.IFriendly\\" + "fqn": "@scope/jsii-calc-lib.IFriendly" }, { - \\"collection\\": { - \\"elementtype\\": { - \\"union\\": { - \\"types\\": [ + "collection": { + "elementtype": { + "union": { + "types": [ { - \\"fqn\\": \\"@scope/jsii-calc-lib.IFriendly\\" + "fqn": "@scope/jsii-calc-lib.IFriendly" }, { - \\"fqn\\": \\"jsii-calc.AbstractClass\\" + "fqn": "jsii-calc.AbstractClass" } ] } }, - \\"kind\\": \\"array\\" + "kind": "array" } } ] @@ -9517,9768 +9548,9799 @@ Object { } ] }, - \\"jsii-calc.ConstructorPassesThisOut\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ConstructorPassesThisOut\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ConstructorPassesThisOut": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ConstructorPassesThisOut", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1842 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1842 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"consumer\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.PartiallyInitializedThisConsumer\\" + "name": "consumer", + "type": { + "fqn": "jsii-calc.PartiallyInitializedThisConsumer" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1841 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1841 }, - \\"name\\": \\"ConstructorPassesThisOut\\" + "name": "ConstructorPassesThisOut" }, - \\"jsii-calc.Constructors\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Constructors": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.Constructors\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.Constructors", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1587 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1587 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1604 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1604 }, - \\"name\\": \\"hiddenInterface\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IPublicInterface\\" + "name": "hiddenInterface", + "returns": { + "type": { + "fqn": "jsii-calc.IPublicInterface" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1608 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1608 }, - \\"name\\": \\"hiddenInterfaces\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"jsii-calc.IPublicInterface\\" + "name": "hiddenInterfaces", + "returns": { + "type": { + "collection": { + "elementtype": { + "fqn": "jsii-calc.IPublicInterface" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1612 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1612 }, - \\"name\\": \\"hiddenSubInterfaces\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"jsii-calc.IPublicInterface\\" + "name": "hiddenSubInterfaces", + "returns": { + "type": { + "collection": { + "elementtype": { + "fqn": "jsii-calc.IPublicInterface" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1588 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1588 }, - \\"name\\": \\"makeClass\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.PublicClass\\" + "name": "makeClass", + "returns": { + "type": { + "fqn": "jsii-calc.PublicClass" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1592 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1592 }, - \\"name\\": \\"makeInterface\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IPublicInterface\\" + "name": "makeInterface", + "returns": { + "type": { + "fqn": "jsii-calc.IPublicInterface" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1596 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1596 }, - \\"name\\": \\"makeInterface2\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IPublicInterface2\\" + "name": "makeInterface2", + "returns": { + "type": { + "fqn": "jsii-calc.IPublicInterface2" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1600 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1600 }, - \\"name\\": \\"makeInterfaces\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"jsii-calc.IPublicInterface\\" + "name": "makeInterfaces", + "returns": { + "type": { + "collection": { + "elementtype": { + "fqn": "jsii-calc.IPublicInterface" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"Constructors\\" + "name": "Constructors" }, - \\"jsii-calc.ConsumePureInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ConsumePureInterface\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ConsumePureInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ConsumePureInterface", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2664 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2664 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"delegate\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IStructReturningDelegate\\" + "name": "delegate", + "type": { + "fqn": "jsii-calc.IStructReturningDelegate" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2663 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2663 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2666 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2666 }, - \\"name\\": \\"workItBaby\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.StructB\\" + "name": "workItBaby", + "returns": { + "type": { + "fqn": "jsii-calc.StructB" } } } ], - \\"name\\": \\"ConsumePureInterface\\" + "name": "ConsumePureInterface" }, - \\"jsii-calc.ConsumerCanRingBell\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"Check that if a JSII consumer implements IConsumerWithInterfaceParam, they can call\\\\nthe method on the argument that they're passed...\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Test calling back to consumers that implement interfaces.\\" + "jsii-calc.ConsumerCanRingBell": { + "assembly": "jsii-calc", + "docs": { + "remarks": "Check that if a JSII consumer implements IConsumerWithInterfaceParam, they can call\\nthe method on the argument that they're passed...", + "stability": "experimental", + "summary": "Test calling back to consumers that implement interfaces." }, - \\"fqn\\": \\"jsii-calc.ConsumerCanRingBell\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ConsumerCanRingBell", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2306 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2306 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"remarks\\": \\"Returns whether the bell was rung.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"...if the interface is implemented using an object literal.\\" + "docs": { + "remarks": "Returns whether the bell was rung.", + "stability": "experimental", + "summary": "...if the interface is implemented using an object literal." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2312 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2312 }, - \\"name\\": \\"staticImplementedByObjectLiteral\\", - \\"parameters\\": [ + "name": "staticImplementedByObjectLiteral", + "parameters": [ { - \\"name\\": \\"ringer\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IBellRinger\\" + "name": "ringer", + "type": { + "fqn": "jsii-calc.IBellRinger" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"remarks\\": \\"Return whether the bell was rung.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"...if the interface is implemented using a private class.\\" + "docs": { + "remarks": "Return whether the bell was rung.", + "stability": "experimental", + "summary": "...if the interface is implemented using a private class." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2338 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2338 }, - \\"name\\": \\"staticImplementedByPrivateClass\\", - \\"parameters\\": [ + "name": "staticImplementedByPrivateClass", + "parameters": [ { - \\"name\\": \\"ringer\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IBellRinger\\" + "name": "ringer", + "type": { + "fqn": "jsii-calc.IBellRinger" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"remarks\\": \\"Return whether the bell was rung.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"...if the interface is implemented using a public class.\\" + "docs": { + "remarks": "Return whether the bell was rung.", + "stability": "experimental", + "summary": "...if the interface is implemented using a public class." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2327 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2327 }, - \\"name\\": \\"staticImplementedByPublicClass\\", - \\"parameters\\": [ + "name": "staticImplementedByPublicClass", + "parameters": [ { - \\"name\\": \\"ringer\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IBellRinger\\" + "name": "ringer", + "type": { + "fqn": "jsii-calc.IBellRinger" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"remarks\\": \\"Return whether the bell was rung.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"If the parameter is a concrete class instead of an interface.\\" + "docs": { + "remarks": "Return whether the bell was rung.", + "stability": "experimental", + "summary": "If the parameter is a concrete class instead of an interface." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2349 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2349 }, - \\"name\\": \\"staticWhenTypedAsClass\\", - \\"parameters\\": [ + "name": "staticWhenTypedAsClass", + "parameters": [ { - \\"name\\": \\"ringer\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IConcreteBellRinger\\" + "name": "ringer", + "type": { + "fqn": "jsii-calc.IConcreteBellRinger" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"remarks\\": \\"Returns whether the bell was rung.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"...if the interface is implemented using an object literal.\\" + "docs": { + "remarks": "Returns whether the bell was rung.", + "stability": "experimental", + "summary": "...if the interface is implemented using an object literal." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2359 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2359 }, - \\"name\\": \\"implementedByObjectLiteral\\", - \\"parameters\\": [ + "name": "implementedByObjectLiteral", + "parameters": [ { - \\"name\\": \\"ringer\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IBellRinger\\" + "name": "ringer", + "type": { + "fqn": "jsii-calc.IBellRinger" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } } }, { - \\"docs\\": { - \\"remarks\\": \\"Return whether the bell was rung.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"...if the interface is implemented using a private class.\\" + "docs": { + "remarks": "Return whether the bell was rung.", + "stability": "experimental", + "summary": "...if the interface is implemented using a private class." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2385 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2385 }, - \\"name\\": \\"implementedByPrivateClass\\", - \\"parameters\\": [ + "name": "implementedByPrivateClass", + "parameters": [ { - \\"name\\": \\"ringer\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IBellRinger\\" + "name": "ringer", + "type": { + "fqn": "jsii-calc.IBellRinger" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } } }, { - \\"docs\\": { - \\"remarks\\": \\"Return whether the bell was rung.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"...if the interface is implemented using a public class.\\" + "docs": { + "remarks": "Return whether the bell was rung.", + "stability": "experimental", + "summary": "...if the interface is implemented using a public class." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2374 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2374 }, - \\"name\\": \\"implementedByPublicClass\\", - \\"parameters\\": [ + "name": "implementedByPublicClass", + "parameters": [ { - \\"name\\": \\"ringer\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IBellRinger\\" + "name": "ringer", + "type": { + "fqn": "jsii-calc.IBellRinger" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } } }, { - \\"docs\\": { - \\"remarks\\": \\"Return whether the bell was rung.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"If the parameter is a concrete class instead of an interface.\\" + "docs": { + "remarks": "Return whether the bell was rung.", + "stability": "experimental", + "summary": "If the parameter is a concrete class instead of an interface." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2396 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2396 }, - \\"name\\": \\"whenTypedAsClass\\", - \\"parameters\\": [ + "name": "whenTypedAsClass", + "parameters": [ { - \\"name\\": \\"ringer\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IConcreteBellRinger\\" + "name": "ringer", + "type": { + "fqn": "jsii-calc.IConcreteBellRinger" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } } } ], - \\"name\\": \\"ConsumerCanRingBell\\" + "name": "ConsumerCanRingBell" }, - \\"jsii-calc.ConsumersOfThisCrazyTypeSystem\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ConsumersOfThisCrazyTypeSystem": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ConsumersOfThisCrazyTypeSystem\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ConsumersOfThisCrazyTypeSystem", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1820 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1820 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1821 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1821 }, - \\"name\\": \\"consumeAnotherPublicInterface\\", - \\"parameters\\": [ + "name": "consumeAnotherPublicInterface", + "parameters": [ { - \\"name\\": \\"obj\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IAnotherPublicInterface\\" + "name": "obj", + "type": { + "fqn": "jsii-calc.IAnotherPublicInterface" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1825 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1825 }, - \\"name\\": \\"consumeNonInternalInterface\\", - \\"parameters\\": [ + "name": "consumeNonInternalInterface", + "parameters": [ { - \\"name\\": \\"obj\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.INonInternalInterface\\" + "name": "obj", + "type": { + "fqn": "jsii-calc.INonInternalInterface" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "returns": { + "type": { + "primitive": "any" } } } ], - \\"name\\": \\"ConsumersOfThisCrazyTypeSystem\\" + "name": "ConsumersOfThisCrazyTypeSystem" }, - \\"jsii-calc.DataRenderer\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Verifies proper type handling through dynamic overrides.\\" + "jsii-calc.DataRenderer": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Verifies proper type handling through dynamic overrides." }, - \\"fqn\\": \\"jsii-calc.DataRenderer\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.DataRenderer", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1981 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1981 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1982 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1982 }, - \\"name\\": \\"render\\", - \\"parameters\\": [ + "name": "render", + "parameters": [ { - \\"name\\": \\"data\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.MyFirstStruct\\" + "name": "data", + "optional": true, + "type": { + "fqn": "@scope/jsii-calc-lib.MyFirstStruct" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1988 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1988 }, - \\"name\\": \\"renderArbitrary\\", - \\"parameters\\": [ + "name": "renderArbitrary", + "parameters": [ { - \\"name\\": \\"data\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "name": "data", + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"map\\" + "kind": "map" } } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1992 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1992 }, - \\"name\\": \\"renderMap\\", - \\"parameters\\": [ + "name": "renderMap", + "parameters": [ { - \\"name\\": \\"map\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "name": "map", + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"map\\" + "kind": "map" } } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"DataRenderer\\" + "name": "DataRenderer" }, - \\"jsii-calc.DefaultedConstructorArgument\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.DefaultedConstructorArgument\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.DefaultedConstructorArgument": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.DefaultedConstructorArgument", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 318 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 318 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"arg1\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "arg1", + "optional": true, + "type": { + "primitive": "number" } }, { - \\"name\\": \\"arg2\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "arg2", + "optional": true, + "type": { + "primitive": "string" } }, { - \\"name\\": \\"arg3\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"date\\" + "name": "arg3", + "optional": true, + "type": { + "primitive": "date" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 317 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 317 }, - \\"name\\": \\"DefaultedConstructorArgument\\", - \\"properties\\": [ + "name": "DefaultedConstructorArgument", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 319 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 319 }, - \\"name\\": \\"arg1\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "arg1", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 321 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 321 }, - \\"name\\": \\"arg3\\", - \\"type\\": { - \\"primitive\\": \\"date\\" + "name": "arg3", + "type": { + "primitive": "date" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 320 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 320 }, - \\"name\\": \\"arg2\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "arg2", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.Demonstrate982\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"call #takeThis() -> An ObjectRef will be provisioned for the value (it'll be re-used!)\\\\n2. call #takeThisToo() -> The ObjectRef from before will need to be down-cased to the ParentStruct982 type\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"1.\\" - }, - \\"fqn\\": \\"jsii-calc.Demonstrate982\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - } - }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2508 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"It's dangerous to go alone!\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2515 - }, - \\"name\\": \\"takeThis\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.ChildStruct982\\" + "jsii-calc.Demonstrate982": { + "assembly": "jsii-calc", + "docs": { + "remarks": "call #takeThis() -> An ObjectRef will be provisioned for the value (it'll be re-used!)\\n2. call #takeThisToo() -> The ObjectRef from before will need to be down-cased to the ParentStruct982 type", + "stability": "experimental", + "summary": "1." + }, + "fqn": "jsii-calc.Demonstrate982", + "initializer": { + "docs": { + "stability": "experimental" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2508 + }, + "methods": [ + { + "docs": { + "stability": "experimental", + "summary": "It's dangerous to go alone!" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2515 + }, + "name": "takeThis", + "returns": { + "type": { + "fqn": "jsii-calc.ChildStruct982" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"It's dangerous to go alone!\\" + "docs": { + "stability": "experimental", + "summary": "It's dangerous to go alone!" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2520 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2520 }, - \\"name\\": \\"takeThisToo\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.ParentStruct982\\" + "name": "takeThisToo", + "returns": { + "type": { + "fqn": "jsii-calc.ParentStruct982" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"Demonstrate982\\" + "name": "Demonstrate982" }, - \\"jsii-calc.DeprecatedClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"deprecated\\": \\"a pretty boring class\\", - \\"stability\\": \\"deprecated\\" - }, - \\"fqn\\": \\"jsii-calc.DeprecatedClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"deprecated\\": \\"this constructor is \\\\\\"just\\\\\\" okay\\", - \\"stability\\": \\"deprecated\\" + "jsii-calc.DeprecatedClass": { + "assembly": "jsii-calc", + "docs": { + "deprecated": "a pretty boring class", + "stability": "deprecated" + }, + "fqn": "jsii-calc.DeprecatedClass", + "initializer": { + "docs": { + "deprecated": "this constructor is \\"just\\" okay", + "stability": "deprecated" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 95 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 95 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"readonlyString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyString", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"mutableNumber\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableNumber", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 89 + "kind": "class", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 89 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"deprecated\\": \\"it was a bad idea\\", - \\"stability\\": \\"deprecated\\" + "docs": { + "deprecated": "it was a bad idea", + "stability": "deprecated" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 100 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 100 }, - \\"name\\": \\"method\\" + "name": "method" } ], - \\"name\\": \\"DeprecatedClass\\", - \\"properties\\": [ + "name": "DeprecatedClass", + "properties": [ { - \\"docs\\": { - \\"deprecated\\": \\"this is not always \\\\\\"wazoo\\\\\\", be ready to be disappointed\\", - \\"stability\\": \\"deprecated\\" + "docs": { + "deprecated": "this is not always \\"wazoo\\", be ready to be disappointed", + "stability": "deprecated" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 91 + "immutable": true, + "locationInModule": { + "filename": "lib/stability.ts", + "line": 91 }, - \\"name\\": \\"readonlyProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyProperty", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"deprecated\\": \\"shouldn't have been mutable\\", - \\"stability\\": \\"deprecated\\" + "docs": { + "deprecated": "shouldn't have been mutable", + "stability": "deprecated" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 93 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 93 }, - \\"name\\": \\"mutableProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableProperty", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.DeprecatedEnum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"deprecated\\": \\"your deprecated selection of bad options\\", - \\"stability\\": \\"deprecated\\" + "jsii-calc.DeprecatedEnum": { + "assembly": "jsii-calc", + "docs": { + "deprecated": "your deprecated selection of bad options", + "stability": "deprecated" }, - \\"fqn\\": \\"jsii-calc.DeprecatedEnum\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 105 + "fqn": "jsii-calc.DeprecatedEnum", + "kind": "enum", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 105 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"deprecated\\": \\"option A is not great\\", - \\"stability\\": \\"deprecated\\" + "docs": { + "deprecated": "option A is not great", + "stability": "deprecated" }, - \\"name\\": \\"OPTION_A\\" + "name": "OPTION_A" }, { - \\"docs\\": { - \\"deprecated\\": \\"option B is kinda bad, too\\", - \\"stability\\": \\"deprecated\\" + "docs": { + "deprecated": "option B is kinda bad, too", + "stability": "deprecated" }, - \\"name\\": \\"OPTION_B\\" + "name": "OPTION_B" } ], - \\"name\\": \\"DeprecatedEnum\\" + "name": "DeprecatedEnum" }, - \\"jsii-calc.DeprecatedStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"deprecated\\": \\"it just wraps a string\\", - \\"stability\\": \\"deprecated\\" - }, - \\"fqn\\": \\"jsii-calc.DeprecatedStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 77 - }, - \\"name\\": \\"DeprecatedStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"deprecated\\": \\"well, yeah\\", - \\"stability\\": \\"deprecated\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 79 - }, - \\"name\\": \\"readonlyProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.DeprecatedStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "deprecated": "it just wraps a string", + "stability": "deprecated" + }, + "fqn": "jsii-calc.DeprecatedStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 77 + }, + "name": "DeprecatedStruct", + "properties": [ + { + "abstract": true, + "docs": { + "deprecated": "well, yeah", + "stability": "deprecated" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/stability.ts", + "line": 79 + }, + "name": "readonlyProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.DerivedClassHasNoProperties.Base\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.DerivedClassHasNoProperties.Base": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.DerivedClassHasNoProperties.Base\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.DerivedClassHasNoProperties.Base", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 326 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 326 }, - \\"name\\": \\"Base\\", - \\"namespace\\": \\"DerivedClassHasNoProperties\\", - \\"properties\\": [ + "name": "Base", + "namespace": "DerivedClassHasNoProperties", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 327 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 327 }, - \\"name\\": \\"prop\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "prop", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.DerivedClassHasNoProperties.Derived\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.DerivedClassHasNoProperties.Base\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.DerivedClassHasNoProperties.Derived": { + "assembly": "jsii-calc", + "base": "jsii-calc.DerivedClassHasNoProperties.Base", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.DerivedClassHasNoProperties.Derived\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.DerivedClassHasNoProperties.Derived", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 330 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 330 }, - \\"name\\": \\"Derived\\", - \\"namespace\\": \\"DerivedClassHasNoProperties\\" + "name": "Derived", + "namespace": "DerivedClassHasNoProperties" }, - \\"jsii-calc.DerivedStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"A struct which derives from another struct.\\" - }, - \\"fqn\\": \\"jsii-calc.DerivedStruct\\", - \\"interfaces\\": [ - \\"@scope/jsii-calc-lib.MyFirstStruct\\" + "jsii-calc.DerivedStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental", + "summary": "A struct which derives from another struct." + }, + "fqn": "jsii-calc.DerivedStruct", + "interfaces": [ + "@scope/jsii-calc-lib.MyFirstStruct" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 541 - }, - \\"name\\": \\"DerivedStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 547 - }, - \\"name\\": \\"anotherRequired\\", - \\"type\\": { - \\"primitive\\": \\"date\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 541 + }, + "name": "DerivedStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 547 + }, + "name": "anotherRequired", + "type": { + "primitive": "date" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 546 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 546 }, - \\"name\\": \\"bool\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "bool", + "type": { + "primitive": "boolean" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"An example of a non primitive property.\\" + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "An example of a non primitive property." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 545 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 545 }, - \\"name\\": \\"nonPrimitive\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.DoubleTrouble\\" + "name": "nonPrimitive", + "type": { + "fqn": "jsii-calc.DoubleTrouble" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This is optional.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 553 - }, - \\"name\\": \\"anotherOptional\\", - \\"optional\\": true, - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "This is optional." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 553 + }, + "name": "anotherOptional", + "optional": true, + "type": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.Value" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 549 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 549 }, - \\"name\\": \\"optionalAny\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "optionalAny", + "optional": true, + "type": { + "primitive": "any" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 548 - }, - \\"name\\": \\"optionalArray\\", - \\"optional\\": true, - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 548 + }, + "name": "optionalArray", + "optional": true, + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } } ] }, - \\"jsii-calc.DiamondInheritanceBaseLevelStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.DiamondInheritanceBaseLevelStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2026 - }, - \\"name\\": \\"DiamondInheritanceBaseLevelStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2027 - }, - \\"name\\": \\"baseLevelProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.DiamondInheritanceBaseLevelStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.DiamondInheritanceBaseLevelStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2026 + }, + "name": "DiamondInheritanceBaseLevelStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2027 + }, + "name": "baseLevelProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.DiamondInheritanceFirstMidLevelStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.DiamondInheritanceFirstMidLevelStruct\\", - \\"interfaces\\": [ - \\"jsii-calc.DiamondInheritanceBaseLevelStruct\\" + "jsii-calc.DiamondInheritanceFirstMidLevelStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.DiamondInheritanceFirstMidLevelStruct", + "interfaces": [ + "jsii-calc.DiamondInheritanceBaseLevelStruct" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2030 - }, - \\"name\\": \\"DiamondInheritanceFirstMidLevelStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2032 - }, - \\"name\\": \\"firstMidLevelProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2030 + }, + "name": "DiamondInheritanceFirstMidLevelStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2032 + }, + "name": "firstMidLevelProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.DiamondInheritanceSecondMidLevelStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.DiamondInheritanceSecondMidLevelStruct\\", - \\"interfaces\\": [ - \\"jsii-calc.DiamondInheritanceBaseLevelStruct\\" + "jsii-calc.DiamondInheritanceSecondMidLevelStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.DiamondInheritanceSecondMidLevelStruct", + "interfaces": [ + "jsii-calc.DiamondInheritanceBaseLevelStruct" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2035 - }, - \\"name\\": \\"DiamondInheritanceSecondMidLevelStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2037 - }, - \\"name\\": \\"secondMidLevelProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2035 + }, + "name": "DiamondInheritanceSecondMidLevelStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2037 + }, + "name": "secondMidLevelProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.DiamondInheritanceTopLevelStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.DiamondInheritanceTopLevelStruct\\", - \\"interfaces\\": [ - \\"jsii-calc.DiamondInheritanceFirstMidLevelStruct\\", - \\"jsii-calc.DiamondInheritanceSecondMidLevelStruct\\" + "jsii-calc.DiamondInheritanceTopLevelStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.DiamondInheritanceTopLevelStruct", + "interfaces": [ + "jsii-calc.DiamondInheritanceFirstMidLevelStruct", + "jsii-calc.DiamondInheritanceSecondMidLevelStruct" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2040 - }, - \\"name\\": \\"DiamondInheritanceTopLevelStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2043 - }, - \\"name\\": \\"topLevelProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2040 + }, + "name": "DiamondInheritanceTopLevelStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2043 + }, + "name": "topLevelProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.DisappointingCollectionSource\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"This source of collections is disappointing - it'll always give you nothing :(\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Verifies that null/undefined can be returned for optional collections.\\" - }, - \\"fqn\\": \\"jsii-calc.DisappointingCollectionSource\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2530 - }, - \\"name\\": \\"DisappointingCollectionSource\\", - \\"properties\\": [ - { - \\"const\\": true, - \\"docs\\": { - \\"remarks\\": \\"(Nah, just a billion dollars mistake!)\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Some List of strings, maybe?\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2532 - }, - \\"name\\": \\"maybeList\\", - \\"optional\\": true, - \\"static\\": true, - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.DisappointingCollectionSource": { + "assembly": "jsii-calc", + "docs": { + "remarks": "This source of collections is disappointing - it'll always give you nothing :(", + "stability": "experimental", + "summary": "Verifies that null/undefined can be returned for optional collections." + }, + "fqn": "jsii-calc.DisappointingCollectionSource", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2530 + }, + "name": "DisappointingCollectionSource", + "properties": [ + { + "const": true, + "docs": { + "remarks": "(Nah, just a billion dollars mistake!)", + "stability": "experimental", + "summary": "Some List of strings, maybe?" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2532 + }, + "name": "maybeList", + "optional": true, + "static": true, + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"const\\": true, - \\"docs\\": { - \\"remarks\\": \\"(Nah, just a billion dollars mistake!)\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Some Map of strings to numbers, maybe?\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2534 - }, - \\"name\\": \\"maybeMap\\", - \\"optional\\": true, - \\"static\\": true, - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"number\\" + "const": true, + "docs": { + "remarks": "(Nah, just a billion dollars mistake!)", + "stability": "experimental", + "summary": "Some Map of strings to numbers, maybe?" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2534 + }, + "name": "maybeMap", + "optional": true, + "static": true, + "type": { + "collection": { + "elementtype": { + "primitive": "number" }, - \\"kind\\": \\"map\\" + "kind": "map" } } } ] }, - \\"jsii-calc.DoNotOverridePrivates\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.DoNotOverridePrivates": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.DoNotOverridePrivates\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.DoNotOverridePrivates", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1297 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1297 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1312 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1312 }, - \\"name\\": \\"changePrivatePropertyValue\\", - \\"parameters\\": [ + "name": "changePrivatePropertyValue", + "parameters": [ { - \\"name\\": \\"newValue\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "newValue", + "type": { + "primitive": "string" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1304 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1304 }, - \\"name\\": \\"privateMethodValue\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "privateMethodValue", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1308 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1308 }, - \\"name\\": \\"privatePropertyValue\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "privatePropertyValue", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"DoNotOverridePrivates\\" + "name": "DoNotOverridePrivates" }, - \\"jsii-calc.DoNotRecognizeAnyAsOptional\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"jsii#284: do not recognize \\\\\\"any\\\\\\" as an optional argument.\\" + "jsii-calc.DoNotRecognizeAnyAsOptional": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "jsii#284: do not recognize \\"any\\" as an optional argument." }, - \\"fqn\\": \\"jsii-calc.DoNotRecognizeAnyAsOptional\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.DoNotRecognizeAnyAsOptional", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1353 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1353 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1354 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1354 }, - \\"name\\": \\"method\\", - \\"parameters\\": [ + "name": "method", + "parameters": [ { - \\"name\\": \\"_requiredAny\\", - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "_requiredAny", + "type": { + "primitive": "any" } }, { - \\"name\\": \\"_optionalAny\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "_optionalAny", + "optional": true, + "type": { + "primitive": "any" } }, { - \\"name\\": \\"_optionalString\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "_optionalString", + "optional": true, + "type": { + "primitive": "string" } } ] } ], - \\"name\\": \\"DoNotRecognizeAnyAsOptional\\" + "name": "DoNotRecognizeAnyAsOptional" }, - \\"jsii-calc.DocumentedClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"This is the meat of the TSDoc comment. It may contain\\\\nmultiple lines and multiple paragraphs.\\\\n\\\\nMultiple paragraphs are separated by an empty line.\\", - \\"stability\\": \\"stable\\", - \\"summary\\": \\"Here's the first line of the TSDoc comment.\\" - }, - \\"fqn\\": \\"jsii-calc.DocumentedClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - } - }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/documented.ts\\", - \\"line\\": 11 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"remarks\\": \\"This will print out a friendly greeting intended for\\\\nthe indicated person.\\", - \\"returns\\": \\"A number that everyone knows very well\\", - \\"stability\\": \\"stable\\", - \\"summary\\": \\"Greet the indicated person.\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/documented.ts\\", - \\"line\\": 21 - }, - \\"name\\": \\"greet\\", - \\"parameters\\": [ + "jsii-calc.DocumentedClass": { + "assembly": "jsii-calc", + "docs": { + "remarks": "This is the meat of the TSDoc comment. It may contain\\nmultiple lines and multiple paragraphs.\\n\\nMultiple paragraphs are separated by an empty line.", + "stability": "stable", + "summary": "Here's the first line of the TSDoc comment." + }, + "fqn": "jsii-calc.DocumentedClass", + "initializer": { + "docs": { + "stability": "experimental" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/documented.ts", + "line": 11 + }, + "methods": [ + { + "docs": { + "remarks": "This will print out a friendly greeting intended for\\nthe indicated person.", + "returns": "A number that everyone knows very well", + "stability": "stable", + "summary": "Greet the indicated person." + }, + "locationInModule": { + "filename": "lib/documented.ts", + "line": 21 + }, + "name": "greet", + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"The person to be greeted.\\" + "docs": { + "summary": "The person to be greeted." }, - \\"name\\": \\"greetee\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.Greetee\\" + "name": "greetee", + "optional": true, + "type": { + "fqn": "jsii-calc.Greetee" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say ¡Hola!\\" + "docs": { + "stability": "experimental", + "summary": "Say ¡Hola!" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/documented.ts\\", - \\"line\\": 31 + "locationInModule": { + "filename": "lib/documented.ts", + "line": 31 }, - \\"name\\": \\"hola\\" + "name": "hola" } ], - \\"name\\": \\"DocumentedClass\\" + "name": "DocumentedClass" }, - \\"jsii-calc.DontComplainAboutVariadicAfterOptional\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.DontComplainAboutVariadicAfterOptional": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.DontComplainAboutVariadicAfterOptional\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.DontComplainAboutVariadicAfterOptional", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1430 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1430 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1431 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1431 }, - \\"name\\": \\"optionalAndVariadic\\", - \\"parameters\\": [ + "name": "optionalAndVariadic", + "parameters": [ { - \\"name\\": \\"optional\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "optional", + "optional": true, + "type": { + "primitive": "string" } }, { - \\"name\\": \\"things\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "things", + "type": { + "primitive": "string" }, - \\"variadic\\": true + "variadic": true } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } }, - \\"variadic\\": true + "variadic": true } ], - \\"name\\": \\"DontComplainAboutVariadicAfterOptional\\" + "name": "DontComplainAboutVariadicAfterOptional" }, - \\"jsii-calc.DoubleTrouble\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.DoubleTrouble": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.DoubleTrouble\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.DoubleTrouble", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"interfaces\\": [ - \\"jsii-calc.IFriendlyRandomGenerator\\" + "interfaces": [ + "jsii-calc.IFriendlyRandomGenerator" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 485 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say hello!\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 490 - }, - \\"name\\": \\"hello\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.IFriendly\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 485 + }, + "methods": [ + { + "docs": { + "stability": "experimental", + "summary": "Say hello!" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 490 + }, + "name": "hello", + "overrides": "@scope/jsii-calc-lib.IFriendly", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns another random number.\\" + "docs": { + "stability": "experimental", + "summary": "Returns another random number." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 486 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 486 }, - \\"name\\": \\"next\\", - \\"overrides\\": \\"jsii-calc.IRandomNumberGenerator\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "next", + "overrides": "jsii-calc.IRandomNumberGenerator", + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"DoubleTrouble\\" + "name": "DoubleTrouble" }, - \\"jsii-calc.EnumDispenser\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.EnumDispenser\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 45 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 51 - }, - \\"name\\": \\"randomIntegerLikeEnum\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.AllTypesEnum\\" + "jsii-calc.EnumDispenser": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.EnumDispenser", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 45 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 51 + }, + "name": "randomIntegerLikeEnum", + "returns": { + "type": { + "fqn": "jsii-calc.AllTypesEnum" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 46 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 46 }, - \\"name\\": \\"randomStringLikeEnum\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.StringEnum\\" + "name": "randomStringLikeEnum", + "returns": { + "type": { + "fqn": "jsii-calc.StringEnum" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"EnumDispenser\\" + "name": "EnumDispenser" }, - \\"jsii-calc.EraseUndefinedHashValues\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.EraseUndefinedHashValues": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.EraseUndefinedHashValues\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.EraseUndefinedHashValues", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1643 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1643 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"remarks\\": \\"Used to check that undefined/null hash values\\\\nare being erased when sending values from native code to JS.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns \`true\` if \`key\` is defined in \`opts\`.\\" + "docs": { + "remarks": "Used to check that undefined/null hash values\\nare being erased when sending values from native code to JS.", + "stability": "experimental", + "summary": "Returns \`true\` if \`key\` is defined in \`opts\`." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1648 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1648 }, - \\"name\\": \\"doesKeyExist\\", - \\"parameters\\": [ + "name": "doesKeyExist", + "parameters": [ { - \\"name\\": \\"opts\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.EraseUndefinedHashValuesOptions\\" + "name": "opts", + "type": { + "fqn": "jsii-calc.EraseUndefinedHashValuesOptions" } }, { - \\"name\\": \\"key\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "key", + "type": { + "primitive": "string" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"We expect \\\\\\"prop1\\\\\\" to be erased.\\" + "docs": { + "stability": "experimental", + "summary": "We expect \\"prop1\\" to be erased." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1668 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1668 }, - \\"name\\": \\"prop1IsNull\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "name": "prop1IsNull", + "returns": { + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"We expect \\\\\\"prop2\\\\\\" to be erased.\\" + "docs": { + "stability": "experimental", + "summary": "We expect \\"prop2\\" to be erased." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1658 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1658 }, - \\"name\\": \\"prop2IsUndefined\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "name": "prop2IsUndefined", + "returns": { + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"EraseUndefinedHashValues\\" + "name": "EraseUndefinedHashValues" }, - \\"jsii-calc.EraseUndefinedHashValuesOptions\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.EraseUndefinedHashValuesOptions\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1638 - }, - \\"name\\": \\"EraseUndefinedHashValuesOptions\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1639 - }, - \\"name\\": \\"option1\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.EraseUndefinedHashValuesOptions": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.EraseUndefinedHashValuesOptions", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1638 + }, + "name": "EraseUndefinedHashValuesOptions", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1639 + }, + "name": "option1", + "optional": true, + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1640 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1640 }, - \\"name\\": \\"option2\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "option2", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.ExperimentalClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ExperimentalClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ExperimentalClass": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ExperimentalClass", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 22 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 22 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"readonlyString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyString", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"mutableNumber\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableNumber", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 16 + "kind": "class", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 16 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 28 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 28 }, - \\"name\\": \\"method\\" + "name": "method" } ], - \\"name\\": \\"ExperimentalClass\\", - \\"properties\\": [ + "name": "ExperimentalClass", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 18 + "immutable": true, + "locationInModule": { + "filename": "lib/stability.ts", + "line": 18 }, - \\"name\\": \\"readonlyProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyProperty", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 20 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 20 }, - \\"name\\": \\"mutableProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableProperty", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.ExperimentalEnum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ExperimentalEnum": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ExperimentalEnum\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 33 + "fqn": "jsii-calc.ExperimentalEnum", + "kind": "enum", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 33 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"name\\": \\"OPTION_A\\" + "name": "OPTION_A" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"name\\": \\"OPTION_B\\" + "name": "OPTION_B" } ], - \\"name\\": \\"ExperimentalEnum\\" + "name": "ExperimentalEnum" }, - \\"jsii-calc.ExperimentalStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ExperimentalStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 4 - }, - \\"name\\": \\"ExperimentalStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 6 - }, - \\"name\\": \\"readonlyProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.ExperimentalStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ExperimentalStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 4 + }, + "name": "ExperimentalStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/stability.ts", + "line": 6 + }, + "name": "readonlyProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.ExportedBaseClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ExportedBaseClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ExportedBaseClass": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ExportedBaseClass", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1516 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1516 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"success\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "success", + "type": { + "primitive": "boolean" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1515 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1515 }, - \\"name\\": \\"ExportedBaseClass\\", - \\"properties\\": [ + "name": "ExportedBaseClass", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1516 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1516 }, - \\"name\\": \\"success\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "success", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.ExtendsInternalInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ExtendsInternalInterface\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1757 - }, - \\"name\\": \\"ExtendsInternalInterface\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1758 - }, - \\"name\\": \\"boom\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "jsii-calc.ExtendsInternalInterface": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ExtendsInternalInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1757 + }, + "name": "ExtendsInternalInterface", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1758 + }, + "name": "boom", + "type": { + "primitive": "boolean" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1698 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1698 }, - \\"name\\": \\"prop\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "prop", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.ExternalClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "jsii-calc.ExternalClass": { + "assembly": "jsii-calc", + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ExternalClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "fqn": "jsii-calc.ExternalClass", + "initializer": { + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 131 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 131 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"readonlyString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyString", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"mutableNumber\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableNumber", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 125 + "kind": "class", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 125 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 136 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 136 }, - \\"name\\": \\"method\\" + "name": "method" } ], - \\"name\\": \\"ExternalClass\\", - \\"properties\\": [ + "name": "ExternalClass", + "properties": [ { - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 127 + "immutable": true, + "locationInModule": { + "filename": "lib/stability.ts", + "line": 127 }, - \\"name\\": \\"readonlyProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyProperty", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 129 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 129 }, - \\"name\\": \\"mutableProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableProperty", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.ExternalEnum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "jsii-calc.ExternalEnum": { + "assembly": "jsii-calc", + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ExternalEnum\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 141 + "fqn": "jsii-calc.ExternalEnum", + "kind": "enum", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 141 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"name\\": \\"OPTION_A\\" + "name": "OPTION_A" }, { - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"name\\": \\"OPTION_B\\" + "name": "OPTION_B" } ], - \\"name\\": \\"ExternalEnum\\" + "name": "ExternalEnum" }, - \\"jsii-calc.ExternalStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "jsii-calc.ExternalStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ExternalStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 113 + "fqn": "jsii-calc.ExternalStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 113 }, - \\"name\\": \\"ExternalStruct\\", - \\"properties\\": [ + "name": "ExternalStruct", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "abstract": true, + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 115 + "immutable": true, + "locationInModule": { + "filename": "lib/stability.ts", + "line": 115 }, - \\"name\\": \\"readonlyProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.GiveMeStructs\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.GiveMeStructs": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.GiveMeStructs\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.GiveMeStructs", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 556 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 556 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Accepts a struct of type DerivedStruct and returns a struct of type FirstStruct.\\" + "docs": { + "stability": "experimental", + "summary": "Accepts a struct of type DerivedStruct and returns a struct of type FirstStruct." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 574 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 574 }, - \\"name\\": \\"derivedToFirst\\", - \\"parameters\\": [ + "name": "derivedToFirst", + "parameters": [ { - \\"name\\": \\"derived\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.DerivedStruct\\" + "name": "derived", + "type": { + "fqn": "jsii-calc.DerivedStruct" } } ], - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.MyFirstStruct\\" + "returns": { + "type": { + "fqn": "@scope/jsii-calc-lib.MyFirstStruct" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns the boolean from a DerivedStruct struct.\\" + "docs": { + "stability": "experimental", + "summary": "Returns the boolean from a DerivedStruct struct." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 567 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 567 }, - \\"name\\": \\"readDerivedNonPrimitive\\", - \\"parameters\\": [ + "name": "readDerivedNonPrimitive", + "parameters": [ { - \\"name\\": \\"derived\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.DerivedStruct\\" + "name": "derived", + "type": { + "fqn": "jsii-calc.DerivedStruct" } } ], - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.DoubleTrouble\\" + "returns": { + "type": { + "fqn": "jsii-calc.DoubleTrouble" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns the \\\\\\"anumber\\\\\\" from a MyFirstStruct struct;\\" + "docs": { + "stability": "experimental", + "summary": "Returns the \\"anumber\\" from a MyFirstStruct struct;" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 560 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 560 }, - \\"name\\": \\"readFirstNumber\\", - \\"parameters\\": [ + "name": "readFirstNumber", + "parameters": [ { - \\"name\\": \\"first\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.MyFirstStruct\\" + "name": "first", + "type": { + "fqn": "@scope/jsii-calc-lib.MyFirstStruct" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"GiveMeStructs\\", - \\"properties\\": [ + "name": "GiveMeStructs", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 578 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 578 }, - \\"name\\": \\"structLiteral\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\" + "name": "structLiteral", + "type": { + "fqn": "@scope/jsii-calc-lib.StructWithOnlyOptionals" } } ] }, - \\"jsii-calc.Greetee\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"These are some arguments you can pass to a method.\\" - }, - \\"fqn\\": \\"jsii-calc.Greetee\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/documented.ts\\", - \\"line\\": 39 - }, - \\"name\\": \\"Greetee\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"default\\": \\"world\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The name of the greetee.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/documented.ts\\", - \\"line\\": 45 - }, - \\"name\\": \\"name\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.Greetee": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental", + "summary": "These are some arguments you can pass to a method." + }, + "fqn": "jsii-calc.Greetee", + "kind": "interface", + "locationInModule": { + "filename": "lib/documented.ts", + "line": 39 + }, + "name": "Greetee", + "properties": [ + { + "abstract": true, + "docs": { + "default": "world", + "stability": "experimental", + "summary": "The name of the greetee." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/documented.ts", + "line": 45 + }, + "name": "name", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.GreetingAugmenter\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.GreetingAugmenter": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.GreetingAugmenter\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.GreetingAugmenter", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 532 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 532 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 533 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 533 }, - \\"name\\": \\"betterGreeting\\", - \\"parameters\\": [ + "name": "betterGreeting", + "parameters": [ { - \\"name\\": \\"friendly\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.IFriendly\\" + "name": "friendly", + "type": { + "fqn": "@scope/jsii-calc-lib.IFriendly" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"GreetingAugmenter\\" + "name": "GreetingAugmenter" }, - \\"jsii-calc.IAnonymousImplementationProvider\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"We can return an anonymous interface implementation from an override without losing the interface declarations.\\" - }, - \\"fqn\\": \\"jsii-calc.IAnonymousImplementationProvider\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2208 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2210 - }, - \\"name\\": \\"provideAsClass\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.Implementation\\" + "jsii-calc.IAnonymousImplementationProvider": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "We can return an anonymous interface implementation from an override without losing the interface declarations." + }, + "fqn": "jsii-calc.IAnonymousImplementationProvider", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2208 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2210 + }, + "name": "provideAsClass", + "returns": { + "type": { + "fqn": "jsii-calc.Implementation" } } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2209 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2209 }, - \\"name\\": \\"provideAsInterface\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IAnonymouslyImplementMe\\" + "name": "provideAsInterface", + "returns": { + "type": { + "fqn": "jsii-calc.IAnonymouslyImplementMe" } } } ], - \\"name\\": \\"IAnonymousImplementationProvider\\" + "name": "IAnonymousImplementationProvider" }, - \\"jsii-calc.IAnonymouslyImplementMe\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IAnonymouslyImplementMe\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2227 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2229 - }, - \\"name\\": \\"verb\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.IAnonymouslyImplementMe": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IAnonymouslyImplementMe", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2227 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2229 + }, + "name": "verb", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"IAnonymouslyImplementMe\\", - \\"properties\\": [ + "name": "IAnonymouslyImplementMe", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2228 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2228 }, - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.IAnotherPublicInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IAnotherPublicInterface\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1778 - }, - \\"name\\": \\"IAnotherPublicInterface\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1779 - }, - \\"name\\": \\"a\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.IAnotherPublicInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IAnotherPublicInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1778 + }, + "name": "IAnotherPublicInterface", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1779 + }, + "name": "a", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.IBell\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.IBell": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.IBell\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2417 + "fqn": "jsii-calc.IBell", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2417 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2418 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2418 }, - \\"name\\": \\"ring\\" + "name": "ring" } ], - \\"name\\": \\"IBell\\" + "name": "IBell" }, - \\"jsii-calc.IBellRinger\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Takes the object parameter as an interface.\\" - }, - \\"fqn\\": \\"jsii-calc.IBellRinger\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2406 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2407 - }, - \\"name\\": \\"yourTurn\\", - \\"parameters\\": [ + "jsii-calc.IBellRinger": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Takes the object parameter as an interface." + }, + "fqn": "jsii-calc.IBellRinger", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2406 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2407 + }, + "name": "yourTurn", + "parameters": [ { - \\"name\\": \\"bell\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IBell\\" + "name": "bell", + "type": { + "fqn": "jsii-calc.IBell" } } ] } ], - \\"name\\": \\"IBellRinger\\" + "name": "IBellRinger" }, - \\"jsii-calc.IConcreteBellRinger\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Takes the object parameter as a calss.\\" - }, - \\"fqn\\": \\"jsii-calc.IConcreteBellRinger\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2413 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2414 - }, - \\"name\\": \\"yourTurn\\", - \\"parameters\\": [ + "jsii-calc.IConcreteBellRinger": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Takes the object parameter as a calss." + }, + "fqn": "jsii-calc.IConcreteBellRinger", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2413 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2414 + }, + "name": "yourTurn", + "parameters": [ { - \\"name\\": \\"bell\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.Bell\\" + "name": "bell", + "type": { + "fqn": "jsii-calc.Bell" } } ] } ], - \\"name\\": \\"IConcreteBellRinger\\" + "name": "IConcreteBellRinger" }, - \\"jsii-calc.IDeprecatedInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"deprecated\\": \\"useless interface\\", - \\"stability\\": \\"deprecated\\" + "jsii-calc.IDeprecatedInterface": { + "assembly": "jsii-calc", + "docs": { + "deprecated": "useless interface", + "stability": "deprecated" }, - \\"fqn\\": \\"jsii-calc.IDeprecatedInterface\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 82 + "fqn": "jsii-calc.IDeprecatedInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 82 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"deprecated\\": \\"services no purpose\\", - \\"stability\\": \\"deprecated\\" + "abstract": true, + "docs": { + "deprecated": "services no purpose", + "stability": "deprecated" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 86 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 86 }, - \\"name\\": \\"method\\" + "name": "method" } ], - \\"name\\": \\"IDeprecatedInterface\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"deprecated\\": \\"could be better\\", - \\"stability\\": \\"deprecated\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 84 - }, - \\"name\\": \\"mutableProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "IDeprecatedInterface", + "properties": [ + { + "abstract": true, + "docs": { + "deprecated": "could be better", + "stability": "deprecated" + }, + "locationInModule": { + "filename": "lib/stability.ts", + "line": 84 + }, + "name": "mutableProperty", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.IExperimentalInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.IExperimentalInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.IExperimentalInterface\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 9 + "fqn": "jsii-calc.IExperimentalInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 9 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 13 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 13 }, - \\"name\\": \\"method\\" + "name": "method" } ], - \\"name\\": \\"IExperimentalInterface\\", - \\"properties\\": [ + "name": "IExperimentalInterface", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 11 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 11 }, - \\"name\\": \\"mutableProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableProperty", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.IExtendsPrivateInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IExtendsPrivateInterface\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1769 - }, - \\"name\\": \\"IExtendsPrivateInterface\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1770 - }, - \\"name\\": \\"moreThings\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.IExtendsPrivateInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IExtendsPrivateInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1769 + }, + "name": "IExtendsPrivateInterface", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1770 + }, + "name": "moreThings", + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1754 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1754 }, - \\"name\\": \\"private\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "private", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.IExternalInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "jsii-calc.IExternalInterface": { + "assembly": "jsii-calc", + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.IExternalInterface\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 118 + "fqn": "jsii-calc.IExternalInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 118 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "abstract": true, + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 122 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 122 }, - \\"name\\": \\"method\\" + "name": "method" } ], - \\"name\\": \\"IExternalInterface\\", - \\"properties\\": [ + "name": "IExternalInterface", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"custom\\": { - \\"external\\": \\"true\\" + "abstract": true, + "docs": { + "custom": { + "external": "true" }, - \\"stability\\": \\"experimental\\" + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 120 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 120 }, - \\"name\\": \\"mutableProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableProperty", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.IFriendlier\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Even friendlier classes can implement this interface.\\" - }, - \\"fqn\\": \\"jsii-calc.IFriendlier\\", - \\"interfaces\\": [ - \\"@scope/jsii-calc-lib.IFriendly\\" + "jsii-calc.IFriendlier": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Even friendlier classes can implement this interface." + }, + "fqn": "jsii-calc.IFriendlier", + "interfaces": [ + "@scope/jsii-calc-lib.IFriendly" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 12 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say farewell.\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 22 - }, - \\"name\\": \\"farewell\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 12 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "Say farewell." + }, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 22 + }, + "name": "farewell", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"returns\\": \\"A goodbye blessing.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say goodbye.\\" + "abstract": true, + "docs": { + "returns": "A goodbye blessing.", + "stability": "experimental", + "summary": "Say goodbye." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 17 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 17 }, - \\"name\\": \\"goodbye\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "goodbye", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"IFriendlier\\" + "name": "IFriendlier" }, - \\"jsii-calc.IFriendlyRandomGenerator\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IFriendlyRandomGenerator\\", - \\"interfaces\\": [ - \\"jsii-calc.IRandomNumberGenerator\\", - \\"@scope/jsii-calc-lib.IFriendly\\" + "jsii-calc.IFriendlyRandomGenerator": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IFriendlyRandomGenerator", + "interfaces": [ + "jsii-calc.IRandomNumberGenerator", + "@scope/jsii-calc-lib.IFriendly" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 36 + "kind": "interface", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 36 }, - \\"name\\": \\"IFriendlyRandomGenerator\\" + "name": "IFriendlyRandomGenerator" }, - \\"jsii-calc.IInterfaceImplementedByAbstractClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"awslabs/jsii#220 Abstract return type.\\" - }, - \\"fqn\\": \\"jsii-calc.IInterfaceImplementedByAbstractClass\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1242 - }, - \\"name\\": \\"IInterfaceImplementedByAbstractClass\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1243 - }, - \\"name\\": \\"propFromInterface\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.IInterfaceImplementedByAbstractClass": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "awslabs/jsii#220 Abstract return type." + }, + "fqn": "jsii-calc.IInterfaceImplementedByAbstractClass", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1242 + }, + "name": "IInterfaceImplementedByAbstractClass", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1243 + }, + "name": "propFromInterface", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.IInterfaceThatShouldNotBeADataType\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Even though this interface has only properties, it is disqualified from being a datatype because it inherits from an interface that is not a datatype.\\" - }, - \\"fqn\\": \\"jsii-calc.IInterfaceThatShouldNotBeADataType\\", - \\"interfaces\\": [ - \\"jsii-calc.IInterfaceWithMethods\\" + "jsii-calc.IInterfaceThatShouldNotBeADataType": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Even though this interface has only properties, it is disqualified from being a datatype because it inherits from an interface that is not a datatype." + }, + "fqn": "jsii-calc.IInterfaceThatShouldNotBeADataType", + "interfaces": [ + "jsii-calc.IInterfaceWithMethods" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1345 - }, - \\"name\\": \\"IInterfaceThatShouldNotBeADataType\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1347 - }, - \\"name\\": \\"otherValue\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1345 + }, + "name": "IInterfaceThatShouldNotBeADataType", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1347 + }, + "name": "otherValue", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.IInterfaceWithInternal\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.IInterfaceWithInternal": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.IInterfaceWithInternal\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1709 + "fqn": "jsii-calc.IInterfaceWithInternal", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1709 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1710 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1710 }, - \\"name\\": \\"visible\\" + "name": "visible" } ], - \\"name\\": \\"IInterfaceWithInternal\\" + "name": "IInterfaceWithInternal" }, - \\"jsii-calc.IInterfaceWithMethods\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.IInterfaceWithMethods": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.IInterfaceWithMethods\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1335 + "fqn": "jsii-calc.IInterfaceWithMethods", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1335 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1338 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1338 }, - \\"name\\": \\"doThings\\" + "name": "doThings" } ], - \\"name\\": \\"IInterfaceWithMethods\\", - \\"properties\\": [ + "name": "IInterfaceWithMethods", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1336 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1336 }, - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "value", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.IInterfaceWithOptionalMethodArguments\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"awslabs/jsii#175 Interface proxies (and builders) do not respect optional arguments in methods.\\" - }, - \\"fqn\\": \\"jsii-calc.IInterfaceWithOptionalMethodArguments\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1220 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1221 - }, - \\"name\\": \\"hello\\", - \\"parameters\\": [ + "jsii-calc.IInterfaceWithOptionalMethodArguments": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "awslabs/jsii#175 Interface proxies (and builders) do not respect optional arguments in methods." + }, + "fqn": "jsii-calc.IInterfaceWithOptionalMethodArguments", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1220 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1221 + }, + "name": "hello", + "parameters": [ { - \\"name\\": \\"arg1\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "arg1", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"arg2\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "arg2", + "optional": true, + "type": { + "primitive": "number" } } ] } ], - \\"name\\": \\"IInterfaceWithOptionalMethodArguments\\" + "name": "IInterfaceWithOptionalMethodArguments" }, - \\"jsii-calc.IInterfaceWithProperties\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IInterfaceWithProperties\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 586 - }, - \\"name\\": \\"IInterfaceWithProperties\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 587 - }, - \\"name\\": \\"readOnlyString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.IInterfaceWithProperties": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IInterfaceWithProperties", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 586 + }, + "name": "IInterfaceWithProperties", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 587 + }, + "name": "readOnlyString", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 588 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 588 }, - \\"name\\": \\"readWriteString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readWriteString", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.IInterfaceWithPropertiesExtension\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IInterfaceWithPropertiesExtension\\", - \\"interfaces\\": [ - \\"jsii-calc.IInterfaceWithProperties\\" + "jsii-calc.IInterfaceWithPropertiesExtension": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IInterfaceWithPropertiesExtension", + "interfaces": [ + "jsii-calc.IInterfaceWithProperties" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 591 + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 591 }, - \\"name\\": \\"IInterfaceWithPropertiesExtension\\", - \\"properties\\": [ + "name": "IInterfaceWithPropertiesExtension", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 593 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 593 }, - \\"name\\": \\"foo\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "foo", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.IJSII417Derived\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IJSII417Derived\\", - \\"interfaces\\": [ - \\"jsii-calc.IJSII417PublicBaseOfBase\\" + "jsii-calc.IJSII417Derived": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IJSII417Derived", + "interfaces": [ + "jsii-calc.IJSII417PublicBaseOfBase" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 43 + "kind": "interface", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 43 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 41 + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 41 }, - \\"name\\": \\"bar\\" + "name": "bar" }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 44 + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 44 }, - \\"name\\": \\"baz\\" + "name": "baz" } ], - \\"name\\": \\"IJSII417Derived\\", - \\"properties\\": [ + "name": "IJSII417Derived", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 40 + "immutable": true, + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 40 }, - \\"name\\": \\"property\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "property", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.IJSII417PublicBaseOfBase\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.IJSII417PublicBaseOfBase": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.IJSII417PublicBaseOfBase\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 36 + "fqn": "jsii-calc.IJSII417PublicBaseOfBase", + "kind": "interface", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 36 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 37 + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 37 }, - \\"name\\": \\"foo\\" + "name": "foo" } ], - \\"name\\": \\"IJSII417PublicBaseOfBase\\", - \\"properties\\": [ + "name": "IJSII417PublicBaseOfBase", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 34 + "immutable": true, + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 34 }, - \\"name\\": \\"hasRoot\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "hasRoot", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.IJsii487External\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IJsii487External\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 52 - }, - \\"name\\": \\"IJsii487External\\" + "jsii-calc.IJsii487External": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IJsii487External", + "kind": "interface", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 52 + }, + "name": "IJsii487External" }, - \\"jsii-calc.IJsii487External2\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IJsii487External2\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 54 - }, - \\"name\\": \\"IJsii487External2\\" + "jsii-calc.IJsii487External2": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IJsii487External2", + "kind": "interface", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 54 + }, + "name": "IJsii487External2" }, - \\"jsii-calc.IJsii496\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IJsii496\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 64 - }, - \\"name\\": \\"IJsii496\\" + "jsii-calc.IJsii496": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IJsii496", + "kind": "interface", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 64 + }, + "name": "IJsii496" }, - \\"jsii-calc.IMutableObjectLiteral\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IMutableObjectLiteral\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1289 - }, - \\"name\\": \\"IMutableObjectLiteral\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1290 - }, - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.IMutableObjectLiteral": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IMutableObjectLiteral", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1289 + }, + "name": "IMutableObjectLiteral", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1290 + }, + "name": "value", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.INonInternalInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.INonInternalInterface\\", - \\"interfaces\\": [ - \\"jsii-calc.IAnotherPublicInterface\\" + "jsii-calc.INonInternalInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.INonInternalInterface", + "interfaces": [ + "jsii-calc.IAnotherPublicInterface" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1787 + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1787 }, - \\"name\\": \\"INonInternalInterface\\", - \\"properties\\": [ + "name": "INonInternalInterface", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1784 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1784 }, - \\"name\\": \\"b\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "b", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1788 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1788 }, - \\"name\\": \\"c\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "c", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.IObjectWithProperty\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Make sure that setters are properly called on objects with interfaces.\\" - }, - \\"fqn\\": \\"jsii-calc.IObjectWithProperty\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2542 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2544 - }, - \\"name\\": \\"wasSet\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "jsii-calc.IObjectWithProperty": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Make sure that setters are properly called on objects with interfaces." + }, + "fqn": "jsii-calc.IObjectWithProperty", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2542 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2544 + }, + "name": "wasSet", + "returns": { + "type": { + "primitive": "boolean" } } } ], - \\"name\\": \\"IObjectWithProperty\\", - \\"properties\\": [ + "name": "IObjectWithProperty", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2543 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2543 }, - \\"name\\": \\"property\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "property", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.IOptionalMethod\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Checks that optional result from interface method code generates correctly.\\" - }, - \\"fqn\\": \\"jsii-calc.IOptionalMethod\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2731 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2732 - }, - \\"name\\": \\"optional\\", - \\"returns\\": { - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.IOptionalMethod": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Checks that optional result from interface method code generates correctly." + }, + "fqn": "jsii-calc.IOptionalMethod", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2731 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2732 + }, + "name": "optional", + "returns": { + "optional": true, + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"IOptionalMethod\\" + "name": "IOptionalMethod" }, - \\"jsii-calc.IPrivatelyImplemented\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IPrivatelyImplemented\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1512 - }, - \\"name\\": \\"IPrivatelyImplemented\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1513 - }, - \\"name\\": \\"success\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "jsii-calc.IPrivatelyImplemented": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IPrivatelyImplemented", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1512 + }, + "name": "IPrivatelyImplemented", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1513 + }, + "name": "success", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.IPublicInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IPublicInterface\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1558 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1559 - }, - \\"name\\": \\"bye\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.IPublicInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IPublicInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1558 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1559 + }, + "name": "bye", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"IPublicInterface\\" + "name": "IPublicInterface" }, - \\"jsii-calc.IPublicInterface2\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IPublicInterface2\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1562 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1563 - }, - \\"name\\": \\"ciao\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.IPublicInterface2": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IPublicInterface2", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1562 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1563 + }, + "name": "ciao", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"IPublicInterface2\\" + "name": "IPublicInterface2" }, - \\"jsii-calc.IRandomNumberGenerator\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Generates random numbers.\\" - }, - \\"fqn\\": \\"jsii-calc.IRandomNumberGenerator\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 28 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"returns\\": \\"A random number.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns another random number.\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 33 - }, - \\"name\\": \\"next\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "jsii-calc.IRandomNumberGenerator": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Generates random numbers." + }, + "fqn": "jsii-calc.IRandomNumberGenerator", + "kind": "interface", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 28 + }, + "methods": [ + { + "abstract": true, + "docs": { + "returns": "A random number.", + "stability": "experimental", + "summary": "Returns another random number." + }, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 33 + }, + "name": "next", + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"IRandomNumberGenerator\\" + "name": "IRandomNumberGenerator" }, - \\"jsii-calc.IReturnJsii976\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns a subclass of a known class which implements an interface.\\" - }, - \\"fqn\\": \\"jsii-calc.IReturnJsii976\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2473 - }, - \\"name\\": \\"IReturnJsii976\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2474 - }, - \\"name\\": \\"foo\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "jsii-calc.IReturnJsii976": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Returns a subclass of a known class which implements an interface." + }, + "fqn": "jsii-calc.IReturnJsii976", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2473 + }, + "name": "IReturnJsii976", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2474 + }, + "name": "foo", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.IReturnsNumber\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.IReturnsNumber\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 639 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 640 - }, - \\"name\\": \\"obtainNumber\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.IDoublable\\" + "jsii-calc.IReturnsNumber": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.IReturnsNumber", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 639 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 640 + }, + "name": "obtainNumber", + "returns": { + "type": { + "fqn": "@scope/jsii-calc-lib.IDoublable" } } } ], - \\"name\\": \\"IReturnsNumber\\", - \\"properties\\": [ + "name": "IReturnsNumber", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 642 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 642 }, - \\"name\\": \\"numberProp\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Number\\" + "name": "numberProp", + "type": { + "fqn": "@scope/jsii-calc-lib.Number" } } ] }, - \\"jsii-calc.IStableInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"stable\\" + "jsii-calc.IStableInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "stable" }, - \\"fqn\\": \\"jsii-calc.IStableInterface\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 46 + "fqn": "jsii-calc.IStableInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 46 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"stable\\" + "abstract": true, + "docs": { + "stability": "stable" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 50 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 50 }, - \\"name\\": \\"method\\" + "name": "method" } ], - \\"name\\": \\"IStableInterface\\", - \\"properties\\": [ + "name": "IStableInterface", + "properties": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"stable\\" + "abstract": true, + "docs": { + "stability": "stable" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 48 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 48 }, - \\"name\\": \\"mutableProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableProperty", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.IStructReturningDelegate\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Verifies that a \\\\\\"pure\\\\\\" implementation of an interface works correctly.\\" - }, - \\"fqn\\": \\"jsii-calc.IStructReturningDelegate\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2660 - }, - \\"methods\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2661 - }, - \\"name\\": \\"returnStruct\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.StructB\\" + "jsii-calc.IStructReturningDelegate": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Verifies that a \\"pure\\" implementation of an interface works correctly." + }, + "fqn": "jsii-calc.IStructReturningDelegate", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2660 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2661 + }, + "name": "returnStruct", + "returns": { + "type": { + "fqn": "jsii-calc.StructB" } } } ], - \\"name\\": \\"IStructReturningDelegate\\" + "name": "IStructReturningDelegate" }, - \\"jsii-calc.ImplementInternalInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ImplementInternalInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ImplementInternalInterface\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ImplementInternalInterface", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1761 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1761 }, - \\"name\\": \\"ImplementInternalInterface\\", - \\"properties\\": [ + "name": "ImplementInternalInterface", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1762 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1762 }, - \\"name\\": \\"prop\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "prop", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.Implementation\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Implementation": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.Implementation\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.Implementation", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2224 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2224 }, - \\"name\\": \\"Implementation\\", - \\"properties\\": [ + "name": "Implementation", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2225 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2225 }, - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.ImplementsInterfaceWithInternal\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ImplementsInterfaceWithInternal": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ImplementsInterfaceWithInternal\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ImplementsInterfaceWithInternal", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"interfaces\\": [ - \\"jsii-calc.IInterfaceWithInternal\\" + "interfaces": [ + "jsii-calc.IInterfaceWithInternal" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1716 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1716 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1717 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1717 }, - \\"name\\": \\"visible\\", - \\"overrides\\": \\"jsii-calc.IInterfaceWithInternal\\" + "name": "visible", + "overrides": "jsii-calc.IInterfaceWithInternal" } ], - \\"name\\": \\"ImplementsInterfaceWithInternal\\" + "name": "ImplementsInterfaceWithInternal" }, - \\"jsii-calc.ImplementsInterfaceWithInternalSubclass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.ImplementsInterfaceWithInternal\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ImplementsInterfaceWithInternalSubclass": { + "assembly": "jsii-calc", + "base": "jsii-calc.ImplementsInterfaceWithInternal", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ImplementsInterfaceWithInternalSubclass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ImplementsInterfaceWithInternalSubclass", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1735 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1735 }, - \\"name\\": \\"ImplementsInterfaceWithInternalSubclass\\" + "name": "ImplementsInterfaceWithInternalSubclass" }, - \\"jsii-calc.ImplementsPrivateInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.ImplementsPrivateInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.ImplementsPrivateInterface\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ImplementsPrivateInterface", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1765 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1765 }, - \\"name\\": \\"ImplementsPrivateInterface\\", - \\"properties\\": [ + "name": "ImplementsPrivateInterface", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1766 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1766 }, - \\"name\\": \\"private\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "private", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.ImplictBaseOfBase\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ImplictBaseOfBase\\", - \\"interfaces\\": [ - \\"@scope/jsii-calc-base.BaseProps\\" + "jsii-calc.ImplictBaseOfBase": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ImplictBaseOfBase", + "interfaces": [ + "@scope/jsii-calc-base.BaseProps" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1176 - }, - \\"name\\": \\"ImplictBaseOfBase\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1177 - }, - \\"name\\": \\"goo\\", - \\"type\\": { - \\"primitive\\": \\"date\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1176 + }, + "name": "ImplictBaseOfBase", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1177 + }, + "name": "goo", + "type": { + "primitive": "date" } } ] }, - \\"jsii-calc.InbetweenClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.PublicClass\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.InbetweenClass": { + "assembly": "jsii-calc", + "base": "jsii-calc.PublicClass", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.InbetweenClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.InbetweenClass", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"interfaces\\": [ - \\"jsii-calc.IPublicInterface2\\" + "interfaces": [ + "jsii-calc.IPublicInterface2" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1565 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1565 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1566 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1566 }, - \\"name\\": \\"ciao\\", - \\"overrides\\": \\"jsii-calc.IPublicInterface2\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "ciao", + "overrides": "jsii-calc.IPublicInterface2", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"InbetweenClass\\" + "name": "InbetweenClass" }, - \\"jsii-calc.InterfaceCollections\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"See: https://github.com/aws/jsii/issues/1196\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Verifies that collections of interfaces or structs are correctly handled.\\" - }, - \\"fqn\\": \\"jsii-calc.InterfaceCollections\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2694 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2705 - }, - \\"name\\": \\"listOfInterfaces\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"jsii-calc.IBell\\" + "jsii-calc.InterfaceCollections": { + "assembly": "jsii-calc", + "docs": { + "remarks": "See: https://github.com/aws/jsii/issues/1196", + "stability": "experimental", + "summary": "Verifies that collections of interfaces or structs are correctly handled." + }, + "fqn": "jsii-calc.InterfaceCollections", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2694 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2705 + }, + "name": "listOfInterfaces", + "returns": { + "type": { + "collection": { + "elementtype": { + "fqn": "jsii-calc.IBell" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2695 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2695 }, - \\"name\\": \\"listOfStructs\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"jsii-calc.StructA\\" + "name": "listOfStructs", + "returns": { + "type": { + "collection": { + "elementtype": { + "fqn": "jsii-calc.StructA" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2715 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2715 }, - \\"name\\": \\"mapOfInterfaces\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"jsii-calc.IBell\\" + "name": "mapOfInterfaces", + "returns": { + "type": { + "collection": { + "elementtype": { + "fqn": "jsii-calc.IBell" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2699 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2699 }, - \\"name\\": \\"mapOfStructs\\", - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"jsii-calc.StructA\\" + "name": "mapOfStructs", + "returns": { + "type": { + "collection": { + "elementtype": { + "fqn": "jsii-calc.StructA" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"InterfaceCollections\\" + "name": "InterfaceCollections" }, - \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Foo\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.InterfaceInNamespaceIncludesClasses.Foo": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Foo\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.InterfaceInNamespaceIncludesClasses.Foo", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1207 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1207 }, - \\"name\\": \\"Foo\\", - \\"namespace\\": \\"InterfaceInNamespaceIncludesClasses\\", - \\"properties\\": [ + "name": "Foo", + "namespace": "InterfaceInNamespaceIncludesClasses", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1208 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1208 }, - \\"name\\": \\"bar\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "bar", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Hello\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Hello\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1211 - }, - \\"name\\": \\"Hello\\", - \\"namespace\\": \\"InterfaceInNamespaceIncludesClasses\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1212 - }, - \\"name\\": \\"foo\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "jsii-calc.InterfaceInNamespaceIncludesClasses.Hello": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.InterfaceInNamespaceIncludesClasses.Hello", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1211 + }, + "name": "Hello", + "namespace": "InterfaceInNamespaceIncludesClasses", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1212 + }, + "name": "foo", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.InterfaceInNamespaceOnlyInterface.Hello\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.InterfaceInNamespaceOnlyInterface.Hello\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1201 - }, - \\"name\\": \\"Hello\\", - \\"namespace\\": \\"InterfaceInNamespaceOnlyInterface\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1202 - }, - \\"name\\": \\"foo\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "jsii-calc.InterfaceInNamespaceOnlyInterface.Hello": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.InterfaceInNamespaceOnlyInterface.Hello", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1201 + }, + "name": "Hello", + "namespace": "InterfaceInNamespaceOnlyInterface", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1202 + }, + "name": "foo", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.InterfacesMaker\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"We can return arrays of interfaces See aws/aws-cdk#2362.\\" + "jsii-calc.InterfacesMaker": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "We can return arrays of interfaces See aws/aws-cdk#2362." }, - \\"fqn\\": \\"jsii-calc.InterfacesMaker\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2096 + "fqn": "jsii-calc.InterfacesMaker", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2096 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2097 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2097 }, - \\"name\\": \\"makeInterfaces\\", - \\"parameters\\": [ + "name": "makeInterfaces", + "parameters": [ { - \\"name\\": \\"count\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "count", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.IDoublable\\" + "returns": { + "type": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.IDoublable" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"InterfacesMaker\\" + "name": "InterfacesMaker" }, - \\"jsii-calc.Isomorphism\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"Create a subclass of this, and assert that \`this.myself()\` actually returns\\\\n\`this\` from within the constructor.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Checks the \\\\\\"same instance\\\\\\" isomorphism is preserved within the constructor.\\" - }, - \\"fqn\\": \\"jsii-calc.Isomorphism\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - } - }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2741 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2742 - }, - \\"name\\": \\"myself\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.Isomorphism\\" + "jsii-calc.Isomorphism": { + "abstract": true, + "assembly": "jsii-calc", + "docs": { + "remarks": "Create a subclass of this, and assert that \`this.myself()\` actually returns\\n\`this\` from within the constructor.", + "stability": "experimental", + "summary": "Checks the \\"same instance\\" isomorphism is preserved within the constructor." + }, + "fqn": "jsii-calc.Isomorphism", + "initializer": { + "docs": { + "stability": "experimental" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2741 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2742 + }, + "name": "myself", + "returns": { + "type": { + "fqn": "jsii-calc.Isomorphism" } } } ], - \\"name\\": \\"Isomorphism\\" + "name": "Isomorphism" }, - \\"jsii-calc.JSII417Derived\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.JSII417PublicBaseOfBase\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.JSII417Derived\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.JSII417Derived": { + "assembly": "jsii-calc", + "base": "jsii-calc.JSII417PublicBaseOfBase", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.JSII417Derived", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 17 + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 17 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"property\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "property", + "type": { + "primitive": "string" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 24 + "kind": "class", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 24 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 25 + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 25 }, - \\"name\\": \\"bar\\" + "name": "bar" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 28 + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 28 }, - \\"name\\": \\"baz\\" + "name": "baz" } ], - \\"name\\": \\"JSII417Derived\\", - \\"properties\\": [ + "name": "JSII417Derived", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 17 + "immutable": true, + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 17 }, - \\"name\\": \\"property\\", - \\"protected\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "property", + "protected": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.JSII417PublicBaseOfBase\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.JSII417PublicBaseOfBase": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.JSII417PublicBaseOfBase\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.JSII417PublicBaseOfBase", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 8 + "kind": "class", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 8 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 9 + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 9 }, - \\"name\\": \\"makeInstance\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.JSII417PublicBaseOfBase\\" + "name": "makeInstance", + "returns": { + "type": { + "fqn": "jsii-calc.JSII417PublicBaseOfBase" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 12 + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 12 }, - \\"name\\": \\"foo\\" + "name": "foo" } ], - \\"name\\": \\"JSII417PublicBaseOfBase\\", - \\"properties\\": [ + "name": "JSII417PublicBaseOfBase", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 6 + "immutable": true, + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 6 }, - \\"name\\": \\"hasRoot\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "hasRoot", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.JSObjectLiteralForInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.JSObjectLiteralForInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.JSObjectLiteralForInterface\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.JSObjectLiteralForInterface", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 517 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 517 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 518 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 518 }, - \\"name\\": \\"giveMeFriendly\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.IFriendly\\" + "name": "giveMeFriendly", + "returns": { + "type": { + "fqn": "@scope/jsii-calc-lib.IFriendly" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 524 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 524 }, - \\"name\\": \\"giveMeFriendlyGenerator\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IFriendlyRandomGenerator\\" + "name": "giveMeFriendlyGenerator", + "returns": { + "type": { + "fqn": "jsii-calc.IFriendlyRandomGenerator" } } } ], - \\"name\\": \\"JSObjectLiteralForInterface\\" + "name": "JSObjectLiteralForInterface" }, - \\"jsii-calc.JSObjectLiteralToNative\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.JSObjectLiteralToNative": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.JSObjectLiteralToNative\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.JSObjectLiteralToNative", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 247 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 247 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 248 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 248 }, - \\"name\\": \\"returnLiteral\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.JSObjectLiteralToNativeClass\\" + "name": "returnLiteral", + "returns": { + "type": { + "fqn": "jsii-calc.JSObjectLiteralToNativeClass" } } } ], - \\"name\\": \\"JSObjectLiteralToNative\\" + "name": "JSObjectLiteralToNative" }, - \\"jsii-calc.JSObjectLiteralToNativeClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.JSObjectLiteralToNativeClass": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.JSObjectLiteralToNativeClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.JSObjectLiteralToNativeClass", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 256 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 256 }, - \\"name\\": \\"JSObjectLiteralToNativeClass\\", - \\"properties\\": [ + "name": "JSObjectLiteralToNativeClass", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 257 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 257 }, - \\"name\\": \\"propA\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "propA", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 258 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 258 }, - \\"name\\": \\"propB\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "propB", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.JavaReservedWords\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.JavaReservedWords": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.JavaReservedWords\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.JavaReservedWords", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 745 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 745 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 746 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 746 }, - \\"name\\": \\"abstract\\" + "name": "abstract" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 750 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 750 }, - \\"name\\": \\"assert\\" + "name": "assert" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 754 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 754 }, - \\"name\\": \\"boolean\\" + "name": "boolean" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 758 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 758 }, - \\"name\\": \\"break\\" + "name": "break" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 762 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 762 }, - \\"name\\": \\"byte\\" + "name": "byte" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 766 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 766 }, - \\"name\\": \\"case\\" + "name": "case" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 770 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 770 }, - \\"name\\": \\"catch\\" + "name": "catch" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 774 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 774 }, - \\"name\\": \\"char\\" + "name": "char" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 778 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 778 }, - \\"name\\": \\"class\\" + "name": "class" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 782 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 782 }, - \\"name\\": \\"const\\" + "name": "const" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 786 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 786 }, - \\"name\\": \\"continue\\" + "name": "continue" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 790 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 790 }, - \\"name\\": \\"default\\" + "name": "default" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 798 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 798 }, - \\"name\\": \\"do\\" + "name": "do" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 794 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 794 }, - \\"name\\": \\"double\\" + "name": "double" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 802 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 802 }, - \\"name\\": \\"else\\" + "name": "else" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 806 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 806 }, - \\"name\\": \\"enum\\" + "name": "enum" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 810 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 810 }, - \\"name\\": \\"extends\\" + "name": "extends" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 814 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 814 }, - \\"name\\": \\"false\\" + "name": "false" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 818 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 818 }, - \\"name\\": \\"final\\" + "name": "final" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 822 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 822 }, - \\"name\\": \\"finally\\" + "name": "finally" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 826 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 826 }, - \\"name\\": \\"float\\" + "name": "float" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 830 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 830 }, - \\"name\\": \\"for\\" + "name": "for" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 834 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 834 }, - \\"name\\": \\"goto\\" + "name": "goto" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 838 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 838 }, - \\"name\\": \\"if\\" + "name": "if" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 842 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 842 }, - \\"name\\": \\"implements\\" + "name": "implements" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 846 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 846 }, - \\"name\\": \\"import\\" + "name": "import" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 850 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 850 }, - \\"name\\": \\"instanceof\\" + "name": "instanceof" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 854 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 854 }, - \\"name\\": \\"int\\" + "name": "int" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 858 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 858 }, - \\"name\\": \\"interface\\" + "name": "interface" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 862 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 862 }, - \\"name\\": \\"long\\" + "name": "long" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 866 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 866 }, - \\"name\\": \\"native\\" + "name": "native" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 870 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 870 }, - \\"name\\": \\"new\\" + "name": "new" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 874 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 874 }, - \\"name\\": \\"null\\" + "name": "null" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 878 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 878 }, - \\"name\\": \\"package\\" + "name": "package" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 882 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 882 }, - \\"name\\": \\"private\\" + "name": "private" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 886 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 886 }, - \\"name\\": \\"protected\\" + "name": "protected" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 890 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 890 }, - \\"name\\": \\"public\\" + "name": "public" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 894 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 894 }, - \\"name\\": \\"return\\" + "name": "return" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 898 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 898 }, - \\"name\\": \\"short\\" + "name": "short" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 902 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 902 }, - \\"name\\": \\"static\\" + "name": "static" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 906 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 906 }, - \\"name\\": \\"strictfp\\" + "name": "strictfp" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 910 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 910 }, - \\"name\\": \\"super\\" + "name": "super" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 914 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 914 }, - \\"name\\": \\"switch\\" + "name": "switch" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 918 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 918 }, - \\"name\\": \\"synchronized\\" + "name": "synchronized" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 922 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 922 }, - \\"name\\": \\"this\\" + "name": "this" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 926 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 926 }, - \\"name\\": \\"throw\\" + "name": "throw" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 930 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 930 }, - \\"name\\": \\"throws\\" + "name": "throws" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 934 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 934 }, - \\"name\\": \\"transient\\" + "name": "transient" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 938 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 938 }, - \\"name\\": \\"true\\" + "name": "true" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 942 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 942 }, - \\"name\\": \\"try\\" + "name": "try" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 946 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 946 }, - \\"name\\": \\"void\\" + "name": "void" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 950 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 950 }, - \\"name\\": \\"volatile\\" + "name": "volatile" } ], - \\"name\\": \\"JavaReservedWords\\", - \\"properties\\": [ + "name": "JavaReservedWords", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 954 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 954 }, - \\"name\\": \\"while\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "while", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.Jsii487Derived\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Jsii487Derived": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.Jsii487Derived\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.Jsii487Derived", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"interfaces\\": [ - \\"jsii-calc.IJsii487External2\\", - \\"jsii-calc.IJsii487External\\" + "interfaces": [ + "jsii-calc.IJsii487External2", + "jsii-calc.IJsii487External" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 56 + "kind": "class", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 56 }, - \\"name\\": \\"Jsii487Derived\\" + "name": "Jsii487Derived" }, - \\"jsii-calc.Jsii496Derived\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Jsii496Derived": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.Jsii496Derived\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.Jsii496Derived", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"interfaces\\": [ - \\"jsii-calc.IJsii496\\" + "interfaces": [ + "jsii-calc.IJsii496" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/erasures.ts\\", - \\"line\\": 66 + "kind": "class", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 66 }, - \\"name\\": \\"Jsii496Derived\\" + "name": "Jsii496Derived" }, - \\"jsii-calc.JsiiAgent\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Host runtime version should be set via JSII_AGENT.\\" - }, - \\"fqn\\": \\"jsii-calc.JsiiAgent\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - } - }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1528 - }, - \\"name\\": \\"JsiiAgent\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns the value of the JSII_AGENT environment variable.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1532 - }, - \\"name\\": \\"jsiiAgent\\", - \\"optional\\": true, - \\"static\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.JsiiAgent": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Host runtime version should be set via JSII_AGENT." + }, + "fqn": "jsii-calc.JsiiAgent", + "initializer": { + "docs": { + "stability": "experimental" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1528 + }, + "name": "JsiiAgent", + "properties": [ + { + "docs": { + "stability": "experimental", + "summary": "Returns the value of the JSII_AGENT environment variable." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1532 + }, + "name": "jsiiAgent", + "optional": true, + "static": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.JsonFormatter\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"see\\": \\"https://github.com/aws/aws-cdk/issues/5066\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Make sure structs are un-decorated on the way in.\\" - }, - \\"fqn\\": \\"jsii-calc.JsonFormatter\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2575 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2620 - }, - \\"name\\": \\"anyArray\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "jsii-calc.JsonFormatter": { + "assembly": "jsii-calc", + "docs": { + "see": "https://github.com/aws/aws-cdk/issues/5066", + "stability": "experimental", + "summary": "Make sure structs are un-decorated on the way in." + }, + "fqn": "jsii-calc.JsonFormatter", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2575 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2620 + }, + "name": "anyArray", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2616 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2616 }, - \\"name\\": \\"anyBooleanFalse\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyBooleanFalse", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2612 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2612 }, - \\"name\\": \\"anyBooleanTrue\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyBooleanTrue", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2592 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2592 }, - \\"name\\": \\"anyDate\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyDate", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2608 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2608 }, - \\"name\\": \\"anyEmptyString\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyEmptyString", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2588 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2588 }, - \\"name\\": \\"anyFunction\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyFunction", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2624 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2624 }, - \\"name\\": \\"anyHash\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyHash", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2580 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2580 }, - \\"name\\": \\"anyNull\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyNull", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2596 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2596 }, - \\"name\\": \\"anyNumber\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyNumber", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2628 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2628 }, - \\"name\\": \\"anyRef\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyRef", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2604 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2604 }, - \\"name\\": \\"anyString\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyString", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2584 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2584 }, - \\"name\\": \\"anyUndefined\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyUndefined", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2600 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2600 }, - \\"name\\": \\"anyZero\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "anyZero", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2576 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2576 }, - \\"name\\": \\"stringify\\", - \\"parameters\\": [ + "name": "stringify", + "parameters": [ { - \\"name\\": \\"value\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "value", + "optional": true, + "type": { + "primitive": "any" } } ], - \\"returns\\": { - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "optional": true, + "type": { + "primitive": "string" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"JsonFormatter\\" + "name": "JsonFormatter" }, - \\"jsii-calc.LoadBalancedFargateServiceProps\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"jsii#298: show default values in sphinx documentation, and respect newlines.\\" - }, - \\"fqn\\": \\"jsii-calc.LoadBalancedFargateServiceProps\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1439 - }, - \\"name\\": \\"LoadBalancedFargateServiceProps\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"default\\": \\"80\\", - \\"remarks\\": \\"Corresponds to container port mapping.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The container port of the application load balancer attached to your Fargate service.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1482 - }, - \\"name\\": \\"containerPort\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "jsii-calc.LoadBalancedFargateServiceProps": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental", + "summary": "jsii#298: show default values in sphinx documentation, and respect newlines." + }, + "fqn": "jsii-calc.LoadBalancedFargateServiceProps", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1439 + }, + "name": "LoadBalancedFargateServiceProps", + "properties": [ + { + "abstract": true, + "docs": { + "default": "80", + "remarks": "Corresponds to container port mapping.", + "stability": "experimental", + "summary": "The container port of the application load balancer attached to your Fargate service." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1482 + }, + "name": "containerPort", + "optional": true, + "type": { + "primitive": "number" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"default\\": \\"256\\", - \\"remarks\\": \\"Valid values, which determines your range of valid values for the memory parameter:\\\\n256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB\\\\n512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB\\\\n1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB\\\\n2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments\\\\n4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments\\\\n\\\\nThis default is set in the underlying FargateTaskDefinition construct.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The number of cpu units used by the task.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1453 - }, - \\"name\\": \\"cpu\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "abstract": true, + "docs": { + "default": "256", + "remarks": "Valid values, which determines your range of valid values for the memory parameter:\\n256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB\\n512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB\\n1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB\\n2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments\\n4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments\\n\\nThis default is set in the underlying FargateTaskDefinition construct.", + "stability": "experimental", + "summary": "The number of cpu units used by the task." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1453 + }, + "name": "cpu", + "optional": true, + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"default\\": \\"512\\", - \\"remarks\\": \\"This field is required and you must use one of the following values, which determines your range of valid values\\\\nfor the cpu parameter:\\\\n\\\\n0.5GB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU)\\\\n\\\\n1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU)\\\\n\\\\n2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU)\\\\n\\\\nBetween 4GB and 16GB in 1GB increments - Available cpu values: 2048 (2 vCPU)\\\\n\\\\nBetween 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU)\\\\n\\\\nThis default is set in the underlying FargateTaskDefinition construct.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The amount (in MiB) of memory used by the task.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1475 - }, - \\"name\\": \\"memoryMiB\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "abstract": true, + "docs": { + "default": "512", + "remarks": "This field is required and you must use one of the following values, which determines your range of valid values\\nfor the cpu parameter:\\n\\n0.5GB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU)\\n\\n1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU)\\n\\n2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU)\\n\\nBetween 4GB and 16GB in 1GB increments - Available cpu values: 2048 (2 vCPU)\\n\\nBetween 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU)\\n\\nThis default is set in the underlying FargateTaskDefinition construct.", + "stability": "experimental", + "summary": "The amount (in MiB) of memory used by the task." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1475 + }, + "name": "memoryMiB", + "optional": true, + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"default\\": \\"true\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Determines whether the Application Load Balancer will be internet-facing.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1489 - }, - \\"name\\": \\"publicLoadBalancer\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "abstract": true, + "docs": { + "default": "true", + "stability": "experimental", + "summary": "Determines whether the Application Load Balancer will be internet-facing." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1489 + }, + "name": "publicLoadBalancer", + "optional": true, + "type": { + "primitive": "boolean" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"default\\": \\"false\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Determines whether your Fargate Service will be assigned a public IP address.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1496 - }, - \\"name\\": \\"publicTasks\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "abstract": true, + "docs": { + "default": "false", + "stability": "experimental", + "summary": "Determines whether your Fargate Service will be assigned a public IP address." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1496 + }, + "name": "publicTasks", + "optional": true, + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.MethodNamedProperty\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.MethodNamedProperty": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.MethodNamedProperty\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.MethodNamedProperty", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 396 + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 396 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 397 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 397 }, - \\"name\\": \\"property\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "property", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"MethodNamedProperty\\", - \\"properties\\": [ + "name": "MethodNamedProperty", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 401 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 401 }, - \\"name\\": \\"elite\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "elite", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.Multiply\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.BinaryOperation\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The \\\\\\"*\\\\\\" binary operation.\\" - }, - \\"fqn\\": \\"jsii-calc.Multiply\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Creates a BinaryOperation.\\" + "jsii-calc.Multiply": { + "assembly": "jsii-calc", + "base": "jsii-calc.BinaryOperation", + "docs": { + "stability": "experimental", + "summary": "The \\"*\\" binary operation." + }, + "fqn": "jsii-calc.Multiply", + "initializer": { + "docs": { + "stability": "experimental", + "summary": "Creates a BinaryOperation." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 49 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 49 }, - \\"parameters\\": [ + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"Left-hand side operand.\\" + "docs": { + "summary": "Left-hand side operand." }, - \\"name\\": \\"lhs\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "lhs", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"summary\\": \\"Right-hand side operand.\\" + "docs": { + "summary": "Right-hand side operand." }, - \\"name\\": \\"rhs\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "rhs", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } } ] }, - \\"interfaces\\": [ - \\"jsii-calc.IFriendlier\\", - \\"jsii-calc.IRandomNumberGenerator\\" + "interfaces": [ + "jsii-calc.IFriendlier", + "jsii-calc.IRandomNumberGenerator" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 74 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say farewell.\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 88 - }, - \\"name\\": \\"farewell\\", - \\"overrides\\": \\"jsii-calc.IFriendlier\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 74 + }, + "methods": [ + { + "docs": { + "stability": "experimental", + "summary": "Say farewell." + }, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 88 + }, + "name": "farewell", + "overrides": "jsii-calc.IFriendlier", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say goodbye.\\" + "docs": { + "stability": "experimental", + "summary": "Say goodbye." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 84 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 84 }, - \\"name\\": \\"goodbye\\", - \\"overrides\\": \\"jsii-calc.IFriendlier\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "goodbye", + "overrides": "jsii-calc.IFriendlier", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns another random number.\\" + "docs": { + "stability": "experimental", + "summary": "Returns another random number." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 92 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 92 }, - \\"name\\": \\"next\\", - \\"overrides\\": \\"jsii-calc.IRandomNumberGenerator\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "next", + "overrides": "jsii-calc.IRandomNumberGenerator", + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"String representation of the value.\\" + "docs": { + "stability": "experimental", + "summary": "String representation of the value." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 80 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 80 }, - \\"name\\": \\"toString\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Operation\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "toString", + "overrides": "@scope/jsii-calc-lib.Operation", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"Multiply\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The value.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 76 - }, - \\"name\\": \\"value\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "Multiply", + "properties": [ + { + "docs": { + "stability": "experimental", + "summary": "The value." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 76 + }, + "name": "value", + "overrides": "@scope/jsii-calc-lib.Value", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.Negate\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.UnaryOperation\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The negation operation (\\\\\\"-value\\\\\\").\\" - }, - \\"fqn\\": \\"jsii-calc.Negate\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Negate": { + "assembly": "jsii-calc", + "base": "jsii-calc.UnaryOperation", + "docs": { + "stability": "experimental", + "summary": "The negation operation (\\"-value\\")." + }, + "fqn": "jsii-calc.Negate", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 101 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 101 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"operand\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "operand", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } } ] }, - \\"interfaces\\": [ - \\"jsii-calc.IFriendlier\\" + "interfaces": [ + "jsii-calc.IFriendlier" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 109 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say farewell.\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 126 - }, - \\"name\\": \\"farewell\\", - \\"overrides\\": \\"jsii-calc.IFriendlier\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 109 + }, + "methods": [ + { + "docs": { + "stability": "experimental", + "summary": "Say farewell." + }, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 126 + }, + "name": "farewell", + "overrides": "jsii-calc.IFriendlier", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say goodbye.\\" + "docs": { + "stability": "experimental", + "summary": "Say goodbye." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 122 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 122 }, - \\"name\\": \\"goodbye\\", - \\"overrides\\": \\"jsii-calc.IFriendlier\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "goodbye", + "overrides": "jsii-calc.IFriendlier", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Say hello!\\" + "docs": { + "stability": "experimental", + "summary": "Say hello!" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 118 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 118 }, - \\"name\\": \\"hello\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.IFriendly\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "hello", + "overrides": "@scope/jsii-calc-lib.IFriendly", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"String representation of the value.\\" + "docs": { + "stability": "experimental", + "summary": "String representation of the value." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 114 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 114 }, - \\"name\\": \\"toString\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Operation\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "toString", + "overrides": "@scope/jsii-calc-lib.Operation", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"Negate\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The value.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 110 - }, - \\"name\\": \\"value\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "Negate", + "properties": [ + { + "docs": { + "stability": "experimental", + "summary": "The value." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 110 + }, + "name": "value", + "overrides": "@scope/jsii-calc-lib.Value", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.NestedStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.NestedStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2449 - }, - \\"name\\": \\"NestedStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"When provided, must be > 0.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2453 - }, - \\"name\\": \\"numberProp\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "jsii-calc.NestedClassInstance": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.NestedClassInstance", + "kind": "class", + "locationInModule": { + "filename": "lib/nested-class.ts", + "line": 3 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/nested-class.ts", + "line": 4 + }, + "name": "makeInstance", + "returns": { + "type": { + "fqn": "@scope/jsii-calc-lib.submodule.NestingClass.NestedClass" + } + }, + "static": true + } + ], + "name": "NestedClassInstance" + }, + "jsii-calc.NestedStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.NestedStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2449 + }, + "name": "NestedStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "When provided, must be > 0." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2453 + }, + "name": "numberProp", + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.NodeStandardLibrary\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Test fixture to verify that jsii modules can use the node standard library.\\" - }, - \\"fqn\\": \\"jsii-calc.NodeStandardLibrary\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - } - }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1126 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"returns\\": \\"\\\\\\"6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50\\\\\\"\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Uses node.js \\\\\\"crypto\\\\\\" module to calculate sha256 of a string.\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1157 - }, - \\"name\\": \\"cryptoSha256\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.NodeStandardLibrary": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Test fixture to verify that jsii modules can use the node standard library." + }, + "fqn": "jsii-calc.NodeStandardLibrary", + "initializer": { + "docs": { + "stability": "experimental" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1126 + }, + "methods": [ + { + "docs": { + "returns": "\\"6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50\\"", + "stability": "experimental", + "summary": "Uses node.js \\"crypto\\" module to calculate sha256 of a string." + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1157 + }, + "name": "cryptoSha256", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"async\\": true, - \\"docs\\": { - \\"returns\\": \\"\\\\\\"Hello, resource!\\\\\\"\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Reads a local resource file (resource.txt) asynchronously.\\" + "async": true, + "docs": { + "returns": "\\"Hello, resource!\\"", + "stability": "experimental", + "summary": "Reads a local resource file (resource.txt) asynchronously." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1131 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1131 }, - \\"name\\": \\"fsReadFile\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "fsReadFile", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"returns\\": \\"\\\\\\"Hello, resource! SYNC!\\\\\\"\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Sync version of fsReadFile.\\" + "docs": { + "returns": "\\"Hello, resource! SYNC!\\"", + "stability": "experimental", + "summary": "Sync version of fsReadFile." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1140 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1140 }, - \\"name\\": \\"fsReadFileSync\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "fsReadFileSync", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"NodeStandardLibrary\\", - \\"properties\\": [ + "name": "NodeStandardLibrary", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns the current os.platform() from the \\\\\\"os\\\\\\" node module.\\" + "docs": { + "stability": "experimental", + "summary": "Returns the current os.platform() from the \\"os\\" node module." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1149 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1149 }, - \\"name\\": \\"osPlatform\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "osPlatform", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.NullShouldBeTreatedAsUndefined\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"jsii#282, aws-cdk#157: null should be treated as \\\\\\"undefined\\\\\\".\\" - }, - \\"fqn\\": \\"jsii-calc.NullShouldBeTreatedAsUndefined\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.NullShouldBeTreatedAsUndefined": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "jsii#282, aws-cdk#157: null should be treated as \\"undefined\\"." + }, + "fqn": "jsii-calc.NullShouldBeTreatedAsUndefined", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1369 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1369 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"_param1\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "_param1", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"optional\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "optional", + "optional": true, + "type": { + "primitive": "any" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1366 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1366 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1377 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1377 }, - \\"name\\": \\"giveMeUndefined\\", - \\"parameters\\": [ + "name": "giveMeUndefined", + "parameters": [ { - \\"name\\": \\"value\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "value", + "optional": true, + "type": { + "primitive": "any" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1387 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1387 }, - \\"name\\": \\"giveMeUndefinedInsideAnObject\\", - \\"parameters\\": [ + "name": "giveMeUndefinedInsideAnObject", + "parameters": [ { - \\"name\\": \\"input\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\" + "name": "input", + "type": { + "fqn": "jsii-calc.NullShouldBeTreatedAsUndefinedData" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1416 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1416 }, - \\"name\\": \\"verifyPropertyIsUndefined\\" + "name": "verifyPropertyIsUndefined" } ], - \\"name\\": \\"NullShouldBeTreatedAsUndefined\\", - \\"properties\\": [ + "name": "NullShouldBeTreatedAsUndefined", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1367 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1367 }, - \\"name\\": \\"changeMeToUndefined\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "changeMeToUndefined", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1425 - }, - \\"name\\": \\"NullShouldBeTreatedAsUndefinedData\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1427 - }, - \\"name\\": \\"arrayWithThreeElementsAndUndefinedAsSecondArgument\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "jsii-calc.NullShouldBeTreatedAsUndefinedData": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.NullShouldBeTreatedAsUndefinedData", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1425 + }, + "name": "NullShouldBeTreatedAsUndefinedData", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1427 + }, + "name": "arrayWithThreeElementsAndUndefinedAsSecondArgument", + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1426 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1426 }, - \\"name\\": \\"thisShouldBeUndefined\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "thisShouldBeUndefined", + "optional": true, + "type": { + "primitive": "any" } } ] }, - \\"jsii-calc.NumberGenerator\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This allows us to test that a reference can be stored for objects that implement interfaces.\\" - }, - \\"fqn\\": \\"jsii-calc.NumberGenerator\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.NumberGenerator": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "This allows us to test that a reference can be stored for objects that implement interfaces." + }, + "fqn": "jsii-calc.NumberGenerator", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 506 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 506 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"generator\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IRandomNumberGenerator\\" + "name": "generator", + "type": { + "fqn": "jsii-calc.IRandomNumberGenerator" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 505 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 505 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 512 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 512 }, - \\"name\\": \\"isSameGenerator\\", - \\"parameters\\": [ + "name": "isSameGenerator", + "parameters": [ { - \\"name\\": \\"gen\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IRandomNumberGenerator\\" + "name": "gen", + "type": { + "fqn": "jsii-calc.IRandomNumberGenerator" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 508 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 508 }, - \\"name\\": \\"nextTimes100\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "nextTimes100", + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"NumberGenerator\\", - \\"properties\\": [ + "name": "NumberGenerator", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 506 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 506 }, - \\"name\\": \\"generator\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IRandomNumberGenerator\\" + "name": "generator", + "type": { + "fqn": "jsii-calc.IRandomNumberGenerator" } } ] }, - \\"jsii-calc.ObjectRefsInCollections\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Verify that object references can be passed inside collections.\\" + "jsii-calc.ObjectRefsInCollections": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Verify that object references can be passed inside collections." }, - \\"fqn\\": \\"jsii-calc.ObjectRefsInCollections\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ObjectRefsInCollections", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 264 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 264 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns the sum of all values.\\" + "docs": { + "stability": "experimental", + "summary": "Returns the sum of all values." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 268 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 268 }, - \\"name\\": \\"sumFromArray\\", - \\"parameters\\": [ + "name": "sumFromArray", + "parameters": [ { - \\"name\\": \\"values\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "values", + "type": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.Value" }, - \\"kind\\": \\"array\\" + "kind": "array" } } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Returns the sum of all values in a map.\\" + "docs": { + "stability": "experimental", + "summary": "Returns the sum of all values in a map." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 279 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 279 }, - \\"name\\": \\"sumFromMap\\", - \\"parameters\\": [ + "name": "sumFromMap", + "parameters": [ { - \\"name\\": \\"values\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "values", + "type": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.Value" }, - \\"kind\\": \\"map\\" + "kind": "map" } } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"ObjectRefsInCollections\\" + "name": "ObjectRefsInCollections" }, - \\"jsii-calc.ObjectWithPropertyProvider\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.ObjectWithPropertyProvider\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2546 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2547 - }, - \\"name\\": \\"provide\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IObjectWithProperty\\" + "jsii-calc.ObjectWithPropertyProvider": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.ObjectWithPropertyProvider", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2546 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2547 + }, + "name": "provide", + "returns": { + "type": { + "fqn": "jsii-calc.IObjectWithProperty" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"ObjectWithPropertyProvider\\" + "name": "ObjectWithPropertyProvider" }, - \\"jsii-calc.Old\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"deprecated\\": \\"Use the new class\\", - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Old class.\\" + "jsii-calc.Old": { + "assembly": "jsii-calc", + "docs": { + "deprecated": "Use the new class", + "stability": "deprecated", + "summary": "Old class." }, - \\"fqn\\": \\"jsii-calc.Old\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.Old", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/documented.ts\\", - \\"line\\": 53 + "kind": "class", + "locationInModule": { + "filename": "lib/documented.ts", + "line": 53 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"deprecated\\", - \\"summary\\": \\"Doo wop that thing.\\" + "docs": { + "stability": "deprecated", + "summary": "Doo wop that thing." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/documented.ts\\", - \\"line\\": 57 + "locationInModule": { + "filename": "lib/documented.ts", + "line": 57 }, - \\"name\\": \\"doAThing\\" + "name": "doAThing" } ], - \\"name\\": \\"Old\\" + "name": "Old" }, - \\"jsii-calc.OptionalArgumentInvoker\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.OptionalArgumentInvoker\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.OptionalArgumentInvoker": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.OptionalArgumentInvoker", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1224 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1224 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"delegate\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IInterfaceWithOptionalMethodArguments\\" + "name": "delegate", + "type": { + "fqn": "jsii-calc.IInterfaceWithOptionalMethodArguments" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1223 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1223 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1232 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1232 }, - \\"name\\": \\"invokeWithOptional\\" + "name": "invokeWithOptional" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1228 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1228 }, - \\"name\\": \\"invokeWithoutOptional\\" + "name": "invokeWithoutOptional" } ], - \\"name\\": \\"OptionalArgumentInvoker\\" + "name": "OptionalArgumentInvoker" }, - \\"jsii-calc.OptionalConstructorArgument\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.OptionalConstructorArgument\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.OptionalConstructorArgument": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.OptionalConstructorArgument", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 310 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 310 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"arg1\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "arg1", + "type": { + "primitive": "number" } }, { - \\"name\\": \\"arg2\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "arg2", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"arg3\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"date\\" + "name": "arg3", + "optional": true, + "type": { + "primitive": "date" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 309 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 309 }, - \\"name\\": \\"OptionalConstructorArgument\\", - \\"properties\\": [ + "name": "OptionalConstructorArgument", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 311 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 311 }, - \\"name\\": \\"arg1\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "arg1", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 312 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 312 }, - \\"name\\": \\"arg2\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "arg2", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 313 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 313 }, - \\"name\\": \\"arg3\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"date\\" + "name": "arg3", + "optional": true, + "type": { + "primitive": "date" } } ] }, - \\"jsii-calc.OptionalStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.OptionalStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1867 - }, - \\"name\\": \\"OptionalStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1868 - }, - \\"name\\": \\"field\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.OptionalStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.OptionalStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1867 + }, + "name": "OptionalStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1868 + }, + "name": "field", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.OptionalStructConsumer\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.OptionalStructConsumer\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.OptionalStructConsumer": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.OptionalStructConsumer", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1862 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1862 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"optionalStruct\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.OptionalStruct\\" + "name": "optionalStruct", + "optional": true, + "type": { + "fqn": "jsii-calc.OptionalStruct" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1858 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1858 }, - \\"name\\": \\"OptionalStructConsumer\\", - \\"properties\\": [ + "name": "OptionalStructConsumer", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1859 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1859 }, - \\"name\\": \\"parameterWasUndefined\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "parameterWasUndefined", + "type": { + "primitive": "boolean" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1860 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1860 }, - \\"name\\": \\"fieldValue\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "fieldValue", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.OverridableProtectedMember\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"see\\": \\"https://github.com/aws/jsii/issues/903\\", - \\"stability\\": \\"experimental\\" + "jsii-calc.OverridableProtectedMember": { + "assembly": "jsii-calc", + "docs": { + "see": "https://github.com/aws/jsii/issues/903", + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.OverridableProtectedMember\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.OverridableProtectedMember", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2135 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2135 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2147 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2147 }, - \\"name\\": \\"overrideMe\\", - \\"protected\\": true, - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "overrideMe", + "protected": true, + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2143 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2143 }, - \\"name\\": \\"switchModes\\" + "name": "switchModes" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2139 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2139 }, - \\"name\\": \\"valueFromProtected\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "valueFromProtected", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"OverridableProtectedMember\\", - \\"properties\\": [ + "name": "OverridableProtectedMember", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2136 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2136 }, - \\"name\\": \\"overrideReadOnly\\", - \\"protected\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "overrideReadOnly", + "protected": true, + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2137 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2137 }, - \\"name\\": \\"overrideReadWrite\\", - \\"protected\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "overrideReadWrite", + "protected": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.OverrideReturnsObject\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.OverrideReturnsObject": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.OverrideReturnsObject\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.OverrideReturnsObject", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 645 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 645 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 646 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 646 }, - \\"name\\": \\"test\\", - \\"parameters\\": [ + "name": "test", + "parameters": [ { - \\"name\\": \\"obj\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IReturnsNumber\\" + "name": "obj", + "type": { + "fqn": "jsii-calc.IReturnsNumber" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"OverrideReturnsObject\\" + "name": "OverrideReturnsObject" }, - \\"jsii-calc.ParentStruct982\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"https://github.com/aws/jsii/issues/982.\\" - }, - \\"fqn\\": \\"jsii-calc.ParentStruct982\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2498 - }, - \\"name\\": \\"ParentStruct982\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2499 - }, - \\"name\\": \\"foo\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.ParentStruct982": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental", + "summary": "https://github.com/aws/jsii/issues/982." + }, + "fqn": "jsii-calc.ParentStruct982", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2498 + }, + "name": "ParentStruct982", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2499 + }, + "name": "foo", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.PartiallyInitializedThisConsumer\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.PartiallyInitializedThisConsumer": { + "abstract": true, + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.PartiallyInitializedThisConsumer\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.PartiallyInitializedThisConsumer", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1833 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1833 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1834 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1834 }, - \\"name\\": \\"consumePartiallyInitializedThis\\", - \\"parameters\\": [ + "name": "consumePartiallyInitializedThis", + "parameters": [ { - \\"name\\": \\"obj\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.ConstructorPassesThisOut\\" + "name": "obj", + "type": { + "fqn": "jsii-calc.ConstructorPassesThisOut" } }, { - \\"name\\": \\"dt\\", - \\"type\\": { - \\"primitive\\": \\"date\\" + "name": "dt", + "type": { + "primitive": "date" } }, { - \\"name\\": \\"ev\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.AllTypesEnum\\" + "name": "ev", + "type": { + "fqn": "jsii-calc.AllTypesEnum" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"PartiallyInitializedThisConsumer\\" + "name": "PartiallyInitializedThisConsumer" }, - \\"jsii-calc.Polymorphism\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Polymorphism": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.Polymorphism\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.Polymorphism", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 495 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 495 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 496 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 496 }, - \\"name\\": \\"sayHello\\", - \\"parameters\\": [ + "name": "sayHello", + "parameters": [ { - \\"name\\": \\"friendly\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.IFriendly\\" + "name": "friendly", + "type": { + "fqn": "@scope/jsii-calc-lib.IFriendly" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"Polymorphism\\" + "name": "Polymorphism" }, - \\"jsii-calc.Power\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.composition.CompositeOperation\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The power operation.\\" - }, - \\"fqn\\": \\"jsii-calc.Power\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Creates a Power operation.\\" + "jsii-calc.Power": { + "assembly": "jsii-calc", + "base": "jsii-calc.composition.CompositeOperation", + "docs": { + "stability": "experimental", + "summary": "The power operation." + }, + "fqn": "jsii-calc.Power", + "initializer": { + "docs": { + "stability": "experimental", + "summary": "Creates a Power operation." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 227 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 227 }, - \\"parameters\\": [ + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"The base of the power.\\" + "docs": { + "summary": "The base of the power." }, - \\"name\\": \\"base\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "base", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"summary\\": \\"The number of times to multiply.\\" + "docs": { + "summary": "The number of times to multiply." }, - \\"name\\": \\"pow\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "pow", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 221 + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 221 }, - \\"name\\": \\"Power\\", - \\"properties\\": [ + "name": "Power", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The base of the power.\\" + "docs": { + "stability": "experimental", + "summary": "The base of the power." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 227 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 227 }, - \\"name\\": \\"base\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "base", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"remarks\\": \\"Must be implemented by derived classes.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The expression that this operation consists of.\\" + "docs": { + "remarks": "Must be implemented by derived classes.", + "stability": "experimental", + "summary": "The expression that this operation consists of." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 231 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 231 }, - \\"name\\": \\"expression\\", - \\"overrides\\": \\"jsii-calc.composition.CompositeOperation\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "expression", + "overrides": "jsii-calc.composition.CompositeOperation", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The number of times to multiply.\\" + "docs": { + "stability": "experimental", + "summary": "The number of times to multiply." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 227 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 227 }, - \\"name\\": \\"pow\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "pow", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } } ] }, - \\"jsii-calc.PropertyNamedProperty\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Reproduction for https://github.com/aws/jsii/issues/1113 Where a method or property named \\\\\\"property\\\\\\" would result in impossible to load Python code.\\" + "jsii-calc.PropertyNamedProperty": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Reproduction for https://github.com/aws/jsii/issues/1113 Where a method or property named \\"property\\" would result in impossible to load Python code." }, - \\"fqn\\": \\"jsii-calc.PropertyNamedProperty\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.PropertyNamedProperty", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 392 + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 392 }, - \\"name\\": \\"PropertyNamedProperty\\", - \\"properties\\": [ + "name": "PropertyNamedProperty", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 393 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 393 }, - \\"name\\": \\"property\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "property", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 394 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 394 }, - \\"name\\": \\"yetAnoterOne\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "yetAnoterOne", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.PublicClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.PublicClass": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.PublicClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.PublicClass", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1553 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1553 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1554 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1554 }, - \\"name\\": \\"hello\\" + "name": "hello" } ], - \\"name\\": \\"PublicClass\\" + "name": "PublicClass" }, - \\"jsii-calc.PythonReservedWords\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.PythonReservedWords": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.PythonReservedWords\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.PythonReservedWords", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 957 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 957 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 958 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 958 }, - \\"name\\": \\"and\\" + "name": "and" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 962 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 962 }, - \\"name\\": \\"as\\" + "name": "as" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 966 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 966 }, - \\"name\\": \\"assert\\" + "name": "assert" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 970 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 970 }, - \\"name\\": \\"async\\" + "name": "async" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 974 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 974 }, - \\"name\\": \\"await\\" + "name": "await" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 978 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 978 }, - \\"name\\": \\"break\\" + "name": "break" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 982 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 982 }, - \\"name\\": \\"class\\" + "name": "class" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 986 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 986 }, - \\"name\\": \\"continue\\" + "name": "continue" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 990 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 990 }, - \\"name\\": \\"def\\" + "name": "def" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 994 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 994 }, - \\"name\\": \\"del\\" + "name": "del" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 998 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 998 }, - \\"name\\": \\"elif\\" + "name": "elif" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1002 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1002 }, - \\"name\\": \\"else\\" + "name": "else" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1006 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1006 }, - \\"name\\": \\"except\\" + "name": "except" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1010 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1010 }, - \\"name\\": \\"finally\\" + "name": "finally" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1014 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1014 }, - \\"name\\": \\"for\\" + "name": "for" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1018 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1018 }, - \\"name\\": \\"from\\" + "name": "from" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1022 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1022 }, - \\"name\\": \\"global\\" + "name": "global" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1026 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1026 }, - \\"name\\": \\"if\\" + "name": "if" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1030 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1030 }, - \\"name\\": \\"import\\" + "name": "import" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1034 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1034 }, - \\"name\\": \\"in\\" + "name": "in" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1038 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1038 }, - \\"name\\": \\"is\\" + "name": "is" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1042 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1042 }, - \\"name\\": \\"lambda\\" + "name": "lambda" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1046 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1046 }, - \\"name\\": \\"nonlocal\\" + "name": "nonlocal" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1050 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1050 }, - \\"name\\": \\"not\\" + "name": "not" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1054 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1054 }, - \\"name\\": \\"or\\" + "name": "or" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1058 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1058 }, - \\"name\\": \\"pass\\" + "name": "pass" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1062 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1062 }, - \\"name\\": \\"raise\\" + "name": "raise" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1066 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1066 }, - \\"name\\": \\"return\\" + "name": "return" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1070 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1070 }, - \\"name\\": \\"try\\" + "name": "try" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1074 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1074 }, - \\"name\\": \\"while\\" + "name": "while" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1078 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1078 }, - \\"name\\": \\"with\\" + "name": "with" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1082 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1082 }, - \\"name\\": \\"yield\\" + "name": "yield" } ], - \\"name\\": \\"PythonReservedWords\\" + "name": "PythonReservedWords" }, - \\"jsii-calc.PythonSelf.ClassWithSelf\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.PythonSelf.ClassWithSelf\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.PythonSelf.ClassWithSelf": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.PythonSelf.ClassWithSelf", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1092 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1092 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"self\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "self", + "type": { + "primitive": "string" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1091 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1091 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1094 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1094 }, - \\"name\\": \\"method\\", - \\"parameters\\": [ + "name": "method", + "parameters": [ { - \\"name\\": \\"self\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "self", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"ClassWithSelf\\", - \\"namespace\\": \\"PythonSelf\\", - \\"properties\\": [ + "name": "ClassWithSelf", + "namespace": "PythonSelf", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1092 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1092 }, - \\"name\\": \\"self\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "self", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.PythonSelf.ClassWithSelfKwarg\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.PythonSelf.ClassWithSelfKwarg\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.PythonSelf.ClassWithSelfKwarg": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.PythonSelf.ClassWithSelfKwarg", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1100 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1100 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"props\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.PythonSelf.StructWithSelf\\" + "name": "props", + "type": { + "fqn": "jsii-calc.PythonSelf.StructWithSelf" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1099 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1099 }, - \\"name\\": \\"ClassWithSelfKwarg\\", - \\"namespace\\": \\"PythonSelf\\", - \\"properties\\": [ + "name": "ClassWithSelfKwarg", + "namespace": "PythonSelf", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1100 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1100 }, - \\"name\\": \\"props\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.PythonSelf.StructWithSelf\\" + "name": "props", + "type": { + "fqn": "jsii-calc.PythonSelf.StructWithSelf" } } ] }, - \\"jsii-calc.PythonSelf.IInterfaceWithSelf\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.PythonSelf.IInterfaceWithSelf": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.PythonSelf.IInterfaceWithSelf\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1107 + "fqn": "jsii-calc.PythonSelf.IInterfaceWithSelf", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1107 }, - \\"methods\\": [ + "methods": [ { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1108 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1108 }, - \\"name\\": \\"method\\", - \\"parameters\\": [ + "name": "method", + "parameters": [ { - \\"name\\": \\"self\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "self", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"IInterfaceWithSelf\\", - \\"namespace\\": \\"PythonSelf\\" + "name": "IInterfaceWithSelf", + "namespace": "PythonSelf" }, - \\"jsii-calc.PythonSelf.StructWithSelf\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.PythonSelf.StructWithSelf\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1103 - }, - \\"name\\": \\"StructWithSelf\\", - \\"namespace\\": \\"PythonSelf\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1104 - }, - \\"name\\": \\"self\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.PythonSelf.StructWithSelf": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.PythonSelf.StructWithSelf", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1103 + }, + "name": "StructWithSelf", + "namespace": "PythonSelf", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1104 + }, + "name": "self", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.ReferenceEnumFromScopedPackage\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"See awslabs/jsii#138.\\" + "jsii-calc.ReferenceEnumFromScopedPackage": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "See awslabs/jsii#138." }, - \\"fqn\\": \\"jsii-calc.ReferenceEnumFromScopedPackage\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.ReferenceEnumFromScopedPackage", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1183 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1183 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1186 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1186 }, - \\"name\\": \\"loadFoo\\", - \\"returns\\": { - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.EnumFromScopedModule\\" + "name": "loadFoo", + "returns": { + "optional": true, + "type": { + "fqn": "@scope/jsii-calc-lib.EnumFromScopedModule" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1190 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1190 }, - \\"name\\": \\"saveFoo\\", - \\"parameters\\": [ + "name": "saveFoo", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.EnumFromScopedModule\\" + "name": "value", + "type": { + "fqn": "@scope/jsii-calc-lib.EnumFromScopedModule" } } ] } ], - \\"name\\": \\"ReferenceEnumFromScopedPackage\\", - \\"properties\\": [ + "name": "ReferenceEnumFromScopedPackage", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1184 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1184 }, - \\"name\\": \\"foo\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.EnumFromScopedModule\\" + "name": "foo", + "optional": true, + "type": { + "fqn": "@scope/jsii-calc-lib.EnumFromScopedModule" } } ] }, - \\"jsii-calc.ReturnsPrivateImplementationOfInterface\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"returns\\": \\"an instance of an un-exported class that extends \`ExportedBaseClass\`, declared as \`IPrivatelyImplemented\`.\\", - \\"see\\": \\"https://github.com/aws/jsii/issues/320\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Helps ensure the JSII kernel & runtime cooperate correctly when an un-exported instance of a class is returned with a declared type that is an exported interface, and the instance inherits from an exported class.\\" - }, - \\"fqn\\": \\"jsii-calc.ReturnsPrivateImplementationOfInterface\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - } - }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1507 - }, - \\"name\\": \\"ReturnsPrivateImplementationOfInterface\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1508 - }, - \\"name\\": \\"privateImplementation\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IPrivatelyImplemented\\" + "jsii-calc.ReturnsPrivateImplementationOfInterface": { + "assembly": "jsii-calc", + "docs": { + "returns": "an instance of an un-exported class that extends \`ExportedBaseClass\`, declared as \`IPrivatelyImplemented\`.", + "see": "https://github.com/aws/jsii/issues/320", + "stability": "experimental", + "summary": "Helps ensure the JSII kernel & runtime cooperate correctly when an un-exported instance of a class is returned with a declared type that is an exported interface, and the instance inherits from an exported class." + }, + "fqn": "jsii-calc.ReturnsPrivateImplementationOfInterface", + "initializer": { + "docs": { + "stability": "experimental" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1507 + }, + "name": "ReturnsPrivateImplementationOfInterface", + "properties": [ + { + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1508 + }, + "name": "privateImplementation", + "type": { + "fqn": "jsii-calc.IPrivatelyImplemented" } } ] }, - \\"jsii-calc.RootStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"remarks\\": \\"This is cheating with the (current) declared types, but this is the \\\\\\"more\\\\nidiomatic\\\\\\" way for Pythonists.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This is here to check that we can pass a nested struct into a kwargs by specifying it as an in-line dictionary.\\" - }, - \\"fqn\\": \\"jsii-calc.RootStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2442 - }, - \\"name\\": \\"RootStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"May not be empty.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2446 - }, - \\"name\\": \\"stringProp\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.RootStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "remarks": "This is cheating with the (current) declared types, but this is the \\"more\\nidiomatic\\" way for Pythonists.", + "stability": "experimental", + "summary": "This is here to check that we can pass a nested struct into a kwargs by specifying it as an in-line dictionary." + }, + "fqn": "jsii-calc.RootStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2442 + }, + "name": "RootStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "May not be empty." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2446 + }, + "name": "stringProp", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2447 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2447 }, - \\"name\\": \\"nestedStruct\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.NestedStruct\\" + "name": "nestedStruct", + "optional": true, + "type": { + "fqn": "jsii-calc.NestedStruct" } } ] }, - \\"jsii-calc.RootStructValidator\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.RootStructValidator": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.RootStructValidator\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2455 + "fqn": "jsii-calc.RootStructValidator", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2455 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2456 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2456 }, - \\"name\\": \\"validate\\", - \\"parameters\\": [ + "name": "validate", + "parameters": [ { - \\"name\\": \\"struct\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.RootStruct\\" + "name": "struct", + "type": { + "fqn": "jsii-calc.RootStruct" } } ], - \\"static\\": true + "static": true } ], - \\"name\\": \\"RootStructValidator\\" + "name": "RootStructValidator" }, - \\"jsii-calc.RuntimeTypeChecking\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.RuntimeTypeChecking": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.RuntimeTypeChecking\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.RuntimeTypeChecking", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 288 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 288 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 296 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 296 }, - \\"name\\": \\"methodWithDefaultedArguments\\", - \\"parameters\\": [ + "name": "methodWithDefaultedArguments", + "parameters": [ { - \\"name\\": \\"arg1\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "arg1", + "optional": true, + "type": { + "primitive": "number" } }, { - \\"name\\": \\"arg2\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "arg2", + "optional": true, + "type": { + "primitive": "string" } }, { - \\"name\\": \\"arg3\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"date\\" + "name": "arg3", + "optional": true, + "type": { + "primitive": "date" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 304 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 304 }, - \\"name\\": \\"methodWithOptionalAnyArgument\\", - \\"parameters\\": [ + "name": "methodWithOptionalAnyArgument", + "parameters": [ { - \\"name\\": \\"arg\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "arg", + "optional": true, + "type": { + "primitive": "any" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Used to verify verification of number of method arguments.\\" + "docs": { + "stability": "experimental", + "summary": "Used to verify verification of number of method arguments." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 292 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 292 }, - \\"name\\": \\"methodWithOptionalArguments\\", - \\"parameters\\": [ + "name": "methodWithOptionalArguments", + "parameters": [ { - \\"name\\": \\"arg1\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "arg1", + "type": { + "primitive": "number" } }, { - \\"name\\": \\"arg2\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "arg2", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"arg3\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"date\\" + "name": "arg3", + "optional": true, + "type": { + "primitive": "date" } } ] } ], - \\"name\\": \\"RuntimeTypeChecking\\" + "name": "RuntimeTypeChecking" }, - \\"jsii-calc.SecondLevelStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.SecondLevelStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2014 - }, - \\"name\\": \\"SecondLevelStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"It's long and required.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2018 - }, - \\"name\\": \\"deeperRequiredProp\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.SecondLevelStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.SecondLevelStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2014 + }, + "name": "SecondLevelStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "It's long and required." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2018 + }, + "name": "deeperRequiredProp", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"It's long, but you'll almost never pass it.\\" + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "It's long, but you'll almost never pass it." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2023 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2023 }, - \\"name\\": \\"deeperOptionalProp\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "deeperOptionalProp", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.SingleInstanceTwoTypes\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"JSII clients can instantiate 2 different strongly-typed wrappers for the same\\\\nobject. Unfortunately, this will break object equality, but if we didn't do\\\\nthis it would break runtime type checks in the JVM or CLR.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Test that a single instance can be returned under two different FQNs.\\" + "jsii-calc.SingleInstanceTwoTypes": { + "assembly": "jsii-calc", + "docs": { + "remarks": "JSII clients can instantiate 2 different strongly-typed wrappers for the same\\nobject. Unfortunately, this will break object equality, but if we didn't do\\nthis it would break runtime type checks in the JVM or CLR.", + "stability": "experimental", + "summary": "Test that a single instance can be returned under two different FQNs." }, - \\"fqn\\": \\"jsii-calc.SingleInstanceTwoTypes\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.SingleInstanceTwoTypes", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1624 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1624 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1627 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1627 }, - \\"name\\": \\"interface1\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.InbetweenClass\\" + "name": "interface1", + "returns": { + "type": { + "fqn": "jsii-calc.InbetweenClass" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1631 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1631 }, - \\"name\\": \\"interface2\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IPublicInterface\\" + "name": "interface2", + "returns": { + "type": { + "fqn": "jsii-calc.IPublicInterface" } } } ], - \\"name\\": \\"SingleInstanceTwoTypes\\" + "name": "SingleInstanceTwoTypes" }, - \\"jsii-calc.SingletonInt\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"https://github.com/aws/jsii/issues/231\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Verifies that singleton enums are handled correctly.\\" - }, - \\"fqn\\": \\"jsii-calc.SingletonInt\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1966 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1968 - }, - \\"name\\": \\"isSingletonInt\\", - \\"parameters\\": [ + "jsii-calc.SingletonInt": { + "assembly": "jsii-calc", + "docs": { + "remarks": "https://github.com/aws/jsii/issues/231", + "stability": "experimental", + "summary": "Verifies that singleton enums are handled correctly." + }, + "fqn": "jsii-calc.SingletonInt", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1966 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1968 + }, + "name": "isSingletonInt", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } } } ], - \\"name\\": \\"SingletonInt\\" + "name": "SingletonInt" }, - \\"jsii-calc.SingletonIntEnum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"A singleton integer.\\" + "jsii-calc.SingletonIntEnum": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "A singleton integer." }, - \\"fqn\\": \\"jsii-calc.SingletonIntEnum\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1973 + "fqn": "jsii-calc.SingletonIntEnum", + "kind": "enum", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1973 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Elite!\\" + "docs": { + "stability": "experimental", + "summary": "Elite!" }, - \\"name\\": \\"SINGLETON_INT\\" + "name": "SINGLETON_INT" } ], - \\"name\\": \\"SingletonIntEnum\\" + "name": "SingletonIntEnum" }, - \\"jsii-calc.SingletonString\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"https://github.com/aws/jsii/issues/231\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Verifies that singleton enums are handled correctly.\\" - }, - \\"fqn\\": \\"jsii-calc.SingletonString\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1949 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1952 - }, - \\"name\\": \\"isSingletonString\\", - \\"parameters\\": [ + "jsii-calc.SingletonString": { + "assembly": "jsii-calc", + "docs": { + "remarks": "https://github.com/aws/jsii/issues/231", + "stability": "experimental", + "summary": "Verifies that singleton enums are handled correctly." + }, + "fqn": "jsii-calc.SingletonString", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1949 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1952 + }, + "name": "isSingletonString", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "value", + "type": { + "primitive": "string" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } } } ], - \\"name\\": \\"SingletonString\\" + "name": "SingletonString" }, - \\"jsii-calc.SingletonStringEnum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"A singleton string.\\" + "jsii-calc.SingletonStringEnum": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "A singleton string." }, - \\"fqn\\": \\"jsii-calc.SingletonStringEnum\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1957 + "fqn": "jsii-calc.SingletonStringEnum", + "kind": "enum", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1957 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"1337.\\" + "docs": { + "stability": "experimental", + "summary": "1337." }, - \\"name\\": \\"SINGLETON_STRING\\" + "name": "SINGLETON_STRING" } ], - \\"name\\": \\"SingletonStringEnum\\" + "name": "SingletonStringEnum" }, - \\"jsii-calc.SmellyStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.SmellyStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 403 - }, - \\"name\\": \\"SmellyStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 404 - }, - \\"name\\": \\"property\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.SmellyStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.SmellyStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 403 + }, + "name": "SmellyStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 404 + }, + "name": "property", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 405 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 405 }, - \\"name\\": \\"yetAnoterOne\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "yetAnoterOne", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.SomeTypeJsii976\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.SomeTypeJsii976": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.SomeTypeJsii976\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.SomeTypeJsii976", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2479 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2479 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2488 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2488 }, - \\"name\\": \\"returnAnonymous\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "returnAnonymous", + "returns": { + "type": { + "primitive": "any" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2480 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2480 }, - \\"name\\": \\"returnReturn\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IReturnJsii976\\" + "name": "returnReturn", + "returns": { + "type": { + "fqn": "jsii-calc.IReturnJsii976" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"SomeTypeJsii976\\" + "name": "SomeTypeJsii976" }, - \\"jsii-calc.StableClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"stable\\" - }, - \\"fqn\\": \\"jsii-calc.StableClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"stable\\" + "jsii-calc.StableClass": { + "assembly": "jsii-calc", + "docs": { + "stability": "stable" + }, + "fqn": "jsii-calc.StableClass", + "initializer": { + "docs": { + "stability": "stable" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 59 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 59 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"readonlyString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyString", + "type": { + "primitive": "string" } }, { - \\"name\\": \\"mutableNumber\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableNumber", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 53 + "kind": "class", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 53 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"stable\\" + "docs": { + "stability": "stable" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 64 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 64 }, - \\"name\\": \\"method\\" + "name": "method" } ], - \\"name\\": \\"StableClass\\", - \\"properties\\": [ + "name": "StableClass", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"stable\\" + "docs": { + "stability": "stable" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 55 + "immutable": true, + "locationInModule": { + "filename": "lib/stability.ts", + "line": 55 }, - \\"name\\": \\"readonlyProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyProperty", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"stable\\" + "docs": { + "stability": "stable" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 57 + "locationInModule": { + "filename": "lib/stability.ts", + "line": 57 }, - \\"name\\": \\"mutableProperty\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "mutableProperty", + "optional": true, + "type": { + "primitive": "number" } } ] }, - \\"jsii-calc.StableEnum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"stable\\" + "jsii-calc.StableEnum": { + "assembly": "jsii-calc", + "docs": { + "stability": "stable" }, - \\"fqn\\": \\"jsii-calc.StableEnum\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 69 + "fqn": "jsii-calc.StableEnum", + "kind": "enum", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 69 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"stable\\" + "docs": { + "stability": "stable" }, - \\"name\\": \\"OPTION_A\\" + "name": "OPTION_A" }, { - \\"docs\\": { - \\"stability\\": \\"stable\\" + "docs": { + "stability": "stable" }, - \\"name\\": \\"OPTION_B\\" + "name": "OPTION_B" } ], - \\"name\\": \\"StableEnum\\" + "name": "StableEnum" }, - \\"jsii-calc.StableStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"stable\\" - }, - \\"fqn\\": \\"jsii-calc.StableStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 41 - }, - \\"name\\": \\"StableStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"stable\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/stability.ts\\", - \\"line\\": 43 - }, - \\"name\\": \\"readonlyProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.StableStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "stable" + }, + "fqn": "jsii-calc.StableStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/stability.ts", + "line": 41 + }, + "name": "StableStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/stability.ts", + "line": 43 + }, + "name": "readonlyProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.StaticContext\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"https://github.com/awslabs/aws-cdk/issues/2304\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This is used to validate the ability to use \`this\` from within a static context.\\" - }, - \\"fqn\\": \\"jsii-calc.StaticContext\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1892 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1895 - }, - \\"name\\": \\"canAccessStaticContext\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "jsii-calc.StaticContext": { + "assembly": "jsii-calc", + "docs": { + "remarks": "https://github.com/awslabs/aws-cdk/issues/2304", + "stability": "experimental", + "summary": "This is used to validate the ability to use \`this\` from within a static context." + }, + "fqn": "jsii-calc.StaticContext", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1892 + }, + "methods": [ + { + "docs": { + "stability": "experimental" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1895 + }, + "name": "canAccessStaticContext", + "returns": { + "type": { + "primitive": "boolean" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"StaticContext\\", - \\"properties\\": [ + "name": "StaticContext", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1903 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1903 }, - \\"name\\": \\"staticVariable\\", - \\"static\\": true, - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "staticVariable", + "static": true, + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.Statics\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.Statics\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Statics": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.Statics", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 690 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 690 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "value", + "type": { + "primitive": "string" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 689 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 689 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Jsdocs for static method.\\" + "docs": { + "stability": "experimental", + "summary": "Jsdocs for static method." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 696 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 696 }, - \\"name\\": \\"staticMethod\\", - \\"parameters\\": [ + "name": "staticMethod", + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"The name of the person to say hello to.\\" + "docs": { + "summary": "The name of the person to say hello to." }, - \\"name\\": \\"name\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "name", + "type": { + "primitive": "string" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 700 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 700 }, - \\"name\\": \\"justMethod\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "justMethod", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"Statics\\", - \\"properties\\": [ - { - \\"const\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Constants may also use all-caps.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 712 - }, - \\"name\\": \\"BAR\\", - \\"static\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "Statics", + "properties": [ + { + "const": true, + "docs": { + "stability": "experimental", + "summary": "Constants may also use all-caps." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 712 + }, + "name": "BAR", + "static": true, + "type": { + "primitive": "number" } }, { - \\"const\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "const": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 741 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 741 }, - \\"name\\": \\"ConstObj\\", - \\"static\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.DoubleTrouble\\" + "name": "ConstObj", + "static": true, + "type": { + "fqn": "jsii-calc.DoubleTrouble" } }, { - \\"const\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Jsdocs for static property.\\" + "const": true, + "docs": { + "stability": "experimental", + "summary": "Jsdocs for static property." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 707 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 707 }, - \\"name\\": \\"Foo\\", - \\"static\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "Foo", + "static": true, + "type": { + "primitive": "string" } }, { - \\"const\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Constants can also use camelCase.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 717 - }, - \\"name\\": \\"zooBar\\", - \\"static\\": true, - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "const": true, + "docs": { + "stability": "experimental", + "summary": "Constants can also use camelCase." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 717 + }, + "name": "zooBar", + "static": true, + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"map\\" + "kind": "map" } } }, { - \\"docs\\": { - \\"remarks\\": \\"Jsdocs for static setter.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Jsdocs for static getter.\\" + "docs": { + "remarks": "Jsdocs for static setter.", + "stability": "experimental", + "summary": "Jsdocs for static getter." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 726 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 726 }, - \\"name\\": \\"instance\\", - \\"static\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.Statics\\" + "name": "instance", + "static": true, + "type": { + "fqn": "jsii-calc.Statics" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 740 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 740 }, - \\"name\\": \\"nonConstStatic\\", - \\"static\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "nonConstStatic", + "static": true, + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 690 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 690 }, - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "value", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.StringEnum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.StringEnum": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.StringEnum\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 39 + "fqn": "jsii-calc.StringEnum", + "kind": "enum", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 39 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"name\\": \\"A\\" + "name": "A" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"name\\": \\"B\\" + "name": "B" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"name\\": \\"C\\" + "name": "C" } ], - \\"name\\": \\"StringEnum\\" + "name": "StringEnum" }, - \\"jsii-calc.StripInternal\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.StripInternal": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.StripInternal\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.StripInternal", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1677 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1677 }, - \\"name\\": \\"StripInternal\\", - \\"properties\\": [ + "name": "StripInternal", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1678 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1678 }, - \\"name\\": \\"youSeeMe\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "youSeeMe", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.StructA\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"We can serialize and deserialize structs without silently ignoring optional fields.\\" - }, - \\"fqn\\": \\"jsii-calc.StructA\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2240 - }, - \\"name\\": \\"StructA\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2241 - }, - \\"name\\": \\"requiredString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.StructA": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental", + "summary": "We can serialize and deserialize structs without silently ignoring optional fields." + }, + "fqn": "jsii-calc.StructA", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2240 + }, + "name": "StructA", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2241 + }, + "name": "requiredString", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2243 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2243 }, - \\"name\\": \\"optionalNumber\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "optionalNumber", + "optional": true, + "type": { + "primitive": "number" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2242 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2242 }, - \\"name\\": \\"optionalString\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "optionalString", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.StructB\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This intentionally overlaps with StructA (where only requiredString is provided) to test htat the kernel properly disambiguates those.\\" - }, - \\"fqn\\": \\"jsii-calc.StructB\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2249 - }, - \\"name\\": \\"StructB\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2250 - }, - \\"name\\": \\"requiredString\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.StructB": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental", + "summary": "This intentionally overlaps with StructA (where only requiredString is provided) to test htat the kernel properly disambiguates those." + }, + "fqn": "jsii-calc.StructB", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2249 + }, + "name": "StructB", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2250 + }, + "name": "requiredString", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2251 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2251 }, - \\"name\\": \\"optionalBoolean\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "optionalBoolean", + "optional": true, + "type": { + "primitive": "boolean" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2252 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2252 }, - \\"name\\": \\"optionalStructA\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.StructA\\" + "name": "optionalStructA", + "optional": true, + "type": { + "fqn": "jsii-calc.StructA" } } ] }, - \\"jsii-calc.StructParameterType\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"remarks\\": \\"See: https://github.com/aws/aws-cdk/issues/4302\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Verifies that, in languages that do keyword lifting (e.g: Python), having a struct member with the same name as a positional parameter results in the correct code being emitted.\\" - }, - \\"fqn\\": \\"jsii-calc.StructParameterType\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2678 - }, - \\"name\\": \\"StructParameterType\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2679 - }, - \\"name\\": \\"scope\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.StructParameterType": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "remarks": "See: https://github.com/aws/aws-cdk/issues/4302", + "stability": "experimental", + "summary": "Verifies that, in languages that do keyword lifting (e.g: Python), having a struct member with the same name as a positional parameter results in the correct code being emitted." + }, + "fqn": "jsii-calc.StructParameterType", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2678 + }, + "name": "StructParameterType", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2679 + }, + "name": "scope", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2680 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2680 }, - \\"name\\": \\"props\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "props", + "optional": true, + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.StructPassing\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"external\\", - \\"summary\\": \\"Just because we can.\\" + "jsii-calc.StructPassing": { + "assembly": "jsii-calc", + "docs": { + "stability": "external", + "summary": "Just because we can." }, - \\"fqn\\": \\"jsii-calc.StructPassing\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.StructPassing", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2072 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2072 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"external\\" + "docs": { + "stability": "external" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2084 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2084 }, - \\"name\\": \\"howManyVarArgsDidIPass\\", - \\"parameters\\": [ + "name": "howManyVarArgsDidIPass", + "parameters": [ { - \\"name\\": \\"_positional\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "_positional", + "type": { + "primitive": "number" } }, { - \\"name\\": \\"inputs\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.TopLevelStruct\\" + "name": "inputs", + "type": { + "fqn": "jsii-calc.TopLevelStruct" }, - \\"variadic\\": true + "variadic": true } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } }, - \\"static\\": true, - \\"variadic\\": true + "static": true, + "variadic": true }, { - \\"docs\\": { - \\"stability\\": \\"external\\" + "docs": { + "stability": "external" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2073 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2073 }, - \\"name\\": \\"roundTrip\\", - \\"parameters\\": [ + "name": "roundTrip", + "parameters": [ { - \\"name\\": \\"_positional\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "_positional", + "type": { + "primitive": "number" } }, { - \\"name\\": \\"input\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.TopLevelStruct\\" + "name": "input", + "type": { + "fqn": "jsii-calc.TopLevelStruct" } } ], - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"jsii-calc.TopLevelStruct\\" + "returns": { + "type": { + "fqn": "jsii-calc.TopLevelStruct" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"StructPassing\\" + "name": "StructPassing" }, - \\"jsii-calc.StructUnionConsumer\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.StructUnionConsumer": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.StructUnionConsumer\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2254 + "fqn": "jsii-calc.StructUnionConsumer", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2254 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2255 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2255 }, - \\"name\\": \\"isStructA\\", - \\"parameters\\": [ + "name": "isStructA", + "parameters": [ { - \\"name\\": \\"struct\\", - \\"type\\": { - \\"union\\": { - \\"types\\": [ + "name": "struct", + "type": { + "union": { + "types": [ { - \\"fqn\\": \\"jsii-calc.StructA\\" + "fqn": "jsii-calc.StructA" }, { - \\"fqn\\": \\"jsii-calc.StructB\\" + "fqn": "jsii-calc.StructB" } ] } } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } }, - \\"static\\": true + "static": true }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2276 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2276 }, - \\"name\\": \\"isStructB\\", - \\"parameters\\": [ + "name": "isStructB", + "parameters": [ { - \\"name\\": \\"struct\\", - \\"type\\": { - \\"union\\": { - \\"types\\": [ + "name": "struct", + "type": { + "union": { + "types": [ { - \\"fqn\\": \\"jsii-calc.StructA\\" + "fqn": "jsii-calc.StructA" }, { - \\"fqn\\": \\"jsii-calc.StructB\\" + "fqn": "jsii-calc.StructB" } ] } } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"StructUnionConsumer\\" + "name": "StructUnionConsumer" }, - \\"jsii-calc.StructWithJavaReservedWords\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.StructWithJavaReservedWords\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2046 - }, - \\"name\\": \\"StructWithJavaReservedWords\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2047 - }, - \\"name\\": \\"default\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.StructWithJavaReservedWords": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.StructWithJavaReservedWords", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2046 + }, + "name": "StructWithJavaReservedWords", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2047 + }, + "name": "default", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2048 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2048 }, - \\"name\\": \\"assert\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "assert", + "optional": true, + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2051 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2051 }, - \\"name\\": \\"result\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "result", + "optional": true, + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2052 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2052 }, - \\"name\\": \\"that\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "that", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.Sum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.composition.CompositeOperation\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"An operation that sums multiple values.\\" - }, - \\"fqn\\": \\"jsii-calc.Sum\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Sum": { + "assembly": "jsii-calc", + "base": "jsii-calc.composition.CompositeOperation", + "docs": { + "stability": "experimental", + "summary": "An operation that sums multiple values." + }, + "fqn": "jsii-calc.Sum", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 205 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 205 } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 197 + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 197 }, - \\"name\\": \\"Sum\\", - \\"properties\\": [ + "name": "Sum", + "properties": [ { - \\"docs\\": { - \\"remarks\\": \\"Must be implemented by derived classes.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The expression that this operation consists of.\\" + "docs": { + "remarks": "Must be implemented by derived classes.", + "stability": "experimental", + "summary": "The expression that this operation consists of." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 209 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 209 }, - \\"name\\": \\"expression\\", - \\"overrides\\": \\"jsii-calc.composition.CompositeOperation\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "expression", + "overrides": "jsii-calc.composition.CompositeOperation", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The parts to sum.\\" + "docs": { + "stability": "experimental", + "summary": "The parts to sum." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 201 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 201 }, - \\"name\\": \\"parts\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "parts", + "type": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.Value" }, - \\"kind\\": \\"array\\" + "kind": "array" } } } ] }, - \\"jsii-calc.SupportsNiceJavaBuilder\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"jsii-calc.SupportsNiceJavaBuilderWithRequiredProps\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.SupportsNiceJavaBuilder\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.SupportsNiceJavaBuilder": { + "assembly": "jsii-calc", + "base": "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.SupportsNiceJavaBuilder", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2181 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2181 }, - \\"parameters\\": [ + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"some identifier.\\" + "docs": { + "summary": "some identifier." }, - \\"name\\": \\"id\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "id", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"summary\\": \\"the default value of \`bar\`.\\" + "docs": { + "summary": "the default value of \`bar\`." }, - \\"name\\": \\"defaultBar\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "defaultBar", + "optional": true, + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"summary\\": \\"some props once can provide.\\" + "docs": { + "summary": "some props once can provide." }, - \\"name\\": \\"props\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.SupportsNiceJavaBuilderProps\\" + "name": "props", + "optional": true, + "type": { + "fqn": "jsii-calc.SupportsNiceJavaBuilderProps" } }, { - \\"docs\\": { - \\"summary\\": \\"a variadic continuation.\\" + "docs": { + "summary": "a variadic continuation." }, - \\"name\\": \\"rest\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "rest", + "type": { + "primitive": "string" }, - \\"variadic\\": true + "variadic": true } ], - \\"variadic\\": true + "variadic": true }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2171 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2171 }, - \\"name\\": \\"SupportsNiceJavaBuilder\\", - \\"properties\\": [ + "name": "SupportsNiceJavaBuilder", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"some identifier.\\" + "docs": { + "stability": "experimental", + "summary": "some identifier." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2182 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2182 }, - \\"name\\": \\"id\\", - \\"overrides\\": \\"jsii-calc.SupportsNiceJavaBuilderWithRequiredProps\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "id", + "overrides": "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2172 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2172 }, - \\"name\\": \\"rest\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "rest", + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } } ] }, - \\"jsii-calc.SupportsNiceJavaBuilderProps\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.SupportsNiceJavaBuilderProps\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2191 - }, - \\"name\\": \\"SupportsNiceJavaBuilderProps\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Some number, like 42.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2201 - }, - \\"name\\": \\"bar\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "jsii-calc.SupportsNiceJavaBuilderProps": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.SupportsNiceJavaBuilderProps", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2191 + }, + "name": "SupportsNiceJavaBuilderProps", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "Some number, like 42." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2201 + }, + "name": "bar", + "type": { + "primitive": "number" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"remarks\\": \\"But here we are, doing it like we didn't care.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"An \`id\` field here is terrible API design, because the constructor of \`SupportsNiceJavaBuilder\` already has a parameter named \`id\`.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2196 - }, - \\"name\\": \\"id\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "abstract": true, + "docs": { + "remarks": "But here we are, doing it like we didn't care.", + "stability": "experimental", + "summary": "An \`id\` field here is terrible API design, because the constructor of \`SupportsNiceJavaBuilder\` already has a parameter named \`id\`." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2196 + }, + "name": "id", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.SupportsNiceJavaBuilderWithRequiredProps\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"We can generate fancy builders in Java for classes which take a mix of positional & struct parameters.\\" - }, - \\"fqn\\": \\"jsii-calc.SupportsNiceJavaBuilderWithRequiredProps\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "We can generate fancy builders in Java for classes which take a mix of positional & struct parameters." + }, + "fqn": "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2163 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2163 }, - \\"parameters\\": [ + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"some identifier of your choice.\\" + "docs": { + "summary": "some identifier of your choice." }, - \\"name\\": \\"id\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "id", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"summary\\": \\"some properties.\\" + "docs": { + "summary": "some properties." }, - \\"name\\": \\"props\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.SupportsNiceJavaBuilderProps\\" + "name": "props", + "type": { + "fqn": "jsii-calc.SupportsNiceJavaBuilderProps" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2155 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2155 }, - \\"name\\": \\"SupportsNiceJavaBuilderWithRequiredProps\\", - \\"properties\\": [ + "name": "SupportsNiceJavaBuilderWithRequiredProps", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2157 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2157 }, - \\"name\\": \\"bar\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "bar", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"some identifier of your choice.\\" + "docs": { + "stability": "experimental", + "summary": "some identifier of your choice." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2164 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2164 }, - \\"name\\": \\"id\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "id", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2156 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2156 }, - \\"name\\": \\"propId\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "propId", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.SyncVirtualMethods\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.SyncVirtualMethods": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.SyncVirtualMethods\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.SyncVirtualMethods", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 376 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 376 }, - \\"methods\\": [ + "methods": [ { - \\"async\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "async": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 389 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 389 }, - \\"name\\": \\"callerIsAsync\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "callerIsAsync", + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 377 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 377 }, - \\"name\\": \\"callerIsMethod\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "callerIsMethod", + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 429 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 429 }, - \\"name\\": \\"modifyOtherProperty\\", - \\"parameters\\": [ + "name": "modifyOtherProperty", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "value", + "type": { + "primitive": "string" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 401 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 401 }, - \\"name\\": \\"modifyValueOfTheProperty\\", - \\"parameters\\": [ + "name": "modifyValueOfTheProperty", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "value", + "type": { + "primitive": "string" } } ] }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 442 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 442 }, - \\"name\\": \\"readA\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "readA", + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 433 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 433 }, - \\"name\\": \\"retrieveOtherProperty\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "retrieveOtherProperty", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 413 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 413 }, - \\"name\\": \\"retrieveReadOnlyProperty\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "retrieveReadOnlyProperty", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 405 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 405 }, - \\"name\\": \\"retrieveValueOfTheProperty\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "retrieveValueOfTheProperty", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 393 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 393 }, - \\"name\\": \\"virtualMethod\\", - \\"parameters\\": [ + "name": "virtualMethod", + "parameters": [ { - \\"name\\": \\"n\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "n", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 446 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 446 }, - \\"name\\": \\"writeA\\", - \\"parameters\\": [ + "name": "writeA", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "type": { + "primitive": "number" } } ] } ], - \\"name\\": \\"SyncVirtualMethods\\", - \\"properties\\": [ + "name": "SyncVirtualMethods", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 411 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 411 }, - \\"name\\": \\"readonlyProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "readonlyProperty", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 440 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 440 }, - \\"name\\": \\"a\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "a", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 381 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 381 }, - \\"name\\": \\"callerIsProperty\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "callerIsProperty", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 419 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 419 }, - \\"name\\": \\"otherProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "otherProperty", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 399 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 399 }, - \\"name\\": \\"theProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "theProperty", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 427 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 427 }, - \\"name\\": \\"valueOfOtherProperty\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "valueOfOtherProperty", + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.Thrower\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.Thrower": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.Thrower\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.Thrower", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 651 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 651 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 652 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 652 }, - \\"name\\": \\"throwError\\" + "name": "throwError" } ], - \\"name\\": \\"Thrower\\" + "name": "Thrower" }, - \\"jsii-calc.TopLevelStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.TopLevelStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1997 - }, - \\"name\\": \\"TopLevelStruct\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This is a required field.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2001 - }, - \\"name\\": \\"required\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.TopLevelStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.TopLevelStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1997 + }, + "name": "TopLevelStruct", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "This is a required field." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2001 + }, + "name": "required", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"A union to really stress test our serialization.\\" + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "A union to really stress test our serialization." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2011 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2011 }, - \\"name\\": \\"secondLevel\\", - \\"type\\": { - \\"union\\": { - \\"types\\": [ + "name": "secondLevel", + "type": { + "union": { + "types": [ { - \\"primitive\\": \\"number\\" + "primitive": "number" }, { - \\"fqn\\": \\"jsii-calc.SecondLevelStruct\\" + "fqn": "jsii-calc.SecondLevelStruct" } ] } } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"You don't have to pass this.\\" + "abstract": true, + "docs": { + "stability": "experimental", + "summary": "You don't have to pass this." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2006 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2006 }, - \\"name\\": \\"optional\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "optional", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.UmaskCheck\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"see\\": \\"https://github.com/aws/jsii/issues/1765\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Checks the current file permissions are cool (no funky UMASK down-scoping happened).\\" - }, - \\"fqn\\": \\"jsii-calc.UmaskCheck\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2752 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This should return 0o644 (-rw-r--r--).\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 2756 - }, - \\"name\\": \\"mode\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "jsii-calc.UmaskCheck": { + "assembly": "jsii-calc", + "docs": { + "see": "https://github.com/aws/jsii/issues/1765", + "stability": "experimental", + "summary": "Checks the current file permissions are cool (no funky UMASK down-scoping happened)." + }, + "fqn": "jsii-calc.UmaskCheck", + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2752 + }, + "methods": [ + { + "docs": { + "stability": "experimental", + "summary": "This should return 0o644 (-rw-r--r--)." + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 2756 + }, + "name": "mode", + "returns": { + "type": { + "primitive": "number" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"UmaskCheck\\" + "name": "UmaskCheck" }, - \\"jsii-calc.UnaryOperation\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"@scope/jsii-calc-lib.Operation\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"An operation on a single operand.\\" - }, - \\"fqn\\": \\"jsii-calc.UnaryOperation\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.UnaryOperation": { + "abstract": true, + "assembly": "jsii-calc", + "base": "@scope/jsii-calc-lib.Operation", + "docs": { + "stability": "experimental", + "summary": "An operation on a single operand." + }, + "fqn": "jsii-calc.UnaryOperation", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 101 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 101 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"operand\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "operand", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 100 + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 100 }, - \\"name\\": \\"UnaryOperation\\", - \\"properties\\": [ + "name": "UnaryOperation", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 101 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 101 }, - \\"name\\": \\"operand\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "operand", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } } ] }, - \\"jsii-calc.UnionProperties\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.UnionProperties\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1112 - }, - \\"name\\": \\"UnionProperties\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1114 - }, - \\"name\\": \\"bar\\", - \\"type\\": { - \\"union\\": { - \\"types\\": [ + "jsii-calc.UnionProperties": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.UnionProperties", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1112 + }, + "name": "UnionProperties", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1114 + }, + "name": "bar", + "type": { + "union": { + "types": [ { - \\"primitive\\": \\"string\\" + "primitive": "string" }, { - \\"primitive\\": \\"number\\" + "primitive": "number" }, { - \\"fqn\\": \\"jsii-calc.AllTypes\\" + "fqn": "jsii-calc.AllTypes" } ] } } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1113 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1113 }, - \\"name\\": \\"foo\\", - \\"optional\\": true, - \\"type\\": { - \\"union\\": { - \\"types\\": [ + "name": "foo", + "optional": true, + "type": { + "union": { + "types": [ { - \\"primitive\\": \\"string\\" + "primitive": "string" }, { - \\"primitive\\": \\"number\\" + "primitive": "number" } ] } @@ -19286,1339 +19348,1337 @@ Object { } ] }, - \\"jsii-calc.UpcasingReflectable\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Ensures submodule-imported types from dependencies can be used correctly.\\" - }, - \\"fqn\\": \\"jsii-calc.UpcasingReflectable\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.UpcasingReflectable": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Ensures submodule-imported types from dependencies can be used correctly." + }, + "fqn": "jsii-calc.UpcasingReflectable", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodules.ts\\", - \\"line\\": 9 + "locationInModule": { + "filename": "lib/submodules.ts", + "line": 9 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"delegate\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"any\\" + "name": "delegate", + "type": { + "collection": { + "elementtype": { + "primitive": "any" }, - \\"kind\\": \\"map\\" + "kind": "map" } } } ] }, - \\"interfaces\\": [ - \\"@scope/jsii-calc-lib.submodule.IReflectable\\" + "interfaces": [ + "@scope/jsii-calc-lib.submodule.IReflectable" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodules.ts\\", - \\"line\\": 6 - }, - \\"name\\": \\"UpcasingReflectable\\", - \\"properties\\": [ - { - \\"const\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodules.ts\\", - \\"line\\": 7 - }, - \\"name\\": \\"reflector\\", - \\"static\\": true, - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.submodule.Reflector\\" + "kind": "class", + "locationInModule": { + "filename": "lib/submodules.ts", + "line": 6 + }, + "name": "UpcasingReflectable", + "properties": [ + { + "const": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodules.ts", + "line": 7 + }, + "name": "reflector", + "static": true, + "type": { + "fqn": "@scope/jsii-calc-lib.submodule.Reflector" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodules.ts\\", - \\"line\\": 11 + "immutable": true, + "locationInModule": { + "filename": "lib/submodules.ts", + "line": 11 }, - \\"name\\": \\"entries\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.submodule.IReflectable\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\" + "name": "entries", + "overrides": "@scope/jsii-calc-lib.submodule.IReflectable", + "type": { + "collection": { + "elementtype": { + "fqn": "@scope/jsii-calc-lib.submodule.ReflectableEntry" }, - \\"kind\\": \\"array\\" + "kind": "array" } } } ] }, - \\"jsii-calc.UseBundledDependency\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.UseBundledDependency": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.UseBundledDependency\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.UseBundledDependency", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1117 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1117 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1118 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1118 }, - \\"name\\": \\"value\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"any\\" + "name": "value", + "returns": { + "type": { + "primitive": "any" } } } ], - \\"name\\": \\"UseBundledDependency\\" + "name": "UseBundledDependency" }, - \\"jsii-calc.UseCalcBase\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Depend on a type from jsii-calc-base as a test for awslabs/jsii#128.\\" + "jsii-calc.UseCalcBase": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Depend on a type from jsii-calc-base as a test for awslabs/jsii#128." }, - \\"fqn\\": \\"jsii-calc.UseCalcBase\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.UseCalcBase", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1168 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1168 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1169 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1169 }, - \\"name\\": \\"hello\\", - \\"returns\\": { - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-base.Base\\" + "name": "hello", + "returns": { + "type": { + "fqn": "@scope/jsii-calc-base.Base" } } } ], - \\"name\\": \\"UseCalcBase\\" + "name": "UseCalcBase" }, - \\"jsii-calc.UsesInterfaceWithProperties\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.UsesInterfaceWithProperties\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.UsesInterfaceWithProperties": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.UsesInterfaceWithProperties", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 597 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 597 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"obj\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IInterfaceWithProperties\\" + "name": "obj", + "type": { + "fqn": "jsii-calc.IInterfaceWithProperties" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 596 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 596 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 599 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 599 }, - \\"name\\": \\"justRead\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "justRead", + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 608 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 608 }, - \\"name\\": \\"readStringAndNumber\\", - \\"parameters\\": [ + "name": "readStringAndNumber", + "parameters": [ { - \\"name\\": \\"ext\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IInterfaceWithPropertiesExtension\\" + "name": "ext", + "type": { + "fqn": "jsii-calc.IInterfaceWithPropertiesExtension" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 603 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 603 }, - \\"name\\": \\"writeAndRead\\", - \\"parameters\\": [ + "name": "writeAndRead", + "parameters": [ { - \\"name\\": \\"value\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "value", + "type": { + "primitive": "string" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"UsesInterfaceWithProperties\\", - \\"properties\\": [ + "name": "UsesInterfaceWithProperties", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 597 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 597 }, - \\"name\\": \\"obj\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.IInterfaceWithProperties\\" + "name": "obj", + "type": { + "fqn": "jsii-calc.IInterfaceWithProperties" } } ] }, - \\"jsii-calc.VariadicInvoker\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.VariadicInvoker\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.VariadicInvoker": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.VariadicInvoker", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 681 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 681 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"method\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.VariadicMethod\\" + "name": "method", + "type": { + "fqn": "jsii-calc.VariadicMethod" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 680 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 680 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 683 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 683 }, - \\"name\\": \\"asArray\\", - \\"parameters\\": [ + "name": "asArray", + "parameters": [ { - \\"name\\": \\"values\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "values", + "type": { + "primitive": "number" }, - \\"variadic\\": true + "variadic": true } ], - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "collection": { + "elementtype": { + "primitive": "number" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, - \\"variadic\\": true + "variadic": true } ], - \\"name\\": \\"VariadicInvoker\\" + "name": "VariadicInvoker" }, - \\"jsii-calc.VariadicMethod\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.VariadicMethod\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.VariadicMethod": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.VariadicMethod", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 667 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 667 }, - \\"parameters\\": [ + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"a prefix that will be use for all values returned by \`#asArray\`.\\" + "docs": { + "summary": "a prefix that will be use for all values returned by \`#asArray\`." }, - \\"name\\": \\"prefix\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "prefix", + "type": { + "primitive": "number" }, - \\"variadic\\": true + "variadic": true } ], - \\"variadic\\": true + "variadic": true }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 661 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 661 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 675 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 675 }, - \\"name\\": \\"asArray\\", - \\"parameters\\": [ + "name": "asArray", + "parameters": [ { - \\"docs\\": { - \\"summary\\": \\"the first element of the array to be returned (after the \`prefix\` provided at construction time).\\" + "docs": { + "summary": "the first element of the array to be returned (after the \`prefix\` provided at construction time)." }, - \\"name\\": \\"first\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "first", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"summary\\": \\"other elements to be included in the array.\\" + "docs": { + "summary": "other elements to be included in the array." }, - \\"name\\": \\"others\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "others", + "type": { + "primitive": "number" }, - \\"variadic\\": true + "variadic": true } ], - \\"returns\\": { - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "collection": { + "elementtype": { + "primitive": "number" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, - \\"variadic\\": true + "variadic": true } ], - \\"name\\": \\"VariadicMethod\\" + "name": "VariadicMethod" }, - \\"jsii-calc.VirtualMethodPlayground\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.VirtualMethodPlayground": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.VirtualMethodPlayground\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.VirtualMethodPlayground", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 451 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 451 }, - \\"methods\\": [ + "methods": [ { - \\"async\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "async": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 476 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 476 }, - \\"name\\": \\"overrideMeAsync\\", - \\"parameters\\": [ + "name": "overrideMeAsync", + "parameters": [ { - \\"name\\": \\"index\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "index", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 480 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 480 }, - \\"name\\": \\"overrideMeSync\\", - \\"parameters\\": [ + "name": "overrideMeSync", + "parameters": [ { - \\"name\\": \\"index\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "index", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } }, { - \\"async\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "async": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 458 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 458 }, - \\"name\\": \\"parallelSumAsync\\", - \\"parameters\\": [ + "name": "parallelSumAsync", + "parameters": [ { - \\"name\\": \\"count\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "count", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } }, { - \\"async\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "async": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 452 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 452 }, - \\"name\\": \\"serialSumAsync\\", - \\"parameters\\": [ + "name": "serialSumAsync", + "parameters": [ { - \\"name\\": \\"count\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "count", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 468 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 468 }, - \\"name\\": \\"sumSync\\", - \\"parameters\\": [ + "name": "sumSync", + "parameters": [ { - \\"name\\": \\"count\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "count", + "type": { + "primitive": "number" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"number\\" + "returns": { + "type": { + "primitive": "number" } } } ], - \\"name\\": \\"VirtualMethodPlayground\\" + "name": "VirtualMethodPlayground" }, - \\"jsii-calc.VoidCallback\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"remarks\\": \\"- Implement \`overrideMe\` (method does not have to do anything).\\\\n- Invoke \`callMe\`\\\\n- Verify that \`methodWasCalled\` is \`true\`.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"This test is used to validate the runtimes can return correctly from a void callback.\\" + "jsii-calc.VoidCallback": { + "abstract": true, + "assembly": "jsii-calc", + "docs": { + "remarks": "- Implement \`overrideMe\` (method does not have to do anything).\\n- Invoke \`callMe\`\\n- Verify that \`methodWasCalled\` is \`true\`.", + "stability": "experimental", + "summary": "This test is used to validate the runtimes can return correctly from a void callback." }, - \\"fqn\\": \\"jsii-calc.VoidCallback\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "fqn": "jsii-calc.VoidCallback", + "initializer": { + "docs": { + "stability": "experimental" } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1921 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1921 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1926 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1926 }, - \\"name\\": \\"callMe\\" + "name": "callMe" }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1930 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1930 }, - \\"name\\": \\"overrideMe\\", - \\"protected\\": true + "name": "overrideMe", + "protected": true } ], - \\"name\\": \\"VoidCallback\\", - \\"properties\\": [ + "name": "VoidCallback", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1923 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1923 }, - \\"name\\": \\"methodWasCalled\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "methodWasCalled", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.WithPrivatePropertyInConstructor\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Verifies that private property declarations in constructor arguments are hidden.\\" - }, - \\"fqn\\": \\"jsii-calc.WithPrivatePropertyInConstructor\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.WithPrivatePropertyInConstructor": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Verifies that private property declarations in constructor arguments are hidden." + }, + "fqn": "jsii-calc.WithPrivatePropertyInConstructor", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1937 + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1937 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"privateField\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "privateField", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1936 + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1936 }, - \\"name\\": \\"WithPrivatePropertyInConstructor\\", - \\"properties\\": [ + "name": "WithPrivatePropertyInConstructor", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/compliance.ts\\", - \\"line\\": 1939 + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1939 }, - \\"name\\": \\"success\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "name": "success", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.composition.CompositeOperation\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"base\\": \\"@scope/jsii-calc-lib.Operation\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Abstract operation composed from an expression of other operations.\\" - }, - \\"fqn\\": \\"jsii-calc.composition.CompositeOperation\\", - \\"initializer\\": {}, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 138 - }, - \\"methods\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"String representation of the value.\\" - }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 164 - }, - \\"name\\": \\"toString\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Operation\\", - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.composition.CompositeOperation": { + "abstract": true, + "assembly": "jsii-calc", + "base": "@scope/jsii-calc-lib.Operation", + "docs": { + "stability": "experimental", + "summary": "Abstract operation composed from an expression of other operations." + }, + "fqn": "jsii-calc.composition.CompositeOperation", + "initializer": {}, + "kind": "class", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 138 + }, + "methods": [ + { + "docs": { + "stability": "experimental", + "summary": "String representation of the value." + }, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 164 + }, + "name": "toString", + "overrides": "@scope/jsii-calc-lib.Operation", + "returns": { + "type": { + "primitive": "string" } } } ], - \\"name\\": \\"CompositeOperation\\", - \\"namespace\\": \\"composition\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"remarks\\": \\"Must be implemented by derived classes.\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The expression that this operation consists of.\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 162 - }, - \\"name\\": \\"expression\\", - \\"type\\": { - \\"fqn\\": \\"@scope/jsii-calc-lib.Value\\" + "name": "CompositeOperation", + "namespace": "composition", + "properties": [ + { + "abstract": true, + "docs": { + "remarks": "Must be implemented by derived classes.", + "stability": "experimental", + "summary": "The expression that this operation consists of." + }, + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 162 + }, + "name": "expression", + "type": { + "fqn": "@scope/jsii-calc-lib.Value" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The value.\\" + "docs": { + "stability": "experimental", + "summary": "The value." }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 154 + "immutable": true, + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 154 }, - \\"name\\": \\"value\\", - \\"overrides\\": \\"@scope/jsii-calc-lib.Value\\", - \\"type\\": { - \\"primitive\\": \\"number\\" + "name": "value", + "overrides": "@scope/jsii-calc-lib.Value", + "type": { + "primitive": "number" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"A set of postfixes to include in a decorated .toString().\\" + "docs": { + "stability": "experimental", + "summary": "A set of postfixes to include in a decorated .toString()." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 152 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 152 }, - \\"name\\": \\"decorationPostfixes\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "decorationPostfixes", + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"A set of prefixes to include in a decorated .toString().\\" + "docs": { + "stability": "experimental", + "summary": "A set of prefixes to include in a decorated .toString()." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 147 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 147 }, - \\"name\\": \\"decorationPrefixes\\", - \\"type\\": { - \\"collection\\": { - \\"elementtype\\": { - \\"primitive\\": \\"string\\" + "name": "decorationPrefixes", + "type": { + "collection": { + "elementtype": { + "primitive": "string" }, - \\"kind\\": \\"array\\" + "kind": "array" } } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"The .toString() style.\\" + "docs": { + "stability": "experimental", + "summary": "The .toString() style." }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 142 + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 142 }, - \\"name\\": \\"stringStyle\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.composition.CompositeOperation.CompositionStringStyle\\" + "name": "stringStyle", + "type": { + "fqn": "jsii-calc.composition.CompositeOperation.CompositionStringStyle" } } ] }, - \\"jsii-calc.composition.CompositeOperation.CompositionStringStyle\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Style of .toString() output for CompositeOperation.\\" + "jsii-calc.composition.CompositeOperation.CompositionStringStyle": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Style of .toString() output for CompositeOperation." }, - \\"fqn\\": \\"jsii-calc.composition.CompositeOperation.CompositionStringStyle\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/calculator.ts\\", - \\"line\\": 184 + "fqn": "jsii-calc.composition.CompositeOperation.CompositionStringStyle", + "kind": "enum", + "locationInModule": { + "filename": "lib/calculator.ts", + "line": 184 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Normal string expression.\\" + "docs": { + "stability": "experimental", + "summary": "Normal string expression." }, - \\"name\\": \\"NORMAL\\" + "name": "NORMAL" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Decorated string expression.\\" + "docs": { + "stability": "experimental", + "summary": "Decorated string expression." }, - \\"name\\": \\"DECORATED\\" + "name": "DECORATED" } ], - \\"name\\": \\"CompositionStringStyle\\", - \\"namespace\\": \\"composition.CompositeOperation\\" + "name": "CompositionStringStyle", + "namespace": "composition.CompositeOperation" }, - \\"jsii-calc.submodule.MyClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.submodule.MyClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.submodule.MyClass": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.submodule.MyClass", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/my-class.ts\\", - \\"line\\": 11 + "locationInModule": { + "filename": "lib/submodule/my-class.ts", + "line": 11 }, - \\"parameters\\": [ + "parameters": [ { - \\"name\\": \\"props\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.child.SomeStruct\\" + "name": "props", + "type": { + "fqn": "jsii-calc.submodule.child.SomeStruct" } } ] }, - \\"interfaces\\": [ - \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\" + "interfaces": [ + "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/my-class.ts\\", - \\"line\\": 5 - }, - \\"name\\": \\"MyClass\\", - \\"namespace\\": \\"submodule\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/my-class.ts\\", - \\"line\\": 8 - }, - \\"name\\": \\"awesomeness\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.child.Awesomeness\\" + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/my-class.ts", + "line": 5 + }, + "name": "MyClass", + "namespace": "submodule", + "properties": [ + { + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/my-class.ts", + "line": 8 + }, + "name": "awesomeness", + "type": { + "fqn": "jsii-calc.submodule.child.Awesomeness" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/my-class.ts\\", - \\"line\\": 6 + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/my-class.ts", + "line": 6 }, - \\"name\\": \\"definedAt\\", - \\"overrides\\": \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "name": "definedAt", + "overrides": "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced", + "type": { + "primitive": "string" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/my-class.ts\\", - \\"line\\": 7 + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/my-class.ts", + "line": 7 }, - \\"name\\": \\"goodness\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.child.Goodness\\" + "name": "goodness", + "type": { + "fqn": "jsii-calc.submodule.child.Goodness" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/my-class.ts\\", - \\"line\\": 11 + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/my-class.ts", + "line": 11 }, - \\"name\\": \\"props\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.child.SomeStruct\\" + "name": "props", + "type": { + "fqn": "jsii-calc.submodule.child.SomeStruct" } }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/my-class.ts\\", - \\"line\\": 9 + "locationInModule": { + "filename": "lib/submodule/my-class.ts", + "line": 9 }, - \\"name\\": \\"allTypes\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.AllTypes\\" + "name": "allTypes", + "optional": true, + "type": { + "fqn": "jsii-calc.AllTypes" } } ] }, - \\"jsii-calc.submodule.back_references.MyClassReference\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.submodule.back_references.MyClassReference\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/refers-to-parent/index.ts\\", - \\"line\\": 3 - }, - \\"name\\": \\"MyClassReference\\", - \\"namespace\\": \\"submodule.back_references\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/refers-to-parent/index.ts\\", - \\"line\\": 4 - }, - \\"name\\": \\"reference\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.MyClass\\" + "jsii-calc.submodule.back_references.MyClassReference": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.submodule.back_references.MyClassReference", + "kind": "interface", + "locationInModule": { + "filename": "lib/submodule/refers-to-parent/index.ts", + "line": 3 + }, + "name": "MyClassReference", + "namespace": "submodule.back_references", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/refers-to-parent/index.ts", + "line": 4 + }, + "name": "reference", + "type": { + "fqn": "jsii-calc.submodule.MyClass" } } ] }, - \\"jsii-calc.submodule.child.Awesomeness\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.submodule.child.Awesomeness": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.submodule.child.Awesomeness\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 15 + "fqn": "jsii-calc.submodule.child.Awesomeness", + "kind": "enum", + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 15 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"It was awesome!\\" + "docs": { + "stability": "experimental", + "summary": "It was awesome!" }, - \\"name\\": \\"AWESOME\\" + "name": "AWESOME" } ], - \\"name\\": \\"Awesomeness\\", - \\"namespace\\": \\"submodule.child\\" + "name": "Awesomeness", + "namespace": "submodule.child" }, - \\"jsii-calc.submodule.child.Goodness\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.submodule.child.Goodness": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.submodule.child.Goodness\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 5 + "fqn": "jsii-calc.submodule.child.Goodness", + "kind": "enum", + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 5 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"It's pretty good.\\" + "docs": { + "stability": "experimental", + "summary": "It's pretty good." }, - \\"name\\": \\"PRETTY_GOOD\\" + "name": "PRETTY_GOOD" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"It's really good.\\" + "docs": { + "stability": "experimental", + "summary": "It's really good." }, - \\"name\\": \\"REALLY_GOOD\\" + "name": "REALLY_GOOD" }, { - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"It's amazingly good.\\" + "docs": { + "stability": "experimental", + "summary": "It's amazingly good." }, - \\"name\\": \\"AMAZINGLY_GOOD\\" + "name": "AMAZINGLY_GOOD" } ], - \\"name\\": \\"Goodness\\", - \\"namespace\\": \\"submodule.child\\" + "name": "Goodness", + "namespace": "submodule.child" }, - \\"jsii-calc.submodule.child.InnerClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.submodule.child.InnerClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - } - }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 37 - }, - \\"name\\": \\"InnerClass\\", - \\"namespace\\": \\"submodule.child\\", - \\"properties\\": [ - { - \\"const\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 38 - }, - \\"name\\": \\"staticProp\\", - \\"static\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.child.SomeStruct\\" + "jsii-calc.submodule.child.InnerClass": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.submodule.child.InnerClass", + "initializer": { + "docs": { + "stability": "experimental" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 37 + }, + "name": "InnerClass", + "namespace": "submodule.child", + "properties": [ + { + "const": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 38 + }, + "name": "staticProp", + "static": true, + "type": { + "fqn": "jsii-calc.submodule.child.SomeStruct" } } ] }, - \\"jsii-calc.submodule.child.KwargsProps\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.submodule.child.KwargsProps\\", - \\"interfaces\\": [ - \\"jsii-calc.submodule.child.SomeStruct\\" + "jsii-calc.submodule.child.KwargsProps": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.submodule.child.KwargsProps", + "interfaces": [ + "jsii-calc.submodule.child.SomeStruct" ], - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 41 - }, - \\"name\\": \\"KwargsProps\\", - \\"namespace\\": \\"submodule.child\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 42 - }, - \\"name\\": \\"extra\\", - \\"optional\\": true, - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "interface", + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 41 + }, + "name": "KwargsProps", + "namespace": "submodule.child", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 42 + }, + "name": "extra", + "optional": true, + "type": { + "primitive": "string" } } ] }, - \\"jsii-calc.submodule.child.OuterClass\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"see\\": \\": https://github.com/aws/jsii/pull/1706\\", - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Checks that classes can self-reference during initialization.\\" - }, - \\"fqn\\": \\"jsii-calc.submodule.child.OuterClass\\", - \\"initializer\\": { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.submodule.child.OuterClass": { + "assembly": "jsii-calc", + "docs": { + "see": ": https://github.com/aws/jsii/pull/1706", + "stability": "experimental", + "summary": "Checks that classes can self-reference during initialization." + }, + "fqn": "jsii-calc.submodule.child.OuterClass", + "initializer": { + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 27 + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 27 } }, - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 24 + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 24 }, - \\"name\\": \\"OuterClass\\", - \\"namespace\\": \\"submodule.child\\", - \\"properties\\": [ + "name": "OuterClass", + "namespace": "submodule.child", + "properties": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 25 + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 25 }, - \\"name\\": \\"innerClass\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.child.InnerClass\\" + "name": "innerClass", + "type": { + "fqn": "jsii-calc.submodule.child.InnerClass" } } ] }, - \\"jsii-calc.submodule.child.SomeEnum\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "jsii-calc.submodule.child.SomeEnum": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" }, - \\"fqn\\": \\"jsii-calc.submodule.child.SomeEnum\\", - \\"kind\\": \\"enum\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 31 + "fqn": "jsii-calc.submodule.child.SomeEnum", + "kind": "enum", + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 31 }, - \\"members\\": [ + "members": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"name\\": \\"SOME\\" + "name": "SOME" } ], - \\"name\\": \\"SomeEnum\\", - \\"namespace\\": \\"submodule.child\\" + "name": "SomeEnum", + "namespace": "submodule.child" }, - \\"jsii-calc.submodule.child.SomeStruct\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.submodule.child.SomeStruct\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 34 - }, - \\"name\\": \\"SomeStruct\\", - \\"namespace\\": \\"submodule.child\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 35 - }, - \\"name\\": \\"prop\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.child.SomeEnum\\" + "jsii-calc.submodule.child.SomeStruct": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.submodule.child.SomeStruct", + "kind": "interface", + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 34 + }, + "name": "SomeStruct", + "namespace": "submodule.child", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 35 + }, + "name": "prop", + "type": { + "fqn": "jsii-calc.submodule.child.SomeEnum" } } ] }, - \\"jsii-calc.submodule.child.Structure\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"datatype\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.submodule.child.Structure\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 1 - }, - \\"name\\": \\"Structure\\", - \\"namespace\\": \\"submodule.child\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/child/index.ts\\", - \\"line\\": 2 - }, - \\"name\\": \\"bool\\", - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "jsii-calc.submodule.child.Structure": { + "assembly": "jsii-calc", + "datatype": true, + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.submodule.child.Structure", + "kind": "interface", + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 1 + }, + "name": "Structure", + "namespace": "submodule.child", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/child/index.ts", + "line": 2 + }, + "name": "bool", + "type": { + "primitive": "boolean" } } ] }, - \\"jsii-calc.submodule.isolated.Kwargs\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\", - \\"summary\\": \\"Ensures imports are correctly registered for kwargs lifted properties from super-structs.\\" + "jsii-calc.submodule.isolated.Kwargs": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental", + "summary": "Ensures imports are correctly registered for kwargs lifted properties from super-structs." }, - \\"fqn\\": \\"jsii-calc.submodule.isolated.Kwargs\\", - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/isolated.ts\\", - \\"line\\": 7 + "fqn": "jsii-calc.submodule.isolated.Kwargs", + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/isolated.ts", + "line": 7 }, - \\"methods\\": [ + "methods": [ { - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "docs": { + "stability": "experimental" }, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/isolated.ts\\", - \\"line\\": 8 + "locationInModule": { + "filename": "lib/submodule/isolated.ts", + "line": 8 }, - \\"name\\": \\"method\\", - \\"parameters\\": [ + "name": "method", + "parameters": [ { - \\"name\\": \\"props\\", - \\"optional\\": true, - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.child.KwargsProps\\" + "name": "props", + "optional": true, + "type": { + "fqn": "jsii-calc.submodule.child.KwargsProps" } } ], - \\"returns\\": { - \\"type\\": { - \\"primitive\\": \\"boolean\\" + "returns": { + "type": { + "primitive": "boolean" } }, - \\"static\\": true + "static": true } ], - \\"name\\": \\"Kwargs\\", - \\"namespace\\": \\"submodule.isolated\\" + "name": "Kwargs", + "namespace": "submodule.isolated" }, - \\"jsii-calc.submodule.nested_submodule.Namespaced\\": { - \\"abstract\\": true, - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.submodule.nested_submodule.Namespaced\\", - \\"interfaces\\": [ - \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\" + "jsii-calc.submodule.nested_submodule.Namespaced": { + "abstract": true, + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.submodule.nested_submodule.Namespaced", + "interfaces": [ + "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced" ], - \\"kind\\": \\"class\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/nested_submodule.ts\\", - \\"line\\": 12 - }, - \\"name\\": \\"Namespaced\\", - \\"namespace\\": \\"submodule.nested_submodule\\", - \\"properties\\": [ - { - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/nested_submodule.ts\\", - \\"line\\": 13 - }, - \\"name\\": \\"definedAt\\", - \\"overrides\\": \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "kind": "class", + "locationInModule": { + "filename": "lib/submodule/nested_submodule.ts", + "line": 12 + }, + "name": "Namespaced", + "namespace": "submodule.nested_submodule", + "properties": [ + { + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/nested_submodule.ts", + "line": 13 + }, + "name": "definedAt", + "overrides": "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced", + "type": { + "primitive": "string" } }, { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" + "abstract": true, + "docs": { + "stability": "experimental" }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/nested_submodule.ts\\", - \\"line\\": 14 + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/nested_submodule.ts", + "line": 14 }, - \\"name\\": \\"goodness\\", - \\"type\\": { - \\"fqn\\": \\"jsii-calc.submodule.child.Goodness\\" + "name": "goodness", + "type": { + "fqn": "jsii-calc.submodule.child.Goodness" } } ] }, - \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\": { - \\"assembly\\": \\"jsii-calc\\", - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"fqn\\": \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\", - \\"kind\\": \\"interface\\", - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/nested_submodule.ts\\", - \\"line\\": 7 - }, - \\"name\\": \\"INamespaced\\", - \\"namespace\\": \\"submodule.nested_submodule.deeplyNested\\", - \\"properties\\": [ - { - \\"abstract\\": true, - \\"docs\\": { - \\"stability\\": \\"experimental\\" - }, - \\"immutable\\": true, - \\"locationInModule\\": { - \\"filename\\": \\"lib/submodule/nested_submodule.ts\\", - \\"line\\": 8 - }, - \\"name\\": \\"definedAt\\", - \\"type\\": { - \\"primitive\\": \\"string\\" + "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced": { + "assembly": "jsii-calc", + "docs": { + "stability": "experimental" + }, + "fqn": "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced", + "kind": "interface", + "locationInModule": { + "filename": "lib/submodule/nested_submodule.ts", + "line": 7 + }, + "name": "INamespaced", + "namespace": "submodule.nested_submodule.deeplyNested", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "experimental" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/submodule/nested_submodule.ts", + "line": 8 + }, + "name": "definedAt", + "type": { + "primitive": "string" } } ] } }, - \\"version\\": \\"0.0.0\\", - \\"fingerprint\\": \\"kQYWZjxtnycywR9qo/KXKyeVPmP6HoAefGhHN7SidkM=\\" -} -", + "version": "0.0.0", + "fingerprint": "NsqdwWgXi+kjrpLQtQ27eA/znULJ7TtXy03ht68N9Ms=" } + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon.JSII.Tests.CalculatorPackageId.csproj 1`] = ` -Object { - Symbol(file): " + A simple calcuator built on JSII. (Stability: Experimental) @@ -20644,26 +20704,24 @@ Object { netcoreapp3.1 - + - - - - + + + + 0612,0618 -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -20672,7 +20730,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClass), fullyQualifiedName: \\"jsii-calc.AbstractClass\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClass), fullyQualifiedName: "jsii-calc.AbstractClass")] public abstract class AbstractClass : Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceImplementedByAbstractClass { /// @@ -20683,14 +20741,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } ///

Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AbstractClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AbstractClass(DeputyProps props): base(props) { @@ -20699,14 +20757,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"abstractMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"name\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "abstractMethod", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"name\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public abstract string AbstractMethod(string name); /// /// Stability: Experimental /// - [JsiiMethod(name: \\"nonAbstractMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "nonAbstractMethod", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public virtual double NonAbstractMethod() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -20715,20 +20773,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"propFromInterface\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "propFromInterface", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string PropFromInterface { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBase.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -20737,7 +20793,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase), fullyQualifiedName: \\"jsii-calc.AbstractClassBase\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase), fullyQualifiedName: "jsii-calc.AbstractClassBase")] public abstract class AbstractClassBase : DeputyBase { /// @@ -20748,14 +20804,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AbstractClassBase(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AbstractClassBase(DeputyProps props): base(props) { @@ -20764,20 +20820,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"abstractProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "abstractProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public abstract string AbstractProperty { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBaseProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -20786,7 +20840,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase), fullyQualifiedName: \\"jsii-calc.AbstractClassBase\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase), fullyQualifiedName: "jsii-calc.AbstractClassBase")] internal sealed class AbstractClassBaseProxy : Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase { private AbstractClassBaseProxy(ByRefValue reference): base(reference) @@ -20796,20 +20850,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"abstractProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "abstractProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public override string AbstractProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -20818,7 +20870,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClass), fullyQualifiedName: \\"jsii-calc.AbstractClass\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClass), fullyQualifiedName: "jsii-calc.AbstractClass")] internal sealed class AbstractClassProxy : Amazon.JSII.Tests.CalculatorNamespace.AbstractClass { private AbstractClassProxy(ByRefValue reference): base(reference) @@ -20828,7 +20880,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"abstractProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "abstractProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public override string AbstractProperty { get => GetInstanceProperty(); @@ -20837,20 +20889,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"abstractMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"name\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "abstractMethod", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"name\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public override string AbstractMethod(string name) { return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{name}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassReturner.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -20859,7 +20909,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassReturner), fullyQualifiedName: \\"jsii-calc.AbstractClassReturner\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassReturner), fullyQualifiedName: "jsii-calc.AbstractClassReturner")] public class AbstractClassReturner : DeputyBase { /// @@ -20870,14 +20920,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AbstractClassReturner(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AbstractClassReturner(DeputyProps props): base(props) { @@ -20886,7 +20936,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"giveMeAbstract\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AbstractClass\\\\\\"}}\\")] + [JsiiMethod(name: "giveMeAbstract", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.AbstractClass\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.AbstractClass GiveMeAbstract() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -20895,7 +20945,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"giveMeInterface\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IInterfaceImplementedByAbstractClass\\\\\\"}}\\")] + [JsiiMethod(name: "giveMeInterface", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IInterfaceImplementedByAbstractClass\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.IInterfaceImplementedByAbstractClass GiveMeInterface() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -20904,20 +20954,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"returnAbstractFromProperty\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AbstractClassBase\\\\\\"}\\")] + [JsiiProperty(name: "returnAbstractFromProperty", typeJson: "{\\"fqn\\":\\"jsii-calc.AbstractClassBase\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase ReturnAbstractFromProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractSuite.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -20927,7 +20975,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractSuite), fullyQualifiedName: \\"jsii-calc.AbstractSuite\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractSuite), fullyQualifiedName: "jsii-calc.AbstractSuite")] public abstract class AbstractSuite : DeputyBase { /// @@ -20938,14 +20986,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AbstractSuite(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AbstractSuite(DeputyProps props): base(props) { @@ -20954,16 +21002,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"someMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"str\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "someMethod", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"str\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] protected abstract string SomeMethod(string str); /// Sets \`seed\` to \`this.property\`, then calls \`someMethod\` with \`this.property\` and returns the result. - /// a \`string\`. + /// a \`string\`. /// /// Stability: Experimental /// - [JsiiMethod(name: \\"workItAll\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"a \`string\`.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"seed\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "workItAll", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"a \`string\`.\\"},\\"name\\":\\"seed\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public virtual string WorkItAll(string seed) { return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{seed}); @@ -20972,7 +21020,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] protected abstract string Property { get; @@ -20980,13 +21028,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractSuiteProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -20996,7 +21042,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractSuite), fullyQualifiedName: \\"jsii-calc.AbstractSuite\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractSuite), fullyQualifiedName: "jsii-calc.AbstractSuite")] internal sealed class AbstractSuiteProxy : Amazon.JSII.Tests.CalculatorNamespace.AbstractSuite { private AbstractSuiteProxy(ByRefValue reference): base(reference) @@ -21006,7 +21052,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] protected override string Property { get => GetInstanceProperty(); @@ -21016,35 +21062,33 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"someMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"str\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "someMethod", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"str\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] protected override string SomeMethod(string str) { return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{str}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Add.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// The \\"+\\" binary operation. + /// The "+" binary operation. /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Add), fullyQualifiedName: \\"jsii-calc.Add\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"Left-hand side operand.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"lhs\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}},{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"Right-hand side operand.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"rhs\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Add), fullyQualifiedName: "jsii-calc.Add", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"Left-hand side operand.\\"},\\"name\\":\\"lhs\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}},{\\"docs\\":{\\"summary\\":\\"Right-hand side operand.\\"},\\"name\\":\\"rhs\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}}]")] public class Add : Amazon.JSII.Tests.CalculatorNamespace.BinaryOperation { /// Creates a BinaryOperation. - /// Left-hand side operand. - /// Right-hand side operand. + /// Left-hand side operand. + /// Right-hand side operand. /// /// Stability: Experimental /// @@ -21053,14 +21097,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Add(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Add(DeputyProps props): base(props) { @@ -21070,7 +21114,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"toString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "toString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public override string ToString() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -21080,20 +21124,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] public override double Value { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypes.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21106,7 +21148,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AllTypes), fullyQualifiedName: \\"jsii-calc.AllTypes\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AllTypes), fullyQualifiedName: "jsii-calc.AllTypes")] public class AllTypes : DeputyBase { /// @@ -21117,14 +21159,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AllTypes(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AllTypes(DeputyProps props): base(props) { @@ -21133,7 +21175,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyIn\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"inp\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}]\\")] + [JsiiMethod(name: "anyIn", parametersJson: "[{\\"name\\":\\"inp\\",\\"type\\":{\\"primitive\\":\\"any\\"}}]")] public virtual void AnyIn(object inp) { InvokeInstanceVoidMethod(new System.Type[]{typeof(object)}, new object[]{inp}); @@ -21142,7 +21184,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyOut\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyOut", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public virtual object AnyOut() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -21151,7 +21193,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"enumMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StringEnum\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StringEnum\\\\\\"}}]\\")] + [JsiiMethod(name: "enumMethod", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.StringEnum\\"}}", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.StringEnum\\"}}]")] public virtual Amazon.JSII.Tests.CalculatorNamespace.StringEnum EnumMethod(Amazon.JSII.Tests.CalculatorNamespace.StringEnum @value) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.StringEnum)}, new object[]{@value}); @@ -21160,7 +21202,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"enumPropertyValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "enumPropertyValue", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double EnumPropertyValue { get => GetInstanceProperty(); @@ -21169,7 +21211,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"anyArrayProperty\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "anyArrayProperty", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"array\\"}}")] public virtual object[] AnyArrayProperty { get => GetInstanceProperty(); @@ -21179,7 +21221,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"anyMapProperty\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\")] + [JsiiProperty(name: "anyMapProperty", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"map\\"}}")] public virtual System.Collections.Generic.IDictionary AnyMapProperty { get => GetInstanceProperty>(); @@ -21189,7 +21231,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"anyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\")] + [JsiiProperty(name: "anyProperty", typeJson: "{\\"primitive\\":\\"any\\"}")] public virtual object AnyProperty { get => GetInstanceProperty(); @@ -21199,7 +21241,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"arrayProperty\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "arrayProperty", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}")] public virtual string[] ArrayProperty { get => GetInstanceProperty(); @@ -21209,7 +21251,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"booleanProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "booleanProperty", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public virtual bool BooleanProperty { get => GetInstanceProperty(); @@ -21219,7 +21261,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"dateProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}\\")] + [JsiiProperty(name: "dateProperty", typeJson: "{\\"primitive\\":\\"date\\"}")] public virtual System.DateTime DateProperty { get => GetInstanceProperty(); @@ -21229,7 +21271,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"enumProperty\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AllTypesEnum\\\\\\"}\\")] + [JsiiProperty(name: "enumProperty", typeJson: "{\\"fqn\\":\\"jsii-calc.AllTypesEnum\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.AllTypesEnum EnumProperty { get => GetInstanceProperty(); @@ -21239,7 +21281,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"jsonProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"json\\\\\\"}\\")] + [JsiiProperty(name: "jsonProperty", typeJson: "{\\"primitive\\":\\"json\\"}")] public virtual Newtonsoft.Json.Linq.JObject JsonProperty { get => GetInstanceProperty(); @@ -21249,7 +21291,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"mapProperty\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Number\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\")] + [JsiiProperty(name: "mapProperty", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Number\\"},\\"kind\\":\\"map\\"}}")] public virtual System.Collections.Generic.IDictionary MapProperty { get => GetInstanceProperty>(); @@ -21259,7 +21301,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"numberProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "numberProperty", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double NumberProperty { get => GetInstanceProperty(); @@ -21269,7 +21311,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"stringProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "stringProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string StringProperty { get => GetInstanceProperty(); @@ -21279,7 +21321,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"unionArrayProperty\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}]}},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "unionArrayProperty", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"number\\"},{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}]}},\\"kind\\":\\"array\\"}}")] public virtual object[] UnionArrayProperty { get => GetInstanceProperty(); @@ -21289,7 +21331,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"unionMapProperty\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Number\\\\\\"}]}},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\")] + [JsiiProperty(name: "unionMapProperty", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"string\\"},{\\"primitive\\":\\"number\\"},{\\"fqn\\":\\"@scope/jsii-calc-lib.Number\\"}]}},\\"kind\\":\\"map\\"}}")] public virtual System.Collections.Generic.IDictionary UnionMapProperty { get => GetInstanceProperty>(); @@ -21299,7 +21341,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"unionProperty\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Multiply\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Number\\\\\\"}]}}\\")] + [JsiiProperty(name: "unionProperty", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"string\\"},{\\"primitive\\":\\"number\\"},{\\"fqn\\":\\"jsii-calc.Multiply\\"},{\\"fqn\\":\\"@scope/jsii-calc-lib.Number\\"}]}}")] public virtual object UnionProperty { get => GetInstanceProperty(); @@ -21309,7 +21351,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"unknownArrayProperty\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "unknownArrayProperty", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"array\\"}}")] public virtual object[] UnknownArrayProperty { get => GetInstanceProperty(); @@ -21319,7 +21361,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"unknownMapProperty\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\")] + [JsiiProperty(name: "unknownMapProperty", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"map\\"}}")] public virtual System.Collections.Generic.IDictionary UnknownMapProperty { get => GetInstanceProperty>(); @@ -21329,7 +21371,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"unknownProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\")] + [JsiiProperty(name: "unknownProperty", typeJson: "{\\"primitive\\":\\"any\\"}")] public virtual object UnknownProperty { get => GetInstanceProperty(); @@ -21340,7 +21382,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalEnumValue\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StringEnum\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalEnumValue", typeJson: "{\\"fqn\\":\\"jsii-calc.StringEnum\\"}", isOptional: true)] public virtual Amazon.JSII.Tests.CalculatorNamespace.StringEnum? OptionalEnumValue { get => GetInstanceProperty(); @@ -21348,13 +21390,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypesEnum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21364,33 +21404,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiEnum(nativeType: typeof(AllTypesEnum), fullyQualifiedName: \\"jsii-calc.AllTypesEnum\\")] + [JsiiEnum(nativeType: typeof(AllTypesEnum), fullyQualifiedName: "jsii-calc.AllTypesEnum")] public enum AllTypesEnum { /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"MY_ENUM_VALUE\\")] + [JsiiEnumMember(name: "MY_ENUM_VALUE")] MY_ENUM_VALUE, /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"YOUR_ENUM_VALUE\\")] + [JsiiEnumMember(name: "YOUR_ENUM_VALUE")] YOUR_ENUM_VALUE, /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"THIS_IS_GREAT\\")] + [JsiiEnumMember(name: "THIS_IS_GREAT")] THIS_IS_GREAT } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllowedMethodNames.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21399,7 +21437,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AllowedMethodNames), fullyQualifiedName: \\"jsii-calc.AllowedMethodNames\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AllowedMethodNames), fullyQualifiedName: "jsii-calc.AllowedMethodNames")] public class AllowedMethodNames : DeputyBase { /// @@ -21410,14 +21448,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AllowedMethodNames(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AllowedMethodNames(DeputyProps props): base(props) { @@ -21426,7 +21464,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"getBar\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"_p1\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"_p2\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "getBar", parametersJson: "[{\\"name\\":\\"_p1\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"_p2\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual void GetBar(string p1, double p2) { InvokeInstanceVoidMethod(new System.Type[]{typeof(string), typeof(double)}, new object[]{p1, p2}); @@ -21436,7 +21474,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"getFoo\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"withParam\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "getFoo", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"withParam\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public virtual string GetFoo(string withParam) { return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{withParam}); @@ -21445,7 +21483,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"setBar\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"_x\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"_y\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"_z\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}]\\")] + [JsiiMethod(name: "setBar", parametersJson: "[{\\"name\\":\\"_x\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"_y\\",\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"name\\":\\"_z\\",\\"type\\":{\\"primitive\\":\\"boolean\\"}}]")] public virtual void SetBar(string x, double y, bool z) { InvokeInstanceVoidMethod(new System.Type[]{typeof(string), typeof(double), typeof(bool)}, new object[]{x, y, z}); @@ -21455,20 +21493,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"setFoo\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"_x\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"_y\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "setFoo", parametersJson: "[{\\"name\\":\\"_x\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"_y\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual void SetFoo(string x, double y) { InvokeInstanceVoidMethod(new System.Type[]{typeof(string), typeof(double)}, new object[]{x, y}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AmbiguousParameters.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21477,7 +21513,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AmbiguousParameters), fullyQualifiedName: \\"jsii-calc.AmbiguousParameters\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"scope\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Bell\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"props\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructParameterType\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AmbiguousParameters), fullyQualifiedName: "jsii-calc.AmbiguousParameters", parametersJson: "[{\\"name\\":\\"scope\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.Bell\\"}},{\\"name\\":\\"props\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.StructParameterType\\"}}]")] public class AmbiguousParameters : DeputyBase { /// @@ -21488,14 +21524,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AmbiguousParameters(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AmbiguousParameters(DeputyProps props): base(props) { @@ -21504,7 +21540,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"props\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructParameterType\\\\\\"}\\")] + [JsiiProperty(name: "props", typeJson: "{\\"fqn\\":\\"jsii-calc.StructParameterType\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.IStructParameterType Props { get => GetInstanceProperty(); @@ -21513,20 +21549,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"scope\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Bell\\\\\\"}\\")] + [JsiiProperty(name: "scope", typeJson: "{\\"fqn\\":\\"jsii-calc.Bell\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.Bell Scope { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AnonymousImplementationProvider.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21535,7 +21569,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AnonymousImplementationProvider), fullyQualifiedName: \\"jsii-calc.AnonymousImplementationProvider\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AnonymousImplementationProvider), fullyQualifiedName: "jsii-calc.AnonymousImplementationProvider")] public class AnonymousImplementationProvider : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IAnonymousImplementationProvider { /// @@ -21546,14 +21580,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AnonymousImplementationProvider(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AnonymousImplementationProvider(DeputyProps props): base(props) { @@ -21562,7 +21596,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"provideAsClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Implementation\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "provideAsClass", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.Implementation\\"}}", isOverride: true)] public virtual Amazon.JSII.Tests.CalculatorNamespace.Implementation ProvideAsClass() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -21571,20 +21605,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"provideAsInterface\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IAnonymouslyImplementMe\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "provideAsInterface", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IAnonymouslyImplementMe\\"}}", isOverride: true)] public virtual Amazon.JSII.Tests.CalculatorNamespace.IAnonymouslyImplementMe ProvideAsInterface() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AsyncVirtualMethods.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21593,7 +21625,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AsyncVirtualMethods), fullyQualifiedName: \\"jsii-calc.AsyncVirtualMethods\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AsyncVirtualMethods), fullyQualifiedName: "jsii-calc.AsyncVirtualMethods")] public class AsyncVirtualMethods : DeputyBase { /// @@ -21604,14 +21636,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AsyncVirtualMethods(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AsyncVirtualMethods(DeputyProps props): base(props) { @@ -21620,31 +21652,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"callMe\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", isAsync: true)] + [JsiiMethod(name: "callMe", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", isAsync: true)] public virtual double CallMe() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } - /// Just calls \\"overrideMeToo\\". + /// Just calls "overrideMeToo". /// /// Stability: Experimental /// - [JsiiMethod(name: \\"callMe2\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", isAsync: true)] + [JsiiMethod(name: "callMe2", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", isAsync: true)] public virtual double CallMe2() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } - /// This method calls the \\"callMe\\" async method indirectly, which will then invoke a virtual method. + /// This method calls the "callMe" async method indirectly, which will then invoke a virtual method. /// - /// This is a \\"double promise\\" situation, which + /// This is a "double promise" situation, which /// means that callbacks are not going to be available immediate, but only - /// after an \\"immediates\\" cycle. + /// after an "immediates" cycle. /// /// Stability: Experimental /// - [JsiiMethod(name: \\"callMeDoublePromise\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", isAsync: true)] + [JsiiMethod(name: "callMeDoublePromise", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", isAsync: true)] public virtual double CallMeDoublePromise() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -21653,7 +21685,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"dontOverrideMe\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "dontOverrideMe", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public virtual double DontOverrideMe() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -21662,7 +21694,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"overrideMe\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"mult\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\", isAsync: true)] + [JsiiMethod(name: "overrideMe", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"mult\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]", isAsync: true)] public virtual double OverrideMe(double mult) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{mult}); @@ -21671,20 +21703,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"overrideMeToo\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", isAsync: true)] + [JsiiMethod(name: "overrideMeToo", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", isAsync: true)] public virtual double OverrideMeToo() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AugmentableClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21693,7 +21723,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AugmentableClass), fullyQualifiedName: \\"jsii-calc.AugmentableClass\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AugmentableClass), fullyQualifiedName: "jsii-calc.AugmentableClass")] public class AugmentableClass : DeputyBase { /// @@ -21704,14 +21734,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AugmentableClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected AugmentableClass(DeputyProps props): base(props) { @@ -21720,7 +21750,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"methodOne\\")] + [JsiiMethod(name: "methodOne")] public virtual void MethodOne() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -21729,20 +21759,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"methodTwo\\")] + [JsiiMethod(name: "methodTwo")] public virtual void MethodTwo() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseJsii976.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21751,7 +21779,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseJsii976), fullyQualifiedName: \\"jsii-calc.BaseJsii976\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseJsii976), fullyQualifiedName: "jsii-calc.BaseJsii976")] public class BaseJsii976 : DeputyBase { /// @@ -21762,27 +21790,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected BaseJsii976(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected BaseJsii976(DeputyProps props): base(props) { } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Bell.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21791,7 +21817,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Bell), fullyQualifiedName: \\"jsii-calc.Bell\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Bell), fullyQualifiedName: "jsii-calc.Bell")] public class Bell : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IBell { /// @@ -21802,14 +21828,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Bell(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Bell(DeputyProps props): base(props) { @@ -21818,7 +21844,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"ring\\", isOverride: true)] + [JsiiMethod(name: "ring", isOverride: true)] public virtual void Ring() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -21827,7 +21853,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"rung\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "rung", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public virtual bool Rung { get => GetInstanceProperty(); @@ -21835,13 +21861,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BinaryOperation.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21851,12 +21875,12 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BinaryOperation), fullyQualifiedName: \\"jsii-calc.BinaryOperation\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"Left-hand side operand.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"lhs\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}},{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"Right-hand side operand.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"rhs\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BinaryOperation), fullyQualifiedName: "jsii-calc.BinaryOperation", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"Left-hand side operand.\\"},\\"name\\":\\"lhs\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}},{\\"docs\\":{\\"summary\\":\\"Right-hand side operand.\\"},\\"name\\":\\"rhs\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}}]")] public abstract class BinaryOperation : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly { /// Creates a BinaryOperation. - /// Left-hand side operand. - /// Right-hand side operand. + /// Left-hand side operand. + /// Right-hand side operand. /// /// Stability: Experimental /// @@ -21865,14 +21889,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected BinaryOperation(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected BinaryOperation(DeputyProps props): base(props) { @@ -21882,7 +21906,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hello\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "hello", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public virtual string Hello() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -21892,7 +21916,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"lhs\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "lhs", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Lhs { get => GetInstanceProperty(); @@ -21902,20 +21926,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"rhs\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "rhs", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Rhs { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BinaryOperationProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21925,7 +21947,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BinaryOperation), fullyQualifiedName: \\"jsii-calc.BinaryOperation\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BinaryOperation), fullyQualifiedName: "jsii-calc.BinaryOperation")] internal sealed class BinaryOperationProxy : Amazon.JSII.Tests.CalculatorNamespace.BinaryOperation { private BinaryOperationProxy(ByRefValue reference): base(reference) @@ -21936,7 +21958,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public override double Value { @@ -21947,7 +21969,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"toString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "toString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] [System.Obsolete()] public override string ToString() { @@ -21955,13 +21977,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BurriedAnonymousObject.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -21971,7 +21991,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BurriedAnonymousObject), fullyQualifiedName: \\"jsii-calc.BurriedAnonymousObject\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BurriedAnonymousObject), fullyQualifiedName: "jsii-calc.BurriedAnonymousObject")] public abstract class BurriedAnonymousObject : DeputyBase { /// @@ -21982,14 +22002,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected BurriedAnonymousObject(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected BurriedAnonymousObject(DeputyProps props): base(props) { @@ -21998,30 +22018,28 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"check\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\")] + [JsiiMethod(name: "check", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}")] public virtual bool Check() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } /// Implement this method and have it return it's parameter. - /// the value that should be returned. + /// the value that should be returned. /// \`value\` /// /// Stability: Experimental /// - [JsiiMethod(name: \\"giveItBack\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"the value that should be returned.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}]\\")] + [JsiiMethod(name: "giveItBack", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"the value that should be returned.\\"},\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"any\\"}}]")] public abstract object GiveItBack(object @value); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BurriedAnonymousObjectProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22031,7 +22049,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BurriedAnonymousObject), fullyQualifiedName: \\"jsii-calc.BurriedAnonymousObject\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BurriedAnonymousObject), fullyQualifiedName: "jsii-calc.BurriedAnonymousObject")] internal sealed class BurriedAnonymousObjectProxy : Amazon.JSII.Tests.CalculatorNamespace.BurriedAnonymousObject { private BurriedAnonymousObjectProxy(ByRefValue reference): base(reference) @@ -22039,25 +22057,23 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Implement this method and have it return it's parameter. - /// the value that should be returned. + /// the value that should be returned. /// \`value\` /// /// Stability: Experimental /// - [JsiiMethod(name: \\"giveItBack\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"the value that should be returned.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}]\\")] + [JsiiMethod(name: "giveItBack", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"the value that should be returned.\\"},\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"any\\"}}]")] public override object GiveItBack(object @value) { return InvokeInstanceMethod(new System.Type[]{typeof(object)}, new object[]{@value}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Calculator.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22086,11 +22102,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// calculator.Mul(3); /// Console.WriteLine(calculator.Expression.Value); /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Calculator), fullyQualifiedName: \\"jsii-calc.Calculator\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"Initialization properties.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"props\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.CalculatorProps\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Calculator), fullyQualifiedName: "jsii-calc.Calculator", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"Initialization properties.\\"},\\"name\\":\\"props\\",\\"optional\\":true,\\"type\\":{\\"fqn\\":\\"jsii-calc.CalculatorProps\\"}}]")] public class Calculator : Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation { /// Creates a Calculator object. - /// Initialization properties. + /// Initialization properties. /// /// Stability: Experimental /// @@ -22099,14 +22115,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Calculator(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Calculator(DeputyProps props): base(props) { @@ -22116,7 +22132,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"add\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "add", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual void Add(double @value) { InvokeInstanceVoidMethod(new System.Type[]{typeof(double)}, new object[]{@value}); @@ -22126,7 +22142,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"mul\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "mul", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual void Mul(double @value) { InvokeInstanceVoidMethod(new System.Type[]{typeof(double)}, new object[]{@value}); @@ -22136,7 +22152,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"neg\\")] + [JsiiMethod(name: "neg")] public virtual void Neg() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -22146,7 +22162,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"pow\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "pow", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual void Pow(double @value) { InvokeInstanceVoidMethod(new System.Type[]{typeof(double)}, new object[]{@value}); @@ -22156,7 +22172,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"readUnionValue\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "readUnionValue", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public virtual double ReadUnionValue() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -22166,7 +22182,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"expression\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "expression", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public override Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Expression { get => GetInstanceProperty(); @@ -22176,7 +22192,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"operationsLog\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "operationsLog", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"},\\"kind\\":\\"array\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_[] OperationsLog { get => GetInstanceProperty(); @@ -22186,7 +22202,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"operationsMap\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\")] + [JsiiProperty(name: "operationsMap", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"},\\"kind\\":\\"array\\"}},\\"kind\\":\\"map\\"}}")] public virtual System.Collections.Generic.IDictionary OperationsMap { get => GetInstanceProperty>(); @@ -22196,7 +22212,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"curr\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "curr", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Curr { get => GetInstanceProperty(); @@ -22208,7 +22224,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"maxValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "maxValue", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public virtual double? MaxValue { get => GetInstanceProperty(); @@ -22220,7 +22236,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"unionProperty\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Add\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Multiply\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Power\\\\\\"}]}}\\", isOptional: true)] + [JsiiProperty(name: "unionProperty", typeJson: "{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"jsii-calc.Add\\"},{\\"fqn\\":\\"jsii-calc.Multiply\\"},{\\"fqn\\":\\"jsii-calc.Power\\"}]}}", isOptional: true)] public virtual object? UnionProperty { get => GetInstanceProperty(); @@ -22228,13 +22244,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22244,7 +22258,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.CalculatorProps\\")] + [JsiiByValue(fqn: "jsii-calc.CalculatorProps")] public class CalculatorProps : Amazon.JSII.Tests.CalculatorNamespace.ICalculatorProps { /// The initial value of the calculator. @@ -22256,7 +22270,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"initialValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "initialValue", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true, isOverride: true)] public double? InitialValue { get; @@ -22270,7 +22284,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"maximumValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "maximumValue", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true, isOverride: true)] public double? MaximumValue { get; @@ -22278,13 +22292,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/CalculatorPropsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22294,7 +22306,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(ICalculatorProps), fullyQualifiedName: \\"jsii-calc.CalculatorProps\\")] + [JsiiTypeProxy(nativeType: typeof(ICalculatorProps), fullyQualifiedName: "jsii-calc.CalculatorProps")] internal sealed class CalculatorPropsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.ICalculatorProps { private CalculatorPropsProxy(ByRefValue reference): base(reference) @@ -22310,7 +22322,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"initialValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "initialValue", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public double? InitialValue { get => GetInstanceProperty(); @@ -22323,20 +22335,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"maximumValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "maximumValue", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public double? MaximumValue { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22347,13 +22357,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.ChildStruct982\\")] + [JsiiByValue(fqn: "jsii-calc.ChildStruct982")] public class ChildStruct982 : Amazon.JSII.Tests.CalculatorNamespace.IChildStruct982 { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"number\\"}", isOverride: true)] public double Bar { get; @@ -22363,7 +22373,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Foo { get; @@ -22371,13 +22381,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ChildStruct982Proxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22386,7 +22394,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IChildStruct982), fullyQualifiedName: \\"jsii-calc.ChildStruct982\\")] + [JsiiTypeProxy(nativeType: typeof(IChildStruct982), fullyQualifiedName: "jsii-calc.ChildStruct982")] internal sealed class ChildStruct982Proxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IChildStruct982 { private ChildStruct982Proxy(ByRefValue reference): base(reference) @@ -22396,7 +22404,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"number\\"}")] public double Bar { get => GetInstanceProperty(); @@ -22405,20 +22413,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Foo { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsTheInternalInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22427,7 +22433,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassThatImplementsTheInternalInterface), fullyQualifiedName: \\"jsii-calc.ClassThatImplementsTheInternalInterface\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassThatImplementsTheInternalInterface), fullyQualifiedName: "jsii-calc.ClassThatImplementsTheInternalInterface")] public class ClassThatImplementsTheInternalInterface : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.INonInternalInterface { /// @@ -22438,14 +22444,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassThatImplementsTheInternalInterface(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassThatImplementsTheInternalInterface(DeputyProps props): base(props) { @@ -22454,7 +22460,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"a\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "a", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string A { get => GetInstanceProperty(); @@ -22464,7 +22470,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"b\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "b", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string B { get => GetInstanceProperty(); @@ -22474,7 +22480,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"c\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "c", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string C { get => GetInstanceProperty(); @@ -22484,7 +22490,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"d\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "d", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string D { get => GetInstanceProperty(); @@ -22492,13 +22498,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsThePrivateInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22507,7 +22511,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassThatImplementsThePrivateInterface), fullyQualifiedName: \\"jsii-calc.ClassThatImplementsThePrivateInterface\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassThatImplementsThePrivateInterface), fullyQualifiedName: "jsii-calc.ClassThatImplementsThePrivateInterface")] public class ClassThatImplementsThePrivateInterface : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.INonInternalInterface { /// @@ -22518,14 +22522,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassThatImplementsThePrivateInterface(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassThatImplementsThePrivateInterface(DeputyProps props): base(props) { @@ -22534,7 +22538,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"a\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "a", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string A { get => GetInstanceProperty(); @@ -22544,7 +22548,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"b\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "b", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string B { get => GetInstanceProperty(); @@ -22554,7 +22558,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"c\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "c", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string C { get => GetInstanceProperty(); @@ -22564,7 +22568,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"e\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "e", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string E { get => GetInstanceProperty(); @@ -22572,13 +22576,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithCollections.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22587,7 +22589,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections), fullyQualifiedName: \\"jsii-calc.ClassWithCollections\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"map\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}},{\\\\\\"name\\\\\\":\\\\\\"array\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections), fullyQualifiedName: "jsii-calc.ClassWithCollections", parametersJson: "[{\\"name\\":\\"map\\",\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"map\\"}}},{\\"name\\":\\"array\\",\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}}]")] public class ClassWithCollections : DeputyBase { /// @@ -22598,14 +22600,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithCollections(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithCollections(DeputyProps props): base(props) { @@ -22614,7 +22616,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"createAList\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}\\")] + [JsiiMethod(name: "createAList", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}}")] public static string[] CreateAList() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections), new System.Type[]{}, new object[]{}); @@ -22623,7 +22625,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"createAMap\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}\\")] + [JsiiMethod(name: "createAMap", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"map\\"}}}")] public static System.Collections.Generic.IDictionary CreateAMap() { return InvokeStaticMethod>(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections), new System.Type[]{}, new object[]{}); @@ -22632,7 +22634,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"staticArray\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "staticArray", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}")] public static string[] StaticArray { get => GetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections)); @@ -22642,7 +22644,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"staticMap\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\")] + [JsiiProperty(name: "staticMap", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"map\\"}}")] public static System.Collections.Generic.IDictionary StaticMap { get => GetStaticProperty>(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithCollections)); @@ -22652,7 +22654,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"array\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "array", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}")] public virtual string[] Array { get => GetInstanceProperty(); @@ -22662,7 +22664,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"map\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\")] + [JsiiProperty(name: "map", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"map\\"}}")] public virtual System.Collections.Generic.IDictionary Map { get => GetInstanceProperty>(); @@ -22670,13 +22672,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithDocs.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22696,7 +22696,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// { /// } /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithDocs), fullyQualifiedName: \\"jsii-calc.ClassWithDocs\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithDocs), fullyQualifiedName: "jsii-calc.ClassWithDocs")] public class ClassWithDocs : DeputyBase { /// @@ -22707,27 +22707,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithDocs(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithDocs(DeputyProps props): base(props) { } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithJavaReservedWords.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22736,7 +22734,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithJavaReservedWords), fullyQualifiedName: \\"jsii-calc.ClassWithJavaReservedWords\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"int\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithJavaReservedWords), fullyQualifiedName: "jsii-calc.ClassWithJavaReservedWords", parametersJson: "[{\\"name\\":\\"int\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public class ClassWithJavaReservedWords : DeputyBase { /// @@ -22747,14 +22745,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithJavaReservedWords(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithJavaReservedWords(DeputyProps props): base(props) { @@ -22763,7 +22761,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"import\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"assert\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "import", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"assert\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public virtual string Import(string assert) { return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{assert}); @@ -22772,20 +22770,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"int\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "int", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string Int { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithMutableObjectLiteralProperty.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22794,7 +22790,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithMutableObjectLiteralProperty), fullyQualifiedName: \\"jsii-calc.ClassWithMutableObjectLiteralProperty\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithMutableObjectLiteralProperty), fullyQualifiedName: "jsii-calc.ClassWithMutableObjectLiteralProperty")] public class ClassWithMutableObjectLiteralProperty : DeputyBase { /// @@ -22805,14 +22801,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithMutableObjectLiteralProperty(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithMutableObjectLiteralProperty(DeputyProps props): base(props) { @@ -22821,7 +22817,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"mutableObject\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IMutableObjectLiteral\\\\\\"}\\")] + [JsiiProperty(name: "mutableObject", typeJson: "{\\"fqn\\":\\"jsii-calc.IMutableObjectLiteral\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.IMutableObjectLiteral MutableObject { get => GetInstanceProperty(); @@ -22829,13 +22825,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithPrivateConstructorAndAutomaticProperties.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22845,18 +22839,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithPrivateConstructorAndAutomaticProperties), fullyQualifiedName: \\"jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithPrivateConstructorAndAutomaticProperties), fullyQualifiedName: "jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties")] public class ClassWithPrivateConstructorAndAutomaticProperties : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithProperties { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithPrivateConstructorAndAutomaticProperties(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithPrivateConstructorAndAutomaticProperties(DeputyProps props): base(props) { @@ -22865,7 +22859,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"create\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"readOnlyString\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"readWriteString\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "create", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties\\"}}", parametersJson: "[{\\"name\\":\\"readOnlyString\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"readWriteString\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public static Amazon.JSII.Tests.CalculatorNamespace.ClassWithPrivateConstructorAndAutomaticProperties Create(string readOnlyString, string readWriteString) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithPrivateConstructorAndAutomaticProperties), new System.Type[]{typeof(string), typeof(string)}, new object[]{readOnlyString, readWriteString}); @@ -22874,7 +22868,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readOnlyString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readOnlyString", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string ReadOnlyString { get => GetInstanceProperty(); @@ -22883,7 +22877,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readWriteString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readWriteString", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string ReadWriteString { get => GetInstanceProperty(); @@ -22891,13 +22885,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Composition/CompositeOperation.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -22907,7 +22899,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation), fullyQualifiedName: \\"jsii-calc.composition.CompositeOperation\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation), fullyQualifiedName: "jsii-calc.composition.CompositeOperation")] public abstract class CompositeOperation : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation { protected CompositeOperation(): base(new DeputyProps(new object[]{})) @@ -22915,14 +22907,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected CompositeOperation(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected CompositeOperation(DeputyProps props): base(props) { @@ -22932,7 +22924,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiMethod(name: \\"toString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "toString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public override string ToString() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -22944,7 +22936,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiProperty(name: \\"expression\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "expression", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public abstract Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Expression { get; @@ -22954,7 +22946,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] public override double Value { get => GetInstanceProperty(); @@ -22964,7 +22956,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiProperty(name: \\"decorationPostfixes\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "decorationPostfixes", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}")] public virtual string[] DecorationPostfixes { get => GetInstanceProperty(); @@ -22975,7 +22967,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiProperty(name: \\"decorationPrefixes\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "decorationPrefixes", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}")] public virtual string[] DecorationPrefixes { get => GetInstanceProperty(); @@ -22986,7 +22978,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiProperty(name: \\"stringStyle\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.composition.CompositeOperation.CompositionStringStyle\\\\\\"}\\")] + [JsiiProperty(name: "stringStyle", typeJson: "{\\"fqn\\":\\"jsii-calc.composition.CompositeOperation.CompositionStringStyle\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation.CompositionStringStyle StringStyle { get => GetInstanceProperty(); @@ -22997,31 +22989,29 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiEnum(nativeType: typeof(CompositionStringStyle), fullyQualifiedName: \\"jsii-calc.composition.CompositeOperation.CompositionStringStyle\\")] + [JsiiEnum(nativeType: typeof(CompositionStringStyle), fullyQualifiedName: "jsii-calc.composition.CompositeOperation.CompositionStringStyle")] public enum CompositionStringStyle { /// Normal string expression. /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"NORMAL\\")] + [JsiiEnumMember(name: "NORMAL")] NORMAL, /// Decorated string expression. /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"DECORATED\\")] + [JsiiEnumMember(name: "DECORATED")] DECORATED } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Composition/CompositeOperationProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23031,7 +23021,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation), fullyQualifiedName: \\"jsii-calc.composition.CompositeOperation\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation), fullyQualifiedName: "jsii-calc.composition.CompositeOperation")] internal sealed class CompositeOperationProxy : Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation { private CompositeOperationProxy(ByRefValue reference): base(reference) @@ -23044,20 +23034,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Composition /// /// Stability: Experimental /// - [JsiiProperty(name: \\"expression\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "expression", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public override Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Expression { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJackson.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23069,18 +23057,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// See: https://github.com/aws/aws-cdk/issues/4080 /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConfusingToJackson), fullyQualifiedName: \\"jsii-calc.ConfusingToJackson\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConfusingToJackson), fullyQualifiedName: "jsii-calc.ConfusingToJackson")] public class ConfusingToJackson : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConfusingToJackson(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConfusingToJackson(DeputyProps props): base(props) { @@ -23089,7 +23077,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"makeInstance\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.ConfusingToJackson\\\\\\"}}\\")] + [JsiiMethod(name: "makeInstance", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.ConfusingToJackson\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.ConfusingToJackson MakeInstance() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ConfusingToJackson), new System.Type[]{}, new object[]{}); @@ -23098,7 +23086,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"makeStructInstance\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.ConfusingToJacksonStruct\\\\\\"}}\\")] + [JsiiMethod(name: "makeStructInstance", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.ConfusingToJacksonStruct\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IConfusingToJacksonStruct MakeStructInstance() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ConfusingToJackson), new System.Type[]{}, new object[]{}); @@ -23108,7 +23096,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"unionProperty\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"},{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AbstractClass\\\\\\"}]}},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}]}}\\", isOptional: true)] + [JsiiProperty(name: "unionProperty", typeJson: "{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"},{\\"collection\\":{\\"elementtype\\":{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"},{\\"fqn\\":\\"jsii-calc.AbstractClass\\"}]}},\\"kind\\":\\"array\\"}}]}}", isOptional: true)] public virtual object? UnionProperty { get => GetInstanceProperty(); @@ -23116,13 +23104,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23131,14 +23117,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.ConfusingToJacksonStruct\\")] + [JsiiByValue(fqn: "jsii-calc.ConfusingToJacksonStruct")] public class ConfusingToJacksonStruct : Amazon.JSII.Tests.CalculatorNamespace.IConfusingToJacksonStruct { /// /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"unionProperty\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"},{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AbstractClass\\\\\\"}]}},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}]}}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "unionProperty", typeJson: "{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"},{\\"collection\\":{\\"elementtype\\":{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"},{\\"fqn\\":\\"jsii-calc.AbstractClass\\"}]}},\\"kind\\":\\"array\\"}}]}}", isOptional: true, isOverride: true)] public object? UnionProperty { get; @@ -23146,13 +23132,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConfusingToJacksonStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23161,7 +23145,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IConfusingToJacksonStruct), fullyQualifiedName: \\"jsii-calc.ConfusingToJacksonStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IConfusingToJacksonStruct), fullyQualifiedName: "jsii-calc.ConfusingToJacksonStruct")] internal sealed class ConfusingToJacksonStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IConfusingToJacksonStruct { private ConfusingToJacksonStructProxy(ByRefValue reference): base(reference) @@ -23172,20 +23156,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"unionProperty\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"},{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AbstractClass\\\\\\"}]}},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}]}}\\", isOptional: true)] + [JsiiProperty(name: "unionProperty", typeJson: "{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"},{\\"collection\\":{\\"elementtype\\":{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"},{\\"fqn\\":\\"jsii-calc.AbstractClass\\"}]}},\\"kind\\":\\"array\\"}}]}}", isOptional: true)] public object? UnionProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConstructorPassesThisOut.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23194,7 +23176,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConstructorPassesThisOut), fullyQualifiedName: \\"jsii-calc.ConstructorPassesThisOut\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"consumer\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.PartiallyInitializedThisConsumer\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConstructorPassesThisOut), fullyQualifiedName: "jsii-calc.ConstructorPassesThisOut", parametersJson: "[{\\"name\\":\\"consumer\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.PartiallyInitializedThisConsumer\\"}}]")] public class ConstructorPassesThisOut : DeputyBase { /// @@ -23205,27 +23187,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConstructorPassesThisOut(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConstructorPassesThisOut(DeputyProps props): base(props) { } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Constructors.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23234,7 +23214,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), fullyQualifiedName: \\"jsii-calc.Constructors\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), fullyQualifiedName: "jsii-calc.Constructors")] public class Constructors : DeputyBase { /// @@ -23245,14 +23225,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Constructors(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Constructors(DeputyProps props): base(props) { @@ -23261,7 +23241,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hiddenInterface\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IPublicInterface\\\\\\"}}\\")] + [JsiiMethod(name: "hiddenInterface", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IPublicInterface\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface HiddenInterface() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); @@ -23270,7 +23250,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hiddenInterfaces\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IPublicInterface\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}\\")] + [JsiiMethod(name: "hiddenInterfaces", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"jsii-calc.IPublicInterface\\"},\\"kind\\":\\"array\\"}}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface[] HiddenInterfaces() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); @@ -23279,7 +23259,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hiddenSubInterfaces\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IPublicInterface\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}\\")] + [JsiiMethod(name: "hiddenSubInterfaces", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"jsii-calc.IPublicInterface\\"},\\"kind\\":\\"array\\"}}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface[] HiddenSubInterfaces() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); @@ -23288,7 +23268,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"makeClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.PublicClass\\\\\\"}}\\")] + [JsiiMethod(name: "makeClass", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.PublicClass\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.PublicClass MakeClass() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); @@ -23297,7 +23277,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"makeInterface\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IPublicInterface\\\\\\"}}\\")] + [JsiiMethod(name: "makeInterface", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IPublicInterface\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface MakeInterface() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); @@ -23306,7 +23286,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"makeInterface2\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IPublicInterface2\\\\\\"}}\\")] + [JsiiMethod(name: "makeInterface2", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IPublicInterface2\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface2 MakeInterface2() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); @@ -23315,20 +23295,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"makeInterfaces\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IPublicInterface\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}\\")] + [JsiiMethod(name: "makeInterfaces", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"jsii-calc.IPublicInterface\\"},\\"kind\\":\\"array\\"}}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface[] MakeInterfaces() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumePureInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23337,7 +23315,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumePureInterface), fullyQualifiedName: \\"jsii-calc.ConsumePureInterface\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"delegate\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IStructReturningDelegate\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumePureInterface), fullyQualifiedName: "jsii-calc.ConsumePureInterface", parametersJson: "[{\\"name\\":\\"delegate\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IStructReturningDelegate\\"}}]")] public class ConsumePureInterface : DeputyBase { /// @@ -23348,14 +23326,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConsumePureInterface(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConsumePureInterface(DeputyProps props): base(props) { @@ -23364,20 +23342,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"workItBaby\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructB\\\\\\"}}\\")] + [JsiiMethod(name: "workItBaby", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.StructB\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.IStructB WorkItBaby() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumerCanRingBell.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23390,7 +23366,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumerCanRingBell), fullyQualifiedName: \\"jsii-calc.ConsumerCanRingBell\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumerCanRingBell), fullyQualifiedName: "jsii-calc.ConsumerCanRingBell")] public class ConsumerCanRingBell : DeputyBase { /// @@ -23401,14 +23377,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConsumerCanRingBell(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConsumerCanRingBell(DeputyProps props): base(props) { @@ -23420,7 +23396,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"staticImplementedByObjectLiteral\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"ringer\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBellRinger\\\\\\"}}]\\")] + [JsiiMethod(name: "staticImplementedByObjectLiteral", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"ringer\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IBellRinger\\"}}]")] public static bool StaticImplementedByObjectLiteral(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger ringer) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumerCanRingBell), new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger)}, new object[]{ringer}); @@ -23432,7 +23408,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"staticImplementedByPrivateClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"ringer\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBellRinger\\\\\\"}}]\\")] + [JsiiMethod(name: "staticImplementedByPrivateClass", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"ringer\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IBellRinger\\"}}]")] public static bool StaticImplementedByPrivateClass(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger ringer) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumerCanRingBell), new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger)}, new object[]{ringer}); @@ -23444,7 +23420,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"staticImplementedByPublicClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"ringer\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBellRinger\\\\\\"}}]\\")] + [JsiiMethod(name: "staticImplementedByPublicClass", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"ringer\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IBellRinger\\"}}]")] public static bool StaticImplementedByPublicClass(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger ringer) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumerCanRingBell), new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger)}, new object[]{ringer}); @@ -23456,7 +23432,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"staticWhenTypedAsClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"ringer\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IConcreteBellRinger\\\\\\"}}]\\")] + [JsiiMethod(name: "staticWhenTypedAsClass", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"ringer\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IConcreteBellRinger\\"}}]")] public static bool StaticWhenTypedAsClass(Amazon.JSII.Tests.CalculatorNamespace.IConcreteBellRinger ringer) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumerCanRingBell), new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IConcreteBellRinger)}, new object[]{ringer}); @@ -23468,7 +23444,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"implementedByObjectLiteral\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"ringer\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBellRinger\\\\\\"}}]\\")] + [JsiiMethod(name: "implementedByObjectLiteral", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"ringer\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IBellRinger\\"}}]")] public virtual bool ImplementedByObjectLiteral(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger ringer) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger)}, new object[]{ringer}); @@ -23480,7 +23456,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"implementedByPrivateClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"ringer\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBellRinger\\\\\\"}}]\\")] + [JsiiMethod(name: "implementedByPrivateClass", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"ringer\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IBellRinger\\"}}]")] public virtual bool ImplementedByPrivateClass(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger ringer) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger)}, new object[]{ringer}); @@ -23492,7 +23468,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"implementedByPublicClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"ringer\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBellRinger\\\\\\"}}]\\")] + [JsiiMethod(name: "implementedByPublicClass", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"ringer\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IBellRinger\\"}}]")] public virtual bool ImplementedByPublicClass(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger ringer) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IBellRinger)}, new object[]{ringer}); @@ -23504,20 +23480,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"whenTypedAsClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"ringer\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IConcreteBellRinger\\\\\\"}}]\\")] + [JsiiMethod(name: "whenTypedAsClass", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"ringer\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IConcreteBellRinger\\"}}]")] public virtual bool WhenTypedAsClass(Amazon.JSII.Tests.CalculatorNamespace.IConcreteBellRinger ringer) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IConcreteBellRinger)}, new object[]{ringer}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumersOfThisCrazyTypeSystem.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23526,7 +23500,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumersOfThisCrazyTypeSystem), fullyQualifiedName: \\"jsii-calc.ConsumersOfThisCrazyTypeSystem\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumersOfThisCrazyTypeSystem), fullyQualifiedName: "jsii-calc.ConsumersOfThisCrazyTypeSystem")] public class ConsumersOfThisCrazyTypeSystem : DeputyBase { /// @@ -23537,14 +23511,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConsumersOfThisCrazyTypeSystem(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ConsumersOfThisCrazyTypeSystem(DeputyProps props): base(props) { @@ -23553,7 +23527,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"consumeAnotherPublicInterface\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"obj\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IAnotherPublicInterface\\\\\\"}}]\\")] + [JsiiMethod(name: "consumeAnotherPublicInterface", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"obj\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IAnotherPublicInterface\\"}}]")] public virtual string ConsumeAnotherPublicInterface(Amazon.JSII.Tests.CalculatorNamespace.IAnotherPublicInterface obj) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IAnotherPublicInterface)}, new object[]{obj}); @@ -23562,20 +23536,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"consumeNonInternalInterface\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"obj\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.INonInternalInterface\\\\\\"}}]\\")] + [JsiiMethod(name: "consumeNonInternalInterface", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}", parametersJson: "[{\\"name\\":\\"obj\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.INonInternalInterface\\"}}]")] public virtual object ConsumeNonInternalInterface(Amazon.JSII.Tests.CalculatorNamespace.INonInternalInterface obj) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.INonInternalInterface)}, new object[]{obj}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DataRenderer.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23585,7 +23557,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DataRenderer), fullyQualifiedName: \\"jsii-calc.DataRenderer\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DataRenderer), fullyQualifiedName: "jsii-calc.DataRenderer")] public class DataRenderer : DeputyBase { /// @@ -23596,14 +23568,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DataRenderer(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DataRenderer(DeputyProps props): base(props) { @@ -23612,7 +23584,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"render\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"data\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.MyFirstStruct\\\\\\"}}]\\")] + [JsiiMethod(name: "render", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"data\\",\\"optional\\":true,\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.MyFirstStruct\\"}}]")] public virtual string Render(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct? data = null) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct)}, new object?[]{data}); @@ -23621,7 +23593,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"renderArbitrary\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"data\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}]\\")] + [JsiiMethod(name: "renderArbitrary", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"data\\",\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"map\\"}}}]")] public virtual string RenderArbitrary(System.Collections.Generic.IDictionary data) { return InvokeInstanceMethod(new System.Type[]{typeof(System.Collections.Generic.IDictionary)}, new object[]{data}); @@ -23630,20 +23602,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"renderMap\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"map\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}]\\")] + [JsiiMethod(name: "renderMap", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"map\\",\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"map\\"}}}]")] public virtual string RenderMap(System.Collections.Generic.IDictionary map) { return InvokeInstanceMethod(new System.Type[]{typeof(System.Collections.Generic.IDictionary)}, new object[]{map}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DefaultedConstructorArgument.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23652,7 +23622,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DefaultedConstructorArgument), fullyQualifiedName: \\"jsii-calc.DefaultedConstructorArgument\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"arg1\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg2\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg3\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DefaultedConstructorArgument), fullyQualifiedName: "jsii-calc.DefaultedConstructorArgument", parametersJson: "[{\\"name\\":\\"arg1\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"name\\":\\"arg2\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"arg3\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"date\\"}}]")] public class DefaultedConstructorArgument : DeputyBase { /// @@ -23663,14 +23633,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DefaultedConstructorArgument(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DefaultedConstructorArgument(DeputyProps props): base(props) { @@ -23679,7 +23649,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"arg1\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "arg1", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double Arg1 { get => GetInstanceProperty(); @@ -23688,7 +23658,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"arg3\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}\\")] + [JsiiProperty(name: "arg3", typeJson: "{\\"primitive\\":\\"date\\"}")] public virtual System.DateTime Arg3 { get => GetInstanceProperty(); @@ -23698,20 +23668,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"arg2\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "arg2", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public virtual string? Arg2 { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Demonstrate982.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23724,7 +23692,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Demonstrate982), fullyQualifiedName: \\"jsii-calc.Demonstrate982\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Demonstrate982), fullyQualifiedName: "jsii-calc.Demonstrate982")] public class Demonstrate982 : DeputyBase { /// @@ -23735,14 +23703,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Demonstrate982(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Demonstrate982(DeputyProps props): base(props) { @@ -23752,7 +23720,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"takeThis\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.ChildStruct982\\\\\\"}}\\")] + [JsiiMethod(name: "takeThis", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.ChildStruct982\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IChildStruct982 TakeThis() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Demonstrate982), new System.Type[]{}, new object[]{}); @@ -23762,20 +23730,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"takeThisToo\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.ParentStruct982\\\\\\"}}\\")] + [JsiiMethod(name: "takeThisToo", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.ParentStruct982\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IParentStruct982 TakeThisToo() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Demonstrate982), new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23784,29 +23750,29 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DeprecatedClass), fullyQualifiedName: \\"jsii-calc.DeprecatedClass\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"readonlyString\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"mutableNumber\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] - [System.Obsolete(\\"a pretty boring class\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DeprecatedClass), fullyQualifiedName: "jsii-calc.DeprecatedClass", parametersJson: "[{\\"name\\":\\"readonlyString\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"mutableNumber\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"number\\"}}]")] + [System.Obsolete("a pretty boring class")] public class DeprecatedClass : DeputyBase { /// /// Stability: Deprecated /// - [System.Obsolete(\\"this constructor is \\\\\\"just\\\\\\" okay\\")] + [System.Obsolete("this constructor is \\"just\\" okay")] public DeprecatedClass(string readonlyString, double? mutableNumber = null): base(new DeputyProps(new object?[]{readonlyString, mutableNumber})) { } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference - [System.Obsolete(\\"this constructor is \\\\\\"just\\\\\\" okay\\")] + /// The Javascript-owned object reference + [System.Obsolete("this constructor is \\"just\\" okay")] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DeprecatedClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props - [System.Obsolete(\\"this constructor is \\\\\\"just\\\\\\" okay\\")] + /// The deputy props + [System.Obsolete("this constructor is \\"just\\" okay")] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DeprecatedClass(DeputyProps props): base(props) { @@ -23815,8 +23781,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"method\\")] - [System.Obsolete(\\"it was a bad idea\\")] + [JsiiMethod(name: "method")] + [System.Obsolete("it was a bad idea")] public virtual void Method() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -23825,8 +23791,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] - [System.Obsolete(\\"this is not always \\\\\\"wazoo\\\\\\", be ready to be disappointed\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] + [System.Obsolete("this is not always \\"wazoo\\", be ready to be disappointed")] public virtual string ReadonlyProperty { get => GetInstanceProperty(); @@ -23836,8 +23802,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] - [System.Obsolete(\\"shouldn't have been mutable\\")] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] + [System.Obsolete("shouldn't have been mutable")] public virtual double? MutableProperty { get => GetInstanceProperty(); @@ -23845,13 +23811,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedEnum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23861,31 +23825,29 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiEnum(nativeType: typeof(DeprecatedEnum), fullyQualifiedName: \\"jsii-calc.DeprecatedEnum\\")] - [System.Obsolete(\\"your deprecated selection of bad options\\")] + [JsiiEnum(nativeType: typeof(DeprecatedEnum), fullyQualifiedName: "jsii-calc.DeprecatedEnum")] + [System.Obsolete("your deprecated selection of bad options")] public enum DeprecatedEnum { /// /// Stability: Deprecated /// - [JsiiEnumMember(name: \\"OPTION_A\\")] - [System.Obsolete(\\"option A is not great\\")] + [JsiiEnumMember(name: "OPTION_A")] + [System.Obsolete("option A is not great")] OPTION_A, /// /// Stability: Deprecated /// - [JsiiEnumMember(name: \\"OPTION_B\\")] - [System.Obsolete(\\"option B is kinda bad, too\\")] + [JsiiEnumMember(name: "OPTION_B")] + [System.Obsolete("option B is kinda bad, too")] OPTION_B } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23896,14 +23858,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiByValue(fqn: \\"jsii-calc.DeprecatedStruct\\")] + [JsiiByValue(fqn: "jsii-calc.DeprecatedStruct")] public class DeprecatedStruct : Amazon.JSII.Tests.CalculatorNamespace.IDeprecatedStruct { /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] - [System.Obsolete(\\"well, yeah\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] + [System.Obsolete("well, yeah")] public string ReadonlyProperty { get; @@ -23911,13 +23873,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DeprecatedStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23926,8 +23886,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(IDeprecatedStruct), fullyQualifiedName: \\"jsii-calc.DeprecatedStruct\\")] - [System.Obsolete(\\"it just wraps a string\\")] + [JsiiTypeProxy(nativeType: typeof(IDeprecatedStruct), fullyQualifiedName: "jsii-calc.DeprecatedStruct")] + [System.Obsolete("it just wraps a string")] internal sealed class DeprecatedStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IDeprecatedStruct { private DeprecatedStructProxy(ByRefValue reference): base(reference) @@ -23937,21 +23897,19 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] - [System.Obsolete(\\"well, yeah\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] + [System.Obsolete("well, yeah")] public string ReadonlyProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Base.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -23960,7 +23918,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Base), fullyQualifiedName: \\"jsii-calc.DerivedClassHasNoProperties.Base\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Base), fullyQualifiedName: "jsii-calc.DerivedClassHasNoProperties.Base")] public class Base : DeputyBase { /// @@ -23971,14 +23929,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Base(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Base(DeputyProps props): base(props) { @@ -23987,7 +23945,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "prop", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string Prop { get => GetInstanceProperty(); @@ -23995,13 +23953,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Derived.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24010,7 +23966,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Derived), fullyQualifiedName: \\"jsii-calc.DerivedClassHasNoProperties.Derived\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Derived), fullyQualifiedName: "jsii-calc.DerivedClassHasNoProperties.Derived")] public class Derived : Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Base { /// @@ -24021,27 +23977,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Derived(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Derived(DeputyProps props): base(props) { } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24053,13 +24007,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.DerivedStruct\\")] + [JsiiByValue(fqn: "jsii-calc.DerivedStruct")] public class DerivedStruct : Amazon.JSII.Tests.CalculatorNamespace.IDerivedStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"anotherRequired\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "anotherRequired", typeJson: "{\\"primitive\\":\\"date\\"}", isOverride: true)] public System.DateTime AnotherRequired { get; @@ -24069,7 +24023,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bool\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "bool", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOverride: true)] public bool Bool { get; @@ -24080,7 +24034,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"nonPrimitive\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.DoubleTrouble\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "nonPrimitive", typeJson: "{\\"fqn\\":\\"jsii-calc.DoubleTrouble\\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble NonPrimitive { get; @@ -24092,7 +24046,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"anotherOptional\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "anotherOptional", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"},\\"kind\\":\\"map\\"}}", isOptional: true, isOverride: true)] public System.Collections.Generic.IDictionary? AnotherOptional { get; @@ -24103,7 +24057,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalAny\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optionalAny", typeJson: "{\\"primitive\\":\\"any\\"}", isOptional: true, isOverride: true)] public object? OptionalAny { get; @@ -24114,7 +24068,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalArray\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optionalArray", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}", isOptional: true, isOverride: true)] public string[]? OptionalArray { get; @@ -24125,7 +24079,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"anumber\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "anumber", typeJson: "{\\"primitive\\":\\"number\\"}", isOverride: true)] [System.Obsolete()] public double Anumber { @@ -24137,7 +24091,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"astring\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "astring", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] [System.Obsolete()] public string Astring { @@ -24149,7 +24103,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"firstOptional\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "firstOptional", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}", isOptional: true, isOverride: true)] [System.Obsolete()] public string[]? FirstOptional { @@ -24158,13 +24112,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24174,7 +24126,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IDerivedStruct), fullyQualifiedName: \\"jsii-calc.DerivedStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IDerivedStruct), fullyQualifiedName: "jsii-calc.DerivedStruct")] internal sealed class DerivedStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IDerivedStruct { private DerivedStructProxy(ByRefValue reference): base(reference) @@ -24184,7 +24136,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"anotherRequired\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}\\")] + [JsiiProperty(name: "anotherRequired", typeJson: "{\\"primitive\\":\\"date\\"}")] public System.DateTime AnotherRequired { get => GetInstanceProperty(); @@ -24193,7 +24145,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bool\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "bool", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public bool Bool { get => GetInstanceProperty(); @@ -24203,7 +24155,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"nonPrimitive\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.DoubleTrouble\\\\\\"}\\")] + [JsiiProperty(name: "nonPrimitive", typeJson: "{\\"fqn\\":\\"jsii-calc.DoubleTrouble\\"}")] public Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble NonPrimitive { get => GetInstanceProperty(); @@ -24214,7 +24166,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"anotherOptional\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\", isOptional: true)] + [JsiiProperty(name: "anotherOptional", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"},\\"kind\\":\\"map\\"}}", isOptional: true)] public System.Collections.Generic.IDictionary? AnotherOptional { get => GetInstanceProperty?>(); @@ -24224,7 +24176,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalAny\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalAny", typeJson: "{\\"primitive\\":\\"any\\"}", isOptional: true)] public object? OptionalAny { get => GetInstanceProperty(); @@ -24234,7 +24186,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalArray\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOptional: true)] + [JsiiProperty(name: "optionalArray", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}", isOptional: true)] public string[]? OptionalArray { get => GetInstanceProperty(); @@ -24244,7 +24196,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"anumber\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "anumber", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public double Anumber { @@ -24255,7 +24207,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"astring\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "astring", typeJson: "{\\"primitive\\":\\"string\\"}")] [System.Obsolete()] public string Astring { @@ -24266,7 +24218,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"firstOptional\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOptional: true)] + [JsiiProperty(name: "firstOptional", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}", isOptional: true)] [System.Obsolete()] public string[]? FirstOptional { @@ -24274,13 +24226,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24291,13 +24241,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.DiamondInheritanceBaseLevelStruct\\")] + [JsiiByValue(fqn: "jsii-calc.DiamondInheritanceBaseLevelStruct")] public class DiamondInheritanceBaseLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceBaseLevelStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"baseLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "baseLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string BaseLevelProperty { get; @@ -24305,13 +24255,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceBaseLevelStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24320,7 +24268,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IDiamondInheritanceBaseLevelStruct), fullyQualifiedName: \\"jsii-calc.DiamondInheritanceBaseLevelStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IDiamondInheritanceBaseLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceBaseLevelStruct")] internal sealed class DiamondInheritanceBaseLevelStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceBaseLevelStruct { private DiamondInheritanceBaseLevelStructProxy(ByRefValue reference): base(reference) @@ -24330,20 +24278,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"baseLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "baseLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string BaseLevelProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24354,13 +24300,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.DiamondInheritanceFirstMidLevelStruct\\")] + [JsiiByValue(fqn: "jsii-calc.DiamondInheritanceFirstMidLevelStruct")] public class DiamondInheritanceFirstMidLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceFirstMidLevelStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"firstMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "firstMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string FirstMidLevelProperty { get; @@ -24370,7 +24316,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"baseLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "baseLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string BaseLevelProperty { get; @@ -24378,13 +24324,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceFirstMidLevelStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24393,7 +24337,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IDiamondInheritanceFirstMidLevelStruct), fullyQualifiedName: \\"jsii-calc.DiamondInheritanceFirstMidLevelStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IDiamondInheritanceFirstMidLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceFirstMidLevelStruct")] internal sealed class DiamondInheritanceFirstMidLevelStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceFirstMidLevelStruct { private DiamondInheritanceFirstMidLevelStructProxy(ByRefValue reference): base(reference) @@ -24403,7 +24347,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"firstMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "firstMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string FirstMidLevelProperty { get => GetInstanceProperty(); @@ -24412,20 +24356,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"baseLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "baseLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string BaseLevelProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24436,13 +24378,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.DiamondInheritanceSecondMidLevelStruct\\")] + [JsiiByValue(fqn: "jsii-calc.DiamondInheritanceSecondMidLevelStruct")] public class DiamondInheritanceSecondMidLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceSecondMidLevelStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"secondMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "secondMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string SecondMidLevelProperty { get; @@ -24452,7 +24394,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"baseLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "baseLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string BaseLevelProperty { get; @@ -24460,13 +24402,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceSecondMidLevelStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24475,7 +24415,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IDiamondInheritanceSecondMidLevelStruct), fullyQualifiedName: \\"jsii-calc.DiamondInheritanceSecondMidLevelStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IDiamondInheritanceSecondMidLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceSecondMidLevelStruct")] internal sealed class DiamondInheritanceSecondMidLevelStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceSecondMidLevelStruct { private DiamondInheritanceSecondMidLevelStructProxy(ByRefValue reference): base(reference) @@ -24485,7 +24425,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"secondMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "secondMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string SecondMidLevelProperty { get => GetInstanceProperty(); @@ -24494,20 +24434,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"baseLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "baseLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string BaseLevelProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24518,13 +24456,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.DiamondInheritanceTopLevelStruct\\")] + [JsiiByValue(fqn: "jsii-calc.DiamondInheritanceTopLevelStruct")] public class DiamondInheritanceTopLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceTopLevelStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"topLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "topLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string TopLevelProperty { get; @@ -24534,7 +24472,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"firstMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "firstMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string FirstMidLevelProperty { get; @@ -24544,7 +24482,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"baseLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "baseLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string BaseLevelProperty { get; @@ -24554,7 +24492,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"secondMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "secondMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string SecondMidLevelProperty { get; @@ -24562,13 +24500,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DiamondInheritanceTopLevelStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24577,7 +24513,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IDiamondInheritanceTopLevelStruct), fullyQualifiedName: \\"jsii-calc.DiamondInheritanceTopLevelStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IDiamondInheritanceTopLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceTopLevelStruct")] internal sealed class DiamondInheritanceTopLevelStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceTopLevelStruct { private DiamondInheritanceTopLevelStructProxy(ByRefValue reference): base(reference) @@ -24587,7 +24523,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"topLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "topLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string TopLevelProperty { get => GetInstanceProperty(); @@ -24596,7 +24532,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"firstMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "firstMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string FirstMidLevelProperty { get => GetInstanceProperty(); @@ -24605,7 +24541,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"baseLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "baseLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string BaseLevelProperty { get => GetInstanceProperty(); @@ -24614,20 +24550,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"secondMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "secondMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string SecondMidLevelProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DisappointingCollectionSource.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24639,18 +24573,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DisappointingCollectionSource), fullyQualifiedName: \\"jsii-calc.DisappointingCollectionSource\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DisappointingCollectionSource), fullyQualifiedName: "jsii-calc.DisappointingCollectionSource")] public class DisappointingCollectionSource : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DisappointingCollectionSource(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DisappointingCollectionSource(DeputyProps props): base(props) { @@ -24662,7 +24596,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"maybeList\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOptional: true)] + [JsiiProperty(name: "maybeList", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}", isOptional: true)] public static string[] MaybeList { get; @@ -24675,7 +24609,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"maybeMap\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\", isOptional: true)] + [JsiiProperty(name: "maybeMap", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"number\\"},\\"kind\\":\\"map\\"}}", isOptional: true)] public static System.Collections.Generic.IDictionary MaybeMap { get; @@ -24683,13 +24617,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace = GetStaticProperty>(typeof(Amazon.JSII.Tests.CalculatorNamespace.DisappointingCollectionSource)); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotOverridePrivates.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24698,7 +24630,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoNotOverridePrivates), fullyQualifiedName: \\"jsii-calc.DoNotOverridePrivates\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoNotOverridePrivates), fullyQualifiedName: "jsii-calc.DoNotOverridePrivates")] public class DoNotOverridePrivates : DeputyBase { /// @@ -24709,14 +24641,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DoNotOverridePrivates(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DoNotOverridePrivates(DeputyProps props): base(props) { @@ -24725,7 +24657,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"changePrivatePropertyValue\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"newValue\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "changePrivatePropertyValue", parametersJson: "[{\\"name\\":\\"newValue\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public virtual void ChangePrivatePropertyValue(string newValue) { InvokeInstanceVoidMethod(new System.Type[]{typeof(string)}, new object[]{newValue}); @@ -24734,7 +24666,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"privateMethodValue\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "privateMethodValue", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string PrivateMethodValue() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -24743,30 +24675,28 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"privatePropertyValue\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "privatePropertyValue", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string PrivatePropertyValue() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotRecognizeAnyAsOptional.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// jsii#284: do not recognize \\"any\\" as an optional argument. + /// jsii#284: do not recognize "any" as an optional argument. /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoNotRecognizeAnyAsOptional), fullyQualifiedName: \\"jsii-calc.DoNotRecognizeAnyAsOptional\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoNotRecognizeAnyAsOptional), fullyQualifiedName: "jsii-calc.DoNotRecognizeAnyAsOptional")] public class DoNotRecognizeAnyAsOptional : DeputyBase { /// @@ -24777,14 +24707,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DoNotRecognizeAnyAsOptional(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DoNotRecognizeAnyAsOptional(DeputyProps props): base(props) { @@ -24793,20 +24723,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"method\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"_requiredAny\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"_optionalAny\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"_optionalString\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "method", parametersJson: "[{\\"name\\":\\"_requiredAny\\",\\"type\\":{\\"primitive\\":\\"any\\"}},{\\"name\\":\\"_optionalAny\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"any\\"}},{\\"name\\":\\"_optionalString\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public virtual void Method(object requiredAny, object? optionalAny = null, string? optionalString = null) { InvokeInstanceVoidMethod(new System.Type[]{typeof(object), typeof(object), typeof(string)}, new object?[]{requiredAny, optionalAny, optionalString}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DocumentedClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24819,7 +24747,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Multiple paragraphs are separated by an empty line. /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DocumentedClass), fullyQualifiedName: \\"jsii-calc.DocumentedClass\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DocumentedClass), fullyQualifiedName: "jsii-calc.DocumentedClass")] public class DocumentedClass : DeputyBase { /// @@ -24830,27 +24758,27 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DocumentedClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DocumentedClass(DeputyProps props): base(props) { } /// Greet the indicated person. - /// The person to be greeted. + /// The person to be greeted. /// A number that everyone knows very well /// /// This will print out a friendly greeting intended for /// the indicated person. /// - [JsiiMethod(name: \\"greet\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"The person to be greeted.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"greetee\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Greetee\\\\\\"}}]\\")] + [JsiiMethod(name: "greet", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"The person to be greeted.\\"},\\"name\\":\\"greetee\\",\\"optional\\":true,\\"type\\":{\\"fqn\\":\\"jsii-calc.Greetee\\"}}]")] public virtual double Greet(Amazon.JSII.Tests.CalculatorNamespace.IGreetee? greetee = null) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IGreetee)}, new object?[]{greetee}); @@ -24860,20 +24788,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hola\\")] + [JsiiMethod(name: "hola")] public virtual void Hola() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DontComplainAboutVariadicAfterOptional.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24882,7 +24808,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DontComplainAboutVariadicAfterOptional), fullyQualifiedName: \\"jsii-calc.DontComplainAboutVariadicAfterOptional\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DontComplainAboutVariadicAfterOptional), fullyQualifiedName: "jsii-calc.DontComplainAboutVariadicAfterOptional")] public class DontComplainAboutVariadicAfterOptional : DeputyBase { /// @@ -24893,14 +24819,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DontComplainAboutVariadicAfterOptional(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DontComplainAboutVariadicAfterOptional(DeputyProps props): base(props) { @@ -24909,20 +24835,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"optionalAndVariadic\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"optional\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"things\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"variadic\\\\\\":true}]\\")] + [JsiiMethod(name: "optionalAndVariadic", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"optional\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"things\\",\\"type\\":{\\"primitive\\":\\"string\\"},\\"variadic\\":true}]")] public virtual string OptionalAndVariadic(string? optional = null, params string[] things) { return InvokeInstanceMethod(new System.Type[]{typeof(string), typeof(string[])}, new object?[]{optional, things}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24931,7 +24855,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble), fullyQualifiedName: \\"jsii-calc.DoubleTrouble\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble), fullyQualifiedName: "jsii-calc.DoubleTrouble")] public class DoubleTrouble : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IFriendlyRandomGenerator { /// @@ -24942,14 +24866,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DoubleTrouble(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected DoubleTrouble(DeputyProps props): base(props) { @@ -24959,7 +24883,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hello\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "hello", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public virtual string Hello() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -24969,20 +24893,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"next\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "next", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", isOverride: true)] public virtual double Next() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EnumDispenser.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -24991,18 +24913,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.EnumDispenser), fullyQualifiedName: \\"jsii-calc.EnumDispenser\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.EnumDispenser), fullyQualifiedName: "jsii-calc.EnumDispenser")] public class EnumDispenser : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected EnumDispenser(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected EnumDispenser(DeputyProps props): base(props) { @@ -25011,7 +24933,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"randomIntegerLikeEnum\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AllTypesEnum\\\\\\"}}\\")] + [JsiiMethod(name: "randomIntegerLikeEnum", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.AllTypesEnum\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.AllTypesEnum RandomIntegerLikeEnum() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.EnumDispenser), new System.Type[]{}, new object[]{}); @@ -25020,20 +24942,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"randomStringLikeEnum\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StringEnum\\\\\\"}}\\")] + [JsiiMethod(name: "randomStringLikeEnum", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.StringEnum\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.StringEnum RandomStringLikeEnum() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.EnumDispenser), new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValues.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25042,7 +24962,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.EraseUndefinedHashValues), fullyQualifiedName: \\"jsii-calc.EraseUndefinedHashValues\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.EraseUndefinedHashValues), fullyQualifiedName: "jsii-calc.EraseUndefinedHashValues")] public class EraseUndefinedHashValues : DeputyBase { /// @@ -25053,14 +24973,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected EraseUndefinedHashValues(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected EraseUndefinedHashValues(DeputyProps props): base(props) { @@ -25073,40 +24993,38 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"doesKeyExist\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"opts\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.EraseUndefinedHashValuesOptions\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"key\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "doesKeyExist", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"opts\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.EraseUndefinedHashValuesOptions\\"}},{\\"name\\":\\"key\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public static bool DoesKeyExist(Amazon.JSII.Tests.CalculatorNamespace.IEraseUndefinedHashValuesOptions opts, string key) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.EraseUndefinedHashValues), new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IEraseUndefinedHashValuesOptions), typeof(string)}, new object[]{opts, key}); } - /// We expect \\"prop1\\" to be erased. + /// We expect "prop1" to be erased. /// /// Stability: Experimental /// - [JsiiMethod(name: \\"prop1IsNull\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}\\")] + [JsiiMethod(name: "prop1IsNull", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"map\\"}}}")] public static System.Collections.Generic.IDictionary Prop1IsNull() { return InvokeStaticMethod>(typeof(Amazon.JSII.Tests.CalculatorNamespace.EraseUndefinedHashValues), new System.Type[]{}, new object[]{}); } - /// We expect \\"prop2\\" to be erased. + /// We expect "prop2" to be erased. /// /// Stability: Experimental /// - [JsiiMethod(name: \\"prop2IsUndefined\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}\\")] + [JsiiMethod(name: "prop2IsUndefined", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"map\\"}}}")] public static System.Collections.Generic.IDictionary Prop2IsUndefined() { return InvokeStaticMethod>(typeof(Amazon.JSII.Tests.CalculatorNamespace.EraseUndefinedHashValues), new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptions.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25115,14 +25033,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.EraseUndefinedHashValuesOptions\\")] + [JsiiByValue(fqn: "jsii-calc.EraseUndefinedHashValuesOptions")] public class EraseUndefinedHashValuesOptions : Amazon.JSII.Tests.CalculatorNamespace.IEraseUndefinedHashValuesOptions { /// /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"option1\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "option1", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Option1 { get; @@ -25133,7 +25051,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"option2\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "option2", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Option2 { get; @@ -25141,13 +25059,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValuesOptionsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25156,7 +25072,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IEraseUndefinedHashValuesOptions), fullyQualifiedName: \\"jsii-calc.EraseUndefinedHashValuesOptions\\")] + [JsiiTypeProxy(nativeType: typeof(IEraseUndefinedHashValuesOptions), fullyQualifiedName: "jsii-calc.EraseUndefinedHashValuesOptions")] internal sealed class EraseUndefinedHashValuesOptionsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IEraseUndefinedHashValuesOptions { private EraseUndefinedHashValuesOptionsProxy(ByRefValue reference): base(reference) @@ -25167,7 +25083,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"option1\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "option1", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Option1 { get => GetInstanceProperty(); @@ -25177,20 +25093,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"option2\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "option2", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Option2 { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25199,7 +25113,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ExperimentalClass), fullyQualifiedName: \\"jsii-calc.ExperimentalClass\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"readonlyString\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"mutableNumber\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ExperimentalClass), fullyQualifiedName: "jsii-calc.ExperimentalClass", parametersJson: "[{\\"name\\":\\"readonlyString\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"mutableNumber\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public class ExperimentalClass : DeputyBase { /// @@ -25210,14 +25124,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ExperimentalClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ExperimentalClass(DeputyProps props): base(props) { @@ -25226,7 +25140,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"method\\")] + [JsiiMethod(name: "method")] public virtual void Method() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -25235,7 +25149,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string ReadonlyProperty { get => GetInstanceProperty(); @@ -25245,7 +25159,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public virtual double? MutableProperty { get => GetInstanceProperty(); @@ -25253,13 +25167,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalEnum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25269,28 +25181,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiEnum(nativeType: typeof(ExperimentalEnum), fullyQualifiedName: \\"jsii-calc.ExperimentalEnum\\")] + [JsiiEnum(nativeType: typeof(ExperimentalEnum), fullyQualifiedName: "jsii-calc.ExperimentalEnum")] public enum ExperimentalEnum { /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"OPTION_A\\")] + [JsiiEnumMember(name: "OPTION_A")] OPTION_A, /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"OPTION_B\\")] + [JsiiEnumMember(name: "OPTION_B")] OPTION_B } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25301,13 +25211,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.ExperimentalStruct\\")] + [JsiiByValue(fqn: "jsii-calc.ExperimentalStruct")] public class ExperimentalStruct : Amazon.JSII.Tests.CalculatorNamespace.IExperimentalStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string ReadonlyProperty { get; @@ -25315,13 +25225,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExperimentalStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25330,7 +25238,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IExperimentalStruct), fullyQualifiedName: \\"jsii-calc.ExperimentalStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IExperimentalStruct), fullyQualifiedName: "jsii-calc.ExperimentalStruct")] internal sealed class ExperimentalStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IExperimentalStruct { private ExperimentalStructProxy(ByRefValue reference): base(reference) @@ -25340,20 +25248,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string ReadonlyProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExportedBaseClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25362,7 +25268,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ExportedBaseClass), fullyQualifiedName: \\"jsii-calc.ExportedBaseClass\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"success\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ExportedBaseClass), fullyQualifiedName: "jsii-calc.ExportedBaseClass", parametersJson: "[{\\"name\\":\\"success\\",\\"type\\":{\\"primitive\\":\\"boolean\\"}}]")] public class ExportedBaseClass : DeputyBase { /// @@ -25373,14 +25279,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ExportedBaseClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ExportedBaseClass(DeputyProps props): base(props) { @@ -25389,20 +25295,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"success\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "success", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public virtual bool Success { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25413,13 +25317,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.ExtendsInternalInterface\\")] + [JsiiByValue(fqn: "jsii-calc.ExtendsInternalInterface")] public class ExtendsInternalInterface : Amazon.JSII.Tests.CalculatorNamespace.IExtendsInternalInterface { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"boom\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "boom", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOverride: true)] public bool Boom { get; @@ -25429,7 +25333,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "prop", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Prop { get; @@ -25437,13 +25341,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExtendsInternalInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25452,7 +25354,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IExtendsInternalInterface), fullyQualifiedName: \\"jsii-calc.ExtendsInternalInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IExtendsInternalInterface), fullyQualifiedName: "jsii-calc.ExtendsInternalInterface")] internal sealed class ExtendsInternalInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IExtendsInternalInterface { private ExtendsInternalInterfaceProxy(ByRefValue reference): base(reference) @@ -25462,7 +25364,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"boom\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "boom", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public bool Boom { get => GetInstanceProperty(); @@ -25471,20 +25373,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "prop", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Prop { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExternalClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25495,7 +25395,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ExternalClass), fullyQualifiedName: \\"jsii-calc.ExternalClass\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"readonlyString\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"mutableNumber\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ExternalClass), fullyQualifiedName: "jsii-calc.ExternalClass", parametersJson: "[{\\"name\\":\\"readonlyString\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"mutableNumber\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public class ExternalClass : DeputyBase { /// @@ -25508,14 +25408,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ExternalClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ExternalClass(DeputyProps props): base(props) { @@ -25526,7 +25426,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiMethod(name: \\"method\\")] + [JsiiMethod(name: "method")] public virtual void Method() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -25537,7 +25437,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string ReadonlyProperty { get => GetInstanceProperty(); @@ -25549,7 +25449,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// External: true /// [JsiiOptional] - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public virtual double? MutableProperty { get => GetInstanceProperty(); @@ -25557,13 +25457,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExternalEnum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25575,7 +25473,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiEnum(nativeType: typeof(ExternalEnum), fullyQualifiedName: \\"jsii-calc.ExternalEnum\\")] + [JsiiEnum(nativeType: typeof(ExternalEnum), fullyQualifiedName: "jsii-calc.ExternalEnum")] public enum ExternalEnum { /// @@ -25583,24 +25481,22 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiEnumMember(name: \\"OPTION_A\\")] + [JsiiEnumMember(name: "OPTION_A")] OPTION_A, /// /// Stability: Experimental /// /// External: true /// - [JsiiEnumMember(name: \\"OPTION_B\\")] + [JsiiEnumMember(name: "OPTION_B")] OPTION_B } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExternalStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25613,7 +25509,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiByValue(fqn: \\"jsii-calc.ExternalStruct\\")] + [JsiiByValue(fqn: "jsii-calc.ExternalStruct")] public class ExternalStruct : Amazon.JSII.Tests.CalculatorNamespace.IExternalStruct { /// @@ -25621,7 +25517,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string ReadonlyProperty { get; @@ -25629,13 +25525,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ExternalStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25646,7 +25540,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiTypeProxy(nativeType: typeof(IExternalStruct), fullyQualifiedName: \\"jsii-calc.ExternalStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IExternalStruct), fullyQualifiedName: "jsii-calc.ExternalStruct")] internal sealed class ExternalStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IExternalStruct { private ExternalStructProxy(ByRefValue reference): base(reference) @@ -25658,20 +25552,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string ReadonlyProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GiveMeStructs.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25680,7 +25572,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.GiveMeStructs), fullyQualifiedName: \\"jsii-calc.GiveMeStructs\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.GiveMeStructs), fullyQualifiedName: "jsii-calc.GiveMeStructs")] public class GiveMeStructs : DeputyBase { /// @@ -25691,14 +25583,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected GiveMeStructs(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected GiveMeStructs(DeputyProps props): base(props) { @@ -25708,7 +25600,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"derivedToFirst\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.MyFirstStruct\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"derived\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.DerivedStruct\\\\\\"}}]\\")] + [JsiiMethod(name: "derivedToFirst", returnsJson: "{\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.MyFirstStruct\\"}}", parametersJson: "[{\\"name\\":\\"derived\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.DerivedStruct\\"}}]")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct DerivedToFirst(Amazon.JSII.Tests.CalculatorNamespace.IDerivedStruct derived) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IDerivedStruct)}, new object[]{derived}); @@ -25718,17 +25610,17 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"readDerivedNonPrimitive\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.DoubleTrouble\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"derived\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.DerivedStruct\\\\\\"}}]\\")] + [JsiiMethod(name: "readDerivedNonPrimitive", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.DoubleTrouble\\"}}", parametersJson: "[{\\"name\\":\\"derived\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.DerivedStruct\\"}}]")] public virtual Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble ReadDerivedNonPrimitive(Amazon.JSII.Tests.CalculatorNamespace.IDerivedStruct derived) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IDerivedStruct)}, new object[]{derived}); } - /// Returns the \\"anumber\\" from a MyFirstStruct struct; + /// Returns the "anumber" from a MyFirstStruct struct; /// /// Stability: Experimental /// - [JsiiMethod(name: \\"readFirstNumber\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"first\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.MyFirstStruct\\\\\\"}}]\\")] + [JsiiMethod(name: "readFirstNumber", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"first\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.MyFirstStruct\\"}}]")] public virtual double ReadFirstNumber(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct first) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct)}, new object[]{first}); @@ -25737,20 +25629,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"structLiteral\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\\\\\"}\\")] + [JsiiProperty(name: "structLiteral", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.StructWithOnlyOptionals\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IStructWithOnlyOptionals StructLiteral { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Greetee.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25760,7 +25650,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.Greetee\\")] + [JsiiByValue(fqn: "jsii-calc.Greetee")] public class Greetee : Amazon.JSII.Tests.CalculatorNamespace.IGreetee { /// The name of the greetee. @@ -25770,7 +25660,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"name\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "name", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Name { get; @@ -25778,13 +25668,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreeteeProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25794,7 +25682,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IGreetee), fullyQualifiedName: \\"jsii-calc.Greetee\\")] + [JsiiTypeProxy(nativeType: typeof(IGreetee), fullyQualifiedName: "jsii-calc.Greetee")] internal sealed class GreeteeProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IGreetee { private GreeteeProxy(ByRefValue reference): base(reference) @@ -25808,20 +25696,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"name\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "name", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Name { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreetingAugmenter.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25830,7 +25716,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.GreetingAugmenter), fullyQualifiedName: \\"jsii-calc.GreetingAugmenter\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.GreetingAugmenter), fullyQualifiedName: "jsii-calc.GreetingAugmenter")] public class GreetingAugmenter : DeputyBase { /// @@ -25841,14 +25727,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected GreetingAugmenter(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected GreetingAugmenter(DeputyProps props): base(props) { @@ -25857,20 +25743,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"betterGreeting\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"friendly\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"}}]\\")] + [JsiiMethod(name: "betterGreeting", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"friendly\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"}}]")] public virtual string BetterGreeting(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly friendly) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly)}, new object[]{friendly}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProvider.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25880,28 +25764,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IAnonymousImplementationProvider), fullyQualifiedName: \\"jsii-calc.IAnonymousImplementationProvider\\")] + [JsiiInterface(nativeType: typeof(IAnonymousImplementationProvider), fullyQualifiedName: "jsii-calc.IAnonymousImplementationProvider")] public interface IAnonymousImplementationProvider { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"provideAsClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Implementation\\\\\\"}}\\")] + [JsiiMethod(name: "provideAsClass", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.Implementation\\"}}")] Amazon.JSII.Tests.CalculatorNamespace.Implementation ProvideAsClass(); /// /// Stability: Experimental /// - [JsiiMethod(name: \\"provideAsInterface\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IAnonymouslyImplementMe\\\\\\"}}\\")] + [JsiiMethod(name: "provideAsInterface", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IAnonymouslyImplementMe\\"}}")] Amazon.JSII.Tests.CalculatorNamespace.IAnonymouslyImplementMe ProvideAsInterface(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymousImplementationProviderProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25911,7 +25793,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IAnonymousImplementationProvider), fullyQualifiedName: \\"jsii-calc.IAnonymousImplementationProvider\\")] + [JsiiTypeProxy(nativeType: typeof(IAnonymousImplementationProvider), fullyQualifiedName: "jsii-calc.IAnonymousImplementationProvider")] internal sealed class IAnonymousImplementationProviderProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IAnonymousImplementationProvider { private IAnonymousImplementationProviderProxy(ByRefValue reference): base(reference) @@ -25921,7 +25803,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"provideAsClass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Implementation\\\\\\"}}\\")] + [JsiiMethod(name: "provideAsClass", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.Implementation\\"}}")] public Amazon.JSII.Tests.CalculatorNamespace.Implementation ProvideAsClass() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -25930,20 +25812,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"provideAsInterface\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IAnonymouslyImplementMe\\\\\\"}}\\")] + [JsiiMethod(name: "provideAsInterface", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IAnonymouslyImplementMe\\"}}")] public Amazon.JSII.Tests.CalculatorNamespace.IAnonymouslyImplementMe ProvideAsInterface() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMe.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25952,13 +25832,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IAnonymouslyImplementMe), fullyQualifiedName: \\"jsii-calc.IAnonymouslyImplementMe\\")] + [JsiiInterface(nativeType: typeof(IAnonymouslyImplementMe), fullyQualifiedName: "jsii-calc.IAnonymouslyImplementMe")] public interface IAnonymouslyImplementMe { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] double Value { get; @@ -25966,17 +25846,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"verb\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "verb", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] string Verb(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnonymouslyImplementMeProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -25985,7 +25863,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IAnonymouslyImplementMe), fullyQualifiedName: \\"jsii-calc.IAnonymouslyImplementMe\\")] + [JsiiTypeProxy(nativeType: typeof(IAnonymouslyImplementMe), fullyQualifiedName: "jsii-calc.IAnonymouslyImplementMe")] internal sealed class IAnonymouslyImplementMeProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IAnonymouslyImplementMe { private IAnonymouslyImplementMeProxy(ByRefValue reference): base(reference) @@ -25995,7 +25873,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] public double Value { get => GetInstanceProperty(); @@ -26004,20 +25882,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"verb\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "verb", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public string Verb() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26026,13 +25902,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IAnotherPublicInterface), fullyQualifiedName: \\"jsii-calc.IAnotherPublicInterface\\")] + [JsiiInterface(nativeType: typeof(IAnotherPublicInterface), fullyQualifiedName: "jsii-calc.IAnotherPublicInterface")] public interface IAnotherPublicInterface { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"a\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "a", typeJson: "{\\"primitive\\":\\"string\\"}")] string A { get; @@ -26040,13 +25916,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IAnotherPublicInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26055,7 +25929,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IAnotherPublicInterface), fullyQualifiedName: \\"jsii-calc.IAnotherPublicInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IAnotherPublicInterface), fullyQualifiedName: "jsii-calc.IAnotherPublicInterface")] internal sealed class IAnotherPublicInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IAnotherPublicInterface { private IAnotherPublicInterfaceProxy(ByRefValue reference): base(reference) @@ -26065,7 +25939,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"a\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "a", typeJson: "{\\"primitive\\":\\"string\\"}")] public string A { get => GetInstanceProperty(); @@ -26073,13 +25947,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBell.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26088,23 +25960,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IBell), fullyQualifiedName: \\"jsii-calc.IBell\\")] + [JsiiInterface(nativeType: typeof(IBell), fullyQualifiedName: "jsii-calc.IBell")] public interface IBell { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"ring\\")] + [JsiiMethod(name: "ring")] void Ring(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26113,7 +25983,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IBell), fullyQualifiedName: \\"jsii-calc.IBell\\")] + [JsiiTypeProxy(nativeType: typeof(IBell), fullyQualifiedName: "jsii-calc.IBell")] internal sealed class IBellProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IBell { private IBellProxy(ByRefValue reference): base(reference) @@ -26123,20 +25993,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"ring\\")] + [JsiiMethod(name: "ring")] public void Ring() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRinger.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26146,23 +26014,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IBellRinger), fullyQualifiedName: \\"jsii-calc.IBellRinger\\")] + [JsiiInterface(nativeType: typeof(IBellRinger), fullyQualifiedName: "jsii-calc.IBellRinger")] public interface IBellRinger { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"yourTurn\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"bell\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBell\\\\\\"}}]\\")] + [JsiiMethod(name: "yourTurn", parametersJson: "[{\\"name\\":\\"bell\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IBell\\"}}]")] void YourTurn(Amazon.JSII.Tests.CalculatorNamespace.IBell bell); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IBellRingerProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26172,7 +26038,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IBellRinger), fullyQualifiedName: \\"jsii-calc.IBellRinger\\")] + [JsiiTypeProxy(nativeType: typeof(IBellRinger), fullyQualifiedName: "jsii-calc.IBellRinger")] internal sealed class IBellRingerProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IBellRinger { private IBellRingerProxy(ByRefValue reference): base(reference) @@ -26182,20 +26048,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"yourTurn\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"bell\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBell\\\\\\"}}]\\")] + [JsiiMethod(name: "yourTurn", parametersJson: "[{\\"name\\":\\"bell\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IBell\\"}}]")] public void YourTurn(Amazon.JSII.Tests.CalculatorNamespace.IBell bell) { InvokeInstanceVoidMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IBell)}, new object[]{bell}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ICalculatorProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26205,7 +26069,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(ICalculatorProps), fullyQualifiedName: \\"jsii-calc.CalculatorProps\\")] + [JsiiInterface(nativeType: typeof(ICalculatorProps), fullyQualifiedName: "jsii-calc.CalculatorProps")] public interface ICalculatorProps { /// The initial value of the calculator. @@ -26216,7 +26080,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"initialValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "initialValue", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] double? InitialValue { @@ -26232,7 +26096,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"maximumValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "maximumValue", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] double? MaximumValue { @@ -26243,13 +26107,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IChildStruct982.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26258,26 +26120,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IChildStruct982), fullyQualifiedName: \\"jsii-calc.ChildStruct982\\")] + [JsiiInterface(nativeType: typeof(IChildStruct982), fullyQualifiedName: "jsii-calc.ChildStruct982")] public interface IChildStruct982 : Amazon.JSII.Tests.CalculatorNamespace.IParentStruct982 { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"number\\"}")] double Bar { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRinger.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26287,23 +26147,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IConcreteBellRinger), fullyQualifiedName: \\"jsii-calc.IConcreteBellRinger\\")] + [JsiiInterface(nativeType: typeof(IConcreteBellRinger), fullyQualifiedName: "jsii-calc.IConcreteBellRinger")] public interface IConcreteBellRinger { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"yourTurn\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"bell\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Bell\\\\\\"}}]\\")] + [JsiiMethod(name: "yourTurn", parametersJson: "[{\\"name\\":\\"bell\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.Bell\\"}}]")] void YourTurn(Amazon.JSII.Tests.CalculatorNamespace.Bell bell); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConcreteBellRingerProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26313,7 +26171,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IConcreteBellRinger), fullyQualifiedName: \\"jsii-calc.IConcreteBellRinger\\")] + [JsiiTypeProxy(nativeType: typeof(IConcreteBellRinger), fullyQualifiedName: "jsii-calc.IConcreteBellRinger")] internal sealed class IConcreteBellRingerProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IConcreteBellRinger { private IConcreteBellRingerProxy(ByRefValue reference): base(reference) @@ -26323,20 +26181,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"yourTurn\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"bell\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Bell\\\\\\"}}]\\")] + [JsiiMethod(name: "yourTurn", parametersJson: "[{\\"name\\":\\"bell\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.Bell\\"}}]")] public void YourTurn(Amazon.JSII.Tests.CalculatorNamespace.Bell bell) { InvokeInstanceVoidMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.Bell)}, new object[]{bell}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IConfusingToJacksonStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26345,13 +26201,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IConfusingToJacksonStruct), fullyQualifiedName: \\"jsii-calc.ConfusingToJacksonStruct\\")] + [JsiiInterface(nativeType: typeof(IConfusingToJacksonStruct), fullyQualifiedName: "jsii-calc.ConfusingToJacksonStruct")] public interface IConfusingToJacksonStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"unionProperty\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"},{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AbstractClass\\\\\\"}]}},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}]}}\\", isOptional: true)] + [JsiiProperty(name: "unionProperty", typeJson: "{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"},{\\"collection\\":{\\"elementtype\\":{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"},{\\"fqn\\":\\"jsii-calc.AbstractClass\\"}]}},\\"kind\\":\\"array\\"}}]}}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] object? UnionProperty { @@ -26362,13 +26218,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26377,15 +26231,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiInterface(nativeType: typeof(IDeprecatedInterface), fullyQualifiedName: \\"jsii-calc.IDeprecatedInterface\\")] - [System.Obsolete(\\"useless interface\\")] + [JsiiInterface(nativeType: typeof(IDeprecatedInterface), fullyQualifiedName: "jsii-calc.IDeprecatedInterface")] + [System.Obsolete("useless interface")] public interface IDeprecatedInterface { /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] - [System.Obsolete(\\"could be better\\")] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] + [System.Obsolete("could be better")] [Amazon.JSII.Runtime.Deputy.JsiiOptional] double? MutableProperty { @@ -26395,24 +26249,22 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } set { - throw new System.NotSupportedException(\\"'set' for 'MutableProperty' is not implemented\\"); + throw new System.NotSupportedException("'set' for 'MutableProperty' is not implemented"); } } /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"method\\")] - [System.Obsolete(\\"services no purpose\\")] + [JsiiMethod(name: "method")] + [System.Obsolete("services no purpose")] void Method(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26421,8 +26273,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiTypeProxy(nativeType: typeof(IDeprecatedInterface), fullyQualifiedName: \\"jsii-calc.IDeprecatedInterface\\")] - [System.Obsolete(\\"useless interface\\")] + [JsiiTypeProxy(nativeType: typeof(IDeprecatedInterface), fullyQualifiedName: "jsii-calc.IDeprecatedInterface")] + [System.Obsolete("useless interface")] internal sealed class IDeprecatedInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IDeprecatedInterface { private IDeprecatedInterfaceProxy(ByRefValue reference): base(reference) @@ -26433,8 +26285,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Deprecated /// [JsiiOptional] - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] - [System.Obsolete(\\"could be better\\")] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] + [System.Obsolete("could be better")] public double? MutableProperty { get => GetInstanceProperty(); @@ -26444,21 +26296,19 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"method\\")] - [System.Obsolete(\\"services no purpose\\")] + [JsiiMethod(name: "method")] + [System.Obsolete("services no purpose")] public void Method() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDeprecatedStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26467,28 +26317,26 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiInterface(nativeType: typeof(IDeprecatedStruct), fullyQualifiedName: \\"jsii-calc.DeprecatedStruct\\")] - [System.Obsolete(\\"it just wraps a string\\")] + [JsiiInterface(nativeType: typeof(IDeprecatedStruct), fullyQualifiedName: "jsii-calc.DeprecatedStruct")] + [System.Obsolete("it just wraps a string")] public interface IDeprecatedStruct { /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] - [System.Obsolete(\\"well, yeah\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] + [System.Obsolete("well, yeah")] string ReadonlyProperty { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDerivedStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26498,13 +26346,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IDerivedStruct), fullyQualifiedName: \\"jsii-calc.DerivedStruct\\")] + [JsiiInterface(nativeType: typeof(IDerivedStruct), fullyQualifiedName: "jsii-calc.DerivedStruct")] public interface IDerivedStruct : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IMyFirstStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"anotherRequired\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}\\")] + [JsiiProperty(name: "anotherRequired", typeJson: "{\\"primitive\\":\\"date\\"}")] System.DateTime AnotherRequired { get; @@ -26513,7 +26361,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bool\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "bool", typeJson: "{\\"primitive\\":\\"boolean\\"}")] bool Bool { get; @@ -26523,7 +26371,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"nonPrimitive\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.DoubleTrouble\\\\\\"}\\")] + [JsiiProperty(name: "nonPrimitive", typeJson: "{\\"fqn\\":\\"jsii-calc.DoubleTrouble\\"}")] Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble NonPrimitive { get; @@ -26533,7 +26381,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"anotherOptional\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\", isOptional: true)] + [JsiiProperty(name: "anotherOptional", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"},\\"kind\\":\\"map\\"}}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] System.Collections.Generic.IDictionary? AnotherOptional { @@ -26546,7 +26394,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"optionalAny\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalAny", typeJson: "{\\"primitive\\":\\"any\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] object? OptionalAny { @@ -26559,7 +26407,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"optionalArray\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOptional: true)] + [JsiiProperty(name: "optionalArray", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string[]? OptionalArray { @@ -26570,13 +26418,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceBaseLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26585,26 +26431,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IDiamondInheritanceBaseLevelStruct), fullyQualifiedName: \\"jsii-calc.DiamondInheritanceBaseLevelStruct\\")] + [JsiiInterface(nativeType: typeof(IDiamondInheritanceBaseLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceBaseLevelStruct")] public interface IDiamondInheritanceBaseLevelStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"baseLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "baseLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] string BaseLevelProperty { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceFirstMidLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26613,26 +26457,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IDiamondInheritanceFirstMidLevelStruct), fullyQualifiedName: \\"jsii-calc.DiamondInheritanceFirstMidLevelStruct\\")] + [JsiiInterface(nativeType: typeof(IDiamondInheritanceFirstMidLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceFirstMidLevelStruct")] public interface IDiamondInheritanceFirstMidLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceBaseLevelStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"firstMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "firstMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] string FirstMidLevelProperty { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceSecondMidLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26641,26 +26483,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IDiamondInheritanceSecondMidLevelStruct), fullyQualifiedName: \\"jsii-calc.DiamondInheritanceSecondMidLevelStruct\\")] + [JsiiInterface(nativeType: typeof(IDiamondInheritanceSecondMidLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceSecondMidLevelStruct")] public interface IDiamondInheritanceSecondMidLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceBaseLevelStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"secondMidLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "secondMidLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] string SecondMidLevelProperty { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IDiamondInheritanceTopLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26669,26 +26509,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IDiamondInheritanceTopLevelStruct), fullyQualifiedName: \\"jsii-calc.DiamondInheritanceTopLevelStruct\\")] + [JsiiInterface(nativeType: typeof(IDiamondInheritanceTopLevelStruct), fullyQualifiedName: "jsii-calc.DiamondInheritanceTopLevelStruct")] public interface IDiamondInheritanceTopLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceFirstMidLevelStruct, Amazon.JSII.Tests.CalculatorNamespace.IDiamondInheritanceSecondMidLevelStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"topLevelProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "topLevelProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] string TopLevelProperty { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IEraseUndefinedHashValuesOptions.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26697,13 +26535,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IEraseUndefinedHashValuesOptions), fullyQualifiedName: \\"jsii-calc.EraseUndefinedHashValuesOptions\\")] + [JsiiInterface(nativeType: typeof(IEraseUndefinedHashValuesOptions), fullyQualifiedName: "jsii-calc.EraseUndefinedHashValuesOptions")] public interface IEraseUndefinedHashValuesOptions { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"option1\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "option1", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Option1 { @@ -26716,7 +26554,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"option2\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "option2", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Option2 { @@ -26727,13 +26565,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26742,13 +26578,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IExperimentalInterface), fullyQualifiedName: \\"jsii-calc.IExperimentalInterface\\")] + [JsiiInterface(nativeType: typeof(IExperimentalInterface), fullyQualifiedName: "jsii-calc.IExperimentalInterface")] public interface IExperimentalInterface { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] double? MutableProperty { @@ -26758,23 +26594,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } set { - throw new System.NotSupportedException(\\"'set' for 'MutableProperty' is not implemented\\"); + throw new System.NotSupportedException("'set' for 'MutableProperty' is not implemented"); } } /// /// Stability: Experimental /// - [JsiiMethod(name: \\"method\\")] + [JsiiMethod(name: "method")] void Method(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26783,7 +26617,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IExperimentalInterface), fullyQualifiedName: \\"jsii-calc.IExperimentalInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IExperimentalInterface), fullyQualifiedName: "jsii-calc.IExperimentalInterface")] internal sealed class IExperimentalInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IExperimentalInterface { private IExperimentalInterfaceProxy(ByRefValue reference): base(reference) @@ -26794,7 +26628,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public double? MutableProperty { get => GetInstanceProperty(); @@ -26804,20 +26638,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"method\\")] + [JsiiMethod(name: "method")] public void Method() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExperimentalStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26826,26 +26658,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IExperimentalStruct), fullyQualifiedName: \\"jsii-calc.ExperimentalStruct\\")] + [JsiiInterface(nativeType: typeof(IExperimentalStruct), fullyQualifiedName: "jsii-calc.ExperimentalStruct")] public interface IExperimentalStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] string ReadonlyProperty { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsInternalInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26854,13 +26684,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IExtendsInternalInterface), fullyQualifiedName: \\"jsii-calc.ExtendsInternalInterface\\")] + [JsiiInterface(nativeType: typeof(IExtendsInternalInterface), fullyQualifiedName: "jsii-calc.ExtendsInternalInterface")] public interface IExtendsInternalInterface { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"boom\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "boom", typeJson: "{\\"primitive\\":\\"boolean\\"}")] bool Boom { get; @@ -26869,20 +26699,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "prop", typeJson: "{\\"primitive\\":\\"string\\"}")] string Prop { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26891,13 +26719,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IExtendsPrivateInterface), fullyQualifiedName: \\"jsii-calc.IExtendsPrivateInterface\\")] + [JsiiInterface(nativeType: typeof(IExtendsPrivateInterface), fullyQualifiedName: "jsii-calc.IExtendsPrivateInterface")] public interface IExtendsPrivateInterface { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"moreThings\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "moreThings", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}")] string[] MoreThings { get; @@ -26906,7 +26734,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"private\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "private", typeJson: "{\\"primitive\\":\\"string\\"}")] string Private { get; @@ -26914,13 +26742,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExtendsPrivateInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26929,7 +26755,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IExtendsPrivateInterface), fullyQualifiedName: \\"jsii-calc.IExtendsPrivateInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IExtendsPrivateInterface), fullyQualifiedName: "jsii-calc.IExtendsPrivateInterface")] internal sealed class IExtendsPrivateInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IExtendsPrivateInterface { private IExtendsPrivateInterfaceProxy(ByRefValue reference): base(reference) @@ -26939,7 +26765,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"moreThings\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "moreThings", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}")] public string[] MoreThings { get => GetInstanceProperty(); @@ -26948,7 +26774,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"private\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "private", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Private { get => GetInstanceProperty(); @@ -26956,13 +26782,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExternalInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -26973,7 +26797,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiInterface(nativeType: typeof(IExternalInterface), fullyQualifiedName: \\"jsii-calc.IExternalInterface\\")] + [JsiiInterface(nativeType: typeof(IExternalInterface), fullyQualifiedName: "jsii-calc.IExternalInterface")] public interface IExternalInterface { /// @@ -26981,7 +26805,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] double? MutableProperty { @@ -26991,7 +26815,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } set { - throw new System.NotSupportedException(\\"'set' for 'MutableProperty' is not implemented\\"); + throw new System.NotSupportedException("'set' for 'MutableProperty' is not implemented"); } } /// @@ -26999,17 +26823,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiMethod(name: \\"method\\")] + [JsiiMethod(name: "method")] void Method(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExternalInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27020,7 +26842,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiTypeProxy(nativeType: typeof(IExternalInterface), fullyQualifiedName: \\"jsii-calc.IExternalInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IExternalInterface), fullyQualifiedName: "jsii-calc.IExternalInterface")] internal sealed class IExternalInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IExternalInterface { private IExternalInterfaceProxy(ByRefValue reference): base(reference) @@ -27033,7 +26855,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// External: true /// [JsiiOptional] - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public double? MutableProperty { get => GetInstanceProperty(); @@ -27045,20 +26867,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiMethod(name: \\"method\\")] + [JsiiMethod(name: "method")] public void Method() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IExternalStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27069,7 +26889,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiInterface(nativeType: typeof(IExternalStruct), fullyQualifiedName: \\"jsii-calc.ExternalStruct\\")] + [JsiiInterface(nativeType: typeof(IExternalStruct), fullyQualifiedName: "jsii-calc.ExternalStruct")] public interface IExternalStruct { /// @@ -27077,20 +26897,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// External: true /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] string ReadonlyProperty { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlier.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27100,31 +26918,29 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IFriendlier), fullyQualifiedName: \\"jsii-calc.IFriendlier\\")] + [JsiiInterface(nativeType: typeof(IFriendlier), fullyQualifiedName: "jsii-calc.IFriendlier")] public interface IFriendlier : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly { /// Say farewell. /// /// Stability: Experimental /// - [JsiiMethod(name: \\"farewell\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "farewell", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] string Farewell(); /// Say goodbye. /// A goodbye blessing. /// /// Stability: Experimental /// - [JsiiMethod(name: \\"goodbye\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "goodbye", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] string Goodbye(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlierProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27134,7 +26950,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IFriendlier), fullyQualifiedName: \\"jsii-calc.IFriendlier\\")] + [JsiiTypeProxy(nativeType: typeof(IFriendlier), fullyQualifiedName: "jsii-calc.IFriendlier")] internal sealed class IFriendlierProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IFriendlier { private IFriendlierProxy(ByRefValue reference): base(reference) @@ -27145,7 +26961,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"farewell\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "farewell", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public string Farewell() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -27156,7 +26972,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"goodbye\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "goodbye", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public string Goodbye() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -27166,7 +26982,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"hello\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "hello", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] [System.Obsolete()] public string Hello() { @@ -27174,13 +26990,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGenerator.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27189,18 +27003,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IFriendlyRandomGenerator), fullyQualifiedName: \\"jsii-calc.IFriendlyRandomGenerator\\")] + [JsiiInterface(nativeType: typeof(IFriendlyRandomGenerator), fullyQualifiedName: "jsii-calc.IFriendlyRandomGenerator")] public interface IFriendlyRandomGenerator : Amazon.JSII.Tests.CalculatorNamespace.IRandomNumberGenerator, Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly { } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IFriendlyRandomGeneratorProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27209,7 +27021,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IFriendlyRandomGenerator), fullyQualifiedName: \\"jsii-calc.IFriendlyRandomGenerator\\")] + [JsiiTypeProxy(nativeType: typeof(IFriendlyRandomGenerator), fullyQualifiedName: "jsii-calc.IFriendlyRandomGenerator")] internal sealed class IFriendlyRandomGeneratorProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IFriendlyRandomGenerator { private IFriendlyRandomGeneratorProxy(ByRefValue reference): base(reference) @@ -27221,7 +27033,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"next\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "next", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public double Next() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -27231,7 +27043,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"hello\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "hello", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] [System.Obsolete()] public string Hello() { @@ -27239,13 +27051,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IGreetee.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27255,7 +27065,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IGreetee), fullyQualifiedName: \\"jsii-calc.Greetee\\")] + [JsiiInterface(nativeType: typeof(IGreetee), fullyQualifiedName: "jsii-calc.Greetee")] public interface IGreetee { /// The name of the greetee. @@ -27264,7 +27074,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"name\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "name", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Name { @@ -27275,13 +27085,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IImplictBaseOfBase.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27290,26 +27098,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IImplictBaseOfBase), fullyQualifiedName: \\"jsii-calc.ImplictBaseOfBase\\")] + [JsiiInterface(nativeType: typeof(IImplictBaseOfBase), fullyQualifiedName: "jsii-calc.ImplictBaseOfBase")] public interface IImplictBaseOfBase : Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.IBaseProps { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"goo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}\\")] + [JsiiProperty(name: "goo", typeJson: "{\\"primitive\\":\\"date\\"}")] System.DateTime Goo { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27319,26 +27125,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IInterfaceImplementedByAbstractClass), fullyQualifiedName: \\"jsii-calc.IInterfaceImplementedByAbstractClass\\")] + [JsiiInterface(nativeType: typeof(IInterfaceImplementedByAbstractClass), fullyQualifiedName: "jsii-calc.IInterfaceImplementedByAbstractClass")] public interface IInterfaceImplementedByAbstractClass { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"propFromInterface\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "propFromInterface", typeJson: "{\\"primitive\\":\\"string\\"}")] string PropFromInterface { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceImplementedByAbstractClassProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27348,7 +27152,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IInterfaceImplementedByAbstractClass), fullyQualifiedName: \\"jsii-calc.IInterfaceImplementedByAbstractClass\\")] + [JsiiTypeProxy(nativeType: typeof(IInterfaceImplementedByAbstractClass), fullyQualifiedName: "jsii-calc.IInterfaceImplementedByAbstractClass")] internal sealed class IInterfaceImplementedByAbstractClassProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceImplementedByAbstractClass { private IInterfaceImplementedByAbstractClassProxy(ByRefValue reference): base(reference) @@ -27358,20 +27162,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"propFromInterface\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "propFromInterface", typeJson: "{\\"primitive\\":\\"string\\"}")] public string PropFromInterface { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataType.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27381,26 +27183,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IInterfaceThatShouldNotBeADataType), fullyQualifiedName: \\"jsii-calc.IInterfaceThatShouldNotBeADataType\\")] + [JsiiInterface(nativeType: typeof(IInterfaceThatShouldNotBeADataType), fullyQualifiedName: "jsii-calc.IInterfaceThatShouldNotBeADataType")] public interface IInterfaceThatShouldNotBeADataType : Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithMethods { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"otherValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "otherValue", typeJson: "{\\"primitive\\":\\"string\\"}")] string OtherValue { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceThatShouldNotBeADataTypeProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27410,7 +27210,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IInterfaceThatShouldNotBeADataType), fullyQualifiedName: \\"jsii-calc.IInterfaceThatShouldNotBeADataType\\")] + [JsiiTypeProxy(nativeType: typeof(IInterfaceThatShouldNotBeADataType), fullyQualifiedName: "jsii-calc.IInterfaceThatShouldNotBeADataType")] internal sealed class IInterfaceThatShouldNotBeADataTypeProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceThatShouldNotBeADataType { private IInterfaceThatShouldNotBeADataTypeProxy(ByRefValue reference): base(reference) @@ -27420,7 +27220,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"otherValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "otherValue", typeJson: "{\\"primitive\\":\\"string\\"}")] public string OtherValue { get => GetInstanceProperty(); @@ -27429,7 +27229,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Value { get => GetInstanceProperty(); @@ -27438,20 +27238,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"doThings\\")] + [JsiiMethod(name: "doThings")] public void DoThings() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternal.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27460,23 +27258,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IInterfaceWithInternal), fullyQualifiedName: \\"jsii-calc.IInterfaceWithInternal\\")] + [JsiiInterface(nativeType: typeof(IInterfaceWithInternal), fullyQualifiedName: "jsii-calc.IInterfaceWithInternal")] public interface IInterfaceWithInternal { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"visible\\")] + [JsiiMethod(name: "visible")] void Visible(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithInternalProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27485,7 +27281,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IInterfaceWithInternal), fullyQualifiedName: \\"jsii-calc.IInterfaceWithInternal\\")] + [JsiiTypeProxy(nativeType: typeof(IInterfaceWithInternal), fullyQualifiedName: "jsii-calc.IInterfaceWithInternal")] internal sealed class IInterfaceWithInternalProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithInternal { private IInterfaceWithInternalProxy(ByRefValue reference): base(reference) @@ -27495,20 +27291,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"visible\\")] + [JsiiMethod(name: "visible")] public void Visible() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethods.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27517,13 +27311,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IInterfaceWithMethods), fullyQualifiedName: \\"jsii-calc.IInterfaceWithMethods\\")] + [JsiiInterface(nativeType: typeof(IInterfaceWithMethods), fullyQualifiedName: "jsii-calc.IInterfaceWithMethods")] public interface IInterfaceWithMethods { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"string\\"}")] string Value { get; @@ -27531,17 +27325,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"doThings\\")] + [JsiiMethod(name: "doThings")] void DoThings(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithMethodsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27550,7 +27342,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IInterfaceWithMethods), fullyQualifiedName: \\"jsii-calc.IInterfaceWithMethods\\")] + [JsiiTypeProxy(nativeType: typeof(IInterfaceWithMethods), fullyQualifiedName: "jsii-calc.IInterfaceWithMethods")] internal sealed class IInterfaceWithMethodsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithMethods { private IInterfaceWithMethodsProxy(ByRefValue reference): base(reference) @@ -27560,7 +27352,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Value { get => GetInstanceProperty(); @@ -27569,20 +27361,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"doThings\\")] + [JsiiMethod(name: "doThings")] public void DoThings() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArguments.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27592,23 +27382,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IInterfaceWithOptionalMethodArguments), fullyQualifiedName: \\"jsii-calc.IInterfaceWithOptionalMethodArguments\\")] + [JsiiInterface(nativeType: typeof(IInterfaceWithOptionalMethodArguments), fullyQualifiedName: "jsii-calc.IInterfaceWithOptionalMethodArguments")] public interface IInterfaceWithOptionalMethodArguments { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hello\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"arg1\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg2\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "hello", parametersJson: "[{\\"name\\":\\"arg1\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"arg2\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"number\\"}}]")] void Hello(string arg1, double? arg2 = null); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithOptionalMethodArgumentsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27618,7 +27406,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IInterfaceWithOptionalMethodArguments), fullyQualifiedName: \\"jsii-calc.IInterfaceWithOptionalMethodArguments\\")] + [JsiiTypeProxy(nativeType: typeof(IInterfaceWithOptionalMethodArguments), fullyQualifiedName: "jsii-calc.IInterfaceWithOptionalMethodArguments")] internal sealed class IInterfaceWithOptionalMethodArgumentsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithOptionalMethodArguments { private IInterfaceWithOptionalMethodArgumentsProxy(ByRefValue reference): base(reference) @@ -27628,20 +27416,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hello\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"arg1\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg2\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "hello", parametersJson: "[{\\"name\\":\\"arg1\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"arg2\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public void Hello(string arg1, double? arg2 = null) { InvokeInstanceVoidMethod(new System.Type[]{typeof(string), typeof(double)}, new object?[]{arg1, arg2}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithProperties.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27650,13 +27436,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IInterfaceWithProperties), fullyQualifiedName: \\"jsii-calc.IInterfaceWithProperties\\")] + [JsiiInterface(nativeType: typeof(IInterfaceWithProperties), fullyQualifiedName: "jsii-calc.IInterfaceWithProperties")] public interface IInterfaceWithProperties { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readOnlyString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readOnlyString", typeJson: "{\\"primitive\\":\\"string\\"}")] string ReadOnlyString { get; @@ -27665,7 +27451,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readWriteString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readWriteString", typeJson: "{\\"primitive\\":\\"string\\"}")] string ReadWriteString { get; @@ -27673,13 +27459,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtension.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27688,13 +27472,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IInterfaceWithPropertiesExtension), fullyQualifiedName: \\"jsii-calc.IInterfaceWithPropertiesExtension\\")] + [JsiiInterface(nativeType: typeof(IInterfaceWithPropertiesExtension), fullyQualifiedName: "jsii-calc.IInterfaceWithPropertiesExtension")] public interface IInterfaceWithPropertiesExtension : Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithProperties { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}")] double Foo { get; @@ -27702,13 +27486,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesExtensionProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27717,7 +27499,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IInterfaceWithPropertiesExtension), fullyQualifiedName: \\"jsii-calc.IInterfaceWithPropertiesExtension\\")] + [JsiiTypeProxy(nativeType: typeof(IInterfaceWithPropertiesExtension), fullyQualifiedName: "jsii-calc.IInterfaceWithPropertiesExtension")] internal sealed class IInterfaceWithPropertiesExtensionProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithPropertiesExtension { private IInterfaceWithPropertiesExtensionProxy(ByRefValue reference): base(reference) @@ -27727,7 +27509,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}")] public double Foo { get => GetInstanceProperty(); @@ -27737,7 +27519,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readOnlyString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readOnlyString", typeJson: "{\\"primitive\\":\\"string\\"}")] public string ReadOnlyString { get => GetInstanceProperty(); @@ -27746,7 +27528,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readWriteString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readWriteString", typeJson: "{\\"primitive\\":\\"string\\"}")] public string ReadWriteString { get => GetInstanceProperty(); @@ -27754,13 +27536,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IInterfaceWithPropertiesProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27769,7 +27549,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IInterfaceWithProperties), fullyQualifiedName: \\"jsii-calc.IInterfaceWithProperties\\")] + [JsiiTypeProxy(nativeType: typeof(IInterfaceWithProperties), fullyQualifiedName: "jsii-calc.IInterfaceWithProperties")] internal sealed class IInterfaceWithPropertiesProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithProperties { private IInterfaceWithPropertiesProxy(ByRefValue reference): base(reference) @@ -27779,7 +27559,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readOnlyString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readOnlyString", typeJson: "{\\"primitive\\":\\"string\\"}")] public string ReadOnlyString { get => GetInstanceProperty(); @@ -27788,7 +27568,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readWriteString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readWriteString", typeJson: "{\\"primitive\\":\\"string\\"}")] public string ReadWriteString { get => GetInstanceProperty(); @@ -27796,13 +27576,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417Derived.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27811,13 +27589,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IJSII417Derived), fullyQualifiedName: \\"jsii-calc.IJSII417Derived\\")] + [JsiiInterface(nativeType: typeof(IJSII417Derived), fullyQualifiedName: "jsii-calc.IJSII417Derived")] public interface IJSII417Derived : Amazon.JSII.Tests.CalculatorNamespace.IJSII417PublicBaseOfBase { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] string Property { get; @@ -27825,22 +27603,20 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"bar\\")] + [JsiiMethod(name: "bar")] void Bar(); /// /// Stability: Experimental /// - [JsiiMethod(name: \\"baz\\")] + [JsiiMethod(name: "baz")] void Baz(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417DerivedProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27849,7 +27625,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IJSII417Derived), fullyQualifiedName: \\"jsii-calc.IJSII417Derived\\")] + [JsiiTypeProxy(nativeType: typeof(IJSII417Derived), fullyQualifiedName: "jsii-calc.IJSII417Derived")] internal sealed class IJSII417DerivedProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJSII417Derived { private IJSII417DerivedProxy(ByRefValue reference): base(reference) @@ -27859,7 +27635,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Property { get => GetInstanceProperty(); @@ -27868,7 +27644,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"hasRoot\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "hasRoot", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public bool HasRoot { get => GetInstanceProperty(); @@ -27877,7 +27653,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"bar\\")] + [JsiiMethod(name: "bar")] public void Bar() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -27886,7 +27662,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"baz\\")] + [JsiiMethod(name: "baz")] public void Baz() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -27895,20 +27671,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"foo\\")] + [JsiiMethod(name: "foo")] public void Foo() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBase.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27917,13 +27691,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IJSII417PublicBaseOfBase), fullyQualifiedName: \\"jsii-calc.IJSII417PublicBaseOfBase\\")] + [JsiiInterface(nativeType: typeof(IJSII417PublicBaseOfBase), fullyQualifiedName: "jsii-calc.IJSII417PublicBaseOfBase")] public interface IJSII417PublicBaseOfBase { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"hasRoot\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "hasRoot", typeJson: "{\\"primitive\\":\\"boolean\\"}")] bool HasRoot { get; @@ -27931,17 +27705,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"foo\\")] + [JsiiMethod(name: "foo")] void Foo(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJSII417PublicBaseOfBaseProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27950,7 +27722,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IJSII417PublicBaseOfBase), fullyQualifiedName: \\"jsii-calc.IJSII417PublicBaseOfBase\\")] + [JsiiTypeProxy(nativeType: typeof(IJSII417PublicBaseOfBase), fullyQualifiedName: "jsii-calc.IJSII417PublicBaseOfBase")] internal sealed class IJSII417PublicBaseOfBaseProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJSII417PublicBaseOfBase { private IJSII417PublicBaseOfBaseProxy(ByRefValue reference): base(reference) @@ -27960,7 +27732,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"hasRoot\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "hasRoot", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public bool HasRoot { get => GetInstanceProperty(); @@ -27969,20 +27741,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"foo\\")] + [JsiiMethod(name: "foo")] public void Foo() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -27991,18 +27761,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IJsii487External), fullyQualifiedName: \\"jsii-calc.IJsii487External\\")] + [JsiiInterface(nativeType: typeof(IJsii487External), fullyQualifiedName: "jsii-calc.IJsii487External")] public interface IJsii487External { } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28011,18 +27779,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IJsii487External2), fullyQualifiedName: \\"jsii-calc.IJsii487External2\\")] + [JsiiInterface(nativeType: typeof(IJsii487External2), fullyQualifiedName: "jsii-calc.IJsii487External2")] public interface IJsii487External2 { } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External2Proxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28031,7 +27797,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IJsii487External2), fullyQualifiedName: \\"jsii-calc.IJsii487External2\\")] + [JsiiTypeProxy(nativeType: typeof(IJsii487External2), fullyQualifiedName: "jsii-calc.IJsii487External2")] internal sealed class IJsii487External2Proxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJsii487External2 { private IJsii487External2Proxy(ByRefValue reference): base(reference) @@ -28039,13 +27805,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487ExternalProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28054,7 +27818,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IJsii487External), fullyQualifiedName: \\"jsii-calc.IJsii487External\\")] + [JsiiTypeProxy(nativeType: typeof(IJsii487External), fullyQualifiedName: "jsii-calc.IJsii487External")] internal sealed class IJsii487ExternalProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJsii487External { private IJsii487ExternalProxy(ByRefValue reference): base(reference) @@ -28062,13 +27826,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28077,18 +27839,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IJsii496), fullyQualifiedName: \\"jsii-calc.IJsii496\\")] + [JsiiInterface(nativeType: typeof(IJsii496), fullyQualifiedName: "jsii-calc.IJsii496")] public interface IJsii496 { } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii496Proxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28097,7 +27857,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IJsii496), fullyQualifiedName: \\"jsii-calc.IJsii496\\")] + [JsiiTypeProxy(nativeType: typeof(IJsii496), fullyQualifiedName: "jsii-calc.IJsii496")] internal sealed class IJsii496Proxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJsii496 { private IJsii496Proxy(ByRefValue reference): base(reference) @@ -28105,13 +27865,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ILoadBalancedFargateServiceProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28121,7 +27879,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(ILoadBalancedFargateServiceProps), fullyQualifiedName: \\"jsii-calc.LoadBalancedFargateServiceProps\\")] + [JsiiInterface(nativeType: typeof(ILoadBalancedFargateServiceProps), fullyQualifiedName: "jsii-calc.LoadBalancedFargateServiceProps")] public interface ILoadBalancedFargateServiceProps { /// The container port of the application load balancer attached to your Fargate service. @@ -28132,7 +27890,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"containerPort\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "containerPort", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] double? ContainerPort { @@ -28157,7 +27915,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"cpu\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "cpu", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Cpu { @@ -28188,7 +27946,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"memoryMiB\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "memoryMiB", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? MemoryMiB { @@ -28204,7 +27962,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"publicLoadBalancer\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "publicLoadBalancer", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] bool? PublicLoadBalancer { @@ -28220,7 +27978,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"publicTasks\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "publicTasks", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] bool? PublicTasks { @@ -28231,13 +27989,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteral.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28246,13 +28002,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IMutableObjectLiteral), fullyQualifiedName: \\"jsii-calc.IMutableObjectLiteral\\")] + [JsiiInterface(nativeType: typeof(IMutableObjectLiteral), fullyQualifiedName: "jsii-calc.IMutableObjectLiteral")] public interface IMutableObjectLiteral { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"string\\"}")] string Value { get; @@ -28260,13 +28016,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IMutableObjectLiteralProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28275,7 +28029,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IMutableObjectLiteral), fullyQualifiedName: \\"jsii-calc.IMutableObjectLiteral\\")] + [JsiiTypeProxy(nativeType: typeof(IMutableObjectLiteral), fullyQualifiedName: "jsii-calc.IMutableObjectLiteral")] internal sealed class IMutableObjectLiteralProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IMutableObjectLiteral { private IMutableObjectLiteralProxy(ByRefValue reference): base(reference) @@ -28285,7 +28039,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Value { get => GetInstanceProperty(); @@ -28293,13 +28047,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INestedStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28308,27 +28060,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(INestedStruct), fullyQualifiedName: \\"jsii-calc.NestedStruct\\")] + [JsiiInterface(nativeType: typeof(INestedStruct), fullyQualifiedName: "jsii-calc.NestedStruct")] public interface INestedStruct { /// When provided, must be > 0. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"numberProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "numberProp", typeJson: "{\\"primitive\\":\\"number\\"}")] double NumberProp { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28337,13 +28087,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(INonInternalInterface), fullyQualifiedName: \\"jsii-calc.INonInternalInterface\\")] + [JsiiInterface(nativeType: typeof(INonInternalInterface), fullyQualifiedName: "jsii-calc.INonInternalInterface")] public interface INonInternalInterface : Amazon.JSII.Tests.CalculatorNamespace.IAnotherPublicInterface { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"b\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "b", typeJson: "{\\"primitive\\":\\"string\\"}")] string B { get; @@ -28353,7 +28103,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"c\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "c", typeJson: "{\\"primitive\\":\\"string\\"}")] string C { get; @@ -28361,13 +28111,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INonInternalInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28376,7 +28124,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(INonInternalInterface), fullyQualifiedName: \\"jsii-calc.INonInternalInterface\\")] + [JsiiTypeProxy(nativeType: typeof(INonInternalInterface), fullyQualifiedName: "jsii-calc.INonInternalInterface")] internal sealed class INonInternalInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.INonInternalInterface { private INonInternalInterfaceProxy(ByRefValue reference): base(reference) @@ -28386,7 +28134,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"b\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "b", typeJson: "{\\"primitive\\":\\"string\\"}")] public string B { get => GetInstanceProperty(); @@ -28396,7 +28144,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"c\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "c", typeJson: "{\\"primitive\\":\\"string\\"}")] public string C { get => GetInstanceProperty(); @@ -28406,7 +28154,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"a\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "a", typeJson: "{\\"primitive\\":\\"string\\"}")] public string A { get => GetInstanceProperty(); @@ -28414,13 +28162,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/INullShouldBeTreatedAsUndefinedData.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28429,13 +28175,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(INullShouldBeTreatedAsUndefinedData), fullyQualifiedName: \\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\")] + [JsiiInterface(nativeType: typeof(INullShouldBeTreatedAsUndefinedData), fullyQualifiedName: "jsii-calc.NullShouldBeTreatedAsUndefinedData")] public interface INullShouldBeTreatedAsUndefinedData { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"arrayWithThreeElementsAndUndefinedAsSecondArgument\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "arrayWithThreeElementsAndUndefinedAsSecondArgument", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"array\\"}}")] object[] ArrayWithThreeElementsAndUndefinedAsSecondArgument { get; @@ -28444,7 +28190,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"thisShouldBeUndefined\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "thisShouldBeUndefined", typeJson: "{\\"primitive\\":\\"any\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] object? ThisShouldBeUndefined { @@ -28455,13 +28201,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithProperty.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28471,13 +28215,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IObjectWithProperty), fullyQualifiedName: \\"jsii-calc.IObjectWithProperty\\")] + [JsiiInterface(nativeType: typeof(IObjectWithProperty), fullyQualifiedName: "jsii-calc.IObjectWithProperty")] public interface IObjectWithProperty { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] string Property { get; @@ -28486,17 +28230,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"wasSet\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\")] + [JsiiMethod(name: "wasSet", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}")] bool WasSet(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IObjectWithPropertyProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28506,7 +28248,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IObjectWithProperty), fullyQualifiedName: \\"jsii-calc.IObjectWithProperty\\")] + [JsiiTypeProxy(nativeType: typeof(IObjectWithProperty), fullyQualifiedName: "jsii-calc.IObjectWithProperty")] internal sealed class IObjectWithPropertyProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IObjectWithProperty { private IObjectWithPropertyProxy(ByRefValue reference): base(reference) @@ -28516,7 +28258,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Property { get => GetInstanceProperty(); @@ -28526,20 +28268,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"wasSet\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\")] + [JsiiMethod(name: "wasSet", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}")] public bool WasSet() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IOptionalMethod.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28549,23 +28289,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IOptionalMethod), fullyQualifiedName: \\"jsii-calc.IOptionalMethod\\")] + [JsiiInterface(nativeType: typeof(IOptionalMethod), fullyQualifiedName: "jsii-calc.IOptionalMethod")] public interface IOptionalMethod { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"optional\\", returnsJson: \\"{\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "optional", returnsJson: "{\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"string\\"}}")] string? Optional(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IOptionalMethodProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28575,7 +28313,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IOptionalMethod), fullyQualifiedName: \\"jsii-calc.IOptionalMethod\\")] + [JsiiTypeProxy(nativeType: typeof(IOptionalMethod), fullyQualifiedName: "jsii-calc.IOptionalMethod")] internal sealed class IOptionalMethodProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IOptionalMethod { private IOptionalMethodProxy(ByRefValue reference): base(reference) @@ -28585,20 +28323,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"optional\\", returnsJson: \\"{\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "optional", returnsJson: "{\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"string\\"}}")] public string? Optional() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IOptionalStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28607,13 +28343,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IOptionalStruct), fullyQualifiedName: \\"jsii-calc.OptionalStruct\\")] + [JsiiInterface(nativeType: typeof(IOptionalStruct), fullyQualifiedName: "jsii-calc.OptionalStruct")] public interface IOptionalStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"field\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "field", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Field { @@ -28624,13 +28360,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IParentStruct982.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28640,26 +28374,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IParentStruct982), fullyQualifiedName: \\"jsii-calc.ParentStruct982\\")] + [JsiiInterface(nativeType: typeof(IParentStruct982), fullyQualifiedName: "jsii-calc.ParentStruct982")] public interface IParentStruct982 { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"string\\"}")] string Foo { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplemented.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28668,26 +28400,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IPrivatelyImplemented), fullyQualifiedName: \\"jsii-calc.IPrivatelyImplemented\\")] + [JsiiInterface(nativeType: typeof(IPrivatelyImplemented), fullyQualifiedName: "jsii-calc.IPrivatelyImplemented")] public interface IPrivatelyImplemented { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"success\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "success", typeJson: "{\\"primitive\\":\\"boolean\\"}")] bool Success { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPrivatelyImplementedProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28696,7 +28426,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IPrivatelyImplemented), fullyQualifiedName: \\"jsii-calc.IPrivatelyImplemented\\")] + [JsiiTypeProxy(nativeType: typeof(IPrivatelyImplemented), fullyQualifiedName: "jsii-calc.IPrivatelyImplemented")] internal sealed class IPrivatelyImplementedProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IPrivatelyImplemented { private IPrivatelyImplementedProxy(ByRefValue reference): base(reference) @@ -28706,20 +28436,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"success\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "success", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public bool Success { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28728,23 +28456,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IPublicInterface), fullyQualifiedName: \\"jsii-calc.IPublicInterface\\")] + [JsiiInterface(nativeType: typeof(IPublicInterface), fullyQualifiedName: "jsii-calc.IPublicInterface")] public interface IPublicInterface { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"bye\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "bye", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] string Bye(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28753,23 +28479,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IPublicInterface2), fullyQualifiedName: \\"jsii-calc.IPublicInterface2\\")] + [JsiiInterface(nativeType: typeof(IPublicInterface2), fullyQualifiedName: "jsii-calc.IPublicInterface2")] public interface IPublicInterface2 { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"ciao\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "ciao", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] string Ciao(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterface2Proxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28778,7 +28502,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IPublicInterface2), fullyQualifiedName: \\"jsii-calc.IPublicInterface2\\")] + [JsiiTypeProxy(nativeType: typeof(IPublicInterface2), fullyQualifiedName: "jsii-calc.IPublicInterface2")] internal sealed class IPublicInterface2Proxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface2 { private IPublicInterface2Proxy(ByRefValue reference): base(reference) @@ -28788,20 +28512,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"ciao\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "ciao", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public string Ciao() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IPublicInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28810,7 +28532,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IPublicInterface), fullyQualifiedName: \\"jsii-calc.IPublicInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IPublicInterface), fullyQualifiedName: "jsii-calc.IPublicInterface")] internal sealed class IPublicInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface { private IPublicInterfaceProxy(ByRefValue reference): base(reference) @@ -28820,20 +28542,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"bye\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "bye", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public string Bye() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGenerator.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28843,7 +28563,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IRandomNumberGenerator), fullyQualifiedName: \\"jsii-calc.IRandomNumberGenerator\\")] + [JsiiInterface(nativeType: typeof(IRandomNumberGenerator), fullyQualifiedName: "jsii-calc.IRandomNumberGenerator")] public interface IRandomNumberGenerator { /// Returns another random number. @@ -28851,17 +28571,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"next\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "next", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] double Next(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRandomNumberGeneratorProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28871,7 +28589,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IRandomNumberGenerator), fullyQualifiedName: \\"jsii-calc.IRandomNumberGenerator\\")] + [JsiiTypeProxy(nativeType: typeof(IRandomNumberGenerator), fullyQualifiedName: "jsii-calc.IRandomNumberGenerator")] internal sealed class IRandomNumberGeneratorProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IRandomNumberGenerator { private IRandomNumberGeneratorProxy(ByRefValue reference): base(reference) @@ -28883,20 +28601,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"next\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "next", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public double Next() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28906,26 +28622,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IReturnJsii976), fullyQualifiedName: \\"jsii-calc.IReturnJsii976\\")] + [JsiiInterface(nativeType: typeof(IReturnJsii976), fullyQualifiedName: "jsii-calc.IReturnJsii976")] public interface IReturnJsii976 { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}")] double Foo { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnJsii976Proxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28935,7 +28649,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IReturnJsii976), fullyQualifiedName: \\"jsii-calc.IReturnJsii976\\")] + [JsiiTypeProxy(nativeType: typeof(IReturnJsii976), fullyQualifiedName: "jsii-calc.IReturnJsii976")] internal sealed class IReturnJsii976Proxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IReturnJsii976 { private IReturnJsii976Proxy(ByRefValue reference): base(reference) @@ -28945,20 +28659,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}")] public double Foo { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumber.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -28967,13 +28679,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IReturnsNumber), fullyQualifiedName: \\"jsii-calc.IReturnsNumber\\")] + [JsiiInterface(nativeType: typeof(IReturnsNumber), fullyQualifiedName: "jsii-calc.IReturnsNumber")] public interface IReturnsNumber { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"numberProp\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Number\\\\\\"}\\")] + [JsiiProperty(name: "numberProp", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Number\\"}")] Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Number NumberProp { get; @@ -28981,17 +28693,15 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"obtainNumber\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IDoublable\\\\\\"}}\\")] + [JsiiMethod(name: "obtainNumber", returnsJson: "{\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.IDoublable\\"}}")] Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IDoublable ObtainNumber(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IReturnsNumberProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29000,7 +28710,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IReturnsNumber), fullyQualifiedName: \\"jsii-calc.IReturnsNumber\\")] + [JsiiTypeProxy(nativeType: typeof(IReturnsNumber), fullyQualifiedName: "jsii-calc.IReturnsNumber")] internal sealed class IReturnsNumberProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IReturnsNumber { private IReturnsNumberProxy(ByRefValue reference): base(reference) @@ -29010,7 +28720,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"numberProp\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Number\\\\\\"}\\")] + [JsiiProperty(name: "numberProp", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Number\\"}")] public Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Number NumberProp { get => GetInstanceProperty(); @@ -29019,20 +28729,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"obtainNumber\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IDoublable\\\\\\"}}\\")] + [JsiiMethod(name: "obtainNumber", returnsJson: "{\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.IDoublable\\"}}")] public Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IDoublable ObtainNumber() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IRootStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29040,19 +28748,19 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { /// This is here to check that we can pass a nested struct into a kwargs by specifying it as an in-line dictionary. /// - /// This is cheating with the (current) declared types, but this is the \\"more - /// idiomatic\\" way for Pythonists. + /// This is cheating with the (current) declared types, but this is the "more + /// idiomatic" way for Pythonists. /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IRootStruct), fullyQualifiedName: \\"jsii-calc.RootStruct\\")] + [JsiiInterface(nativeType: typeof(IRootStruct), fullyQualifiedName: "jsii-calc.RootStruct")] public interface IRootStruct { /// May not be empty. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"stringProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "stringProp", typeJson: "{\\"primitive\\":\\"string\\"}")] string StringProp { get; @@ -29061,7 +28769,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"nestedStruct\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.NestedStruct\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "nestedStruct", typeJson: "{\\"fqn\\":\\"jsii-calc.NestedStruct\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] Amazon.JSII.Tests.CalculatorNamespace.INestedStruct? NestedStruct { @@ -29072,13 +28780,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISecondLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29087,14 +28793,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(ISecondLevelStruct), fullyQualifiedName: \\"jsii-calc.SecondLevelStruct\\")] + [JsiiInterface(nativeType: typeof(ISecondLevelStruct), fullyQualifiedName: "jsii-calc.SecondLevelStruct")] public interface ISecondLevelStruct { /// It's long and required. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"deeperRequiredProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "deeperRequiredProp", typeJson: "{\\"primitive\\":\\"string\\"}")] string DeeperRequiredProp { get; @@ -29104,7 +28810,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"deeperOptionalProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "deeperOptionalProp", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? DeeperOptionalProp { @@ -29115,13 +28821,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISmellyStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29130,13 +28834,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(ISmellyStruct), fullyQualifiedName: \\"jsii-calc.SmellyStruct\\")] + [JsiiInterface(nativeType: typeof(ISmellyStruct), fullyQualifiedName: "jsii-calc.SmellyStruct")] public interface ISmellyStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] string Property { get; @@ -29145,29 +28849,27 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"yetAnoterOne\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "yetAnoterOne", typeJson: "{\\"primitive\\":\\"boolean\\"}")] bool YetAnoterOne { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - [JsiiInterface(nativeType: typeof(IStableInterface), fullyQualifiedName: \\"jsii-calc.IStableInterface\\")] + [JsiiInterface(nativeType: typeof(IStableInterface), fullyQualifiedName: "jsii-calc.IStableInterface")] public interface IStableInterface { - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] double? MutableProperty { @@ -29177,26 +28879,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } set { - throw new System.NotSupportedException(\\"'set' for 'MutableProperty' is not implemented\\"); + throw new System.NotSupportedException("'set' for 'MutableProperty' is not implemented"); } } - [JsiiMethod(name: \\"method\\")] + [JsiiMethod(name: "method")] void Method(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableInterfaceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - [JsiiTypeProxy(nativeType: typeof(IStableInterface), fullyQualifiedName: \\"jsii-calc.IStableInterface\\")] + [JsiiTypeProxy(nativeType: typeof(IStableInterface), fullyQualifiedName: "jsii-calc.IStableInterface")] internal sealed class IStableInterfaceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IStableInterface { private IStableInterfaceProxy(ByRefValue reference): base(reference) @@ -29204,49 +28904,45 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } [JsiiOptional] - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public double? MutableProperty { get => GetInstanceProperty(); set => SetInstanceProperty(value); } - [JsiiMethod(name: \\"method\\")] + [JsiiMethod(name: "method")] public void Method() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStableStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - [JsiiInterface(nativeType: typeof(IStableStruct), fullyQualifiedName: \\"jsii-calc.StableStruct\\")] + [JsiiInterface(nativeType: typeof(IStableStruct), fullyQualifiedName: "jsii-calc.StableStruct")] public interface IStableStruct { - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] string ReadonlyProperty { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructA.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29256,13 +28952,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IStructA), fullyQualifiedName: \\"jsii-calc.StructA\\")] + [JsiiInterface(nativeType: typeof(IStructA), fullyQualifiedName: "jsii-calc.StructA")] public interface IStructA { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"requiredString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "requiredString", typeJson: "{\\"primitive\\":\\"string\\"}")] string RequiredString { get; @@ -29271,7 +28967,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"optionalNumber\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalNumber", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] double? OptionalNumber { @@ -29284,7 +28980,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"optionalString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalString", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? OptionalString { @@ -29295,13 +28991,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructB.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29311,13 +29005,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IStructB), fullyQualifiedName: \\"jsii-calc.StructB\\")] + [JsiiInterface(nativeType: typeof(IStructB), fullyQualifiedName: "jsii-calc.StructB")] public interface IStructB { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"requiredString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "requiredString", typeJson: "{\\"primitive\\":\\"string\\"}")] string RequiredString { get; @@ -29326,7 +29020,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"optionalBoolean\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalBoolean", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] bool? OptionalBoolean { @@ -29339,7 +29033,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"optionalStructA\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructA\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalStructA", typeJson: "{\\"fqn\\":\\"jsii-calc.StructA\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] Amazon.JSII.Tests.CalculatorNamespace.IStructA? OptionalStructA { @@ -29350,13 +29044,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructParameterType.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29368,13 +29060,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IStructParameterType), fullyQualifiedName: \\"jsii-calc.StructParameterType\\")] + [JsiiInterface(nativeType: typeof(IStructParameterType), fullyQualifiedName: "jsii-calc.StructParameterType")] public interface IStructParameterType { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"scope\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "scope", typeJson: "{\\"primitive\\":\\"string\\"}")] string Scope { get; @@ -29383,7 +29075,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"props\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "props", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] bool? Props { @@ -29394,49 +29086,45 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegate.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// Verifies that a \\"pure\\" implementation of an interface works correctly. + /// Verifies that a "pure" implementation of an interface works correctly. /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IStructReturningDelegate), fullyQualifiedName: \\"jsii-calc.IStructReturningDelegate\\")] + [JsiiInterface(nativeType: typeof(IStructReturningDelegate), fullyQualifiedName: "jsii-calc.IStructReturningDelegate")] public interface IStructReturningDelegate { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"returnStruct\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructB\\\\\\"}}\\")] + [JsiiMethod(name: "returnStruct", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.StructB\\"}}")] Amazon.JSII.Tests.CalculatorNamespace.IStructB ReturnStruct(); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructReturningDelegateProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// Verifies that a \\"pure\\" implementation of an interface works correctly. + /// Verifies that a "pure" implementation of an interface works correctly. /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IStructReturningDelegate), fullyQualifiedName: \\"jsii-calc.IStructReturningDelegate\\")] + [JsiiTypeProxy(nativeType: typeof(IStructReturningDelegate), fullyQualifiedName: "jsii-calc.IStructReturningDelegate")] internal sealed class IStructReturningDelegateProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IStructReturningDelegate { private IStructReturningDelegateProxy(ByRefValue reference): base(reference) @@ -29446,20 +29134,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"returnStruct\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructB\\\\\\"}}\\")] + [JsiiMethod(name: "returnStruct", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.StructB\\"}}")] public Amazon.JSII.Tests.CalculatorNamespace.IStructB ReturnStruct() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IStructWithJavaReservedWords.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29468,13 +29154,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IStructWithJavaReservedWords), fullyQualifiedName: \\"jsii-calc.StructWithJavaReservedWords\\")] + [JsiiInterface(nativeType: typeof(IStructWithJavaReservedWords), fullyQualifiedName: "jsii-calc.StructWithJavaReservedWords")] public interface IStructWithJavaReservedWords { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"default\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "default", typeJson: "{\\"primitive\\":\\"string\\"}")] string Default { get; @@ -29483,7 +29169,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"assert\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "assert", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Assert { @@ -29496,7 +29182,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"result\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "result", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Result { @@ -29509,7 +29195,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"that\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "that", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? That { @@ -29520,13 +29206,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ISupportsNiceJavaBuilderProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29535,14 +29219,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(ISupportsNiceJavaBuilderProps), fullyQualifiedName: \\"jsii-calc.SupportsNiceJavaBuilderProps\\")] + [JsiiInterface(nativeType: typeof(ISupportsNiceJavaBuilderProps), fullyQualifiedName: "jsii-calc.SupportsNiceJavaBuilderProps")] public interface ISupportsNiceJavaBuilderProps { /// Some number, like 42. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"number\\"}")] double Bar { get; @@ -29554,7 +29238,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"id\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "id", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Id { @@ -29565,13 +29249,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ITopLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29580,14 +29262,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(ITopLevelStruct), fullyQualifiedName: \\"jsii-calc.TopLevelStruct\\")] + [JsiiInterface(nativeType: typeof(ITopLevelStruct), fullyQualifiedName: "jsii-calc.TopLevelStruct")] public interface ITopLevelStruct { /// This is a required field. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"required\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "required", typeJson: "{\\"primitive\\":\\"string\\"}")] string Required { get; @@ -29597,7 +29279,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"secondLevel\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.SecondLevelStruct\\\\\\"}]}}\\")] + [JsiiProperty(name: "secondLevel", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"number\\"},{\\"fqn\\":\\"jsii-calc.SecondLevelStruct\\"}]}}")] object SecondLevel { get; @@ -29607,7 +29289,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"optional\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optional", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Optional { @@ -29618,13 +29300,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IUnionProperties.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29633,13 +29313,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IUnionProperties), fullyQualifiedName: \\"jsii-calc.UnionProperties\\")] + [JsiiInterface(nativeType: typeof(IUnionProperties), fullyQualifiedName: "jsii-calc.UnionProperties")] public interface IUnionProperties { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AllTypes\\\\\\"}]}}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"string\\"},{\\"primitive\\":\\"number\\"},{\\"fqn\\":\\"jsii-calc.AllTypes\\"}]}}")] object Bar { get; @@ -29648,7 +29328,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}]}}\\", isOptional: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"string\\"},{\\"primitive\\":\\"number\\"}]}}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] object? Foo { @@ -29659,13 +29339,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementInternalInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29674,7 +29352,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementInternalInterface), fullyQualifiedName: \\"jsii-calc.ImplementInternalInterface\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementInternalInterface), fullyQualifiedName: "jsii-calc.ImplementInternalInterface")] public class ImplementInternalInterface : DeputyBase { /// @@ -29685,14 +29363,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ImplementInternalInterface(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ImplementInternalInterface(DeputyProps props): base(props) { @@ -29701,7 +29379,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "prop", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string Prop { get => GetInstanceProperty(); @@ -29709,13 +29387,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Implementation.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29724,7 +29400,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Implementation), fullyQualifiedName: \\"jsii-calc.Implementation\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Implementation), fullyQualifiedName: "jsii-calc.Implementation")] public class Implementation : DeputyBase { /// @@ -29735,14 +29411,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Implementation(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Implementation(DeputyProps props): base(props) { @@ -29751,20 +29427,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double Value { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternal.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29773,7 +29447,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternal), fullyQualifiedName: \\"jsii-calc.ImplementsInterfaceWithInternal\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternal), fullyQualifiedName: "jsii-calc.ImplementsInterfaceWithInternal")] public class ImplementsInterfaceWithInternal : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithInternal { /// @@ -29784,14 +29458,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ImplementsInterfaceWithInternal(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ImplementsInterfaceWithInternal(DeputyProps props): base(props) { @@ -29800,20 +29474,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"visible\\", isOverride: true)] + [JsiiMethod(name: "visible", isOverride: true)] public virtual void Visible() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternalSubclass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29822,7 +29494,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternalSubclass), fullyQualifiedName: \\"jsii-calc.ImplementsInterfaceWithInternalSubclass\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternalSubclass), fullyQualifiedName: "jsii-calc.ImplementsInterfaceWithInternalSubclass")] public class ImplementsInterfaceWithInternalSubclass : Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternal { /// @@ -29833,27 +29505,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ImplementsInterfaceWithInternalSubclass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ImplementsInterfaceWithInternalSubclass(DeputyProps props): base(props) { } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsPrivateInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29862,7 +29532,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsPrivateInterface), fullyQualifiedName: \\"jsii-calc.ImplementsPrivateInterface\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsPrivateInterface), fullyQualifiedName: "jsii-calc.ImplementsPrivateInterface")] public class ImplementsPrivateInterface : DeputyBase { /// @@ -29873,14 +29543,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ImplementsPrivateInterface(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ImplementsPrivateInterface(DeputyProps props): base(props) { @@ -29889,7 +29559,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"private\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "private", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string Private { get => GetInstanceProperty(); @@ -29897,13 +29567,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBase.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29914,27 +29582,27 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.ImplictBaseOfBase\\")] + [JsiiByValue(fqn: "jsii-calc.ImplictBaseOfBase")] public class ImplictBaseOfBase : Amazon.JSII.Tests.CalculatorNamespace.IImplictBaseOfBase { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"goo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "goo", typeJson: "{\\"primitive\\":\\"date\\"}", isOverride: true)] public System.DateTime Goo { get; set; } - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Bar { get; set; } - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-base-of-base.Very\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-base-of-base.Very\\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { get; @@ -29942,13 +29610,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplictBaseOfBaseProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -29957,7 +29623,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IImplictBaseOfBase), fullyQualifiedName: \\"jsii-calc.ImplictBaseOfBase\\")] + [JsiiTypeProxy(nativeType: typeof(IImplictBaseOfBase), fullyQualifiedName: "jsii-calc.ImplictBaseOfBase")] internal sealed class ImplictBaseOfBaseProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IImplictBaseOfBase { private ImplictBaseOfBaseProxy(ByRefValue reference): base(reference) @@ -29967,32 +29633,30 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"goo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}\\")] + [JsiiProperty(name: "goo", typeJson: "{\\"primitive\\":\\"date\\"}")] public System.DateTime Goo { get => GetInstanceProperty(); } - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Bar { get => GetInstanceProperty(); } - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-base-of-base.Very\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-base-of-base.Very\\"}")] public Amazon.JSII.Tests.CalculatorNamespace.BaseOfBaseNamespace.Very Foo { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InbetweenClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30001,7 +29665,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InbetweenClass), fullyQualifiedName: \\"jsii-calc.InbetweenClass\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InbetweenClass), fullyQualifiedName: "jsii-calc.InbetweenClass")] public class InbetweenClass : Amazon.JSII.Tests.CalculatorNamespace.PublicClass, Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface2 { /// @@ -30012,14 +29676,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected InbetweenClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected InbetweenClass(DeputyProps props): base(props) { @@ -30028,20 +29692,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"ciao\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "ciao", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public virtual string Ciao() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceCollections.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30053,18 +29715,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceCollections), fullyQualifiedName: \\"jsii-calc.InterfaceCollections\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceCollections), fullyQualifiedName: "jsii-calc.InterfaceCollections")] public class InterfaceCollections : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected InterfaceCollections(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected InterfaceCollections(DeputyProps props): base(props) { @@ -30073,7 +29735,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"listOfInterfaces\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBell\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}\\")] + [JsiiMethod(name: "listOfInterfaces", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"jsii-calc.IBell\\"},\\"kind\\":\\"array\\"}}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IBell[] ListOfInterfaces() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceCollections), new System.Type[]{}, new object[]{}); @@ -30082,7 +29744,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"listOfStructs\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructA\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}\\")] + [JsiiMethod(name: "listOfStructs", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"jsii-calc.StructA\\"},\\"kind\\":\\"array\\"}}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IStructA[] ListOfStructs() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceCollections), new System.Type[]{}, new object[]{}); @@ -30091,7 +29753,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"mapOfInterfaces\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IBell\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}\\")] + [JsiiMethod(name: "mapOfInterfaces", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"jsii-calc.IBell\\"},\\"kind\\":\\"map\\"}}}")] public static System.Collections.Generic.IDictionary MapOfInterfaces() { return InvokeStaticMethod>(typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceCollections), new System.Type[]{}, new object[]{}); @@ -30100,20 +29762,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"mapOfStructs\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructA\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}\\")] + [JsiiMethod(name: "mapOfStructs", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"jsii-calc.StructA\\"},\\"kind\\":\\"map\\"}}}")] public static System.Collections.Generic.IDictionary MapOfStructs() { return InvokeStaticMethod>(typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceCollections), new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Foo.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30122,7 +29782,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses.Foo), fullyQualifiedName: \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Foo\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses.Foo), fullyQualifiedName: "jsii-calc.InterfaceInNamespaceIncludesClasses.Foo")] public class Foo : DeputyBase { /// @@ -30133,14 +29793,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Foo(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Foo(DeputyProps props): base(props) { @@ -30150,7 +29810,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public virtual string? Bar { get => GetInstanceProperty(); @@ -30158,13 +29818,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Hello.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30175,13 +29833,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Hello\\")] + [JsiiByValue(fqn: "jsii-calc.InterfaceInNamespaceIncludesClasses.Hello")] public class Hello : Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses.IHello { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}", isOverride: true)] public double Foo { get; @@ -30189,13 +29847,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/HelloProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30204,7 +29860,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IHello), fullyQualifiedName: \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Hello\\")] + [JsiiTypeProxy(nativeType: typeof(IHello), fullyQualifiedName: "jsii-calc.InterfaceInNamespaceIncludesClasses.Hello")] internal sealed class HelloProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses.IHello { private HelloProxy(ByRefValue reference): base(reference) @@ -30214,20 +29870,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}")] public double Foo { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/IHello.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30236,26 +29890,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IHello), fullyQualifiedName: \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Hello\\")] + [JsiiInterface(nativeType: typeof(IHello), fullyQualifiedName: "jsii-calc.InterfaceInNamespaceIncludesClasses.Hello")] public interface IHello { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}")] double Foo { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/Hello.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30266,13 +29918,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterfac /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.InterfaceInNamespaceOnlyInterface.Hello\\")] + [JsiiByValue(fqn: "jsii-calc.InterfaceInNamespaceOnlyInterface.Hello")] public class Hello : Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterface.IHello { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}", isOverride: true)] public double Foo { get; @@ -30280,13 +29932,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterfac } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/HelloProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30295,7 +29945,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterfac /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IHello), fullyQualifiedName: \\"jsii-calc.InterfaceInNamespaceOnlyInterface.Hello\\")] + [JsiiTypeProxy(nativeType: typeof(IHello), fullyQualifiedName: "jsii-calc.InterfaceInNamespaceOnlyInterface.Hello")] internal sealed class HelloProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterface.IHello { private HelloProxy(ByRefValue reference): base(reference) @@ -30305,20 +29955,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterfac /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}")] public double Foo { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceOnlyInterface/IHello.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30327,26 +29975,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceOnlyInterfac /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IHello), fullyQualifiedName: \\"jsii-calc.InterfaceInNamespaceOnlyInterface.Hello\\")] + [JsiiInterface(nativeType: typeof(IHello), fullyQualifiedName: "jsii-calc.InterfaceInNamespaceOnlyInterface.Hello")] public interface IHello { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"number\\"}")] double Foo { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfacesMaker.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30356,18 +30002,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfacesMaker), fullyQualifiedName: \\"jsii-calc.InterfacesMaker\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfacesMaker), fullyQualifiedName: "jsii-calc.InterfacesMaker")] public class InterfacesMaker : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected InterfacesMaker(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected InterfacesMaker(DeputyProps props): base(props) { @@ -30376,20 +30022,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"makeInterfaces\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IDoublable\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"count\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "makeInterfaces", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.IDoublable\\"},\\"kind\\":\\"array\\"}}}", parametersJson: "[{\\"name\\":\\"count\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public static Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IDoublable[] MakeInterfaces(double count) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfacesMaker), new System.Type[]{typeof(double)}, new object[]{count}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Internal/DependencyResolution/Anchor.cs 1`] = ` -Object { - Symbol(file): "#pragma warning disable CS0672,CS0809,CS1591 +#pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace.Internal.DependencyResolution { @@ -30403,26 +30047,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Internal.DependencyResolution } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Isomorphism.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// Checks the \\"same instance\\" isomorphism is preserved within the constructor. + /// Checks the "same instance" isomorphism is preserved within the constructor. /// /// Create a subclass of this, and assert that this.myself() actually returns /// this from within the constructor. /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Isomorphism), fullyQualifiedName: \\"jsii-calc.Isomorphism\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Isomorphism), fullyQualifiedName: "jsii-calc.Isomorphism")] public abstract class Isomorphism : DeputyBase { /// @@ -30433,14 +30075,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Isomorphism(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Isomorphism(DeputyProps props): base(props) { @@ -30449,33 +30091,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"myself\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Isomorphism\\\\\\"}}\\")] + [JsiiMethod(name: "myself", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.Isomorphism\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.Isomorphism Myself() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IsomorphismProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// Checks the \\"same instance\\" isomorphism is preserved within the constructor. + /// Checks the "same instance" isomorphism is preserved within the constructor. /// /// Create a subclass of this, and assert that this.myself() actually returns /// this from within the constructor. /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Isomorphism), fullyQualifiedName: \\"jsii-calc.Isomorphism\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Isomorphism), fullyQualifiedName: "jsii-calc.Isomorphism")] internal sealed class IsomorphismProxy : Amazon.JSII.Tests.CalculatorNamespace.Isomorphism { private IsomorphismProxy(ByRefValue reference): base(reference) @@ -30483,13 +30123,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417Derived.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30498,7 +30136,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSII417Derived), fullyQualifiedName: \\"jsii-calc.JSII417Derived\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"property\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSII417Derived), fullyQualifiedName: "jsii-calc.JSII417Derived", parametersJson: "[{\\"name\\":\\"property\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public class JSII417Derived : Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase { /// @@ -30509,14 +30147,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSII417Derived(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSII417Derived(DeputyProps props): base(props) { @@ -30525,7 +30163,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"bar\\")] + [JsiiMethod(name: "bar")] public virtual void Bar() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30534,7 +30172,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"baz\\")] + [JsiiMethod(name: "baz")] public virtual void Baz() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30543,20 +30181,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] protected virtual string Property { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417PublicBaseOfBase.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30565,7 +30201,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase), fullyQualifiedName: \\"jsii-calc.JSII417PublicBaseOfBase\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase), fullyQualifiedName: "jsii-calc.JSII417PublicBaseOfBase")] public class JSII417PublicBaseOfBase : DeputyBase { /// @@ -30576,14 +30212,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSII417PublicBaseOfBase(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSII417PublicBaseOfBase(DeputyProps props): base(props) { @@ -30592,7 +30228,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"makeInstance\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.JSII417PublicBaseOfBase\\\\\\"}}\\")] + [JsiiMethod(name: "makeInstance", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.JSII417PublicBaseOfBase\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase MakeInstance() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase), new System.Type[]{}, new object[]{}); @@ -30601,7 +30237,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"foo\\")] + [JsiiMethod(name: "foo")] public virtual void Foo() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30610,20 +30246,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"hasRoot\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "hasRoot", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public virtual bool HasRoot { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralForInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30632,7 +30266,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralForInterface), fullyQualifiedName: \\"jsii-calc.JSObjectLiteralForInterface\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralForInterface), fullyQualifiedName: "jsii-calc.JSObjectLiteralForInterface")] public class JSObjectLiteralForInterface : DeputyBase { /// @@ -30643,14 +30277,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSObjectLiteralForInterface(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSObjectLiteralForInterface(DeputyProps props): base(props) { @@ -30659,7 +30293,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"giveMeFriendly\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"}}\\")] + [JsiiMethod(name: "giveMeFriendly", returnsJson: "{\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly GiveMeFriendly() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -30668,20 +30302,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"giveMeFriendlyGenerator\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IFriendlyRandomGenerator\\\\\\"}}\\")] + [JsiiMethod(name: "giveMeFriendlyGenerator", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IFriendlyRandomGenerator\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.IFriendlyRandomGenerator GiveMeFriendlyGenerator() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNative.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30690,7 +30322,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralToNative), fullyQualifiedName: \\"jsii-calc.JSObjectLiteralToNative\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralToNative), fullyQualifiedName: "jsii-calc.JSObjectLiteralToNative")] public class JSObjectLiteralToNative : DeputyBase { /// @@ -30701,14 +30333,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSObjectLiteralToNative(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSObjectLiteralToNative(DeputyProps props): base(props) { @@ -30717,20 +30349,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"returnLiteral\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.JSObjectLiteralToNativeClass\\\\\\"}}\\")] + [JsiiMethod(name: "returnLiteral", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.JSObjectLiteralToNativeClass\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralToNativeClass ReturnLiteral() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNativeClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30739,7 +30369,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralToNativeClass), fullyQualifiedName: \\"jsii-calc.JSObjectLiteralToNativeClass\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralToNativeClass), fullyQualifiedName: "jsii-calc.JSObjectLiteralToNativeClass")] public class JSObjectLiteralToNativeClass : DeputyBase { /// @@ -30750,14 +30380,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSObjectLiteralToNativeClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JSObjectLiteralToNativeClass(DeputyProps props): base(props) { @@ -30766,7 +30396,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"propA\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "propA", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string PropA { get => GetInstanceProperty(); @@ -30776,7 +30406,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"propB\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "propB", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double PropB { get => GetInstanceProperty(); @@ -30784,13 +30414,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JavaReservedWords.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -30799,7 +30427,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JavaReservedWords), fullyQualifiedName: \\"jsii-calc.JavaReservedWords\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JavaReservedWords), fullyQualifiedName: "jsii-calc.JavaReservedWords")] public class JavaReservedWords : DeputyBase { /// @@ -30810,14 +30438,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JavaReservedWords(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JavaReservedWords(DeputyProps props): base(props) { @@ -30826,7 +30454,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"abstract\\")] + [JsiiMethod(name: "abstract")] public virtual void Abstract() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30835,7 +30463,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"assert\\")] + [JsiiMethod(name: "assert")] public virtual void Assert() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30844,7 +30472,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"boolean\\")] + [JsiiMethod(name: "boolean")] public virtual void Boolean() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30853,7 +30481,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"break\\")] + [JsiiMethod(name: "break")] public virtual void Break() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30862,7 +30490,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"byte\\")] + [JsiiMethod(name: "byte")] public virtual void Byte() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30871,7 +30499,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"case\\")] + [JsiiMethod(name: "case")] public virtual void Case() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30880,7 +30508,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"catch\\")] + [JsiiMethod(name: "catch")] public virtual void Catch() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30889,7 +30517,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"char\\")] + [JsiiMethod(name: "char")] public virtual void Char() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30898,7 +30526,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"class\\")] + [JsiiMethod(name: "class")] public virtual void Class() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30907,7 +30535,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"const\\")] + [JsiiMethod(name: "const")] public virtual void Const() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30916,7 +30544,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"continue\\")] + [JsiiMethod(name: "continue")] public virtual void Continue() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30925,7 +30553,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"default\\")] + [JsiiMethod(name: "default")] public virtual void Default() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30934,7 +30562,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"do\\")] + [JsiiMethod(name: "do")] public virtual void Do() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30943,7 +30571,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"double\\")] + [JsiiMethod(name: "double")] public virtual void Double() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30952,7 +30580,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"else\\")] + [JsiiMethod(name: "else")] public virtual void Else() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30961,7 +30589,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"enum\\")] + [JsiiMethod(name: "enum")] public virtual void Enum() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30970,7 +30598,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"extends\\")] + [JsiiMethod(name: "extends")] public virtual void Extends() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30979,7 +30607,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"false\\")] + [JsiiMethod(name: "false")] public virtual void False() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30988,7 +30616,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"final\\")] + [JsiiMethod(name: "final")] public virtual void Final() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -30997,7 +30625,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"finally\\")] + [JsiiMethod(name: "finally")] public virtual void Finally() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31006,7 +30634,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"float\\")] + [JsiiMethod(name: "float")] public virtual void Float() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31015,7 +30643,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"for\\")] + [JsiiMethod(name: "for")] public virtual void For() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31024,7 +30652,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"goto\\")] + [JsiiMethod(name: "goto")] public virtual void Goto() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31033,7 +30661,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"if\\")] + [JsiiMethod(name: "if")] public virtual void If() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31042,7 +30670,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"implements\\")] + [JsiiMethod(name: "implements")] public virtual void Implements() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31051,7 +30679,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"import\\")] + [JsiiMethod(name: "import")] public virtual void Import() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31060,7 +30688,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"instanceof\\")] + [JsiiMethod(name: "instanceof")] public virtual void Instanceof() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31069,7 +30697,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"int\\")] + [JsiiMethod(name: "int")] public virtual void Int() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31078,7 +30706,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"interface\\")] + [JsiiMethod(name: "interface")] public virtual void Interface() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31087,7 +30715,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"long\\")] + [JsiiMethod(name: "long")] public virtual void Long() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31096,7 +30724,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"native\\")] + [JsiiMethod(name: "native")] public virtual void Native() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31105,7 +30733,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"new\\")] + [JsiiMethod(name: "new")] public virtual void New() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31114,7 +30742,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"null\\")] + [JsiiMethod(name: "null")] public virtual void Null() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31123,7 +30751,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"package\\")] + [JsiiMethod(name: "package")] public virtual void Package() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31132,7 +30760,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"private\\")] + [JsiiMethod(name: "private")] public virtual void Private() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31141,7 +30769,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"protected\\")] + [JsiiMethod(name: "protected")] public virtual void Protected() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31150,7 +30778,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"public\\")] + [JsiiMethod(name: "public")] public virtual void Public() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31159,7 +30787,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"return\\")] + [JsiiMethod(name: "return")] public virtual void Return() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31168,7 +30796,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"short\\")] + [JsiiMethod(name: "short")] public virtual void Short() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31177,7 +30805,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"static\\")] + [JsiiMethod(name: "static")] public virtual void Static() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31186,7 +30814,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"strictfp\\")] + [JsiiMethod(name: "strictfp")] public virtual void Strictfp() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31195,7 +30823,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"super\\")] + [JsiiMethod(name: "super")] public virtual void Super() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31204,7 +30832,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"switch\\")] + [JsiiMethod(name: "switch")] public virtual void Switch() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31213,7 +30841,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"synchronized\\")] + [JsiiMethod(name: "synchronized")] public virtual void Synchronized() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31222,7 +30850,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"this\\")] + [JsiiMethod(name: "this")] public virtual void This() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31231,7 +30859,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"throw\\")] + [JsiiMethod(name: "throw")] public virtual void Throw() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31240,7 +30868,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"throws\\")] + [JsiiMethod(name: "throws")] public virtual void Throws() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31249,7 +30877,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"transient\\")] + [JsiiMethod(name: "transient")] public virtual void Transient() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31258,7 +30886,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"true\\")] + [JsiiMethod(name: "true")] public virtual void True() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31267,7 +30895,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"try\\")] + [JsiiMethod(name: "try")] public virtual void Try() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31276,7 +30904,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"void\\")] + [JsiiMethod(name: "void")] public virtual void Void() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31285,7 +30913,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"volatile\\")] + [JsiiMethod(name: "volatile")] public virtual void Volatile() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -31294,7 +30922,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"while\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "while", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string While { get => GetInstanceProperty(); @@ -31302,13 +30930,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii487Derived.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -31317,7 +30943,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Jsii487Derived), fullyQualifiedName: \\"jsii-calc.Jsii487Derived\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Jsii487Derived), fullyQualifiedName: "jsii-calc.Jsii487Derived")] public class Jsii487Derived : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJsii487External2, Amazon.JSII.Tests.CalculatorNamespace.IJsii487External { /// @@ -31328,27 +30954,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Jsii487Derived(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Jsii487Derived(DeputyProps props): base(props) { } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii496Derived.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -31357,7 +30981,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Jsii496Derived), fullyQualifiedName: \\"jsii-calc.Jsii496Derived\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Jsii496Derived), fullyQualifiedName: "jsii-calc.Jsii496Derived")] public class Jsii496Derived : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJsii496 { /// @@ -31368,27 +30992,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Jsii496Derived(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Jsii496Derived(DeputyProps props): base(props) { } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsiiAgent_.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -31398,7 +31020,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JsiiAgent_), fullyQualifiedName: \\"jsii-calc.JsiiAgent\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JsiiAgent_), fullyQualifiedName: "jsii-calc.JsiiAgent")] public class JsiiAgent_ : DeputyBase { /// @@ -31409,14 +31031,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JsiiAgent_(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JsiiAgent_(DeputyProps props): base(props) { @@ -31427,20 +31049,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"jsiiAgent\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "jsiiAgent", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public static string? JsiiAgent { get => GetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsiiAgent_)); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsonFormatter.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -31452,18 +31072,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// See: https://github.com/aws/aws-cdk/issues/5066 /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), fullyQualifiedName: \\"jsii-calc.JsonFormatter\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), fullyQualifiedName: "jsii-calc.JsonFormatter")] public class JsonFormatter : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JsonFormatter(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected JsonFormatter(DeputyProps props): base(props) { @@ -31472,7 +31092,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyArray\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyArray", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyArray() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31481,7 +31101,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyBooleanFalse\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyBooleanFalse", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyBooleanFalse() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31490,7 +31110,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyBooleanTrue\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyBooleanTrue", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyBooleanTrue() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31499,7 +31119,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyDate\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyDate", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyDate() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31508,7 +31128,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyEmptyString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyEmptyString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyEmptyString() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31517,7 +31137,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyFunction\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyFunction", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyFunction() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31526,7 +31146,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyHash\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyHash", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyHash() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31535,7 +31155,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyNull\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyNull", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyNull() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31544,7 +31164,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyNumber\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyNumber", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyNumber() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31553,7 +31173,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyRef\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyRef", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyRef() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31562,7 +31182,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyString() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31571,7 +31191,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyUndefined\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyUndefined", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyUndefined() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31580,7 +31200,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"anyZero\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "anyZero", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object AnyZero() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{}, new object[]{}); @@ -31589,20 +31209,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"stringify\\", returnsJson: \\"{\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}]\\")] + [JsiiMethod(name: "stringify", returnsJson: "{\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"value\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"any\\"}}]")] public static string? Stringify(object? @value = null) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.JsonFormatter), new System.Type[]{typeof(object)}, new object?[]{@value}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServiceProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -31612,7 +31230,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.LoadBalancedFargateServiceProps\\")] + [JsiiByValue(fqn: "jsii-calc.LoadBalancedFargateServiceProps")] public class LoadBalancedFargateServiceProps : Amazon.JSII.Tests.CalculatorNamespace.ILoadBalancedFargateServiceProps { /// The container port of the application load balancer attached to your Fargate service. @@ -31624,7 +31242,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"containerPort\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "containerPort", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true, isOverride: true)] public double? ContainerPort { get; @@ -31647,7 +31265,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"cpu\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "cpu", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Cpu { get; @@ -31676,7 +31294,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"memoryMiB\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "memoryMiB", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? MemoryMiB { get; @@ -31690,7 +31308,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"publicLoadBalancer\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "publicLoadBalancer", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true, isOverride: true)] public bool? PublicLoadBalancer { get; @@ -31704,7 +31322,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"publicTasks\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "publicTasks", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true, isOverride: true)] public bool? PublicTasks { get; @@ -31712,13 +31330,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/LoadBalancedFargateServicePropsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -31728,7 +31344,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(ILoadBalancedFargateServiceProps), fullyQualifiedName: \\"jsii-calc.LoadBalancedFargateServiceProps\\")] + [JsiiTypeProxy(nativeType: typeof(ILoadBalancedFargateServiceProps), fullyQualifiedName: "jsii-calc.LoadBalancedFargateServiceProps")] internal sealed class LoadBalancedFargateServicePropsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.ILoadBalancedFargateServiceProps { private LoadBalancedFargateServicePropsProxy(ByRefValue reference): base(reference) @@ -31744,7 +31360,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"containerPort\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "containerPort", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public double? ContainerPort { get => GetInstanceProperty(); @@ -31766,7 +31382,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"cpu\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "cpu", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Cpu { get => GetInstanceProperty(); @@ -31794,7 +31410,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"memoryMiB\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "memoryMiB", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? MemoryMiB { get => GetInstanceProperty(); @@ -31807,7 +31423,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"publicLoadBalancer\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "publicLoadBalancer", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] public bool? PublicLoadBalancer { get => GetInstanceProperty(); @@ -31820,20 +31436,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"publicTasks\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "publicTasks", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] public bool? PublicTasks { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/MethodNamedProperty.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -31842,7 +31456,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.MethodNamedProperty), fullyQualifiedName: \\"jsii-calc.MethodNamedProperty\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.MethodNamedProperty), fullyQualifiedName: "jsii-calc.MethodNamedProperty")] public class MethodNamedProperty : DeputyBase { /// @@ -31853,14 +31467,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected MethodNamedProperty(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected MethodNamedProperty(DeputyProps props): base(props) { @@ -31869,7 +31483,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"property\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "property", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string Property() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -31878,35 +31492,33 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"elite\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "elite", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double Elite { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Multiply.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// The \\"*\\" binary operation. + /// The "*" binary operation. /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Multiply), fullyQualifiedName: \\"jsii-calc.Multiply\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"Left-hand side operand.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"lhs\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}},{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"Right-hand side operand.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"rhs\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Multiply), fullyQualifiedName: "jsii-calc.Multiply", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"Left-hand side operand.\\"},\\"name\\":\\"lhs\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}},{\\"docs\\":{\\"summary\\":\\"Right-hand side operand.\\"},\\"name\\":\\"rhs\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}}]")] public class Multiply : Amazon.JSII.Tests.CalculatorNamespace.BinaryOperation, Amazon.JSII.Tests.CalculatorNamespace.IFriendlier, Amazon.JSII.Tests.CalculatorNamespace.IRandomNumberGenerator { /// Creates a BinaryOperation. - /// Left-hand side operand. - /// Right-hand side operand. + /// Left-hand side operand. + /// Right-hand side operand. /// /// Stability: Experimental /// @@ -31915,14 +31527,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Multiply(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Multiply(DeputyProps props): base(props) { @@ -31932,7 +31544,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"farewell\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "farewell", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public virtual string Farewell() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -31942,7 +31554,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"goodbye\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "goodbye", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public virtual string Goodbye() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -31952,7 +31564,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"next\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "next", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", isOverride: true)] public virtual double Next() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -31962,7 +31574,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"toString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "toString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public override string ToString() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -31972,20 +31584,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] public override double Value { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NamespaceDoc.cs 1`] = ` -Object { - Symbol(file): "#pragma warning disable CS0672,CS0809,CS1591 +#pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { @@ -32015,7 +31625,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] @@ -32023,23 +31633,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Negate.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// The negation operation (\\"-value\\"). + /// The negation operation ("-value"). /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Negate), fullyQualifiedName: \\"jsii-calc.Negate\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"operand\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Negate), fullyQualifiedName: "jsii-calc.Negate", parametersJson: "[{\\"name\\":\\"operand\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}}]")] public class Negate : Amazon.JSII.Tests.CalculatorNamespace.UnaryOperation, Amazon.JSII.Tests.CalculatorNamespace.IFriendlier { /// @@ -32050,14 +31658,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Negate(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Negate(DeputyProps props): base(props) { @@ -32067,7 +31675,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"farewell\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "farewell", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public virtual string Farewell() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -32077,7 +31685,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"goodbye\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "goodbye", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public virtual string Goodbye() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -32087,7 +31695,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hello\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "hello", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public virtual string Hello() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -32097,7 +31705,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"toString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "toString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] public override string ToString() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -32107,20 +31715,58 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] public override double Value { get => GetInstanceProperty(); } } } -", + +`; + +exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedClassInstance.cs 1`] = ` +using Amazon.JSII.Runtime.Deputy; + +#pragma warning disable CS0672,CS0809,CS1591 + +namespace Amazon.JSII.Tests.CalculatorNamespace +{ + /// + /// Stability: Experimental + /// + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NestedClassInstance), fullyQualifiedName: "jsii-calc.NestedClassInstance")] + public class NestedClassInstance : DeputyBase + { + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + protected NestedClassInstance(ByRefValue reference): base(reference) + { + } + + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + protected NestedClassInstance(DeputyProps props): base(props) + { + } + + /// + /// Stability: Experimental + /// + [JsiiMethod(name: "makeInstance", returnsJson: "{\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.submodule.NestingClass.NestedClass\\"}}")] + public static Amazon.JSII.Tests.CustomSubmoduleName.NestingClass.NestedClass MakeInstance() + { + return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.NestedClassInstance), new System.Type[]{}, new object[]{}); + } + } } + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32131,14 +31777,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.NestedStruct\\")] + [JsiiByValue(fqn: "jsii-calc.NestedStruct")] public class NestedStruct : Amazon.JSII.Tests.CalculatorNamespace.INestedStruct { /// When provided, must be > 0. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"numberProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "numberProp", typeJson: "{\\"primitive\\":\\"number\\"}", isOverride: true)] public double NumberProp { get; @@ -32146,13 +31792,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NestedStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32161,7 +31805,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(INestedStruct), fullyQualifiedName: \\"jsii-calc.NestedStruct\\")] + [JsiiTypeProxy(nativeType: typeof(INestedStruct), fullyQualifiedName: "jsii-calc.NestedStruct")] internal sealed class NestedStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.INestedStruct { private NestedStructProxy(ByRefValue reference): base(reference) @@ -32172,20 +31816,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"numberProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "numberProp", typeJson: "{\\"primitive\\":\\"number\\"}")] public double NumberProp { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NodeStandardLibrary.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32195,7 +31837,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NodeStandardLibrary), fullyQualifiedName: \\"jsii-calc.NodeStandardLibrary\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NodeStandardLibrary), fullyQualifiedName: "jsii-calc.NodeStandardLibrary")] public class NodeStandardLibrary : DeputyBase { /// @@ -32206,80 +31848,78 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected NodeStandardLibrary(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected NodeStandardLibrary(DeputyProps props): base(props) { } - /// Uses node.js \\"crypto\\" module to calculate sha256 of a string. - /// \\"6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50\\" + /// Uses node.js "crypto" module to calculate sha256 of a string. + /// "6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50" /// /// Stability: Experimental /// - [JsiiMethod(name: \\"cryptoSha256\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "cryptoSha256", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string CryptoSha256() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } /// Reads a local resource file (resource.txt) asynchronously. - /// \\"Hello, resource!\\" + /// "Hello, resource!" /// /// Stability: Experimental /// - [JsiiMethod(name: \\"fsReadFile\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isAsync: true)] + [JsiiMethod(name: "fsReadFile", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isAsync: true)] public virtual string FsReadFile() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } /// Sync version of fsReadFile. - /// \\"Hello, resource! SYNC!\\" + /// "Hello, resource! SYNC!" /// /// Stability: Experimental /// - [JsiiMethod(name: \\"fsReadFileSync\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "fsReadFileSync", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string FsReadFileSync() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } - /// Returns the current os.platform() from the \\"os\\" node module. + /// Returns the current os.platform() from the "os" node module. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"osPlatform\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "osPlatform", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string OsPlatform { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefined.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// jsii#282, aws-cdk#157: null should be treated as \\"undefined\\". + /// jsii#282, aws-cdk#157: null should be treated as "undefined". /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NullShouldBeTreatedAsUndefined), fullyQualifiedName: \\"jsii-calc.NullShouldBeTreatedAsUndefined\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"_param1\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"optional\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NullShouldBeTreatedAsUndefined), fullyQualifiedName: "jsii-calc.NullShouldBeTreatedAsUndefined", parametersJson: "[{\\"name\\":\\"_param1\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"optional\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"any\\"}}]")] public class NullShouldBeTreatedAsUndefined : DeputyBase { /// @@ -32290,14 +31930,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected NullShouldBeTreatedAsUndefined(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected NullShouldBeTreatedAsUndefined(DeputyProps props): base(props) { @@ -32306,7 +31946,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"giveMeUndefined\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}]\\")] + [JsiiMethod(name: "giveMeUndefined", parametersJson: "[{\\"name\\":\\"value\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"any\\"}}]")] public virtual void GiveMeUndefined(object? @value = null) { InvokeInstanceVoidMethod(new System.Type[]{typeof(object)}, new object?[]{@value}); @@ -32315,7 +31955,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"giveMeUndefinedInsideAnObject\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"input\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\\\\\"}}]\\")] + [JsiiMethod(name: "giveMeUndefinedInsideAnObject", parametersJson: "[{\\"name\\":\\"input\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\"}}]")] public virtual void GiveMeUndefinedInsideAnObject(Amazon.JSII.Tests.CalculatorNamespace.INullShouldBeTreatedAsUndefinedData input) { InvokeInstanceVoidMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.INullShouldBeTreatedAsUndefinedData)}, new object[]{input}); @@ -32324,7 +31964,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"verifyPropertyIsUndefined\\")] + [JsiiMethod(name: "verifyPropertyIsUndefined")] public virtual void VerifyPropertyIsUndefined() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -32334,7 +31974,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"changeMeToUndefined\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "changeMeToUndefined", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public virtual string? ChangeMeToUndefined { get => GetInstanceProperty(); @@ -32342,13 +31982,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedData.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32359,13 +31997,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\")] + [JsiiByValue(fqn: "jsii-calc.NullShouldBeTreatedAsUndefinedData")] public class NullShouldBeTreatedAsUndefinedData : Amazon.JSII.Tests.CalculatorNamespace.INullShouldBeTreatedAsUndefinedData { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"arrayWithThreeElementsAndUndefinedAsSecondArgument\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\", isOverride: true)] + [JsiiProperty(name: "arrayWithThreeElementsAndUndefinedAsSecondArgument", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"array\\"}}", isOverride: true)] public object[] ArrayWithThreeElementsAndUndefinedAsSecondArgument { get; @@ -32376,7 +32014,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"thisShouldBeUndefined\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "thisShouldBeUndefined", typeJson: "{\\"primitive\\":\\"any\\"}", isOptional: true, isOverride: true)] public object? ThisShouldBeUndefined { get; @@ -32384,13 +32022,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NullShouldBeTreatedAsUndefinedDataProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32399,7 +32035,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(INullShouldBeTreatedAsUndefinedData), fullyQualifiedName: \\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\")] + [JsiiTypeProxy(nativeType: typeof(INullShouldBeTreatedAsUndefinedData), fullyQualifiedName: "jsii-calc.NullShouldBeTreatedAsUndefinedData")] internal sealed class NullShouldBeTreatedAsUndefinedDataProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.INullShouldBeTreatedAsUndefinedData { private NullShouldBeTreatedAsUndefinedDataProxy(ByRefValue reference): base(reference) @@ -32409,7 +32045,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"arrayWithThreeElementsAndUndefinedAsSecondArgument\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "arrayWithThreeElementsAndUndefinedAsSecondArgument", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"array\\"}}")] public object[] ArrayWithThreeElementsAndUndefinedAsSecondArgument { get => GetInstanceProperty(); @@ -32419,20 +32055,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"thisShouldBeUndefined\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "thisShouldBeUndefined", typeJson: "{\\"primitive\\":\\"any\\"}", isOptional: true)] public object? ThisShouldBeUndefined { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NumberGenerator.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32442,7 +32076,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NumberGenerator), fullyQualifiedName: \\"jsii-calc.NumberGenerator\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"generator\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IRandomNumberGenerator\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NumberGenerator), fullyQualifiedName: "jsii-calc.NumberGenerator", parametersJson: "[{\\"name\\":\\"generator\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IRandomNumberGenerator\\"}}]")] public class NumberGenerator : DeputyBase { /// @@ -32453,14 +32087,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected NumberGenerator(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected NumberGenerator(DeputyProps props): base(props) { @@ -32469,7 +32103,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"isSameGenerator\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"gen\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IRandomNumberGenerator\\\\\\"}}]\\")] + [JsiiMethod(name: "isSameGenerator", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"gen\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IRandomNumberGenerator\\"}}]")] public virtual bool IsSameGenerator(Amazon.JSII.Tests.CalculatorNamespace.IRandomNumberGenerator gen) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IRandomNumberGenerator)}, new object[]{gen}); @@ -32478,7 +32112,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"nextTimes100\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "nextTimes100", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public virtual double NextTimes100() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -32487,7 +32121,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"generator\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IRandomNumberGenerator\\\\\\"}\\")] + [JsiiProperty(name: "generator", typeJson: "{\\"fqn\\":\\"jsii-calc.IRandomNumberGenerator\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.IRandomNumberGenerator Generator { get => GetInstanceProperty(); @@ -32495,13 +32129,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectRefsInCollections.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32511,7 +32143,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ObjectRefsInCollections), fullyQualifiedName: \\"jsii-calc.ObjectRefsInCollections\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ObjectRefsInCollections), fullyQualifiedName: "jsii-calc.ObjectRefsInCollections")] public class ObjectRefsInCollections : DeputyBase { /// @@ -32522,14 +32154,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ObjectRefsInCollections(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ObjectRefsInCollections(DeputyProps props): base(props) { @@ -32539,7 +32171,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"sumFromArray\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"values\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}]\\")] + [JsiiMethod(name: "sumFromArray", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"values\\",\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"},\\"kind\\":\\"array\\"}}}]")] public virtual double SumFromArray(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_[] values) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_[])}, new object[]{values}); @@ -32549,20 +32181,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"sumFromMap\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"values\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}]\\")] + [JsiiMethod(name: "sumFromMap", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"values\\",\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"},\\"kind\\":\\"map\\"}}}]")] public virtual double SumFromMap(System.Collections.Generic.IDictionary values) { return InvokeInstanceMethod(new System.Type[]{typeof(System.Collections.Generic.IDictionary)}, new object[]{values}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectWithPropertyProvider.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32571,18 +32201,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ObjectWithPropertyProvider), fullyQualifiedName: \\"jsii-calc.ObjectWithPropertyProvider\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ObjectWithPropertyProvider), fullyQualifiedName: "jsii-calc.ObjectWithPropertyProvider")] public class ObjectWithPropertyProvider : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ObjectWithPropertyProvider(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ObjectWithPropertyProvider(DeputyProps props): base(props) { @@ -32591,20 +32221,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"provide\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IObjectWithProperty\\\\\\"}}\\")] + [JsiiMethod(name: "provide", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IObjectWithProperty\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IObjectWithProperty Provide() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.ObjectWithPropertyProvider), new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Old.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32614,8 +32242,8 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Old), fullyQualifiedName: \\"jsii-calc.Old\\")] - [System.Obsolete(\\"Use the new class\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Old), fullyQualifiedName: "jsii-calc.Old")] + [System.Obsolete("Use the new class")] public class Old : DeputyBase { /// @@ -32626,14 +32254,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Old(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Old(DeputyProps props): base(props) { @@ -32643,7 +32271,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"doAThing\\")] + [JsiiMethod(name: "doAThing")] [System.Obsolete()] public virtual void DoAThing() { @@ -32651,13 +32279,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalArgumentInvoker.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32666,7 +32292,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OptionalArgumentInvoker), fullyQualifiedName: \\"jsii-calc.OptionalArgumentInvoker\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"delegate\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IInterfaceWithOptionalMethodArguments\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OptionalArgumentInvoker), fullyQualifiedName: "jsii-calc.OptionalArgumentInvoker", parametersJson: "[{\\"name\\":\\"delegate\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IInterfaceWithOptionalMethodArguments\\"}}]")] public class OptionalArgumentInvoker : DeputyBase { /// @@ -32677,14 +32303,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OptionalArgumentInvoker(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OptionalArgumentInvoker(DeputyProps props): base(props) { @@ -32693,7 +32319,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"invokeWithOptional\\")] + [JsiiMethod(name: "invokeWithOptional")] public virtual void InvokeWithOptional() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -32702,20 +32328,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"invokeWithoutOptional\\")] + [JsiiMethod(name: "invokeWithoutOptional")] public virtual void InvokeWithoutOptional() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalConstructorArgument.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32724,7 +32348,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OptionalConstructorArgument), fullyQualifiedName: \\"jsii-calc.OptionalConstructorArgument\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"arg1\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg2\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg3\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OptionalConstructorArgument), fullyQualifiedName: "jsii-calc.OptionalConstructorArgument", parametersJson: "[{\\"name\\":\\"arg1\\",\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"name\\":\\"arg2\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"arg3\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"date\\"}}]")] public class OptionalConstructorArgument : DeputyBase { /// @@ -32735,14 +32359,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OptionalConstructorArgument(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OptionalConstructorArgument(DeputyProps props): base(props) { @@ -32751,7 +32375,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"arg1\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "arg1", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double Arg1 { get => GetInstanceProperty(); @@ -32760,7 +32384,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"arg2\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "arg2", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string Arg2 { get => GetInstanceProperty(); @@ -32770,20 +32394,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"arg3\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "arg3", typeJson: "{\\"primitive\\":\\"date\\"}", isOptional: true)] public virtual System.DateTime? Arg3 { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32792,14 +32414,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.OptionalStruct\\")] + [JsiiByValue(fqn: "jsii-calc.OptionalStruct")] public class OptionalStruct : Amazon.JSII.Tests.CalculatorNamespace.IOptionalStruct { /// /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"field\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "field", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Field { get; @@ -32807,13 +32429,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructConsumer.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32822,7 +32442,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OptionalStructConsumer), fullyQualifiedName: \\"jsii-calc.OptionalStructConsumer\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"optionalStruct\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.OptionalStruct\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OptionalStructConsumer), fullyQualifiedName: "jsii-calc.OptionalStructConsumer", parametersJson: "[{\\"name\\":\\"optionalStruct\\",\\"optional\\":true,\\"type\\":{\\"fqn\\":\\"jsii-calc.OptionalStruct\\"}}]")] public class OptionalStructConsumer : DeputyBase { /// @@ -32833,14 +32453,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OptionalStructConsumer(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OptionalStructConsumer(DeputyProps props): base(props) { @@ -32849,7 +32469,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"parameterWasUndefined\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "parameterWasUndefined", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public virtual bool ParameterWasUndefined { get => GetInstanceProperty(); @@ -32859,20 +32479,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"fieldValue\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "fieldValue", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public virtual string? FieldValue { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OptionalStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32881,7 +32499,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IOptionalStruct), fullyQualifiedName: \\"jsii-calc.OptionalStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IOptionalStruct), fullyQualifiedName: "jsii-calc.OptionalStruct")] internal sealed class OptionalStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IOptionalStruct { private OptionalStructProxy(ByRefValue reference): base(reference) @@ -32892,20 +32510,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"field\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "field", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Field { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverridableProtectedMember.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -32916,7 +32532,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// See: https://github.com/aws/jsii/issues/903 /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OverridableProtectedMember), fullyQualifiedName: \\"jsii-calc.OverridableProtectedMember\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OverridableProtectedMember), fullyQualifiedName: "jsii-calc.OverridableProtectedMember")] public class OverridableProtectedMember : DeputyBase { /// @@ -32927,14 +32543,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OverridableProtectedMember(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OverridableProtectedMember(DeputyProps props): base(props) { @@ -32943,7 +32559,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"overrideMe\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "overrideMe", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] protected virtual string OverrideMe() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -32952,7 +32568,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"switchModes\\")] + [JsiiMethod(name: "switchModes")] public virtual void SwitchModes() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -32961,7 +32577,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"valueFromProtected\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "valueFromProtected", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string ValueFromProtected() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -32970,7 +32586,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"overrideReadOnly\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "overrideReadOnly", typeJson: "{\\"primitive\\":\\"string\\"}")] protected virtual string OverrideReadOnly { get => GetInstanceProperty(); @@ -32979,7 +32595,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"overrideReadWrite\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "overrideReadWrite", typeJson: "{\\"primitive\\":\\"string\\"}")] protected virtual string OverrideReadWrite { get => GetInstanceProperty(); @@ -32987,13 +32603,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverrideReturnsObject.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33002,7 +32616,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OverrideReturnsObject), fullyQualifiedName: \\"jsii-calc.OverrideReturnsObject\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OverrideReturnsObject), fullyQualifiedName: "jsii-calc.OverrideReturnsObject")] public class OverrideReturnsObject : DeputyBase { /// @@ -33013,14 +32627,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OverrideReturnsObject(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OverrideReturnsObject(DeputyProps props): base(props) { @@ -33029,20 +32643,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"test\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"obj\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IReturnsNumber\\\\\\"}}]\\")] + [JsiiMethod(name: "test", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"obj\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IReturnsNumber\\"}}]")] public virtual double Test(Amazon.JSII.Tests.CalculatorNamespace.IReturnsNumber obj) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IReturnsNumber)}, new object[]{obj}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33054,13 +32666,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.ParentStruct982\\")] + [JsiiByValue(fqn: "jsii-calc.ParentStruct982")] public class ParentStruct982 : Amazon.JSII.Tests.CalculatorNamespace.IParentStruct982 { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Foo { get; @@ -33068,13 +32680,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ParentStruct982Proxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33084,7 +32694,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IParentStruct982), fullyQualifiedName: \\"jsii-calc.ParentStruct982\\")] + [JsiiTypeProxy(nativeType: typeof(IParentStruct982), fullyQualifiedName: "jsii-calc.ParentStruct982")] internal sealed class ParentStruct982Proxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IParentStruct982 { private ParentStruct982Proxy(ByRefValue reference): base(reference) @@ -33094,20 +32704,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "foo", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Foo { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumer.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33116,7 +32724,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PartiallyInitializedThisConsumer), fullyQualifiedName: \\"jsii-calc.PartiallyInitializedThisConsumer\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PartiallyInitializedThisConsumer), fullyQualifiedName: "jsii-calc.PartiallyInitializedThisConsumer")] public abstract class PartiallyInitializedThisConsumer : DeputyBase { /// @@ -33127,14 +32735,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected PartiallyInitializedThisConsumer(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected PartiallyInitializedThisConsumer(DeputyProps props): base(props) { @@ -33143,18 +32751,16 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"consumePartiallyInitializedThis\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"obj\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.ConstructorPassesThisOut\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"dt\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"ev\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AllTypesEnum\\\\\\"}}]\\")] + [JsiiMethod(name: "consumePartiallyInitializedThis", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"obj\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.ConstructorPassesThisOut\\"}},{\\"name\\":\\"dt\\",\\"type\\":{\\"primitive\\":\\"date\\"}},{\\"name\\":\\"ev\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.AllTypesEnum\\"}}]")] public abstract string ConsumePartiallyInitializedThis(Amazon.JSII.Tests.CalculatorNamespace.ConstructorPassesThisOut obj, System.DateTime dt, Amazon.JSII.Tests.CalculatorNamespace.AllTypesEnum ev); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumerProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33163,7 +32769,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PartiallyInitializedThisConsumer), fullyQualifiedName: \\"jsii-calc.PartiallyInitializedThisConsumer\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PartiallyInitializedThisConsumer), fullyQualifiedName: "jsii-calc.PartiallyInitializedThisConsumer")] internal sealed class PartiallyInitializedThisConsumerProxy : Amazon.JSII.Tests.CalculatorNamespace.PartiallyInitializedThisConsumer { private PartiallyInitializedThisConsumerProxy(ByRefValue reference): base(reference) @@ -33173,20 +32779,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"consumePartiallyInitializedThis\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"obj\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.ConstructorPassesThisOut\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"dt\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"ev\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AllTypesEnum\\\\\\"}}]\\")] + [JsiiMethod(name: "consumePartiallyInitializedThis", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"obj\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.ConstructorPassesThisOut\\"}},{\\"name\\":\\"dt\\",\\"type\\":{\\"primitive\\":\\"date\\"}},{\\"name\\":\\"ev\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.AllTypesEnum\\"}}]")] public override string ConsumePartiallyInitializedThis(Amazon.JSII.Tests.CalculatorNamespace.ConstructorPassesThisOut obj, System.DateTime dt, Amazon.JSII.Tests.CalculatorNamespace.AllTypesEnum ev) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.ConstructorPassesThisOut), typeof(System.DateTime), typeof(Amazon.JSII.Tests.CalculatorNamespace.AllTypesEnum)}, new object[]{obj, dt, ev}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Polymorphism.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33195,7 +32799,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Polymorphism), fullyQualifiedName: \\"jsii-calc.Polymorphism\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Polymorphism), fullyQualifiedName: "jsii-calc.Polymorphism")] public class Polymorphism : DeputyBase { /// @@ -33206,14 +32810,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Polymorphism(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Polymorphism(DeputyProps props): base(props) { @@ -33222,20 +32826,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"sayHello\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"friendly\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.IFriendly\\\\\\"}}]\\")] + [JsiiMethod(name: "sayHello", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"friendly\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.IFriendly\\"}}]")] public virtual string SayHello(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly friendly) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.IFriendly)}, new object[]{friendly}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Power.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33245,12 +32847,12 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Power), fullyQualifiedName: \\"jsii-calc.Power\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"The base of the power.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"base\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}},{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"The number of times to multiply.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"pow\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Power), fullyQualifiedName: "jsii-calc.Power", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"The base of the power.\\"},\\"name\\":\\"base\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}},{\\"docs\\":{\\"summary\\":\\"The number of times to multiply.\\"},\\"name\\":\\"pow\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}}]")] public class Power : Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation { /// Creates a Power operation. - /// The base of the power. - /// The number of times to multiply. + /// The base of the power. + /// The number of times to multiply. /// /// Stability: Experimental /// @@ -33259,14 +32861,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Power(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Power(DeputyProps props): base(props) { @@ -33276,7 +32878,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"base\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "base", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Base { get => GetInstanceProperty(); @@ -33288,7 +32890,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"expression\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "expression", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public override Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Expression { get => GetInstanceProperty(); @@ -33298,30 +32900,28 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"pow\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "pow", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Pow { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - /// Reproduction for https://github.com/aws/jsii/issues/1113 Where a method or property named \\"property\\" would result in impossible to load Python code. + /// Reproduction for https://github.com/aws/jsii/issues/1113 Where a method or property named "property" would result in impossible to load Python code. /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PropertyNamedProperty), fullyQualifiedName: \\"jsii-calc.PropertyNamedProperty\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PropertyNamedProperty), fullyQualifiedName: "jsii-calc.PropertyNamedProperty")] public class PropertyNamedProperty : DeputyBase { /// @@ -33332,14 +32932,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected PropertyNamedProperty(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected PropertyNamedProperty(DeputyProps props): base(props) { @@ -33348,7 +32948,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string Property { get => GetInstanceProperty(); @@ -33357,20 +32957,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"yetAnoterOne\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "yetAnoterOne", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public virtual bool YetAnoterOne { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PublicClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33379,7 +32977,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PublicClass), fullyQualifiedName: \\"jsii-calc.PublicClass\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PublicClass), fullyQualifiedName: "jsii-calc.PublicClass")] public class PublicClass : DeputyBase { /// @@ -33390,14 +32988,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected PublicClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected PublicClass(DeputyProps props): base(props) { @@ -33406,20 +33004,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hello\\")] + [JsiiMethod(name: "hello")] public virtual void Hello() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonReservedWords.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33428,7 +33024,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PythonReservedWords), fullyQualifiedName: \\"jsii-calc.PythonReservedWords\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PythonReservedWords), fullyQualifiedName: "jsii-calc.PythonReservedWords")] public class PythonReservedWords : DeputyBase { /// @@ -33439,14 +33035,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected PythonReservedWords(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected PythonReservedWords(DeputyProps props): base(props) { @@ -33455,7 +33051,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"and\\")] + [JsiiMethod(name: "and")] public virtual void And() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33464,7 +33060,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"as\\")] + [JsiiMethod(name: "as")] public virtual void As() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33473,7 +33069,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"assert\\")] + [JsiiMethod(name: "assert")] public virtual void Assert() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33482,7 +33078,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"async\\")] + [JsiiMethod(name: "async")] public virtual void Async() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33491,7 +33087,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"await\\")] + [JsiiMethod(name: "await")] public virtual void Await() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33500,7 +33096,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"break\\")] + [JsiiMethod(name: "break")] public virtual void Break() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33509,7 +33105,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"class\\")] + [JsiiMethod(name: "class")] public virtual void Class() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33518,7 +33114,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"continue\\")] + [JsiiMethod(name: "continue")] public virtual void Continue() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33527,7 +33123,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"def\\")] + [JsiiMethod(name: "def")] public virtual void Def() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33536,7 +33132,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"del\\")] + [JsiiMethod(name: "del")] public virtual void Del() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33545,7 +33141,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"elif\\")] + [JsiiMethod(name: "elif")] public virtual void Elif() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33554,7 +33150,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"else\\")] + [JsiiMethod(name: "else")] public virtual void Else() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33563,7 +33159,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"except\\")] + [JsiiMethod(name: "except")] public virtual void Except() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33572,7 +33168,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"finally\\")] + [JsiiMethod(name: "finally")] public virtual void Finally() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33581,7 +33177,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"for\\")] + [JsiiMethod(name: "for")] public virtual void For() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33590,7 +33186,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"from\\")] + [JsiiMethod(name: "from")] public virtual void From() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33599,7 +33195,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"global\\")] + [JsiiMethod(name: "global")] public virtual void Global() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33608,7 +33204,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"if\\")] + [JsiiMethod(name: "if")] public virtual void If() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33617,7 +33213,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"import\\")] + [JsiiMethod(name: "import")] public virtual void Import() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33626,7 +33222,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"in\\")] + [JsiiMethod(name: "in")] public virtual void In() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33635,7 +33231,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"is\\")] + [JsiiMethod(name: "is")] public virtual void Is() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33644,7 +33240,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"lambda\\")] + [JsiiMethod(name: "lambda")] public virtual void Lambda() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33653,7 +33249,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"nonlocal\\")] + [JsiiMethod(name: "nonlocal")] public virtual void Nonlocal() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33662,7 +33258,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"not\\")] + [JsiiMethod(name: "not")] public virtual void Not() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33671,7 +33267,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"or\\")] + [JsiiMethod(name: "or")] public virtual void Or() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33680,7 +33276,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"pass\\")] + [JsiiMethod(name: "pass")] public virtual void Pass() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33689,7 +33285,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"raise\\")] + [JsiiMethod(name: "raise")] public virtual void Raise() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33698,7 +33294,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"return\\")] + [JsiiMethod(name: "return")] public virtual void Return() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33707,7 +33303,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"try\\")] + [JsiiMethod(name: "try")] public virtual void Try() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33716,7 +33312,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"while\\")] + [JsiiMethod(name: "while")] public virtual void While() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33725,7 +33321,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"with\\")] + [JsiiMethod(name: "with")] public virtual void With() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -33734,20 +33330,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"yield\\")] + [JsiiMethod(name: "yield")] public virtual void Yield() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonSelf/ClassWithSelf.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33756,7 +33350,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PythonSelf.ClassWithSelf), fullyQualifiedName: \\"jsii-calc.PythonSelf.ClassWithSelf\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"self\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PythonSelf.ClassWithSelf), fullyQualifiedName: "jsii-calc.PythonSelf.ClassWithSelf", parametersJson: "[{\\"name\\":\\"self\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public class ClassWithSelf : DeputyBase { /// @@ -33767,14 +33361,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithSelf(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithSelf(DeputyProps props): base(props) { @@ -33783,7 +33377,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiMethod(name: \\"method\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"self\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "method", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"self\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual string Method(double self) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{self}); @@ -33792,20 +33386,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiProperty(name: \\"self\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "self", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string Self { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonSelf/ClassWithSelfKwarg.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33814,7 +33406,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PythonSelf.ClassWithSelfKwarg), fullyQualifiedName: \\"jsii-calc.PythonSelf.ClassWithSelfKwarg\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"props\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.PythonSelf.StructWithSelf\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PythonSelf.ClassWithSelfKwarg), fullyQualifiedName: "jsii-calc.PythonSelf.ClassWithSelfKwarg", parametersJson: "[{\\"name\\":\\"props\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.PythonSelf.StructWithSelf\\"}}]")] public class ClassWithSelfKwarg : DeputyBase { /// @@ -33825,14 +33417,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithSelfKwarg(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ClassWithSelfKwarg(DeputyProps props): base(props) { @@ -33841,20 +33433,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiProperty(name: \\"props\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.PythonSelf.StructWithSelf\\\\\\"}\\")] + [JsiiProperty(name: "props", typeJson: "{\\"fqn\\":\\"jsii-calc.PythonSelf.StructWithSelf\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.PythonSelf.IStructWithSelf Props { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonSelf/IInterfaceWithSelf.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33863,23 +33453,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IInterfaceWithSelf), fullyQualifiedName: \\"jsii-calc.PythonSelf.IInterfaceWithSelf\\")] + [JsiiInterface(nativeType: typeof(IInterfaceWithSelf), fullyQualifiedName: "jsii-calc.PythonSelf.IInterfaceWithSelf")] public interface IInterfaceWithSelf { /// /// Stability: Experimental /// - [JsiiMethod(name: \\"method\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"self\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "method", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"self\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] string Method(double self); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonSelf/IInterfaceWithSelfProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33888,7 +33476,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IInterfaceWithSelf), fullyQualifiedName: \\"jsii-calc.PythonSelf.IInterfaceWithSelf\\")] + [JsiiTypeProxy(nativeType: typeof(IInterfaceWithSelf), fullyQualifiedName: "jsii-calc.PythonSelf.IInterfaceWithSelf")] internal sealed class IInterfaceWithSelfProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.PythonSelf.IInterfaceWithSelf { private IInterfaceWithSelfProxy(ByRefValue reference): base(reference) @@ -33898,20 +33486,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiMethod(name: \\"method\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"self\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "method", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"self\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public string Method(double self) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{self}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonSelf/IStructWithSelf.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33920,26 +33506,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IStructWithSelf), fullyQualifiedName: \\"jsii-calc.PythonSelf.StructWithSelf\\")] + [JsiiInterface(nativeType: typeof(IStructWithSelf), fullyQualifiedName: "jsii-calc.PythonSelf.StructWithSelf")] public interface IStructWithSelf { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"self\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "self", typeJson: "{\\"primitive\\":\\"string\\"}")] string Self { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonSelf/StructWithSelf.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33950,13 +33534,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.PythonSelf.StructWithSelf\\")] + [JsiiByValue(fqn: "jsii-calc.PythonSelf.StructWithSelf")] public class StructWithSelf : Amazon.JSII.Tests.CalculatorNamespace.PythonSelf.IStructWithSelf { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"self\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "self", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Self { get; @@ -33964,13 +33548,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonSelf/StructWithSelfProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -33979,7 +33561,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IStructWithSelf), fullyQualifiedName: \\"jsii-calc.PythonSelf.StructWithSelf\\")] + [JsiiTypeProxy(nativeType: typeof(IStructWithSelf), fullyQualifiedName: "jsii-calc.PythonSelf.StructWithSelf")] internal sealed class StructWithSelfProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.PythonSelf.IStructWithSelf { private StructWithSelfProxy(ByRefValue reference): base(reference) @@ -33989,20 +33571,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.PythonSelf /// /// Stability: Experimental /// - [JsiiProperty(name: \\"self\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "self", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Self { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReferenceEnumFromScopedPackage.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34012,7 +33592,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ReferenceEnumFromScopedPackage), fullyQualifiedName: \\"jsii-calc.ReferenceEnumFromScopedPackage\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ReferenceEnumFromScopedPackage), fullyQualifiedName: "jsii-calc.ReferenceEnumFromScopedPackage")] public class ReferenceEnumFromScopedPackage : DeputyBase { /// @@ -34023,14 +33603,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ReferenceEnumFromScopedPackage(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ReferenceEnumFromScopedPackage(DeputyProps props): base(props) { @@ -34039,7 +33619,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"loadFoo\\", returnsJson: \\"{\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.EnumFromScopedModule\\\\\\"}}\\")] + [JsiiMethod(name: "loadFoo", returnsJson: "{\\"optional\\":true,\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.EnumFromScopedModule\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.EnumFromScopedModule? LoadFoo() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -34048,7 +33628,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"saveFoo\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.EnumFromScopedModule\\\\\\"}}]\\")] + [JsiiMethod(name: "saveFoo", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.EnumFromScopedModule\\"}}]")] public virtual void SaveFoo(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.EnumFromScopedModule @value) { InvokeInstanceVoidMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.EnumFromScopedModule)}, new object[]{@value}); @@ -34058,7 +33638,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.EnumFromScopedModule\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.EnumFromScopedModule\\"}", isOptional: true)] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.EnumFromScopedModule? Foo { get => GetInstanceProperty(); @@ -34066,13 +33646,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReturnsPrivateImplementationOfInterface.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34085,7 +33663,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// See: https://github.com/aws/jsii/issues/320 /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ReturnsPrivateImplementationOfInterface), fullyQualifiedName: \\"jsii-calc.ReturnsPrivateImplementationOfInterface\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ReturnsPrivateImplementationOfInterface), fullyQualifiedName: "jsii-calc.ReturnsPrivateImplementationOfInterface")] public class ReturnsPrivateImplementationOfInterface : DeputyBase { /// @@ -34096,14 +33674,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ReturnsPrivateImplementationOfInterface(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected ReturnsPrivateImplementationOfInterface(DeputyProps props): base(props) { @@ -34112,20 +33690,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"privateImplementation\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IPrivatelyImplemented\\\\\\"}\\")] + [JsiiProperty(name: "privateImplementation", typeJson: "{\\"fqn\\":\\"jsii-calc.IPrivatelyImplemented\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.IPrivatelyImplemented PrivateImplementation { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34135,19 +33711,19 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// This is here to check that we can pass a nested struct into a kwargs by specifying it as an in-line dictionary. /// - /// This is cheating with the (current) declared types, but this is the \\"more - /// idiomatic\\" way for Pythonists. + /// This is cheating with the (current) declared types, but this is the "more + /// idiomatic" way for Pythonists. /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.RootStruct\\")] + [JsiiByValue(fqn: "jsii-calc.RootStruct")] public class RootStruct : Amazon.JSII.Tests.CalculatorNamespace.IRootStruct { /// May not be empty. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"stringProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "stringProp", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string StringProp { get; @@ -34158,7 +33734,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"nestedStruct\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.NestedStruct\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "nestedStruct", typeJson: "{\\"fqn\\":\\"jsii-calc.NestedStruct\\"}", isOptional: true, isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.INestedStruct? NestedStruct { get; @@ -34166,13 +33742,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34180,12 +33754,12 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { /// This is here to check that we can pass a nested struct into a kwargs by specifying it as an in-line dictionary. /// - /// This is cheating with the (current) declared types, but this is the \\"more - /// idiomatic\\" way for Pythonists. + /// This is cheating with the (current) declared types, but this is the "more + /// idiomatic" way for Pythonists. /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IRootStruct), fullyQualifiedName: \\"jsii-calc.RootStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IRootStruct), fullyQualifiedName: "jsii-calc.RootStruct")] internal sealed class RootStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IRootStruct { private RootStructProxy(ByRefValue reference): base(reference) @@ -34196,7 +33770,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"stringProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "stringProp", typeJson: "{\\"primitive\\":\\"string\\"}")] public string StringProp { get => GetInstanceProperty(); @@ -34206,20 +33780,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"nestedStruct\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.NestedStruct\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "nestedStruct", typeJson: "{\\"fqn\\":\\"jsii-calc.NestedStruct\\"}", isOptional: true)] public Amazon.JSII.Tests.CalculatorNamespace.INestedStruct? NestedStruct { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RootStructValidator.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34228,18 +33800,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.RootStructValidator), fullyQualifiedName: \\"jsii-calc.RootStructValidator\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.RootStructValidator), fullyQualifiedName: "jsii-calc.RootStructValidator")] public class RootStructValidator : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected RootStructValidator(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected RootStructValidator(DeputyProps props): base(props) { @@ -34248,20 +33820,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"validate\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"struct\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.RootStruct\\\\\\"}}]\\")] + [JsiiMethod(name: "validate", parametersJson: "[{\\"name\\":\\"struct\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.RootStruct\\"}}]")] public static void Validate(Amazon.JSII.Tests.CalculatorNamespace.IRootStruct @struct) { InvokeStaticVoidMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.RootStructValidator), new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IRootStruct)}, new object[]{@struct}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RuntimeTypeChecking.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34270,7 +33840,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.RuntimeTypeChecking), fullyQualifiedName: \\"jsii-calc.RuntimeTypeChecking\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.RuntimeTypeChecking), fullyQualifiedName: "jsii-calc.RuntimeTypeChecking")] public class RuntimeTypeChecking : DeputyBase { /// @@ -34281,14 +33851,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected RuntimeTypeChecking(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected RuntimeTypeChecking(DeputyProps props): base(props) { @@ -34297,7 +33867,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"methodWithDefaultedArguments\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"arg1\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg2\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg3\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}}]\\")] + [JsiiMethod(name: "methodWithDefaultedArguments", parametersJson: "[{\\"name\\":\\"arg1\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"name\\":\\"arg2\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"arg3\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"date\\"}}]")] public virtual void MethodWithDefaultedArguments(double? arg1 = null, string? arg2 = null, System.DateTime? arg3 = null) { InvokeInstanceVoidMethod(new System.Type[]{typeof(double), typeof(string), typeof(System.DateTime)}, new object?[]{arg1, arg2, arg3}); @@ -34306,7 +33876,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"methodWithOptionalAnyArgument\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"arg\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}]\\")] + [JsiiMethod(name: "methodWithOptionalAnyArgument", parametersJson: "[{\\"name\\":\\"arg\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"any\\"}}]")] public virtual void MethodWithOptionalAnyArgument(object? arg = null) { InvokeInstanceVoidMethod(new System.Type[]{typeof(object)}, new object?[]{arg}); @@ -34316,20 +33886,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"methodWithOptionalArguments\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"arg1\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg2\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"arg3\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"date\\\\\\"}}]\\")] + [JsiiMethod(name: "methodWithOptionalArguments", parametersJson: "[{\\"name\\":\\"arg1\\",\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"name\\":\\"arg2\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"arg3\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"date\\"}}]")] public virtual void MethodWithOptionalArguments(double arg1, string arg2, System.DateTime? arg3 = null) { InvokeInstanceVoidMethod(new System.Type[]{typeof(double), typeof(string), typeof(System.DateTime)}, new object?[]{arg1, arg2, arg3}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34340,14 +33908,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.SecondLevelStruct\\")] + [JsiiByValue(fqn: "jsii-calc.SecondLevelStruct")] public class SecondLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.ISecondLevelStruct { /// It's long and required. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"deeperRequiredProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "deeperRequiredProp", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string DeeperRequiredProp { get; @@ -34359,7 +33927,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"deeperOptionalProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "deeperOptionalProp", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? DeeperOptionalProp { get; @@ -34367,13 +33935,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SecondLevelStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34382,7 +33948,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(ISecondLevelStruct), fullyQualifiedName: \\"jsii-calc.SecondLevelStruct\\")] + [JsiiTypeProxy(nativeType: typeof(ISecondLevelStruct), fullyQualifiedName: "jsii-calc.SecondLevelStruct")] internal sealed class SecondLevelStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.ISecondLevelStruct { private SecondLevelStructProxy(ByRefValue reference): base(reference) @@ -34393,7 +33959,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"deeperRequiredProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "deeperRequiredProp", typeJson: "{\\"primitive\\":\\"string\\"}")] public string DeeperRequiredProp { get => GetInstanceProperty(); @@ -34404,20 +33970,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"deeperOptionalProp\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "deeperOptionalProp", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? DeeperOptionalProp { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingleInstanceTwoTypes.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34431,7 +33995,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingleInstanceTwoTypes), fullyQualifiedName: \\"jsii-calc.SingleInstanceTwoTypes\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingleInstanceTwoTypes), fullyQualifiedName: "jsii-calc.SingleInstanceTwoTypes")] public class SingleInstanceTwoTypes : DeputyBase { /// @@ -34442,14 +34006,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SingleInstanceTwoTypes(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SingleInstanceTwoTypes(DeputyProps props): base(props) { @@ -34458,7 +34022,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"interface1\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.InbetweenClass\\\\\\"}}\\")] + [JsiiMethod(name: "interface1", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.InbetweenClass\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.InbetweenClass Interface1() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -34467,20 +34031,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"interface2\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IPublicInterface\\\\\\"}}\\")] + [JsiiMethod(name: "interface2", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IPublicInterface\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.IPublicInterface Interface2() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonInt.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34492,18 +34054,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingletonInt), fullyQualifiedName: \\"jsii-calc.SingletonInt\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingletonInt), fullyQualifiedName: "jsii-calc.SingletonInt")] public class SingletonInt : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SingletonInt(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SingletonInt(DeputyProps props): base(props) { @@ -34512,20 +34074,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"isSingletonInt\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "isSingletonInt", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual bool IsSingletonInt(double @value) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{@value}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonIntEnum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34536,24 +34096,22 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiEnum(nativeType: typeof(SingletonIntEnum), fullyQualifiedName: \\"jsii-calc.SingletonIntEnum\\")] + [JsiiEnum(nativeType: typeof(SingletonIntEnum), fullyQualifiedName: "jsii-calc.SingletonIntEnum")] public enum SingletonIntEnum { /// Elite! /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"SINGLETON_INT\\")] + [JsiiEnumMember(name: "SINGLETON_INT")] SINGLETON_INT } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonString.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34565,18 +34123,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingletonString), fullyQualifiedName: \\"jsii-calc.SingletonString\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingletonString), fullyQualifiedName: "jsii-calc.SingletonString")] public class SingletonString : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SingletonString(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SingletonString(DeputyProps props): base(props) { @@ -34585,20 +34143,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"isSingletonString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "isSingletonString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public virtual bool IsSingletonString(string @value) { return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{@value}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingletonStringEnum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34609,24 +34165,22 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiEnum(nativeType: typeof(SingletonStringEnum), fullyQualifiedName: \\"jsii-calc.SingletonStringEnum\\")] + [JsiiEnum(nativeType: typeof(SingletonStringEnum), fullyQualifiedName: "jsii-calc.SingletonStringEnum")] public enum SingletonStringEnum { /// 1337. /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"SINGLETON_STRING\\")] + [JsiiEnumMember(name: "SINGLETON_STRING")] SINGLETON_STRING } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34637,13 +34191,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.SmellyStruct\\")] + [JsiiByValue(fqn: "jsii-calc.SmellyStruct")] public class SmellyStruct : Amazon.JSII.Tests.CalculatorNamespace.ISmellyStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Property { get; @@ -34653,7 +34207,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"yetAnoterOne\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "yetAnoterOne", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOverride: true)] public bool YetAnoterOne { get; @@ -34661,13 +34215,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SmellyStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34676,7 +34228,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(ISmellyStruct), fullyQualifiedName: \\"jsii-calc.SmellyStruct\\")] + [JsiiTypeProxy(nativeType: typeof(ISmellyStruct), fullyQualifiedName: "jsii-calc.SmellyStruct")] internal sealed class SmellyStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.ISmellyStruct { private SmellyStructProxy(ByRefValue reference): base(reference) @@ -34686,7 +34238,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"property\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "property", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Property { get => GetInstanceProperty(); @@ -34695,20 +34247,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"yetAnoterOne\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "yetAnoterOne", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public bool YetAnoterOne { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SomeTypeJsii976.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34717,7 +34267,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SomeTypeJsii976), fullyQualifiedName: \\"jsii-calc.SomeTypeJsii976\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SomeTypeJsii976), fullyQualifiedName: "jsii-calc.SomeTypeJsii976")] public class SomeTypeJsii976 : DeputyBase { /// @@ -34728,14 +34278,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SomeTypeJsii976(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SomeTypeJsii976(DeputyProps props): base(props) { @@ -34744,7 +34294,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"returnAnonymous\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "returnAnonymous", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public static object ReturnAnonymous() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.SomeTypeJsii976), new System.Type[]{}, new object[]{}); @@ -34753,26 +34303,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"returnReturn\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IReturnJsii976\\\\\\"}}\\")] + [JsiiMethod(name: "returnReturn", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.IReturnJsii976\\"}}")] public static Amazon.JSII.Tests.CalculatorNamespace.IReturnJsii976 ReturnReturn() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.SomeTypeJsii976), new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StableClass), fullyQualifiedName: \\"jsii-calc.StableClass\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"readonlyString\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"mutableNumber\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StableClass), fullyQualifiedName: "jsii-calc.StableClass", parametersJson: "[{\\"name\\":\\"readonlyString\\",\\"type\\":{\\"primitive\\":\\"string\\"}},{\\"name\\":\\"mutableNumber\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public class StableClass : DeputyBase { public StableClass(string readonlyString, double? mutableNumber = null): base(new DeputyProps(new object?[]{readonlyString, mutableNumber})) @@ -34780,33 +34328,33 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StableClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StableClass(DeputyProps props): base(props) { } - [JsiiMethod(name: \\"method\\")] + [JsiiMethod(name: "method")] public virtual void Method() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string ReadonlyProperty { get => GetInstanceProperty(); } [JsiiOptional] - [JsiiProperty(name: \\"mutableProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "mutableProperty", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public virtual double? MutableProperty { get => GetInstanceProperty(); @@ -34814,35 +34362,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableEnum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - [JsiiEnum(nativeType: typeof(StableEnum), fullyQualifiedName: \\"jsii-calc.StableEnum\\")] + [JsiiEnum(nativeType: typeof(StableEnum), fullyQualifiedName: "jsii-calc.StableEnum")] public enum StableEnum { - [JsiiEnumMember(name: \\"OPTION_A\\")] + [JsiiEnumMember(name: "OPTION_A")] OPTION_A, - [JsiiEnumMember(name: \\"OPTION_B\\")] + [JsiiEnumMember(name: "OPTION_B")] OPTION_B } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34850,10 +34394,10 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { #pragma warning disable CS8618 - [JsiiByValue(fqn: \\"jsii-calc.StableStruct\\")] + [JsiiByValue(fqn: "jsii-calc.StableStruct")] public class StableStruct : Amazon.JSII.Tests.CalculatorNamespace.IStableStruct { - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string ReadonlyProperty { get; @@ -34861,39 +34405,35 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StableStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { - [JsiiTypeProxy(nativeType: typeof(IStableStruct), fullyQualifiedName: \\"jsii-calc.StableStruct\\")] + [JsiiTypeProxy(nativeType: typeof(IStableStruct), fullyQualifiedName: "jsii-calc.StableStruct")] internal sealed class StableStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IStableStruct { private StableStructProxy(ByRefValue reference): base(reference) { } - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public string ReadonlyProperty { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StaticContext.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34905,18 +34445,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StaticContext), fullyQualifiedName: \\"jsii-calc.StaticContext\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StaticContext), fullyQualifiedName: "jsii-calc.StaticContext")] public class StaticContext : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StaticContext(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StaticContext(DeputyProps props): base(props) { @@ -34925,7 +34465,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"canAccessStaticContext\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\")] + [JsiiMethod(name: "canAccessStaticContext", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}")] public static bool CanAccessStaticContext() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.StaticContext), new System.Type[]{}, new object[]{}); @@ -34934,7 +34474,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"staticVariable\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "staticVariable", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public static bool StaticVariable { get => GetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.StaticContext)); @@ -34942,13 +34482,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Statics.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -34957,7 +34495,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics), fullyQualifiedName: \\"jsii-calc.Statics\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics), fullyQualifiedName: "jsii-calc.Statics", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public class Statics : DeputyBase { /// @@ -34968,25 +34506,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Statics(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Statics(DeputyProps props): base(props) { } /// Jsdocs for static method. - /// The name of the person to say hello to. + /// The name of the person to say hello to. /// /// Stability: Experimental /// - [JsiiMethod(name: \\"staticMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"The name of the person to say hello to.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"name\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "staticMethod", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"The name of the person to say hello to.\\"},\\"name\\":\\"name\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public static string StaticMethod(string name) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics), new System.Type[]{typeof(string)}, new object[]{name}); @@ -34995,7 +34533,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"justMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "justMethod", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string JustMethod() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -35005,7 +34543,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"BAR\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "BAR", typeJson: "{\\"primitive\\":\\"number\\"}")] public static double BAR { get; @@ -35015,7 +34553,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"ConstObj\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.DoubleTrouble\\\\\\"}\\")] + [JsiiProperty(name: "ConstObj", typeJson: "{\\"fqn\\":\\"jsii-calc.DoubleTrouble\\"}")] public static Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble ConstObj { get; @@ -35026,7 +34564,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"Foo\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "Foo", typeJson: "{\\"primitive\\":\\"string\\"}")] public static string Foo { get; @@ -35037,7 +34575,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"zooBar\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}\\")] + [JsiiProperty(name: "zooBar", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"map\\"}}")] public static System.Collections.Generic.IDictionary ZooBar { get; @@ -35050,7 +34588,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"instance\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.Statics\\\\\\"}\\")] + [JsiiProperty(name: "instance", typeJson: "{\\"fqn\\":\\"jsii-calc.Statics\\"}")] public static Amazon.JSII.Tests.CalculatorNamespace.Statics Instance { get => GetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics)); @@ -35060,7 +34598,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"nonConstStatic\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "nonConstStatic", typeJson: "{\\"primitive\\":\\"number\\"}")] public static double NonConstStatic { get => GetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.Statics)); @@ -35070,20 +34608,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string Value { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StringEnum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35093,33 +34629,31 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiEnum(nativeType: typeof(StringEnum), fullyQualifiedName: \\"jsii-calc.StringEnum\\")] + [JsiiEnum(nativeType: typeof(StringEnum), fullyQualifiedName: "jsii-calc.StringEnum")] public enum StringEnum { /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"A\\")] + [JsiiEnumMember(name: "A")] A, /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"B\\")] + [JsiiEnumMember(name: "B")] B, /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"C\\")] + [JsiiEnumMember(name: "C")] C } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StripInternal.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35128,7 +34662,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StripInternal), fullyQualifiedName: \\"jsii-calc.StripInternal\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StripInternal), fullyQualifiedName: "jsii-calc.StripInternal")] public class StripInternal : DeputyBase { /// @@ -35139,14 +34673,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StripInternal(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StripInternal(DeputyProps props): base(props) { @@ -35155,7 +34689,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"youSeeMe\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "youSeeMe", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string YouSeeMe { get => GetInstanceProperty(); @@ -35163,13 +34697,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructA.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35181,13 +34713,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.StructA\\")] + [JsiiByValue(fqn: "jsii-calc.StructA")] public class StructA : Amazon.JSII.Tests.CalculatorNamespace.IStructA { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"requiredString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "requiredString", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string RequiredString { get; @@ -35198,7 +34730,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalNumber\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optionalNumber", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true, isOverride: true)] public double? OptionalNumber { get; @@ -35209,7 +34741,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optionalString", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? OptionalString { get; @@ -35217,13 +34749,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructAProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35233,7 +34763,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IStructA), fullyQualifiedName: \\"jsii-calc.StructA\\")] + [JsiiTypeProxy(nativeType: typeof(IStructA), fullyQualifiedName: "jsii-calc.StructA")] internal sealed class StructAProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IStructA { private StructAProxy(ByRefValue reference): base(reference) @@ -35243,7 +34773,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"requiredString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "requiredString", typeJson: "{\\"primitive\\":\\"string\\"}")] public string RequiredString { get => GetInstanceProperty(); @@ -35253,7 +34783,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalNumber\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalNumber", typeJson: "{\\"primitive\\":\\"number\\"}", isOptional: true)] public double? OptionalNumber { get => GetInstanceProperty(); @@ -35263,20 +34793,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalString", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? OptionalString { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructB.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35288,13 +34816,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.StructB\\")] + [JsiiByValue(fqn: "jsii-calc.StructB")] public class StructB : Amazon.JSII.Tests.CalculatorNamespace.IStructB { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"requiredString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "requiredString", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string RequiredString { get; @@ -35305,7 +34833,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalBoolean\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optionalBoolean", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true, isOverride: true)] public bool? OptionalBoolean { get; @@ -35316,7 +34844,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalStructA\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructA\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optionalStructA", typeJson: "{\\"fqn\\":\\"jsii-calc.StructA\\"}", isOptional: true, isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.IStructA? OptionalStructA { get; @@ -35324,13 +34852,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructBProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35340,7 +34866,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IStructB), fullyQualifiedName: \\"jsii-calc.StructB\\")] + [JsiiTypeProxy(nativeType: typeof(IStructB), fullyQualifiedName: "jsii-calc.StructB")] internal sealed class StructBProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IStructB { private StructBProxy(ByRefValue reference): base(reference) @@ -35350,7 +34876,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"requiredString\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "requiredString", typeJson: "{\\"primitive\\":\\"string\\"}")] public string RequiredString { get => GetInstanceProperty(); @@ -35360,7 +34886,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalBoolean\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalBoolean", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] public bool? OptionalBoolean { get => GetInstanceProperty(); @@ -35370,20 +34896,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optionalStructA\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructA\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optionalStructA", typeJson: "{\\"fqn\\":\\"jsii-calc.StructA\\"}", isOptional: true)] public Amazon.JSII.Tests.CalculatorNamespace.IStructA? OptionalStructA { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterType.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35397,13 +34921,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.StructParameterType\\")] + [JsiiByValue(fqn: "jsii-calc.StructParameterType")] public class StructParameterType : Amazon.JSII.Tests.CalculatorNamespace.IStructParameterType { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"scope\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "scope", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Scope { get; @@ -35414,7 +34938,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"props\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "props", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true, isOverride: true)] public bool? Props { get; @@ -35422,13 +34946,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructParameterTypeProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35440,7 +34962,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IStructParameterType), fullyQualifiedName: \\"jsii-calc.StructParameterType\\")] + [JsiiTypeProxy(nativeType: typeof(IStructParameterType), fullyQualifiedName: "jsii-calc.StructParameterType")] internal sealed class StructParameterTypeProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IStructParameterType { private StructParameterTypeProxy(ByRefValue reference): base(reference) @@ -35450,7 +34972,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"scope\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "scope", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Scope { get => GetInstanceProperty(); @@ -35460,27 +34982,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"props\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "props", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOptional: true)] public bool? Props { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructPassing.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 namespace Amazon.JSII.Tests.CalculatorNamespace { /// Just because we can. - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StructPassing), fullyQualifiedName: \\"jsii-calc.StructPassing\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StructPassing), fullyQualifiedName: "jsii-calc.StructPassing")] public class StructPassing : DeputyBase { /// @@ -35491,39 +35011,37 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StructPassing(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StructPassing(DeputyProps props): base(props) { } - [JsiiMethod(name: \\"howManyVarArgsDidIPass\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"_positional\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"inputs\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.TopLevelStruct\\\\\\"},\\\\\\"variadic\\\\\\":true}]\\")] + [JsiiMethod(name: "howManyVarArgsDidIPass", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"_positional\\",\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"name\\":\\"inputs\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.TopLevelStruct\\"},\\"variadic\\":true}]")] public static double HowManyVarArgsDidIPass(double positional, params Amazon.JSII.Tests.CalculatorNamespace.ITopLevelStruct[] inputs) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.StructPassing), new System.Type[]{typeof(double), typeof(Amazon.JSII.Tests.CalculatorNamespace.ITopLevelStruct[])}, new object[]{positional, inputs}); } - [JsiiMethod(name: \\"roundTrip\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.TopLevelStruct\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"_positional\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"name\\\\\\":\\\\\\"input\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.TopLevelStruct\\\\\\"}}]\\")] + [JsiiMethod(name: "roundTrip", returnsJson: "{\\"type\\":{\\"fqn\\":\\"jsii-calc.TopLevelStruct\\"}}", parametersJson: "[{\\"name\\":\\"_positional\\",\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"name\\":\\"input\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.TopLevelStruct\\"}}]")] public static Amazon.JSII.Tests.CalculatorNamespace.ITopLevelStruct RoundTrip(double positional, Amazon.JSII.Tests.CalculatorNamespace.ITopLevelStruct input) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.StructPassing), new System.Type[]{typeof(double), typeof(Amazon.JSII.Tests.CalculatorNamespace.ITopLevelStruct)}, new object[]{positional, input}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructUnionConsumer.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35532,18 +35050,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StructUnionConsumer), fullyQualifiedName: \\"jsii-calc.StructUnionConsumer\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StructUnionConsumer), fullyQualifiedName: "jsii-calc.StructUnionConsumer")] public class StructUnionConsumer : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StructUnionConsumer(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected StructUnionConsumer(DeputyProps props): base(props) { @@ -35552,7 +35070,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"isStructA\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"struct\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructA\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructB\\\\\\"}]}}}]\\")] + [JsiiMethod(name: "isStructA", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"struct\\",\\"type\\":{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"jsii-calc.StructA\\"},{\\"fqn\\":\\"jsii-calc.StructB\\"}]}}}]")] public static bool IsStructA(object @struct) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.StructUnionConsumer), new System.Type[]{typeof(object)}, new object[]{@struct}); @@ -35561,20 +35079,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"isStructB\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"struct\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructA\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.StructB\\\\\\"}]}}}]\\")] + [JsiiMethod(name: "isStructB", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"struct\\",\\"type\\":{\\"union\\":{\\"types\\":[{\\"fqn\\":\\"jsii-calc.StructA\\"},{\\"fqn\\":\\"jsii-calc.StructB\\"}]}}}]")] public static bool IsStructB(object @struct) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.StructUnionConsumer), new System.Type[]{typeof(object)}, new object[]{@struct}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWords.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35585,13 +35101,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.StructWithJavaReservedWords\\")] + [JsiiByValue(fqn: "jsii-calc.StructWithJavaReservedWords")] public class StructWithJavaReservedWords : Amazon.JSII.Tests.CalculatorNamespace.IStructWithJavaReservedWords { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"default\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "default", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Default { get; @@ -35602,7 +35118,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"assert\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "assert", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Assert { get; @@ -35613,7 +35129,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"result\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "result", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Result { get; @@ -35624,7 +35140,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"that\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "that", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? That { get; @@ -35632,13 +35148,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructWithJavaReservedWordsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35647,7 +35161,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IStructWithJavaReservedWords), fullyQualifiedName: \\"jsii-calc.StructWithJavaReservedWords\\")] + [JsiiTypeProxy(nativeType: typeof(IStructWithJavaReservedWords), fullyQualifiedName: "jsii-calc.StructWithJavaReservedWords")] internal sealed class StructWithJavaReservedWordsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IStructWithJavaReservedWords { private StructWithJavaReservedWordsProxy(ByRefValue reference): base(reference) @@ -35657,7 +35171,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"default\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "default", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Default { get => GetInstanceProperty(); @@ -35667,7 +35181,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"assert\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "assert", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Assert { get => GetInstanceProperty(); @@ -35677,7 +35191,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"result\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "result", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Result { get => GetInstanceProperty(); @@ -35687,20 +35201,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"that\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "that", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? That { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/BackReferences/IMyClassReference.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35709,26 +35221,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.BackReferences /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IMyClassReference), fullyQualifiedName: \\"jsii-calc.submodule.back_references.MyClassReference\\")] + [JsiiInterface(nativeType: typeof(IMyClassReference), fullyQualifiedName: "jsii-calc.submodule.back_references.MyClassReference")] public interface IMyClassReference { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"reference\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.MyClass\\\\\\"}\\")] + [JsiiProperty(name: "reference", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.MyClass\\"}")] Amazon.JSII.Tests.CalculatorNamespace.Submodule.MyClass Reference { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/BackReferences/MyClassReference.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35739,13 +35249,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.BackReferences /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.submodule.back_references.MyClassReference\\")] + [JsiiByValue(fqn: "jsii-calc.submodule.back_references.MyClassReference")] public class MyClassReference : Amazon.JSII.Tests.CalculatorNamespace.Submodule.BackReferences.IMyClassReference { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"reference\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.MyClass\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "reference", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.MyClass\\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.Submodule.MyClass Reference { get; @@ -35753,13 +35263,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.BackReferences } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/BackReferences/MyClassReferenceProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35768,7 +35276,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.BackReferences /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IMyClassReference), fullyQualifiedName: \\"jsii-calc.submodule.back_references.MyClassReference\\")] + [JsiiTypeProxy(nativeType: typeof(IMyClassReference), fullyQualifiedName: "jsii-calc.submodule.back_references.MyClassReference")] internal sealed class MyClassReferenceProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.Submodule.BackReferences.IMyClassReference { private MyClassReferenceProxy(ByRefValue reference): base(reference) @@ -35778,20 +35286,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.BackReferences /// /// Stability: Experimental /// - [JsiiProperty(name: \\"reference\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.MyClass\\\\\\"}\\")] + [JsiiProperty(name: "reference", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.MyClass\\"}")] public Amazon.JSII.Tests.CalculatorNamespace.Submodule.MyClass Reference { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/Awesomeness.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35801,24 +35307,22 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiEnum(nativeType: typeof(Awesomeness), fullyQualifiedName: \\"jsii-calc.submodule.child.Awesomeness\\")] + [JsiiEnum(nativeType: typeof(Awesomeness), fullyQualifiedName: "jsii-calc.submodule.child.Awesomeness")] public enum Awesomeness { /// It was awesome! /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"AWESOME\\")] + [JsiiEnumMember(name: "AWESOME")] AWESOME } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/Goodness.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35828,36 +35332,34 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiEnum(nativeType: typeof(Goodness), fullyQualifiedName: \\"jsii-calc.submodule.child.Goodness\\")] + [JsiiEnum(nativeType: typeof(Goodness), fullyQualifiedName: "jsii-calc.submodule.child.Goodness")] public enum Goodness { /// It's pretty good. /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"PRETTY_GOOD\\")] + [JsiiEnumMember(name: "PRETTY_GOOD")] PRETTY_GOOD, /// It's really good. /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"REALLY_GOOD\\")] + [JsiiEnumMember(name: "REALLY_GOOD")] REALLY_GOOD, /// It's amazingly good. /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"AMAZINGLY_GOOD\\")] + [JsiiEnumMember(name: "AMAZINGLY_GOOD")] AMAZINGLY_GOOD } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/IKwargsProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35866,13 +35368,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IKwargsProps), fullyQualifiedName: \\"jsii-calc.submodule.child.KwargsProps\\")] + [JsiiInterface(nativeType: typeof(IKwargsProps), fullyQualifiedName: "jsii-calc.submodule.child.KwargsProps")] public interface IKwargsProps : Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.ISomeStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"extra\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "extra", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] [Amazon.JSII.Runtime.Deputy.JsiiOptional] string? Extra { @@ -35883,13 +35385,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/ISomeStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35898,26 +35398,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(ISomeStruct), fullyQualifiedName: \\"jsii-calc.submodule.child.SomeStruct\\")] + [JsiiInterface(nativeType: typeof(ISomeStruct), fullyQualifiedName: "jsii-calc.submodule.child.SomeStruct")] public interface ISomeStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.SomeEnum\\\\\\"}\\")] + [JsiiProperty(name: "prop", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.SomeEnum\\"}")] Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.SomeEnum Prop { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/IStructure.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35926,26 +35424,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(IStructure), fullyQualifiedName: \\"jsii-calc.submodule.child.Structure\\")] + [JsiiInterface(nativeType: typeof(IStructure), fullyQualifiedName: "jsii-calc.submodule.child.Structure")] public interface IStructure { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bool\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "bool", typeJson: "{\\"primitive\\":\\"boolean\\"}")] bool Bool { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/InnerClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -35954,7 +35450,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.InnerClass), fullyQualifiedName: \\"jsii-calc.submodule.child.InnerClass\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.InnerClass), fullyQualifiedName: "jsii-calc.submodule.child.InnerClass")] public class InnerClass : DeputyBase { /// @@ -35965,14 +35461,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected InnerClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected InnerClass(DeputyProps props): base(props) { @@ -35981,7 +35477,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiProperty(name: \\"staticProp\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.SomeStruct\\\\\\"}\\")] + [JsiiProperty(name: "staticProp", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.SomeStruct\\"}")] public static Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.ISomeStruct StaticProp { get; @@ -35989,13 +35485,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child = GetStaticProperty(typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.InnerClass)); } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/KwargsProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36004,14 +35498,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.submodule.child.KwargsProps\\")] + [JsiiByValue(fqn: "jsii-calc.submodule.child.KwargsProps")] public class KwargsProps : Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.IKwargsProps { /// /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"extra\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "extra", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Extra { get; @@ -36021,7 +35515,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.SomeEnum\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "prop", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.SomeEnum\\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.SomeEnum Prop { get; @@ -36029,13 +35523,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/KwargsPropsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36044,7 +35536,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IKwargsProps), fullyQualifiedName: \\"jsii-calc.submodule.child.KwargsProps\\")] + [JsiiTypeProxy(nativeType: typeof(IKwargsProps), fullyQualifiedName: "jsii-calc.submodule.child.KwargsProps")] internal sealed class KwargsPropsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.IKwargsProps { private KwargsPropsProxy(ByRefValue reference): base(reference) @@ -36055,7 +35547,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"extra\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "extra", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Extra { get => GetInstanceProperty(); @@ -36064,20 +35556,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.SomeEnum\\\\\\"}\\")] + [JsiiProperty(name: "prop", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.SomeEnum\\"}")] public Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.SomeEnum Prop { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/OuterClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36089,7 +35579,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// See: : https://github.com/aws/jsii/pull/1706 /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.OuterClass), fullyQualifiedName: \\"jsii-calc.submodule.child.OuterClass\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.OuterClass), fullyQualifiedName: "jsii-calc.submodule.child.OuterClass")] public class OuterClass : DeputyBase { /// @@ -36100,14 +35590,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OuterClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected OuterClass(DeputyProps props): base(props) { @@ -36116,20 +35606,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiProperty(name: \\"innerClass\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.InnerClass\\\\\\"}\\")] + [JsiiProperty(name: "innerClass", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.InnerClass\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.InnerClass InnerClass { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/SomeEnum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36139,23 +35627,21 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiEnum(nativeType: typeof(SomeEnum), fullyQualifiedName: \\"jsii-calc.submodule.child.SomeEnum\\")] + [JsiiEnum(nativeType: typeof(SomeEnum), fullyQualifiedName: "jsii-calc.submodule.child.SomeEnum")] public enum SomeEnum { /// /// Stability: Experimental /// - [JsiiEnumMember(name: \\"SOME\\")] + [JsiiEnumMember(name: "SOME")] SOME } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/SomeStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36166,13 +35652,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.submodule.child.SomeStruct\\")] + [JsiiByValue(fqn: "jsii-calc.submodule.child.SomeStruct")] public class SomeStruct : Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.ISomeStruct { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.SomeEnum\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "prop", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.SomeEnum\\"}", isOverride: true)] public Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.SomeEnum Prop { get; @@ -36180,13 +35666,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/SomeStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36195,7 +35679,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(ISomeStruct), fullyQualifiedName: \\"jsii-calc.submodule.child.SomeStruct\\")] + [JsiiTypeProxy(nativeType: typeof(ISomeStruct), fullyQualifiedName: "jsii-calc.submodule.child.SomeStruct")] internal sealed class SomeStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.ISomeStruct { private SomeStructProxy(ByRefValue reference): base(reference) @@ -36205,20 +35689,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiProperty(name: \\"prop\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.SomeEnum\\\\\\"}\\")] + [JsiiProperty(name: "prop", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.SomeEnum\\"}")] public Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.SomeEnum Prop { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/Structure.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36229,13 +35711,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.submodule.child.Structure\\")] + [JsiiByValue(fqn: "jsii-calc.submodule.child.Structure")] public class Structure : Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.IStructure { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bool\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "bool", typeJson: "{\\"primitive\\":\\"boolean\\"}", isOverride: true)] public bool Bool { get; @@ -36243,13 +35725,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Child/StructureProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36258,7 +35738,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IStructure), fullyQualifiedName: \\"jsii-calc.submodule.child.Structure\\")] + [JsiiTypeProxy(nativeType: typeof(IStructure), fullyQualifiedName: "jsii-calc.submodule.child.Structure")] internal sealed class StructureProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.IStructure { private StructureProxy(ByRefValue reference): base(reference) @@ -36268,20 +35748,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bool\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "bool", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public bool Bool { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/Isolated/Kwargs.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36291,18 +35769,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Isolated /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Isolated.Kwargs), fullyQualifiedName: \\"jsii-calc.submodule.isolated.Kwargs\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Isolated.Kwargs), fullyQualifiedName: "jsii-calc.submodule.isolated.Kwargs")] public class Kwargs : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Kwargs(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Kwargs(DeputyProps props): base(props) { @@ -36311,20 +35789,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.Isolated /// /// Stability: Experimental /// - [JsiiMethod(name: \\"method\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"props\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.KwargsProps\\\\\\"}}]\\")] + [JsiiMethod(name: "method", returnsJson: "{\\"type\\":{\\"primitive\\":\\"boolean\\"}}", parametersJson: "[{\\"name\\":\\"props\\",\\"optional\\":true,\\"type\\":{\\"fqn\\":\\"jsii-calc.submodule.child.KwargsProps\\"}}]")] public static bool Method(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.IKwargsProps? props = null) { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Isolated.Kwargs), new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.IKwargsProps)}, new object?[]{props}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/MyClass.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36333,7 +35809,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.MyClass), fullyQualifiedName: \\"jsii-calc.submodule.MyClass\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"props\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.SomeStruct\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.MyClass), fullyQualifiedName: "jsii-calc.submodule.MyClass", parametersJson: "[{\\"name\\":\\"props\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.submodule.child.SomeStruct\\"}}]")] public class MyClass : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.DeeplyNested.INamespaced { /// @@ -36344,14 +35820,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected MyClass(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected MyClass(DeputyProps props): base(props) { @@ -36360,7 +35836,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule /// /// Stability: Experimental /// - [JsiiProperty(name: \\"awesomeness\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.Awesomeness\\\\\\"}\\")] + [JsiiProperty(name: "awesomeness", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.Awesomeness\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.Awesomeness Awesomeness { get => GetInstanceProperty(); @@ -36369,7 +35845,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule /// /// Stability: Experimental /// - [JsiiProperty(name: \\"definedAt\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "definedAt", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string DefinedAt { get => GetInstanceProperty(); @@ -36378,7 +35854,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule /// /// Stability: Experimental /// - [JsiiProperty(name: \\"goodness\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.Goodness\\\\\\"}\\")] + [JsiiProperty(name: "goodness", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.Goodness\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.Goodness Goodness { get => GetInstanceProperty(); @@ -36387,7 +35863,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule /// /// Stability: Experimental /// - [JsiiProperty(name: \\"props\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.SomeStruct\\\\\\"}\\")] + [JsiiProperty(name: "props", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.SomeStruct\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.ISomeStruct Props { get => GetInstanceProperty(); @@ -36397,7 +35873,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"allTypes\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AllTypes\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "allTypes", typeJson: "{\\"fqn\\":\\"jsii-calc.AllTypes\\"}", isOptional: true)] public virtual Amazon.JSII.Tests.CalculatorNamespace.AllTypes? AllTypes { get => GetInstanceProperty(); @@ -36405,13 +35881,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/NestedSubmodule/DeeplyNested/INamespaced.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36420,26 +35894,24 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.Deeply /// /// Stability: Experimental /// - [JsiiInterface(nativeType: typeof(INamespaced), fullyQualifiedName: \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\")] + [JsiiInterface(nativeType: typeof(INamespaced), fullyQualifiedName: "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced")] public interface INamespaced { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"definedAt\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "definedAt", typeJson: "{\\"primitive\\":\\"string\\"}")] string DefinedAt { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/NestedSubmodule/DeeplyNested/INamespacedProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36448,7 +35920,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.Deeply /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(INamespaced), fullyQualifiedName: \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\")] + [JsiiTypeProxy(nativeType: typeof(INamespaced), fullyQualifiedName: "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced")] internal sealed class INamespacedProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.DeeplyNested.INamespaced { private INamespacedProxy(ByRefValue reference): base(reference) @@ -36458,20 +35930,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.Deeply /// /// Stability: Experimental /// - [JsiiProperty(name: \\"definedAt\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "definedAt", typeJson: "{\\"primitive\\":\\"string\\"}")] public string DefinedAt { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/NestedSubmodule/Namespaced.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36480,18 +35950,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.Namespaced), fullyQualifiedName: \\"jsii-calc.submodule.nested_submodule.Namespaced\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.Namespaced), fullyQualifiedName: "jsii-calc.submodule.nested_submodule.Namespaced")] public abstract class Namespaced : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.DeeplyNested.INamespaced { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Namespaced(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Namespaced(DeputyProps props): base(props) { @@ -36500,7 +35970,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule /// /// Stability: Experimental /// - [JsiiProperty(name: \\"definedAt\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "definedAt", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string DefinedAt { get => GetInstanceProperty(); @@ -36509,20 +35979,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule /// /// Stability: Experimental /// - [JsiiProperty(name: \\"goodness\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.Goodness\\\\\\"}\\")] + [JsiiProperty(name: "goodness", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.Goodness\\"}")] public abstract Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.Goodness Goodness { get; } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Submodule/NestedSubmodule/NamespacedProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36531,7 +35999,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.Namespaced), fullyQualifiedName: \\"jsii-calc.submodule.nested_submodule.Namespaced\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.Namespaced), fullyQualifiedName: "jsii-calc.submodule.nested_submodule.Namespaced")] internal sealed class NamespacedProxy : Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule.Namespaced { private NamespacedProxy(ByRefValue reference): base(reference) @@ -36541,20 +36009,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.Submodule.NestedSubmodule /// /// Stability: Experimental /// - [JsiiProperty(name: \\"goodness\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.submodule.child.Goodness\\\\\\"}\\")] + [JsiiProperty(name: "goodness", typeJson: "{\\"fqn\\":\\"jsii-calc.submodule.child.Goodness\\"}")] public override Amazon.JSII.Tests.CalculatorNamespace.Submodule.Child.Goodness Goodness { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Sum.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36564,7 +36030,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Sum), fullyQualifiedName: \\"jsii-calc.Sum\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Sum), fullyQualifiedName: "jsii-calc.Sum")] public class Sum : Amazon.JSII.Tests.CalculatorNamespace.Composition.CompositeOperation { /// @@ -36575,14 +36041,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Sum(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Sum(DeputyProps props): base(props) { @@ -36594,7 +36060,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"expression\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "expression", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public override Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Expression { get => GetInstanceProperty(); @@ -36604,7 +36070,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"parts\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "parts", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"},\\"kind\\":\\"array\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_[] Parts { get => GetInstanceProperty(); @@ -36612,13 +36078,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilder.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36627,13 +36091,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SupportsNiceJavaBuilder), fullyQualifiedName: \\"jsii-calc.SupportsNiceJavaBuilder\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"some identifier.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"id\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"the default value of \`bar\`.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"defaultBar\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"some props once can provide.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"props\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.SupportsNiceJavaBuilderProps\\\\\\"}},{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"a variadic continuation.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"rest\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"variadic\\\\\\":true}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SupportsNiceJavaBuilder), fullyQualifiedName: "jsii-calc.SupportsNiceJavaBuilder", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"some identifier.\\"},\\"name\\":\\"id\\",\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"docs\\":{\\"summary\\":\\"the default value of \`bar\`.\\"},\\"name\\":\\"defaultBar\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"docs\\":{\\"summary\\":\\"some props once can provide.\\"},\\"name\\":\\"props\\",\\"optional\\":true,\\"type\\":{\\"fqn\\":\\"jsii-calc.SupportsNiceJavaBuilderProps\\"}},{\\"docs\\":{\\"summary\\":\\"a variadic continuation.\\"},\\"name\\":\\"rest\\",\\"type\\":{\\"primitive\\":\\"string\\"},\\"variadic\\":true}]")] public class SupportsNiceJavaBuilder : Amazon.JSII.Tests.CalculatorNamespace.SupportsNiceJavaBuilderWithRequiredProps { - /// some identifier. - /// the default value of \`bar\`. - /// some props once can provide. - /// a variadic continuation. + /// some identifier. + /// the default value of \`bar\`. + /// some props once can provide. + /// a variadic continuation. /// /// Stability: Experimental /// @@ -36642,14 +36106,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SupportsNiceJavaBuilder(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SupportsNiceJavaBuilder(DeputyProps props): base(props) { @@ -36659,7 +36123,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"id\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "id", typeJson: "{\\"primitive\\":\\"number\\"}")] public override double Id { get => GetInstanceProperty(); @@ -36668,20 +36132,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"rest\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "rest", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"string\\"},\\"kind\\":\\"array\\"}}")] public virtual string[] Rest { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36692,14 +36154,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.SupportsNiceJavaBuilderProps\\")] + [JsiiByValue(fqn: "jsii-calc.SupportsNiceJavaBuilderProps")] public class SupportsNiceJavaBuilderProps : Amazon.JSII.Tests.CalculatorNamespace.ISupportsNiceJavaBuilderProps { /// Some number, like 42. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"number\\"}", isOverride: true)] public double Bar { get; @@ -36713,7 +36175,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"id\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "id", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Id { get; @@ -36721,13 +36183,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderPropsProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36736,7 +36196,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(ISupportsNiceJavaBuilderProps), fullyQualifiedName: \\"jsii-calc.SupportsNiceJavaBuilderProps\\")] + [JsiiTypeProxy(nativeType: typeof(ISupportsNiceJavaBuilderProps), fullyQualifiedName: "jsii-calc.SupportsNiceJavaBuilderProps")] internal sealed class SupportsNiceJavaBuilderPropsProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.ISupportsNiceJavaBuilderProps { private SupportsNiceJavaBuilderPropsProxy(ByRefValue reference): base(reference) @@ -36747,7 +36207,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"number\\"}")] public double Bar { get => GetInstanceProperty(); @@ -36760,20 +36220,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"id\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "id", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Id { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SupportsNiceJavaBuilderWithRequiredProps.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36783,11 +36241,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SupportsNiceJavaBuilderWithRequiredProps), fullyQualifiedName: \\"jsii-calc.SupportsNiceJavaBuilderWithRequiredProps\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"some identifier of your choice.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"id\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"some properties.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"props\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.SupportsNiceJavaBuilderProps\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SupportsNiceJavaBuilderWithRequiredProps), fullyQualifiedName: "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"some identifier of your choice.\\"},\\"name\\":\\"id\\",\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"docs\\":{\\"summary\\":\\"some properties.\\"},\\"name\\":\\"props\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.SupportsNiceJavaBuilderProps\\"}}]")] public class SupportsNiceJavaBuilderWithRequiredProps : DeputyBase { - /// some identifier of your choice. - /// some properties. + /// some identifier of your choice. + /// some properties. /// /// Stability: Experimental /// @@ -36796,14 +36254,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SupportsNiceJavaBuilderWithRequiredProps(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SupportsNiceJavaBuilderWithRequiredProps(DeputyProps props): base(props) { @@ -36812,7 +36270,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double Bar { get => GetInstanceProperty(); @@ -36822,7 +36280,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"id\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "id", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double Id { get => GetInstanceProperty(); @@ -36832,20 +36290,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"propId\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "propId", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public virtual string? PropId { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SyncVirtualMethods.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -36854,7 +36310,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SyncVirtualMethods), fullyQualifiedName: \\"jsii-calc.SyncVirtualMethods\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SyncVirtualMethods), fullyQualifiedName: "jsii-calc.SyncVirtualMethods")] public class SyncVirtualMethods : DeputyBase { /// @@ -36865,14 +36321,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SyncVirtualMethods(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected SyncVirtualMethods(DeputyProps props): base(props) { @@ -36881,7 +36337,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"callerIsAsync\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", isAsync: true)] + [JsiiMethod(name: "callerIsAsync", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", isAsync: true)] public virtual double CallerIsAsync() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -36890,7 +36346,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"callerIsMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "callerIsMethod", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public virtual double CallerIsMethod() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -36899,7 +36355,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"modifyOtherProperty\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "modifyOtherProperty", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public virtual void ModifyOtherProperty(string @value) { InvokeInstanceVoidMethod(new System.Type[]{typeof(string)}, new object[]{@value}); @@ -36908,7 +36364,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"modifyValueOfTheProperty\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "modifyValueOfTheProperty", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public virtual void ModifyValueOfTheProperty(string @value) { InvokeInstanceVoidMethod(new System.Type[]{typeof(string)}, new object[]{@value}); @@ -36917,7 +36373,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"readA\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "readA", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public virtual double ReadA() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -36926,7 +36382,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"retrieveOtherProperty\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "retrieveOtherProperty", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string RetrieveOtherProperty() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -36935,7 +36391,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"retrieveReadOnlyProperty\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "retrieveReadOnlyProperty", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string RetrieveReadOnlyProperty() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -36944,7 +36400,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"retrieveValueOfTheProperty\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "retrieveValueOfTheProperty", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string RetrieveValueOfTheProperty() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -36953,7 +36409,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"virtualMethod\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"n\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "virtualMethod", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"n\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual double VirtualMethod(double n) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{n}); @@ -36962,7 +36418,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"writeA\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "writeA", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual void WriteA(double @value) { InvokeInstanceVoidMethod(new System.Type[]{typeof(double)}, new object[]{@value}); @@ -36971,7 +36427,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"readonlyProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "readonlyProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string ReadonlyProperty { get => GetInstanceProperty(); @@ -36980,7 +36436,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"a\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "a", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double A { get => GetInstanceProperty(); @@ -36990,7 +36446,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"callerIsProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "callerIsProperty", typeJson: "{\\"primitive\\":\\"number\\"}")] public virtual double CallerIsProperty { get => GetInstanceProperty(); @@ -37000,7 +36456,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"otherProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "otherProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string OtherProperty { get => GetInstanceProperty(); @@ -37010,7 +36466,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"theProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "theProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string TheProperty { get => GetInstanceProperty(); @@ -37020,7 +36476,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"valueOfOtherProperty\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "valueOfOtherProperty", typeJson: "{\\"primitive\\":\\"string\\"}")] public virtual string ValueOfOtherProperty { get => GetInstanceProperty(); @@ -37028,13 +36484,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Thrower.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37043,7 +36497,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Thrower), fullyQualifiedName: \\"jsii-calc.Thrower\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Thrower), fullyQualifiedName: "jsii-calc.Thrower")] public class Thrower : DeputyBase { /// @@ -37054,14 +36508,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Thrower(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected Thrower(DeputyProps props): base(props) { @@ -37070,20 +36524,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"throwError\\")] + [JsiiMethod(name: "throwError")] public virtual void ThrowError() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStruct.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37094,14 +36546,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.TopLevelStruct\\")] + [JsiiByValue(fqn: "jsii-calc.TopLevelStruct")] public class TopLevelStruct : Amazon.JSII.Tests.CalculatorNamespace.ITopLevelStruct { /// This is a required field. /// /// Stability: Experimental /// - [JsiiProperty(name: \\"required\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOverride: true)] + [JsiiProperty(name: "required", typeJson: "{\\"primitive\\":\\"string\\"}", isOverride: true)] public string Required { get; @@ -37112,7 +36564,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"secondLevel\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.SecondLevelStruct\\\\\\"}]}}\\", isOverride: true)] + [JsiiProperty(name: "secondLevel", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"number\\"},{\\"fqn\\":\\"jsii-calc.SecondLevelStruct\\"}]}}", isOverride: true)] public object SecondLevel { get; @@ -37124,7 +36576,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optional\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "optional", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true, isOverride: true)] public string? Optional { get; @@ -37132,13 +36584,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/TopLevelStructProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37147,7 +36597,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(ITopLevelStruct), fullyQualifiedName: \\"jsii-calc.TopLevelStruct\\")] + [JsiiTypeProxy(nativeType: typeof(ITopLevelStruct), fullyQualifiedName: "jsii-calc.TopLevelStruct")] internal sealed class TopLevelStructProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.ITopLevelStruct { private TopLevelStructProxy(ByRefValue reference): base(reference) @@ -37158,7 +36608,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"required\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\")] + [JsiiProperty(name: "required", typeJson: "{\\"primitive\\":\\"string\\"}")] public string Required { get => GetInstanceProperty(); @@ -37168,7 +36618,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"secondLevel\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.SecondLevelStruct\\\\\\"}]}}\\")] + [JsiiProperty(name: "secondLevel", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"number\\"},{\\"fqn\\":\\"jsii-calc.SecondLevelStruct\\"}]}}")] public object SecondLevel { get => GetInstanceProperty(); @@ -37179,20 +36629,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"optional\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}\\", isOptional: true)] + [JsiiProperty(name: "optional", typeJson: "{\\"primitive\\":\\"string\\"}", isOptional: true)] public string? Optional { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UmaskCheck.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37204,18 +36652,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// See: https://github.com/aws/jsii/issues/1765 /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UmaskCheck), fullyQualifiedName: \\"jsii-calc.UmaskCheck\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UmaskCheck), fullyQualifiedName: "jsii-calc.UmaskCheck")] public class UmaskCheck : DeputyBase { /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UmaskCheck(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UmaskCheck(DeputyProps props): base(props) { @@ -37225,20 +36673,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"mode\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\")] + [JsiiMethod(name: "mode", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}")] public static double Mode() { return InvokeStaticMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.UmaskCheck), new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnaryOperation.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37248,7 +36694,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UnaryOperation), fullyQualifiedName: \\"jsii-calc.UnaryOperation\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"operand\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UnaryOperation), fullyQualifiedName: "jsii-calc.UnaryOperation", parametersJson: "[{\\"name\\":\\"operand\\",\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}}]")] public abstract class UnaryOperation : Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Operation { /// @@ -37259,14 +36705,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UnaryOperation(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UnaryOperation(DeputyProps props): base(props) { @@ -37275,20 +36721,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"operand\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.Value\\\\\\"}\\")] + [JsiiProperty(name: "operand", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.Value\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.LibNamespace.Value_ Operand { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnaryOperationProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37298,7 +36742,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UnaryOperation), fullyQualifiedName: \\"jsii-calc.UnaryOperation\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UnaryOperation), fullyQualifiedName: "jsii-calc.UnaryOperation")] internal sealed class UnaryOperationProxy : Amazon.JSII.Tests.CalculatorNamespace.UnaryOperation { private UnaryOperationProxy(ByRefValue reference): base(reference) @@ -37309,7 +36753,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiProperty(name: \\"value\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}\\")] + [JsiiProperty(name: "value", typeJson: "{\\"primitive\\":\\"number\\"}")] [System.Obsolete()] public override double Value { @@ -37320,7 +36764,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Deprecated /// - [JsiiMethod(name: \\"toString\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", isOverride: true)] + [JsiiMethod(name: "toString", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", isOverride: true)] [System.Obsolete()] public override string ToString() { @@ -37328,13 +36772,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionProperties.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37345,13 +36787,13 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiByValue(fqn: \\"jsii-calc.UnionProperties\\")] + [JsiiByValue(fqn: "jsii-calc.UnionProperties")] public class UnionProperties : Amazon.JSII.Tests.CalculatorNamespace.IUnionProperties { /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AllTypes\\\\\\"}]}}\\", isOverride: true)] + [JsiiProperty(name: "bar", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"string\\"},{\\"primitive\\":\\"number\\"},{\\"fqn\\":\\"jsii-calc.AllTypes\\"}]}}", isOverride: true)] public object Bar { get; @@ -37362,7 +36804,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}]}}\\", isOptional: true, isOverride: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"string\\"},{\\"primitive\\":\\"number\\"}]}}", isOptional: true, isOverride: true)] public object? Foo { get; @@ -37370,13 +36812,11 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UnionPropertiesProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37385,7 +36825,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(IUnionProperties), fullyQualifiedName: \\"jsii-calc.UnionProperties\\")] + [JsiiTypeProxy(nativeType: typeof(IUnionProperties), fullyQualifiedName: "jsii-calc.UnionProperties")] internal sealed class UnionPropertiesProxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IUnionProperties { private UnionPropertiesProxy(ByRefValue reference): base(reference) @@ -37395,7 +36835,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"bar\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.AllTypes\\\\\\"}]}}\\")] + [JsiiProperty(name: "bar", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"string\\"},{\\"primitive\\":\\"number\\"},{\\"fqn\\":\\"jsii-calc.AllTypes\\"}]}}")] public object Bar { get => GetInstanceProperty(); @@ -37405,20 +36845,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// Stability: Experimental /// [JsiiOptional] - [JsiiProperty(name: \\"foo\\", typeJson: \\"{\\\\\\"union\\\\\\":{\\\\\\"types\\\\\\":[{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"},{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}]}}\\", isOptional: true)] + [JsiiProperty(name: "foo", typeJson: "{\\"union\\":{\\"types\\":[{\\"primitive\\":\\"string\\"},{\\"primitive\\":\\"number\\"}]}}", isOptional: true)] public object? Foo { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UpcasingReflectable.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37428,7 +36866,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UpcasingReflectable), fullyQualifiedName: \\"jsii-calc.UpcasingReflectable\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"delegate\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"map\\\\\\"}}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UpcasingReflectable), fullyQualifiedName: "jsii-calc.UpcasingReflectable", parametersJson: "[{\\"name\\":\\"delegate\\",\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"any\\"},\\"kind\\":\\"map\\"}}}]")] public class UpcasingReflectable : DeputyBase, Amazon.JSII.Tests.CustomSubmoduleName.IReflectable { /// @@ -37439,14 +36877,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UpcasingReflectable(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UpcasingReflectable(DeputyProps props): base(props) { @@ -37455,7 +36893,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"reflector\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.submodule.Reflector\\\\\\"}\\")] + [JsiiProperty(name: "reflector", typeJson: "{\\"fqn\\":\\"@scope/jsii-calc-lib.submodule.Reflector\\"}")] public static Amazon.JSII.Tests.CustomSubmoduleName.Reflector Reflector { get; @@ -37465,20 +36903,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"entries\\", typeJson: \\"{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}\\")] + [JsiiProperty(name: "entries", typeJson: "{\\"collection\\":{\\"elementtype\\":{\\"fqn\\":\\"@scope/jsii-calc-lib.submodule.ReflectableEntry\\"},\\"kind\\":\\"array\\"}}")] public virtual Amazon.JSII.Tests.CustomSubmoduleName.IReflectableEntry[] Entries { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseBundledDependency.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37487,7 +36923,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UseBundledDependency), fullyQualifiedName: \\"jsii-calc.UseBundledDependency\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UseBundledDependency), fullyQualifiedName: "jsii-calc.UseBundledDependency")] public class UseBundledDependency : DeputyBase { /// @@ -37498,14 +36934,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UseBundledDependency(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UseBundledDependency(DeputyProps props): base(props) { @@ -37514,20 +36950,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"value\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"any\\\\\\"}}\\")] + [JsiiMethod(name: "value", returnsJson: "{\\"type\\":{\\"primitive\\":\\"any\\"}}")] public virtual object Value() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseCalcBase.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37537,7 +36971,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UseCalcBase), fullyQualifiedName: \\"jsii-calc.UseCalcBase\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UseCalcBase), fullyQualifiedName: "jsii-calc.UseCalcBase")] public class UseCalcBase : DeputyBase { /// @@ -37548,14 +36982,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UseCalcBase(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UseCalcBase(DeputyProps props): base(props) { @@ -37564,20 +36998,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"hello\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"@scope/jsii-calc-base.Base\\\\\\"}}\\")] + [JsiiMethod(name: "hello", returnsJson: "{\\"type\\":{\\"fqn\\":\\"@scope/jsii-calc-base.Base\\"}}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.BaseNamespace.Base Hello() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UsesInterfaceWithProperties.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37586,7 +37018,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UsesInterfaceWithProperties), fullyQualifiedName: \\"jsii-calc.UsesInterfaceWithProperties\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"obj\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IInterfaceWithProperties\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UsesInterfaceWithProperties), fullyQualifiedName: "jsii-calc.UsesInterfaceWithProperties", parametersJson: "[{\\"name\\":\\"obj\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IInterfaceWithProperties\\"}}]")] public class UsesInterfaceWithProperties : DeputyBase { /// @@ -37597,14 +37029,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UsesInterfaceWithProperties(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected UsesInterfaceWithProperties(DeputyProps props): base(props) { @@ -37613,7 +37045,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"justRead\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\")] + [JsiiMethod(name: "justRead", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}")] public virtual string JustRead() { return InvokeInstanceMethod(new System.Type[]{}, new object[]{}); @@ -37622,7 +37054,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"readStringAndNumber\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"ext\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IInterfaceWithPropertiesExtension\\\\\\"}}]\\")] + [JsiiMethod(name: "readStringAndNumber", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"ext\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.IInterfaceWithPropertiesExtension\\"}}]")] public virtual string ReadStringAndNumber(Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithPropertiesExtension ext) { return InvokeInstanceMethod(new System.Type[]{typeof(Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithPropertiesExtension)}, new object[]{ext}); @@ -37631,7 +37063,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"writeAndRead\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"value\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiMethod(name: "writeAndRead", returnsJson: "{\\"type\\":{\\"primitive\\":\\"string\\"}}", parametersJson: "[{\\"name\\":\\"value\\",\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public virtual string WriteAndRead(string @value) { return InvokeInstanceMethod(new System.Type[]{typeof(string)}, new object[]{@value}); @@ -37640,20 +37072,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"obj\\", typeJson: \\"{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.IInterfaceWithProperties\\\\\\"}\\")] + [JsiiProperty(name: "obj", typeJson: "{\\"fqn\\":\\"jsii-calc.IInterfaceWithProperties\\"}")] public virtual Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithProperties Obj { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicInvoker.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37662,7 +37092,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VariadicInvoker), fullyQualifiedName: \\"jsii-calc.VariadicInvoker\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"method\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"fqn\\\\\\":\\\\\\"jsii-calc.VariadicMethod\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VariadicInvoker), fullyQualifiedName: "jsii-calc.VariadicInvoker", parametersJson: "[{\\"name\\":\\"method\\",\\"type\\":{\\"fqn\\":\\"jsii-calc.VariadicMethod\\"}}]")] public class VariadicInvoker : DeputyBase { /// @@ -37673,14 +37103,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected VariadicInvoker(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected VariadicInvoker(DeputyProps props): base(props) { @@ -37689,20 +37119,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"asArray\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"values\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},\\\\\\"variadic\\\\\\":true}]\\")] + [JsiiMethod(name: "asArray", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"number\\"},\\"kind\\":\\"array\\"}}}", parametersJson: "[{\\"name\\":\\"values\\",\\"type\\":{\\"primitive\\":\\"number\\"},\\"variadic\\":true}]")] public virtual double[] AsArray(params double[] values) { return InvokeInstanceMethod(new System.Type[]{typeof(double[])}, new object[]{values}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VariadicMethod.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37711,10 +37139,10 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VariadicMethod), fullyQualifiedName: \\"jsii-calc.VariadicMethod\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"a prefix that will be use for all values returned by \`#asArray\`.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"prefix\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},\\\\\\"variadic\\\\\\":true}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VariadicMethod), fullyQualifiedName: "jsii-calc.VariadicMethod", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"a prefix that will be use for all values returned by \`#asArray\`.\\"},\\"name\\":\\"prefix\\",\\"type\\":{\\"primitive\\":\\"number\\"},\\"variadic\\":true}]")] public class VariadicMethod : DeputyBase { - /// a prefix that will be use for all values returned by \`#asArray\`. + /// a prefix that will be use for all values returned by \`#asArray\`. /// /// Stability: Experimental /// @@ -37723,38 +37151,36 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected VariadicMethod(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected VariadicMethod(DeputyProps props): base(props) { } - /// the first element of the array to be returned (after the \`prefix\` provided at construction time). - /// other elements to be included in the array. + /// the first element of the array to be returned (after the \`prefix\` provided at construction time). + /// other elements to be included in the array. /// /// Stability: Experimental /// - [JsiiMethod(name: \\"asArray\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"collection\\\\\\":{\\\\\\"elementtype\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},\\\\\\"kind\\\\\\":\\\\\\"array\\\\\\"}}}\\", parametersJson: \\"[{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"the first element of the array to be returned (after the \`prefix\` provided at construction time).\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"first\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}},{\\\\\\"docs\\\\\\":{\\\\\\"summary\\\\\\":\\\\\\"other elements to be included in the array.\\\\\\"},\\\\\\"name\\\\\\":\\\\\\"others\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"},\\\\\\"variadic\\\\\\":true}]\\")] + [JsiiMethod(name: "asArray", returnsJson: "{\\"type\\":{\\"collection\\":{\\"elementtype\\":{\\"primitive\\":\\"number\\"},\\"kind\\":\\"array\\"}}}", parametersJson: "[{\\"docs\\":{\\"summary\\":\\"the first element of the array to be returned (after the \`prefix\` provided at construction time).\\"},\\"name\\":\\"first\\",\\"type\\":{\\"primitive\\":\\"number\\"}},{\\"docs\\":{\\"summary\\":\\"other elements to be included in the array.\\"},\\"name\\":\\"others\\",\\"type\\":{\\"primitive\\":\\"number\\"},\\"variadic\\":true}]")] public virtual double[] AsArray(double first, params double[] others) { return InvokeInstanceMethod(new System.Type[]{typeof(double), typeof(double[])}, new object[]{first, others}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VirtualMethodPlayground.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37763,7 +37189,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VirtualMethodPlayground), fullyQualifiedName: \\"jsii-calc.VirtualMethodPlayground\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VirtualMethodPlayground), fullyQualifiedName: "jsii-calc.VirtualMethodPlayground")] public class VirtualMethodPlayground : DeputyBase { /// @@ -37774,14 +37200,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected VirtualMethodPlayground(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected VirtualMethodPlayground(DeputyProps props): base(props) { @@ -37790,7 +37216,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"overrideMeAsync\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"index\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\", isAsync: true)] + [JsiiMethod(name: "overrideMeAsync", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"index\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]", isAsync: true)] public virtual double OverrideMeAsync(double index) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{index}); @@ -37799,7 +37225,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"overrideMeSync\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"index\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "overrideMeSync", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"index\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual double OverrideMeSync(double index) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{index}); @@ -37808,7 +37234,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"parallelSumAsync\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"count\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\", isAsync: true)] + [JsiiMethod(name: "parallelSumAsync", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"count\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]", isAsync: true)] public virtual double ParallelSumAsync(double count) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{count}); @@ -37817,7 +37243,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"serialSumAsync\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"count\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\", isAsync: true)] + [JsiiMethod(name: "serialSumAsync", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"count\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]", isAsync: true)] public virtual double SerialSumAsync(double count) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{count}); @@ -37826,20 +37252,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"sumSync\\", returnsJson: \\"{\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"count\\\\\\",\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"number\\\\\\"}}]\\")] + [JsiiMethod(name: "sumSync", returnsJson: "{\\"type\\":{\\"primitive\\":\\"number\\"}}", parametersJson: "[{\\"name\\":\\"count\\",\\"type\\":{\\"primitive\\":\\"number\\"}}]")] public virtual double SumSync(double count) { return InvokeInstanceMethod(new System.Type[]{typeof(double)}, new object[]{count}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallback.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37847,7 +37271,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { /// This test is used to validate the runtimes can return correctly from a void callback. /// - /// + /// /// Implement overrideMe (method does not have to do anything). /// Invoke callMe /// Verify that methodWasCalled is true. @@ -37855,7 +37279,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VoidCallback), fullyQualifiedName: \\"jsii-calc.VoidCallback\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VoidCallback), fullyQualifiedName: "jsii-calc.VoidCallback")] public abstract class VoidCallback : DeputyBase { /// @@ -37866,14 +37290,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected VoidCallback(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected VoidCallback(DeputyProps props): base(props) { @@ -37882,7 +37306,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"callMe\\")] + [JsiiMethod(name: "callMe")] public virtual void CallMe() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); @@ -37891,27 +37315,25 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"overrideMe\\")] + [JsiiMethod(name: "overrideMe")] protected abstract void OverrideMe(); /// /// Stability: Experimental /// - [JsiiProperty(name: \\"methodWasCalled\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "methodWasCalled", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public virtual bool MethodWasCalled { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallbackProxy.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37919,7 +37341,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace { /// This test is used to validate the runtimes can return correctly from a void callback. /// - /// + /// /// Implement overrideMe (method does not have to do anything). /// Invoke callMe /// Verify that methodWasCalled is true. @@ -37927,7 +37349,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VoidCallback), fullyQualifiedName: \\"jsii-calc.VoidCallback\\")] + [JsiiTypeProxy(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VoidCallback), fullyQualifiedName: "jsii-calc.VoidCallback")] internal sealed class VoidCallbackProxy : Amazon.JSII.Tests.CalculatorNamespace.VoidCallback { private VoidCallbackProxy(ByRefValue reference): base(reference) @@ -37937,20 +37359,18 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiMethod(name: \\"overrideMe\\")] + [JsiiMethod(name: "overrideMe")] protected override void OverrideMe() { InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/WithPrivatePropertyInConstructor.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; #pragma warning disable CS0672,CS0809,CS1591 @@ -37960,7 +37380,7 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.WithPrivatePropertyInConstructor), fullyQualifiedName: \\"jsii-calc.WithPrivatePropertyInConstructor\\", parametersJson: \\"[{\\\\\\"name\\\\\\":\\\\\\"privateField\\\\\\",\\\\\\"optional\\\\\\":true,\\\\\\"type\\\\\\":{\\\\\\"primitive\\\\\\":\\\\\\"string\\\\\\"}}]\\")] + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.WithPrivatePropertyInConstructor), fullyQualifiedName: "jsii-calc.WithPrivatePropertyInConstructor", parametersJson: "[{\\"name\\":\\"privateField\\",\\"optional\\":true,\\"type\\":{\\"primitive\\":\\"string\\"}}]")] public class WithPrivatePropertyInConstructor : DeputyBase { /// @@ -37971,14 +37391,14 @@ namespace Amazon.JSII.Tests.CalculatorNamespace } /// Used by jsii to construct an instance of this class from a Javascript-owned object reference - /// The Javascript-owned object reference + /// The Javascript-owned object reference [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected WithPrivatePropertyInConstructor(ByRefValue reference): base(reference) { } /// Used by jsii to construct an instance of this class from DeputyProps - /// The deputy props + /// The deputy props [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected WithPrivatePropertyInConstructor(DeputyProps props): base(props) { @@ -37987,32 +37407,28 @@ namespace Amazon.JSII.Tests.CalculatorNamespace /// /// Stability: Experimental /// - [JsiiProperty(name: \\"success\\", typeJson: \\"{\\\\\\"primitive\\\\\\":\\\\\\"boolean\\\\\\"}\\")] + [JsiiProperty(name: "success", typeJson: "{\\"primitive\\":\\"boolean\\"}")] public virtual bool Success { get => GetInstanceProperty(); } } } -", -} + `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/AssemblyInfo.cs 1`] = ` -Object { - Symbol(file): "using Amazon.JSII.Runtime.Deputy; +using Amazon.JSII.Runtime.Deputy; + +[assembly: JsiiAssembly("jsii-calc", "0.0.0", "jsii-calc-0.0.0.tgz")] -[assembly: JsiiAssembly(\\"jsii-calc\\", \\"0.0.0\\", \\"jsii-calc-0.0.0.tgz\\")] -", -} `; exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/jsii-calc-0.0.0.tgz 1`] = `dotnet/Amazon.JSII.Tests.CalculatorPackageId/jsii-calc-0.0.0.tgz is a tarball`; exports[`Generated code for "jsii-calc": /java/pom.xml 1`] = ` -Object { - Symbol(file): " - + + 4.0.0 \${project.groupId}:\${project.artifactId} A simple calcuator built on JSII. @@ -38191,13 +37607,11 @@ Object { -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/$Module.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; import static java.util.Arrays.asList; @@ -38222,13 +37636,13 @@ public final class $Module extends JsiiModule { private static Map load() { final Map result = new HashMap<>(); final ClassLoader cl = $Module.class.getClassLoader(); - try (final InputStream is = cl.getResourceAsStream(\\"software/amazon/jsii/tests/calculator/$Module.txt\\"); + try (final InputStream is = cl.getResourceAsStream("software/amazon/jsii/tests/calculator/$Module.txt"); final Reader rd = new InputStreamReader(is, StandardCharsets.UTF_8); final BufferedReader br = new BufferedReader(rd)) { br.lines() .filter(line -> !line.trim().isEmpty()) .forEach(line -> { - final String[] parts = line.split(\\"=\\", 2); + final String[] parts = line.split("=", 2); final String fqn = parts[0]; final String className = parts[1]; result.put(fqn, className); @@ -38243,7 +37657,7 @@ public final class $Module extends JsiiModule { private final Map> cache = new HashMap<>(); public $Module() { - super(\\"jsii-calc\\", \\"0.0.0\\", $Module.class, \\"jsii-calc@0.0.0.jsii.tgz\\"); + super("jsii-calc", "0.0.0", $Module.class, "jsii-calc@0.0.0.jsii.tgz"); } @Override @@ -38254,7 +37668,7 @@ public final class $Module extends JsiiModule { @Override protected Class resolveClass(final String fqn) throws ClassNotFoundException { if (!MODULE_TYPES.containsKey(fqn)) { - throw new ClassNotFoundException(\\"Unknown JSII type: \\" + fqn); + throw new ClassNotFoundException("Unknown JSII type: " + fqn); } String className = MODULE_TYPES.get(fqn); if (!this.cache.containsKey(className)) { @@ -38272,20 +37686,18 @@ public final class $Module extends JsiiModule { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AbstractClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AbstractClass") public abstract class AbstractClass extends software.amazon.jsii.tests.calculator.AbstractClassBase implements software.amazon.jsii.tests.calculator.IInterfaceImplementedByAbstractClass { protected AbstractClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -38318,7 +37730,7 @@ public abstract class AbstractClass extends software.amazon.jsii.tests.calculato */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number nonAbstractMethod() { - return this.jsiiCall(\\"nonAbstractMethod\\", java.lang.Number.class); + return this.jsiiCall("nonAbstractMethod", java.lang.Number.class); } /** @@ -38327,7 +37739,7 @@ public abstract class AbstractClass extends software.amazon.jsii.tests.calculato @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getPropFromInterface() { - return this.jsiiGet(\\"propFromInterface\\", java.lang.String.class); + return this.jsiiGet("propFromInterface", java.lang.String.class); } /** @@ -38344,7 +37756,7 @@ public abstract class AbstractClass extends software.amazon.jsii.tests.calculato @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getPropFromInterface() { - return this.jsiiGet(\\"propFromInterface\\", java.lang.String.class); + return this.jsiiGet("propFromInterface", java.lang.String.class); } /** @@ -38353,7 +37765,7 @@ public abstract class AbstractClass extends software.amazon.jsii.tests.calculato @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getAbstractProperty() { - return this.jsiiGet(\\"abstractProperty\\", java.lang.String.class); + return this.jsiiGet("abstractProperty", java.lang.String.class); } /** @@ -38364,24 +37776,22 @@ public abstract class AbstractClass extends software.amazon.jsii.tests.calculato @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String abstractMethod(final @org.jetbrains.annotations.NotNull java.lang.String name) { - return this.jsiiCall(\\"abstractMethod\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(name, \\"name is required\\") }); + return this.jsiiCall("abstractMethod", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(name, "name is required") }); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassBase.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AbstractClassBase\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AbstractClassBase") public abstract class AbstractClassBase extends software.amazon.jsii.JsiiObject { protected AbstractClassBase(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -38421,24 +37831,22 @@ public abstract class AbstractClassBase extends software.amazon.jsii.JsiiObject @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getAbstractProperty() { - return this.jsiiGet(\\"abstractProperty\\", java.lang.String.class); + return this.jsiiGet("abstractProperty", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassReturner.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AbstractClassReturner\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AbstractClassReturner") public class AbstractClassReturner extends software.amazon.jsii.JsiiObject { protected AbstractClassReturner(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -38463,7 +37871,7 @@ public class AbstractClassReturner extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.AbstractClass giveMeAbstract() { - return this.jsiiCall(\\"giveMeAbstract\\", software.amazon.jsii.tests.calculator.AbstractClass.class); + return this.jsiiCall("giveMeAbstract", software.amazon.jsii.tests.calculator.AbstractClass.class); } /** @@ -38471,7 +37879,7 @@ public class AbstractClassReturner extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IInterfaceImplementedByAbstractClass giveMeInterface() { - return this.jsiiCall(\\"giveMeInterface\\", software.amazon.jsii.tests.calculator.IInterfaceImplementedByAbstractClass.class); + return this.jsiiCall("giveMeInterface", software.amazon.jsii.tests.calculator.IInterfaceImplementedByAbstractClass.class); } /** @@ -38479,25 +37887,23 @@ public class AbstractClassReturner extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.AbstractClassBase getReturnAbstractFromProperty() { - return this.jsiiGet(\\"returnAbstractFromProperty\\", software.amazon.jsii.tests.calculator.AbstractClassBase.class); + return this.jsiiGet("returnAbstractFromProperty", software.amazon.jsii.tests.calculator.AbstractClassBase.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AbstractSuite.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Ensures abstract members implementations correctly register overrides in various languages. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AbstractSuite\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AbstractSuite") public abstract class AbstractSuite extends software.amazon.jsii.JsiiObject { protected AbstractSuite(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -38534,7 +37940,7 @@ public abstract class AbstractSuite extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String workItAll(final @org.jetbrains.annotations.NotNull java.lang.String seed) { - return this.jsiiCall(\\"workItAll\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(seed, \\"seed is required\\") }); + return this.jsiiCall("workItAll", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(seed, "seed is required") }); } /** @@ -38563,7 +37969,7 @@ public abstract class AbstractSuite extends software.amazon.jsii.JsiiObject { @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.NotNull java.lang.String getProperty() { - return this.jsiiGet(\\"property\\", java.lang.String.class); + return this.jsiiGet("property", java.lang.String.class); } /** @@ -38572,7 +37978,7 @@ public abstract class AbstractSuite extends software.amazon.jsii.JsiiObject { @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected void setProperty(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"property\\", java.util.Objects.requireNonNull(value, \\"property is required\\")); + this.jsiiSet("property", java.util.Objects.requireNonNull(value, "property is required")); } /** @@ -38583,26 +37989,24 @@ public abstract class AbstractSuite extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override protected @org.jetbrains.annotations.NotNull java.lang.String someMethod(final @org.jetbrains.annotations.NotNull java.lang.String str) { - return this.jsiiCall(\\"someMethod\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(str, \\"str is required\\") }); + return this.jsiiCall("someMethod", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(str, "str is required") }); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Add.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** - * The \\"+\\" binary operation. + * The "+" binary operation. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Add\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Add") public class Add extends software.amazon.jsii.tests.calculator.BinaryOperation { protected Add(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -38624,7 +38028,7 @@ public class Add extends software.amazon.jsii.tests.calculator.BinaryOperation { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Add(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value lhs, final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value rhs) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(lhs, \\"lhs is required\\"), java.util.Objects.requireNonNull(rhs, \\"rhs is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(lhs, "lhs is required"), java.util.Objects.requireNonNull(rhs, "rhs is required") }); } /** @@ -38635,7 +38039,7 @@ public class Add extends software.amazon.jsii.tests.calculator.BinaryOperation { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String toString() { - return this.jsiiCall(\\"toString\\", java.lang.String.class); + return this.jsiiCall("toString", java.lang.String.class); } /** @@ -38646,16 +38050,14 @@ public class Add extends software.amazon.jsii.tests.calculator.BinaryOperation { @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AllTypes.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * This class includes property for all types supported by jsii. @@ -38665,9 +38067,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AllTypes\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AllTypes") public class AllTypes extends software.amazon.jsii.JsiiObject { protected AllTypes(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -38694,7 +38096,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void anyIn(final @org.jetbrains.annotations.NotNull java.lang.Object inp) { - this.jsiiCall(\\"anyIn\\", software.amazon.jsii.NativeType.VOID, new Object[] { inp }); + this.jsiiCall("anyIn", software.amazon.jsii.NativeType.VOID, new Object[] { inp }); } /** @@ -38702,7 +38104,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Object anyOut() { - return this.jsiiCall(\\"anyOut\\", java.lang.Object.class); + return this.jsiiCall("anyOut", java.lang.Object.class); } /** @@ -38712,7 +38114,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.StringEnum enumMethod(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.StringEnum value) { - return this.jsiiCall(\\"enumMethod\\", software.amazon.jsii.tests.calculator.StringEnum.class, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + return this.jsiiCall("enumMethod", software.amazon.jsii.tests.calculator.StringEnum.class, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -38720,7 +38122,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getEnumPropertyValue() { - return this.jsiiGet(\\"enumPropertyValue\\", java.lang.Number.class); + return this.jsiiGet("enumPropertyValue", java.lang.Number.class); } /** @@ -38728,7 +38130,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getAnyArrayProperty() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"anyArrayProperty\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("anyArrayProperty", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** @@ -38736,7 +38138,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setAnyArrayProperty(final @org.jetbrains.annotations.NotNull java.util.List value) { - this.jsiiSet(\\"anyArrayProperty\\", java.util.Objects.requireNonNull(value, \\"anyArrayProperty is required\\")); + this.jsiiSet("anyArrayProperty", java.util.Objects.requireNonNull(value, "anyArrayProperty is required")); } /** @@ -38744,7 +38146,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.Map getAnyMapProperty() { - return java.util.Collections.unmodifiableMap(this.jsiiGet(\\"anyMapProperty\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); + return java.util.Collections.unmodifiableMap(this.jsiiGet("anyMapProperty", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** @@ -38752,7 +38154,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setAnyMapProperty(final @org.jetbrains.annotations.NotNull java.util.Map value) { - this.jsiiSet(\\"anyMapProperty\\", java.util.Objects.requireNonNull(value, \\"anyMapProperty is required\\")); + this.jsiiSet("anyMapProperty", java.util.Objects.requireNonNull(value, "anyMapProperty is required")); } /** @@ -38760,7 +38162,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Object getAnyProperty() { - return this.jsiiGet(\\"anyProperty\\", java.lang.Object.class); + return this.jsiiGet("anyProperty", java.lang.Object.class); } /** @@ -38768,7 +38170,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setAnyProperty(final @org.jetbrains.annotations.NotNull java.lang.Object value) { - this.jsiiSet(\\"anyProperty\\", java.util.Objects.requireNonNull(value, \\"anyProperty is required\\")); + this.jsiiSet("anyProperty", java.util.Objects.requireNonNull(value, "anyProperty is required")); } /** @@ -38776,7 +38178,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getArrayProperty() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"arrayProperty\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("arrayProperty", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -38784,7 +38186,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setArrayProperty(final @org.jetbrains.annotations.NotNull java.util.List value) { - this.jsiiSet(\\"arrayProperty\\", java.util.Objects.requireNonNull(value, \\"arrayProperty is required\\")); + this.jsiiSet("arrayProperty", java.util.Objects.requireNonNull(value, "arrayProperty is required")); } /** @@ -38792,7 +38194,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getBooleanProperty() { - return this.jsiiGet(\\"booleanProperty\\", java.lang.Boolean.class); + return this.jsiiGet("booleanProperty", java.lang.Boolean.class); } /** @@ -38800,7 +38202,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setBooleanProperty(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) { - this.jsiiSet(\\"booleanProperty\\", java.util.Objects.requireNonNull(value, \\"booleanProperty is required\\")); + this.jsiiSet("booleanProperty", java.util.Objects.requireNonNull(value, "booleanProperty is required")); } /** @@ -38808,7 +38210,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.time.Instant getDateProperty() { - return this.jsiiGet(\\"dateProperty\\", java.time.Instant.class); + return this.jsiiGet("dateProperty", java.time.Instant.class); } /** @@ -38816,7 +38218,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setDateProperty(final @org.jetbrains.annotations.NotNull java.time.Instant value) { - this.jsiiSet(\\"dateProperty\\", java.util.Objects.requireNonNull(value, \\"dateProperty is required\\")); + this.jsiiSet("dateProperty", java.util.Objects.requireNonNull(value, "dateProperty is required")); } /** @@ -38824,7 +38226,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.AllTypesEnum getEnumProperty() { - return this.jsiiGet(\\"enumProperty\\", software.amazon.jsii.tests.calculator.AllTypesEnum.class); + return this.jsiiGet("enumProperty", software.amazon.jsii.tests.calculator.AllTypesEnum.class); } /** @@ -38832,7 +38234,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setEnumProperty(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.AllTypesEnum value) { - this.jsiiSet(\\"enumProperty\\", java.util.Objects.requireNonNull(value, \\"enumProperty is required\\")); + this.jsiiSet("enumProperty", java.util.Objects.requireNonNull(value, "enumProperty is required")); } /** @@ -38840,7 +38242,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull com.fasterxml.jackson.databind.node.ObjectNode getJsonProperty() { - return this.jsiiGet(\\"jsonProperty\\", com.fasterxml.jackson.databind.node.ObjectNode.class); + return this.jsiiGet("jsonProperty", com.fasterxml.jackson.databind.node.ObjectNode.class); } /** @@ -38848,7 +38250,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setJsonProperty(final @org.jetbrains.annotations.NotNull com.fasterxml.jackson.databind.node.ObjectNode value) { - this.jsiiSet(\\"jsonProperty\\", java.util.Objects.requireNonNull(value, \\"jsonProperty is required\\")); + this.jsiiSet("jsonProperty", java.util.Objects.requireNonNull(value, "jsonProperty is required")); } /** @@ -38856,7 +38258,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.Map getMapProperty() { - return java.util.Collections.unmodifiableMap(this.jsiiGet(\\"mapProperty\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Number.class)))); + return java.util.Collections.unmodifiableMap(this.jsiiGet("mapProperty", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Number.class)))); } /** @@ -38864,7 +38266,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setMapProperty(final @org.jetbrains.annotations.NotNull java.util.Map value) { - this.jsiiSet(\\"mapProperty\\", java.util.Objects.requireNonNull(value, \\"mapProperty is required\\")); + this.jsiiSet("mapProperty", java.util.Objects.requireNonNull(value, "mapProperty is required")); } /** @@ -38872,7 +38274,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getNumberProperty() { - return this.jsiiGet(\\"numberProperty\\", java.lang.Number.class); + return this.jsiiGet("numberProperty", java.lang.Number.class); } /** @@ -38880,7 +38282,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setNumberProperty(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiSet(\\"numberProperty\\", java.util.Objects.requireNonNull(value, \\"numberProperty is required\\")); + this.jsiiSet("numberProperty", java.util.Objects.requireNonNull(value, "numberProperty is required")); } /** @@ -38888,7 +38290,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getStringProperty() { - return this.jsiiGet(\\"stringProperty\\", java.lang.String.class); + return this.jsiiGet("stringProperty", java.lang.String.class); } /** @@ -38896,7 +38298,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setStringProperty(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"stringProperty\\", java.util.Objects.requireNonNull(value, \\"stringProperty is required\\")); + this.jsiiSet("stringProperty", java.util.Objects.requireNonNull(value, "stringProperty is required")); } /** @@ -38904,7 +38306,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getUnionArrayProperty() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"unionArrayProperty\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("unionArrayProperty", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** @@ -38912,7 +38314,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionArrayProperty(final @org.jetbrains.annotations.NotNull java.util.List value) { - this.jsiiSet(\\"unionArrayProperty\\", java.util.Objects.requireNonNull(value, \\"unionArrayProperty is required\\")); + this.jsiiSet("unionArrayProperty", java.util.Objects.requireNonNull(value, "unionArrayProperty is required")); } /** @@ -38920,7 +38322,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.Map getUnionMapProperty() { - return java.util.Collections.unmodifiableMap(this.jsiiGet(\\"unionMapProperty\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); + return java.util.Collections.unmodifiableMap(this.jsiiGet("unionMapProperty", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** @@ -38928,7 +38330,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionMapProperty(final @org.jetbrains.annotations.NotNull java.util.Map value) { - this.jsiiSet(\\"unionMapProperty\\", java.util.Objects.requireNonNull(value, \\"unionMapProperty is required\\")); + this.jsiiSet("unionMapProperty", java.util.Objects.requireNonNull(value, "unionMapProperty is required")); } /** @@ -38936,7 +38338,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Object getUnionProperty() { - return this.jsiiGet(\\"unionProperty\\", java.lang.Object.class); + return this.jsiiGet("unionProperty", java.lang.Object.class); } /** @@ -38944,7 +38346,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionProperty(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"unionProperty\\", java.util.Objects.requireNonNull(value, \\"unionProperty is required\\")); + this.jsiiSet("unionProperty", java.util.Objects.requireNonNull(value, "unionProperty is required")); } /** @@ -38952,7 +38354,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionProperty(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiSet(\\"unionProperty\\", java.util.Objects.requireNonNull(value, \\"unionProperty is required\\")); + this.jsiiSet("unionProperty", java.util.Objects.requireNonNull(value, "unionProperty is required")); } /** @@ -38960,7 +38362,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionProperty(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.Multiply value) { - this.jsiiSet(\\"unionProperty\\", java.util.Objects.requireNonNull(value, \\"unionProperty is required\\")); + this.jsiiSet("unionProperty", java.util.Objects.requireNonNull(value, "unionProperty is required")); } /** @@ -38968,7 +38370,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionProperty(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Number value) { - this.jsiiSet(\\"unionProperty\\", java.util.Objects.requireNonNull(value, \\"unionProperty is required\\")); + this.jsiiSet("unionProperty", java.util.Objects.requireNonNull(value, "unionProperty is required")); } /** @@ -38976,7 +38378,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getUnknownArrayProperty() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"unknownArrayProperty\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("unknownArrayProperty", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** @@ -38984,7 +38386,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnknownArrayProperty(final @org.jetbrains.annotations.NotNull java.util.List value) { - this.jsiiSet(\\"unknownArrayProperty\\", java.util.Objects.requireNonNull(value, \\"unknownArrayProperty is required\\")); + this.jsiiSet("unknownArrayProperty", java.util.Objects.requireNonNull(value, "unknownArrayProperty is required")); } /** @@ -38992,7 +38394,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.Map getUnknownMapProperty() { - return java.util.Collections.unmodifiableMap(this.jsiiGet(\\"unknownMapProperty\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); + return java.util.Collections.unmodifiableMap(this.jsiiGet("unknownMapProperty", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** @@ -39000,7 +38402,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnknownMapProperty(final @org.jetbrains.annotations.NotNull java.util.Map value) { - this.jsiiSet(\\"unknownMapProperty\\", java.util.Objects.requireNonNull(value, \\"unknownMapProperty is required\\")); + this.jsiiSet("unknownMapProperty", java.util.Objects.requireNonNull(value, "unknownMapProperty is required")); } /** @@ -39008,7 +38410,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Object getUnknownProperty() { - return this.jsiiGet(\\"unknownProperty\\", java.lang.Object.class); + return this.jsiiGet("unknownProperty", java.lang.Object.class); } /** @@ -39016,7 +38418,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnknownProperty(final @org.jetbrains.annotations.NotNull java.lang.Object value) { - this.jsiiSet(\\"unknownProperty\\", java.util.Objects.requireNonNull(value, \\"unknownProperty is required\\")); + this.jsiiSet("unknownProperty", java.util.Objects.requireNonNull(value, "unknownProperty is required")); } /** @@ -39024,7 +38426,7 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.StringEnum getOptionalEnumValue() { - return this.jsiiGet(\\"optionalEnumValue\\", software.amazon.jsii.tests.calculator.StringEnum.class); + return this.jsiiGet("optionalEnumValue", software.amazon.jsii.tests.calculator.StringEnum.class); } /** @@ -39032,23 +38434,21 @@ public class AllTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setOptionalEnumValue(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.StringEnum value) { - this.jsiiSet(\\"optionalEnumValue\\", value); + this.jsiiSet("optionalEnumValue", value); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AllTypesEnum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AllTypesEnum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AllTypesEnum") public enum AllTypesEnum { /** * EXPERIMENTAL @@ -39066,20 +38466,18 @@ public enum AllTypesEnum { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) THIS_IS_GREAT, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AllowedMethodNames.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AllowedMethodNames\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AllowedMethodNames") public class AllowedMethodNames extends software.amazon.jsii.JsiiObject { protected AllowedMethodNames(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39107,7 +38505,7 @@ public class AllowedMethodNames extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void getBar(final @org.jetbrains.annotations.NotNull java.lang.String _p1, final @org.jetbrains.annotations.NotNull java.lang.Number _p2) { - this.jsiiCall(\\"getBar\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(_p1, \\"_p1 is required\\"), java.util.Objects.requireNonNull(_p2, \\"_p2 is required\\") }); + this.jsiiCall("getBar", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(_p1, "_p1 is required"), java.util.Objects.requireNonNull(_p2, "_p2 is required") }); } /** @@ -39119,7 +38517,7 @@ public class AllowedMethodNames extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getFoo(final @org.jetbrains.annotations.NotNull java.lang.String withParam) { - return this.jsiiCall(\\"getFoo\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(withParam, \\"withParam is required\\") }); + return this.jsiiCall("getFoo", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(withParam, "withParam is required") }); } /** @@ -39131,7 +38529,7 @@ public class AllowedMethodNames extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setBar(final @org.jetbrains.annotations.NotNull java.lang.String _x, final @org.jetbrains.annotations.NotNull java.lang.Number _y, final @org.jetbrains.annotations.NotNull java.lang.Boolean _z) { - this.jsiiCall(\\"setBar\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(_x, \\"_x is required\\"), java.util.Objects.requireNonNull(_y, \\"_y is required\\"), java.util.Objects.requireNonNull(_z, \\"_z is required\\") }); + this.jsiiCall("setBar", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(_x, "_x is required"), java.util.Objects.requireNonNull(_y, "_y is required"), java.util.Objects.requireNonNull(_z, "_z is required") }); } /** @@ -39144,23 +38542,21 @@ public class AllowedMethodNames extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setFoo(final @org.jetbrains.annotations.NotNull java.lang.String _x, final @org.jetbrains.annotations.NotNull java.lang.Number _y) { - this.jsiiCall(\\"setFoo\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(_x, \\"_x is required\\"), java.util.Objects.requireNonNull(_y, \\"_y is required\\") }); + this.jsiiCall("setFoo", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(_x, "_x is required"), java.util.Objects.requireNonNull(_y, "_y is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AmbiguousParameters.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AmbiguousParameters\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AmbiguousParameters") public class AmbiguousParameters extends software.amazon.jsii.JsiiObject { protected AmbiguousParameters(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39180,7 +38576,7 @@ public class AmbiguousParameters extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public AmbiguousParameters(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.Bell scope, final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.StructParameterType props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, \\"scope is required\\"), java.util.Objects.requireNonNull(props, \\"props is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** @@ -39188,7 +38584,7 @@ public class AmbiguousParameters extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.StructParameterType getProps() { - return this.jsiiGet(\\"props\\", software.amazon.jsii.tests.calculator.StructParameterType.class); + return this.jsiiGet("props", software.amazon.jsii.tests.calculator.StructParameterType.class); } /** @@ -39196,7 +38592,7 @@ public class AmbiguousParameters extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.Bell getScope() { - return this.jsiiGet(\\"scope\\", software.amazon.jsii.tests.calculator.Bell.class); + return this.jsiiGet("scope", software.amazon.jsii.tests.calculator.Bell.class); } /** @@ -39260,20 +38656,18 @@ public class AmbiguousParameters extends software.amazon.jsii.JsiiObject { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AnonymousImplementationProvider.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AnonymousImplementationProvider\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AnonymousImplementationProvider") public class AnonymousImplementationProvider extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.IAnonymousImplementationProvider { protected AnonymousImplementationProvider(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39299,7 +38693,7 @@ public class AnonymousImplementationProvider extends software.amazon.jsii.JsiiOb @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.Implementation provideAsClass() { - return this.jsiiCall(\\"provideAsClass\\", software.amazon.jsii.tests.calculator.Implementation.class); + return this.jsiiCall("provideAsClass", software.amazon.jsii.tests.calculator.Implementation.class); } /** @@ -39308,23 +38702,21 @@ public class AnonymousImplementationProvider extends software.amazon.jsii.JsiiOb @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IAnonymouslyImplementMe provideAsInterface() { - return this.jsiiCall(\\"provideAsInterface\\", software.amazon.jsii.tests.calculator.IAnonymouslyImplementMe.class); + return this.jsiiCall("provideAsInterface", software.amazon.jsii.tests.calculator.IAnonymouslyImplementMe.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AsyncVirtualMethods.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AsyncVirtualMethods\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AsyncVirtualMethods") public class AsyncVirtualMethods extends software.amazon.jsii.JsiiObject { protected AsyncVirtualMethods(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39349,31 +38741,31 @@ public class AsyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number callMe() { - return this.jsiiAsyncCall(\\"callMe\\", java.lang.Number.class); + return this.jsiiAsyncCall("callMe", java.lang.Number.class); } /** - * Just calls \\"overrideMeToo\\". + * Just calls "overrideMeToo". *

* EXPERIMENTAL */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number callMe2() { - return this.jsiiAsyncCall(\\"callMe2\\", java.lang.Number.class); + return this.jsiiAsyncCall("callMe2", java.lang.Number.class); } /** - * This method calls the \\"callMe\\" async method indirectly, which will then invoke a virtual method. + * This method calls the "callMe" async method indirectly, which will then invoke a virtual method. *

- * This is a \\"double promise\\" situation, which + * This is a "double promise" situation, which * means that callbacks are not going to be available immediate, but only - * after an \\"immediates\\" cycle. + * after an "immediates" cycle. *

* EXPERIMENTAL */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number callMeDoublePromise() { - return this.jsiiAsyncCall(\\"callMeDoublePromise\\", java.lang.Number.class); + return this.jsiiAsyncCall("callMeDoublePromise", java.lang.Number.class); } /** @@ -39381,7 +38773,7 @@ public class AsyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number dontOverrideMe() { - return this.jsiiCall(\\"dontOverrideMe\\", java.lang.Number.class); + return this.jsiiCall("dontOverrideMe", java.lang.Number.class); } /** @@ -39391,7 +38783,7 @@ public class AsyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number overrideMe(final @org.jetbrains.annotations.NotNull java.lang.Number mult) { - return this.jsiiAsyncCall(\\"overrideMe\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(mult, \\"mult is required\\") }); + return this.jsiiAsyncCall("overrideMe", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(mult, "mult is required") }); } /** @@ -39399,23 +38791,21 @@ public class AsyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number overrideMeToo() { - return this.jsiiAsyncCall(\\"overrideMeToo\\", java.lang.Number.class); + return this.jsiiAsyncCall("overrideMeToo", java.lang.Number.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/AugmentableClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.AugmentableClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.AugmentableClass") public class AugmentableClass extends software.amazon.jsii.JsiiObject { protected AugmentableClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39440,7 +38830,7 @@ public class AugmentableClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodOne() { - this.jsiiCall(\\"methodOne\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("methodOne", software.amazon.jsii.NativeType.VOID); } /** @@ -39448,23 +38838,21 @@ public class AugmentableClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodTwo() { - this.jsiiCall(\\"methodTwo\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("methodTwo", software.amazon.jsii.NativeType.VOID); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/BaseJsii976.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.BaseJsii976\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.BaseJsii976") public class BaseJsii976 extends software.amazon.jsii.JsiiObject { protected BaseJsii976(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39484,20 +38872,18 @@ public class BaseJsii976 extends software.amazon.jsii.JsiiObject { software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Bell.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Bell\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Bell") public class Bell extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.IBell { protected Bell(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39523,7 +38909,7 @@ public class Bell extends software.amazon.jsii.JsiiObject implements software.am @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void ring() { - this.jsiiCall(\\"ring\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("ring", software.amazon.jsii.NativeType.VOID); } /** @@ -39531,7 +38917,7 @@ public class Bell extends software.amazon.jsii.JsiiObject implements software.am */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getRung() { - return this.jsiiGet(\\"rung\\", java.lang.Boolean.class); + return this.jsiiGet("rung", java.lang.Boolean.class); } /** @@ -39539,25 +38925,23 @@ public class Bell extends software.amazon.jsii.JsiiObject implements software.am */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setRung(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) { - this.jsiiSet(\\"rung\\", java.util.Objects.requireNonNull(value, \\"rung is required\\")); + this.jsiiSet("rung", java.util.Objects.requireNonNull(value, "rung is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/BinaryOperation.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Represents an operation with two operands. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.BinaryOperation\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.BinaryOperation") public abstract class BinaryOperation extends software.amazon.jsii.tests.calculator.lib.Operation implements software.amazon.jsii.tests.calculator.lib.IFriendly { protected BinaryOperation(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39579,7 +38963,7 @@ public abstract class BinaryOperation extends software.amazon.jsii.tests.calcula @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected BinaryOperation(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value lhs, final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value rhs) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(lhs, \\"lhs is required\\"), java.util.Objects.requireNonNull(rhs, \\"rhs is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(lhs, "lhs is required"), java.util.Objects.requireNonNull(rhs, "rhs is required") }); } /** @@ -39590,7 +38974,7 @@ public abstract class BinaryOperation extends software.amazon.jsii.tests.calcula @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String hello() { - return this.jsiiCall(\\"hello\\", java.lang.String.class); + return this.jsiiCall("hello", java.lang.String.class); } /** @@ -39600,7 +38984,7 @@ public abstract class BinaryOperation extends software.amazon.jsii.tests.calcula */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getLhs() { - return this.jsiiGet(\\"lhs\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("lhs", software.amazon.jsii.tests.calculator.lib.Value.class); } /** @@ -39610,7 +38994,7 @@ public abstract class BinaryOperation extends software.amazon.jsii.tests.calcula */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getRhs() { - return this.jsiiGet(\\"rhs\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("rhs", software.amazon.jsii.tests.calculator.lib.Value.class); } /** @@ -39628,7 +39012,7 @@ public abstract class BinaryOperation extends software.amazon.jsii.tests.calcula @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } /** @@ -39638,7 +39022,7 @@ public abstract class BinaryOperation extends software.amazon.jsii.tests.calcula @Deprecated @Override public @org.jetbrains.annotations.NotNull java.lang.String hello() { - return this.jsiiCall(\\"hello\\", java.lang.String.class); + return this.jsiiCall("hello", java.lang.String.class); } /** @@ -39648,26 +39032,24 @@ public abstract class BinaryOperation extends software.amazon.jsii.tests.calcula @Deprecated @Override public @org.jetbrains.annotations.NotNull java.lang.String toString() { - return this.jsiiCall(\\"toString\\", java.lang.String.class); + return this.jsiiCall("toString", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/BurriedAnonymousObject.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * See https://github.com/aws/aws-cdk/issues/7977. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.BurriedAnonymousObject\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.BurriedAnonymousObject") public abstract class BurriedAnonymousObject extends software.amazon.jsii.JsiiObject { protected BurriedAnonymousObject(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39692,7 +39074,7 @@ public abstract class BurriedAnonymousObject extends software.amazon.jsii.JsiiOb */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean check() { - return this.jsiiCall(\\"check\\", java.lang.Boolean.class); + return this.jsiiCall("check", java.lang.Boolean.class); } /** @@ -39725,17 +39107,15 @@ public abstract class BurriedAnonymousObject extends software.amazon.jsii.JsiiOb @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.Object giveItBack(final @org.jetbrains.annotations.NotNull java.lang.Object value) { - return this.jsiiCall(\\"giveItBack\\", java.lang.Object.class, new Object[] { value }); + return this.jsiiCall("giveItBack", java.lang.Object.class, new Object[] { value }); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Calculator.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * A calculator which maintains a current value and allows adding operations. @@ -39763,9 +39143,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Calculator\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Calculator") public class Calculator extends software.amazon.jsii.tests.calculator.composition.CompositeOperation { protected Calculator(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -39809,7 +39189,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void add(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiCall(\\"add\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + this.jsiiCall("add", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -39821,7 +39201,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void mul(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiCall(\\"mul\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + this.jsiiCall("mul", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -39831,7 +39211,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void neg() { - this.jsiiCall(\\"neg\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("neg", software.amazon.jsii.NativeType.VOID); } /** @@ -39843,7 +39223,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void pow(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiCall(\\"pow\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + this.jsiiCall("pow", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -39853,7 +39233,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number readUnionValue() { - return this.jsiiCall(\\"readUnionValue\\", java.lang.Number.class); + return this.jsiiCall("readUnionValue", java.lang.Number.class); } /** @@ -39864,7 +39244,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getExpression() { - return this.jsiiGet(\\"expression\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("expression", software.amazon.jsii.tests.calculator.lib.Value.class); } /** @@ -39874,7 +39254,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getOperationsLog() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"operationsLog\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Value.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("operationsLog", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Value.class)))); } /** @@ -39884,7 +39264,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.Map> getOperationsMap() { - return java.util.Collections.unmodifiableMap(this.jsiiGet(\\"operationsMap\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Value.class))))); + return java.util.Collections.unmodifiableMap(this.jsiiGet("operationsMap", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Value.class))))); } /** @@ -39894,7 +39274,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getCurr() { - return this.jsiiGet(\\"curr\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("curr", software.amazon.jsii.tests.calculator.lib.Value.class); } /** @@ -39904,7 +39284,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setCurr(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value value) { - this.jsiiSet(\\"curr\\", java.util.Objects.requireNonNull(value, \\"curr is required\\")); + this.jsiiSet("curr", java.util.Objects.requireNonNull(value, "curr is required")); } /** @@ -39914,7 +39294,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.Number getMaxValue() { - return this.jsiiGet(\\"maxValue\\", java.lang.Number.class); + return this.jsiiGet("maxValue", java.lang.Number.class); } /** @@ -39924,7 +39304,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setMaxValue(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - this.jsiiSet(\\"maxValue\\", value); + this.jsiiSet("maxValue", value); } /** @@ -39934,7 +39314,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.Object getUnionProperty() { - return this.jsiiGet(\\"unionProperty\\", java.lang.Object.class); + return this.jsiiGet("unionProperty", java.lang.Object.class); } /** @@ -39944,7 +39324,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionProperty(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.Add value) { - this.jsiiSet(\\"unionProperty\\", value); + this.jsiiSet("unionProperty", value); } /** @@ -39954,7 +39334,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionProperty(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.Multiply value) { - this.jsiiSet(\\"unionProperty\\", value); + this.jsiiSet("unionProperty", value); } /** @@ -39964,7 +39344,7 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionProperty(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.Power value) { - this.jsiiSet(\\"unionProperty\\", value); + this.jsiiSet("unionProperty", value); } /** @@ -40040,21 +39420,19 @@ public class Calculator extends software.amazon.jsii.tests.calculator.compositio } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/CalculatorProps.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Properties for Calculator. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.CalculatorProps\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.CalculatorProps") @software.amazon.jsii.Jsii.Proxy(CalculatorProps.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface CalculatorProps extends software.amazon.jsii.JsiiSerializable { @@ -40149,8 +39527,8 @@ public interface CalculatorProps extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.initialValue = this.jsiiGet(\\"initialValue\\", java.lang.Number.class); - this.maximumValue = this.jsiiGet(\\"maximumValue\\", java.lang.Number.class); + this.initialValue = this.jsiiGet("initialValue", java.lang.Number.class); + this.maximumValue = this.jsiiGet("maximumValue", java.lang.Number.class); } /** @@ -40178,18 +39556,18 @@ public interface CalculatorProps extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getInitialValue() != null) { - data.set(\\"initialValue\\", om.valueToTree(this.getInitialValue())); + data.set("initialValue", om.valueToTree(this.getInitialValue())); } if (this.getMaximumValue() != null) { - data.set(\\"maximumValue\\", om.valueToTree(this.getMaximumValue())); + data.set("maximumValue", om.valueToTree(this.getMaximumValue())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.CalculatorProps\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.CalculatorProps")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -40213,19 +39591,17 @@ public interface CalculatorProps extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ChildStruct982.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ChildStruct982\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ChildStruct982") @software.amazon.jsii.Jsii.Proxy(ChildStruct982.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface ChildStruct982 extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.ParentStruct982 { @@ -40299,8 +39675,8 @@ public interface ChildStruct982 extends software.amazon.jsii.JsiiSerializable, s */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.bar = this.jsiiGet(\\"bar\\", java.lang.Number.class); - this.foo = this.jsiiGet(\\"foo\\", java.lang.String.class); + this.bar = this.jsiiGet("bar", java.lang.Number.class); + this.foo = this.jsiiGet("foo", java.lang.String.class); } /** @@ -40308,8 +39684,8 @@ public interface ChildStruct982 extends software.amazon.jsii.JsiiSerializable, s */ private Jsii$Proxy(final java.lang.Number bar, final java.lang.String foo) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.bar = java.util.Objects.requireNonNull(bar, \\"bar is required\\"); - this.foo = java.util.Objects.requireNonNull(foo, \\"foo is required\\"); + this.bar = java.util.Objects.requireNonNull(bar, "bar is required"); + this.foo = java.util.Objects.requireNonNull(foo, "foo is required"); } @Override @@ -40327,15 +39703,15 @@ public interface ChildStruct982 extends software.amazon.jsii.JsiiSerializable, s final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"bar\\", om.valueToTree(this.getBar())); - data.set(\\"foo\\", om.valueToTree(this.getFoo())); + data.set("bar", om.valueToTree(this.getBar())); + data.set("foo", om.valueToTree(this.getFoo())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.ChildStruct982\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.ChildStruct982")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -40359,20 +39735,18 @@ public interface ChildStruct982 extends software.amazon.jsii.JsiiSerializable, s } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsTheInternalInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ClassThatImplementsTheInternalInterface\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ClassThatImplementsTheInternalInterface") public class ClassThatImplementsTheInternalInterface extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.INonInternalInterface { protected ClassThatImplementsTheInternalInterface(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -40398,7 +39772,7 @@ public class ClassThatImplementsTheInternalInterface extends software.amazon.jsi @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getA() { - return this.jsiiGet(\\"a\\", java.lang.String.class); + return this.jsiiGet("a", java.lang.String.class); } /** @@ -40407,7 +39781,7 @@ public class ClassThatImplementsTheInternalInterface extends software.amazon.jsi @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setA(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"a\\", java.util.Objects.requireNonNull(value, \\"a is required\\")); + this.jsiiSet("a", java.util.Objects.requireNonNull(value, "a is required")); } /** @@ -40416,7 +39790,7 @@ public class ClassThatImplementsTheInternalInterface extends software.amazon.jsi @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getB() { - return this.jsiiGet(\\"b\\", java.lang.String.class); + return this.jsiiGet("b", java.lang.String.class); } /** @@ -40425,7 +39799,7 @@ public class ClassThatImplementsTheInternalInterface extends software.amazon.jsi @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setB(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"b\\", java.util.Objects.requireNonNull(value, \\"b is required\\")); + this.jsiiSet("b", java.util.Objects.requireNonNull(value, "b is required")); } /** @@ -40434,7 +39808,7 @@ public class ClassThatImplementsTheInternalInterface extends software.amazon.jsi @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getC() { - return this.jsiiGet(\\"c\\", java.lang.String.class); + return this.jsiiGet("c", java.lang.String.class); } /** @@ -40443,7 +39817,7 @@ public class ClassThatImplementsTheInternalInterface extends software.amazon.jsi @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setC(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"c\\", java.util.Objects.requireNonNull(value, \\"c is required\\")); + this.jsiiSet("c", java.util.Objects.requireNonNull(value, "c is required")); } /** @@ -40451,7 +39825,7 @@ public class ClassThatImplementsTheInternalInterface extends software.amazon.jsi */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getD() { - return this.jsiiGet(\\"d\\", java.lang.String.class); + return this.jsiiGet("d", java.lang.String.class); } /** @@ -40459,23 +39833,21 @@ public class ClassThatImplementsTheInternalInterface extends software.amazon.jsi */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setD(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"d\\", java.util.Objects.requireNonNull(value, \\"d is required\\")); + this.jsiiSet("d", java.util.Objects.requireNonNull(value, "d is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsThePrivateInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ClassThatImplementsThePrivateInterface\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ClassThatImplementsThePrivateInterface") public class ClassThatImplementsThePrivateInterface extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.INonInternalInterface { protected ClassThatImplementsThePrivateInterface(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -40501,7 +39873,7 @@ public class ClassThatImplementsThePrivateInterface extends software.amazon.jsii @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getA() { - return this.jsiiGet(\\"a\\", java.lang.String.class); + return this.jsiiGet("a", java.lang.String.class); } /** @@ -40510,7 +39882,7 @@ public class ClassThatImplementsThePrivateInterface extends software.amazon.jsii @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setA(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"a\\", java.util.Objects.requireNonNull(value, \\"a is required\\")); + this.jsiiSet("a", java.util.Objects.requireNonNull(value, "a is required")); } /** @@ -40519,7 +39891,7 @@ public class ClassThatImplementsThePrivateInterface extends software.amazon.jsii @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getB() { - return this.jsiiGet(\\"b\\", java.lang.String.class); + return this.jsiiGet("b", java.lang.String.class); } /** @@ -40528,7 +39900,7 @@ public class ClassThatImplementsThePrivateInterface extends software.amazon.jsii @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setB(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"b\\", java.util.Objects.requireNonNull(value, \\"b is required\\")); + this.jsiiSet("b", java.util.Objects.requireNonNull(value, "b is required")); } /** @@ -40537,7 +39909,7 @@ public class ClassThatImplementsThePrivateInterface extends software.amazon.jsii @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getC() { - return this.jsiiGet(\\"c\\", java.lang.String.class); + return this.jsiiGet("c", java.lang.String.class); } /** @@ -40546,7 +39918,7 @@ public class ClassThatImplementsThePrivateInterface extends software.amazon.jsii @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setC(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"c\\", java.util.Objects.requireNonNull(value, \\"c is required\\")); + this.jsiiSet("c", java.util.Objects.requireNonNull(value, "c is required")); } /** @@ -40554,7 +39926,7 @@ public class ClassThatImplementsThePrivateInterface extends software.amazon.jsii */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getE() { - return this.jsiiGet(\\"e\\", java.lang.String.class); + return this.jsiiGet("e", java.lang.String.class); } /** @@ -40562,23 +39934,21 @@ public class ClassThatImplementsThePrivateInterface extends software.amazon.jsii */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setE(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"e\\", java.util.Objects.requireNonNull(value, \\"e is required\\")); + this.jsiiSet("e", java.util.Objects.requireNonNull(value, "e is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithCollections.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ClassWithCollections\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ClassWithCollections") public class ClassWithCollections extends software.amazon.jsii.JsiiObject { protected ClassWithCollections(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -40598,7 +39968,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ClassWithCollections(final @org.jetbrains.annotations.NotNull java.util.Map map, final @org.jetbrains.annotations.NotNull java.util.List array) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(map, \\"map is required\\"), java.util.Objects.requireNonNull(array, \\"array is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(map, "map is required"), java.util.Objects.requireNonNull(array, "array is required") }); } /** @@ -40606,7 +39976,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.List createAList() { - return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ClassWithCollections.class, \\"createAList\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ClassWithCollections.class, "createAList", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -40614,7 +39984,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.Map createAMap() { - return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ClassWithCollections.class, \\"createAMap\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ClassWithCollections.class, "createAMap", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -40622,7 +39992,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.List getStaticArray() { - return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.ClassWithCollections.class, \\"staticArray\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.ClassWithCollections.class, "staticArray", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -40630,7 +40000,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static void setStaticArray(final @org.jetbrains.annotations.NotNull java.util.List value) { - software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.ClassWithCollections.class, \\"staticArray\\", java.util.Objects.requireNonNull(value, \\"staticArray is required\\")); + software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.ClassWithCollections.class, "staticArray", java.util.Objects.requireNonNull(value, "staticArray is required")); } /** @@ -40638,7 +40008,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.Map getStaticMap() { - return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.ClassWithCollections.class, \\"staticMap\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.ClassWithCollections.class, "staticMap", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -40646,7 +40016,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static void setStaticMap(final @org.jetbrains.annotations.NotNull java.util.Map value) { - software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.ClassWithCollections.class, \\"staticMap\\", java.util.Objects.requireNonNull(value, \\"staticMap is required\\")); + software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.ClassWithCollections.class, "staticMap", java.util.Objects.requireNonNull(value, "staticMap is required")); } /** @@ -40654,7 +40024,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getArray() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"array\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("array", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -40662,7 +40032,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setArray(final @org.jetbrains.annotations.NotNull java.util.List value) { - this.jsiiSet(\\"array\\", java.util.Objects.requireNonNull(value, \\"array is required\\")); + this.jsiiSet("array", java.util.Objects.requireNonNull(value, "array is required")); } /** @@ -40670,7 +40040,7 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.Map getMap() { - return java.util.Collections.unmodifiableMap(this.jsiiGet(\\"map\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableMap(this.jsiiGet("map", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -40678,16 +40048,14 @@ public class ClassWithCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setMap(final @org.jetbrains.annotations.NotNull java.util.Map value) { - this.jsiiSet(\\"map\\", java.util.Objects.requireNonNull(value, \\"map is required\\")); + this.jsiiSet("map", java.util.Objects.requireNonNull(value, "map is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithDocs.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * This class has docs. @@ -40703,9 +40071,9 @@ Object { *

* @see https://aws.amazon.com/ */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ClassWithDocs\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ClassWithDocs") public class ClassWithDocs extends software.amazon.jsii.JsiiObject { protected ClassWithDocs(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -40725,20 +40093,18 @@ public class ClassWithDocs extends software.amazon.jsii.JsiiObject { software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithJavaReservedWords.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ClassWithJavaReservedWords\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ClassWithJavaReservedWords") public class ClassWithJavaReservedWords extends software.amazon.jsii.JsiiObject { protected ClassWithJavaReservedWords(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -40757,7 +40123,7 @@ public class ClassWithJavaReservedWords extends software.amazon.jsii.JsiiObject @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ClassWithJavaReservedWords(final @org.jetbrains.annotations.NotNull java.lang.String intValue) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(intValue, \\"intValue is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(intValue, "intValue is required") }); } /** @@ -40767,7 +40133,7 @@ public class ClassWithJavaReservedWords extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String doImport(final @org.jetbrains.annotations.NotNull java.lang.String assertValue) { - return this.jsiiCall(\\"import\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(assertValue, \\"assertValue is required\\") }); + return this.jsiiCall("import", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(assertValue, "assertValue is required") }); } /** @@ -40775,23 +40141,21 @@ public class ClassWithJavaReservedWords extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getIntValue() { - return this.jsiiGet(\\"int\\", java.lang.String.class); + return this.jsiiGet("int", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithMutableObjectLiteralProperty.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ClassWithMutableObjectLiteralProperty\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ClassWithMutableObjectLiteralProperty") public class ClassWithMutableObjectLiteralProperty extends software.amazon.jsii.JsiiObject { protected ClassWithMutableObjectLiteralProperty(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -40816,7 +40180,7 @@ public class ClassWithMutableObjectLiteralProperty extends software.amazon.jsii. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IMutableObjectLiteral getMutableObject() { - return this.jsiiGet(\\"mutableObject\\", software.amazon.jsii.tests.calculator.IMutableObjectLiteral.class); + return this.jsiiGet("mutableObject", software.amazon.jsii.tests.calculator.IMutableObjectLiteral.class); } /** @@ -40824,25 +40188,23 @@ public class ClassWithMutableObjectLiteralProperty extends software.amazon.jsii. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setMutableObject(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IMutableObjectLiteral value) { - this.jsiiSet(\\"mutableObject\\", java.util.Objects.requireNonNull(value, \\"mutableObject is required\\")); + this.jsiiSet("mutableObject", java.util.Objects.requireNonNull(value, "mutableObject is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithPrivateConstructorAndAutomaticProperties.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Class that implements interface properties automatically, but using a private constructor. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties") public class ClassWithPrivateConstructorAndAutomaticProperties extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.IInterfaceWithProperties { protected ClassWithPrivateConstructorAndAutomaticProperties(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -40861,7 +40223,7 @@ public class ClassWithPrivateConstructorAndAutomaticProperties extends software. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.ClassWithPrivateConstructorAndAutomaticProperties create(final @org.jetbrains.annotations.NotNull java.lang.String readOnlyString, final @org.jetbrains.annotations.NotNull java.lang.String readWriteString) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ClassWithPrivateConstructorAndAutomaticProperties.class, \\"create\\", software.amazon.jsii.tests.calculator.ClassWithPrivateConstructorAndAutomaticProperties.class, new Object[] { java.util.Objects.requireNonNull(readOnlyString, \\"readOnlyString is required\\"), java.util.Objects.requireNonNull(readWriteString, \\"readWriteString is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ClassWithPrivateConstructorAndAutomaticProperties.class, "create", software.amazon.jsii.tests.calculator.ClassWithPrivateConstructorAndAutomaticProperties.class, new Object[] { java.util.Objects.requireNonNull(readOnlyString, "readOnlyString is required"), java.util.Objects.requireNonNull(readWriteString, "readWriteString is required") }); } /** @@ -40870,7 +40232,7 @@ public class ClassWithPrivateConstructorAndAutomaticProperties extends software. @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getReadOnlyString() { - return this.jsiiGet(\\"readOnlyString\\", java.lang.String.class); + return this.jsiiGet("readOnlyString", java.lang.String.class); } /** @@ -40879,7 +40241,7 @@ public class ClassWithPrivateConstructorAndAutomaticProperties extends software. @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getReadWriteString() { - return this.jsiiGet(\\"readWriteString\\", java.lang.String.class); + return this.jsiiGet("readWriteString", java.lang.String.class); } /** @@ -40888,16 +40250,14 @@ public class ClassWithPrivateConstructorAndAutomaticProperties extends software. @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setReadWriteString(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"readWriteString\\", java.util.Objects.requireNonNull(value, \\"readWriteString is required\\")); + this.jsiiSet("readWriteString", java.util.Objects.requireNonNull(value, "readWriteString is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ConfusingToJackson.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * This tries to confuse Jackson by having overloaded property setters. @@ -40906,9 +40266,9 @@ Object { *

* @see https://github.com/aws/aws-cdk/issues/4080 */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ConfusingToJackson\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ConfusingToJackson") public class ConfusingToJackson extends software.amazon.jsii.JsiiObject { protected ConfusingToJackson(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -40924,7 +40284,7 @@ public class ConfusingToJackson extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.ConfusingToJackson makeInstance() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConfusingToJackson.class, \\"makeInstance\\", software.amazon.jsii.tests.calculator.ConfusingToJackson.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConfusingToJackson.class, "makeInstance", software.amazon.jsii.tests.calculator.ConfusingToJackson.class); } /** @@ -40932,7 +40292,7 @@ public class ConfusingToJackson extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.ConfusingToJacksonStruct makeStructInstance() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConfusingToJackson.class, \\"makeStructInstance\\", software.amazon.jsii.tests.calculator.ConfusingToJacksonStruct.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConfusingToJackson.class, "makeStructInstance", software.amazon.jsii.tests.calculator.ConfusingToJacksonStruct.class); } /** @@ -40940,7 +40300,7 @@ public class ConfusingToJackson extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.Object getUnionProperty() { - return this.jsiiGet(\\"unionProperty\\", java.lang.Object.class); + return this.jsiiGet("unionProperty", java.lang.Object.class); } /** @@ -40948,7 +40308,7 @@ public class ConfusingToJackson extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionProperty(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.lib.IFriendly value) { - this.jsiiSet(\\"unionProperty\\", value); + this.jsiiSet("unionProperty", value); } /** @@ -40956,22 +40316,20 @@ public class ConfusingToJackson extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setUnionProperty(final @org.jetbrains.annotations.Nullable java.util.List value) { - this.jsiiSet(\\"unionProperty\\", value); + this.jsiiSet("unionProperty", value); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ConfusingToJacksonStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ConfusingToJacksonStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ConfusingToJacksonStruct") @software.amazon.jsii.Jsii.Proxy(ConfusingToJacksonStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface ConfusingToJacksonStruct extends software.amazon.jsii.JsiiSerializable { @@ -41045,7 +40403,7 @@ public interface ConfusingToJacksonStruct extends software.amazon.jsii.JsiiSeria */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.unionProperty = this.jsiiGet(\\"unionProperty\\", java.lang.Object.class); + this.unionProperty = this.jsiiGet("unionProperty", java.lang.Object.class); } /** @@ -41067,15 +40425,15 @@ public interface ConfusingToJacksonStruct extends software.amazon.jsii.JsiiSeria final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getUnionProperty() != null) { - data.set(\\"unionProperty\\", om.valueToTree(this.getUnionProperty())); + data.set("unionProperty", om.valueToTree(this.getUnionProperty())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.ConfusingToJacksonStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.ConfusingToJacksonStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -41097,20 +40455,18 @@ public interface ConfusingToJacksonStruct extends software.amazon.jsii.JsiiSeria } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ConstructorPassesThisOut.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ConstructorPassesThisOut\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ConstructorPassesThisOut") public class ConstructorPassesThisOut extends software.amazon.jsii.JsiiObject { protected ConstructorPassesThisOut(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -41129,23 +40485,21 @@ public class ConstructorPassesThisOut extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ConstructorPassesThisOut(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.PartiallyInitializedThisConsumer consumer) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(consumer, \\"consumer is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(consumer, "consumer is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Constructors.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Constructors\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Constructors") public class Constructors extends software.amazon.jsii.JsiiObject { protected Constructors(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -41170,7 +40524,7 @@ public class Constructors extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IPublicInterface hiddenInterface() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, \\"hiddenInterface\\", software.amazon.jsii.tests.calculator.IPublicInterface.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, "hiddenInterface", software.amazon.jsii.tests.calculator.IPublicInterface.class); } /** @@ -41178,7 +40532,7 @@ public class Constructors extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.List hiddenInterfaces() { - return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, \\"hiddenInterfaces\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IPublicInterface.class)))); + return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, "hiddenInterfaces", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IPublicInterface.class)))); } /** @@ -41186,7 +40540,7 @@ public class Constructors extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.List hiddenSubInterfaces() { - return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, \\"hiddenSubInterfaces\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IPublicInterface.class)))); + return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, "hiddenSubInterfaces", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IPublicInterface.class)))); } /** @@ -41194,7 +40548,7 @@ public class Constructors extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.PublicClass makeClass() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, \\"makeClass\\", software.amazon.jsii.tests.calculator.PublicClass.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, "makeClass", software.amazon.jsii.tests.calculator.PublicClass.class); } /** @@ -41202,7 +40556,7 @@ public class Constructors extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IPublicInterface makeInterface() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, \\"makeInterface\\", software.amazon.jsii.tests.calculator.IPublicInterface.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, "makeInterface", software.amazon.jsii.tests.calculator.IPublicInterface.class); } /** @@ -41210,7 +40564,7 @@ public class Constructors extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IPublicInterface2 makeInterface2() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, \\"makeInterface2\\", software.amazon.jsii.tests.calculator.IPublicInterface2.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, "makeInterface2", software.amazon.jsii.tests.calculator.IPublicInterface2.class); } /** @@ -41218,23 +40572,21 @@ public class Constructors extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.List makeInterfaces() { - return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, \\"makeInterfaces\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IPublicInterface.class)))); + return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Constructors.class, "makeInterfaces", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IPublicInterface.class)))); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ConsumePureInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ConsumePureInterface\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ConsumePureInterface") public class ConsumePureInterface extends software.amazon.jsii.JsiiObject { protected ConsumePureInterface(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -41253,7 +40605,7 @@ public class ConsumePureInterface extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ConsumePureInterface(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IStructReturningDelegate delegate) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(delegate, \\"delegate is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(delegate, "delegate is required") }); } /** @@ -41261,16 +40613,14 @@ public class ConsumePureInterface extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.StructB workItBaby() { - return this.jsiiCall(\\"workItBaby\\", software.amazon.jsii.tests.calculator.StructB.class); + return this.jsiiCall("workItBaby", software.amazon.jsii.tests.calculator.StructB.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ConsumerCanRingBell.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Test calling back to consumers that implement interfaces. @@ -41280,9 +40630,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ConsumerCanRingBell\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ConsumerCanRingBell") public class ConsumerCanRingBell extends software.amazon.jsii.JsiiObject { protected ConsumerCanRingBell(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -41313,7 +40663,7 @@ public class ConsumerCanRingBell extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean staticImplementedByObjectLiteral(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IBellRinger ringer) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConsumerCanRingBell.class, \\"staticImplementedByObjectLiteral\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, \\"ringer is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConsumerCanRingBell.class, "staticImplementedByObjectLiteral", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, "ringer is required") }); } /** @@ -41327,7 +40677,7 @@ public class ConsumerCanRingBell extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean staticImplementedByPrivateClass(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IBellRinger ringer) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConsumerCanRingBell.class, \\"staticImplementedByPrivateClass\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, \\"ringer is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConsumerCanRingBell.class, "staticImplementedByPrivateClass", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, "ringer is required") }); } /** @@ -41341,7 +40691,7 @@ public class ConsumerCanRingBell extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean staticImplementedByPublicClass(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IBellRinger ringer) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConsumerCanRingBell.class, \\"staticImplementedByPublicClass\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, \\"ringer is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConsumerCanRingBell.class, "staticImplementedByPublicClass", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, "ringer is required") }); } /** @@ -41355,7 +40705,7 @@ public class ConsumerCanRingBell extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean staticWhenTypedAsClass(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IConcreteBellRinger ringer) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConsumerCanRingBell.class, \\"staticWhenTypedAsClass\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, \\"ringer is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ConsumerCanRingBell.class, "staticWhenTypedAsClass", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, "ringer is required") }); } /** @@ -41369,7 +40719,7 @@ public class ConsumerCanRingBell extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean implementedByObjectLiteral(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IBellRinger ringer) { - return this.jsiiCall(\\"implementedByObjectLiteral\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, \\"ringer is required\\") }); + return this.jsiiCall("implementedByObjectLiteral", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, "ringer is required") }); } /** @@ -41383,7 +40733,7 @@ public class ConsumerCanRingBell extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean implementedByPrivateClass(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IBellRinger ringer) { - return this.jsiiCall(\\"implementedByPrivateClass\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, \\"ringer is required\\") }); + return this.jsiiCall("implementedByPrivateClass", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, "ringer is required") }); } /** @@ -41397,7 +40747,7 @@ public class ConsumerCanRingBell extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean implementedByPublicClass(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IBellRinger ringer) { - return this.jsiiCall(\\"implementedByPublicClass\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, \\"ringer is required\\") }); + return this.jsiiCall("implementedByPublicClass", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, "ringer is required") }); } /** @@ -41411,23 +40761,21 @@ public class ConsumerCanRingBell extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean whenTypedAsClass(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IConcreteBellRinger ringer) { - return this.jsiiCall(\\"whenTypedAsClass\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, \\"ringer is required\\") }); + return this.jsiiCall("whenTypedAsClass", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(ringer, "ringer is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ConsumersOfThisCrazyTypeSystem.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ConsumersOfThisCrazyTypeSystem\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ConsumersOfThisCrazyTypeSystem") public class ConsumersOfThisCrazyTypeSystem extends software.amazon.jsii.JsiiObject { protected ConsumersOfThisCrazyTypeSystem(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -41454,7 +40802,7 @@ public class ConsumersOfThisCrazyTypeSystem extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String consumeAnotherPublicInterface(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IAnotherPublicInterface obj) { - return this.jsiiCall(\\"consumeAnotherPublicInterface\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(obj, \\"obj is required\\") }); + return this.jsiiCall("consumeAnotherPublicInterface", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(obj, "obj is required") }); } /** @@ -41464,25 +40812,23 @@ public class ConsumersOfThisCrazyTypeSystem extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Object consumeNonInternalInterface(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.INonInternalInterface obj) { - return this.jsiiCall(\\"consumeNonInternalInterface\\", java.lang.Object.class, new Object[] { java.util.Objects.requireNonNull(obj, \\"obj is required\\") }); + return this.jsiiCall("consumeNonInternalInterface", java.lang.Object.class, new Object[] { java.util.Objects.requireNonNull(obj, "obj is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DataRenderer.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Verifies proper type handling through dynamic overrides. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DataRenderer\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DataRenderer") public class DataRenderer extends software.amazon.jsii.JsiiObject { protected DataRenderer(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -41509,7 +40855,7 @@ public class DataRenderer extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String render(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.lib.MyFirstStruct data) { - return this.jsiiCall(\\"render\\", java.lang.String.class, new Object[] { data }); + return this.jsiiCall("render", java.lang.String.class, new Object[] { data }); } /** @@ -41517,7 +40863,7 @@ public class DataRenderer extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String render() { - return this.jsiiCall(\\"render\\", java.lang.String.class); + return this.jsiiCall("render", java.lang.String.class); } /** @@ -41527,7 +40873,7 @@ public class DataRenderer extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String renderArbitrary(final @org.jetbrains.annotations.NotNull java.util.Map data) { - return this.jsiiCall(\\"renderArbitrary\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(data, \\"data is required\\") }); + return this.jsiiCall("renderArbitrary", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(data, "data is required") }); } /** @@ -41537,23 +40883,21 @@ public class DataRenderer extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String renderMap(final @org.jetbrains.annotations.NotNull java.util.Map map) { - return this.jsiiCall(\\"renderMap\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(map, \\"map is required\\") }); + return this.jsiiCall("renderMap", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(map, "map is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DefaultedConstructorArgument.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DefaultedConstructorArgument\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DefaultedConstructorArgument") public class DefaultedConstructorArgument extends software.amazon.jsii.JsiiObject { protected DefaultedConstructorArgument(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -41614,7 +40958,7 @@ public class DefaultedConstructorArgument extends software.amazon.jsii.JsiiObjec */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getArg1() { - return this.jsiiGet(\\"arg1\\", java.lang.Number.class); + return this.jsiiGet("arg1", java.lang.Number.class); } /** @@ -41622,7 +40966,7 @@ public class DefaultedConstructorArgument extends software.amazon.jsii.JsiiObjec */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.time.Instant getArg3() { - return this.jsiiGet(\\"arg3\\", java.time.Instant.class); + return this.jsiiGet("arg3", java.time.Instant.class); } /** @@ -41630,16 +40974,14 @@ public class DefaultedConstructorArgument extends software.amazon.jsii.JsiiObjec */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.String getArg2() { - return this.jsiiGet(\\"arg2\\", java.lang.String.class); + return this.jsiiGet("arg2", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Demonstrate982.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * 1. @@ -41649,9 +40991,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Demonstrate982\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Demonstrate982") public class Demonstrate982 extends software.amazon.jsii.JsiiObject { protected Demonstrate982(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -41678,7 +41020,7 @@ public class Demonstrate982 extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.ChildStruct982 takeThis() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Demonstrate982.class, \\"takeThis\\", software.amazon.jsii.tests.calculator.ChildStruct982.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Demonstrate982.class, "takeThis", software.amazon.jsii.tests.calculator.ChildStruct982.class); } /** @@ -41688,24 +41030,22 @@ public class Demonstrate982 extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.ParentStruct982 takeThisToo() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Demonstrate982.class, \\"takeThisToo\\", software.amazon.jsii.tests.calculator.ParentStruct982.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Demonstrate982.class, "takeThisToo", software.amazon.jsii.tests.calculator.ParentStruct982.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DeprecatedClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * @deprecated a pretty boring class */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DeprecatedClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DeprecatedClass") public class DeprecatedClass extends software.amazon.jsii.JsiiObject { protected DeprecatedClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -41717,7 +41057,7 @@ public class DeprecatedClass extends software.amazon.jsii.JsiiObject { } /** - * @deprecated this constructor is \\"just\\" okay + * @deprecated this constructor is "just" okay * @param readonlyString This parameter is required. * @param mutableNumber */ @@ -41725,18 +41065,18 @@ public class DeprecatedClass extends software.amazon.jsii.JsiiObject { @Deprecated public DeprecatedClass(final @org.jetbrains.annotations.NotNull java.lang.String readonlyString, final @org.jetbrains.annotations.Nullable java.lang.Number mutableNumber) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, \\"readonlyString is required\\"), mutableNumber }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, "readonlyString is required"), mutableNumber }); } /** - * @deprecated this constructor is \\"just\\" okay + * @deprecated this constructor is "just" okay * @param readonlyString This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public DeprecatedClass(final @org.jetbrains.annotations.NotNull java.lang.String readonlyString) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, \\"readonlyString is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, "readonlyString is required") }); } /** @@ -41745,16 +41085,16 @@ public class DeprecatedClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public void method() { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID); } /** - * @deprecated this is not always \\"wazoo\\", be ready to be disappointed + * @deprecated this is not always "wazoo", be ready to be disappointed */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.String getReadonlyProperty() { - return this.jsiiGet(\\"readonlyProperty\\", java.lang.String.class); + return this.jsiiGet("readonlyProperty", java.lang.String.class); } /** @@ -41763,7 +41103,7 @@ public class DeprecatedClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.Nullable java.lang.Number getMutableProperty() { - return this.jsiiGet(\\"mutableProperty\\", java.lang.Number.class); + return this.jsiiGet("mutableProperty", java.lang.Number.class); } /** @@ -41772,24 +41112,22 @@ public class DeprecatedClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - this.jsiiSet(\\"mutableProperty\\", value); + this.jsiiSet("mutableProperty", value); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DeprecatedEnum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * @deprecated your deprecated selection of bad options */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DeprecatedEnum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DeprecatedEnum") public enum DeprecatedEnum { /** * @deprecated option A is not great @@ -41804,19 +41142,17 @@ public enum DeprecatedEnum { @Deprecated OPTION_B, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DeprecatedStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * @deprecated it just wraps a string */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DeprecatedStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DeprecatedStruct") @software.amazon.jsii.Jsii.Proxy(DeprecatedStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @@ -41885,7 +41221,7 @@ public interface DeprecatedStruct extends software.amazon.jsii.JsiiSerializable */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.readonlyProperty = this.jsiiGet(\\"readonlyProperty\\", java.lang.String.class); + this.readonlyProperty = this.jsiiGet("readonlyProperty", java.lang.String.class); } /** @@ -41893,7 +41229,7 @@ public interface DeprecatedStruct extends software.amazon.jsii.JsiiSerializable */ private Jsii$Proxy(final java.lang.String readonlyProperty) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.readonlyProperty = java.util.Objects.requireNonNull(readonlyProperty, \\"readonlyProperty is required\\"); + this.readonlyProperty = java.util.Objects.requireNonNull(readonlyProperty, "readonlyProperty is required"); } @Override @@ -41906,14 +41242,14 @@ public interface DeprecatedStruct extends software.amazon.jsii.JsiiSerializable final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"readonlyProperty\\", om.valueToTree(this.getReadonlyProperty())); + data.set("readonlyProperty", om.valueToTree(this.getReadonlyProperty())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.DeprecatedStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.DeprecatedStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -41935,21 +41271,19 @@ public interface DeprecatedStruct extends software.amazon.jsii.JsiiSerializable } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DerivedStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * A struct which derives from another struct. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DerivedStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DerivedStruct") @software.amazon.jsii.Jsii.Proxy(DerivedStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface DerivedStruct extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.lib.MyFirstStruct { @@ -42157,15 +41491,15 @@ public interface DerivedStruct extends software.amazon.jsii.JsiiSerializable, so */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.anotherRequired = this.jsiiGet(\\"anotherRequired\\", java.time.Instant.class); - this.bool = this.jsiiGet(\\"bool\\", java.lang.Boolean.class); - this.nonPrimitive = this.jsiiGet(\\"nonPrimitive\\", software.amazon.jsii.tests.calculator.DoubleTrouble.class); - this.anotherOptional = this.jsiiGet(\\"anotherOptional\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Value.class))); - this.optionalAny = this.jsiiGet(\\"optionalAny\\", java.lang.Object.class); - this.optionalArray = this.jsiiGet(\\"optionalArray\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))); - this.anumber = this.jsiiGet(\\"anumber\\", java.lang.Number.class); - this.astring = this.jsiiGet(\\"astring\\", java.lang.String.class); - this.firstOptional = this.jsiiGet(\\"firstOptional\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))); + this.anotherRequired = this.jsiiGet("anotherRequired", java.time.Instant.class); + this.bool = this.jsiiGet("bool", java.lang.Boolean.class); + this.nonPrimitive = this.jsiiGet("nonPrimitive", software.amazon.jsii.tests.calculator.DoubleTrouble.class); + this.anotherOptional = this.jsiiGet("anotherOptional", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Value.class))); + this.optionalAny = this.jsiiGet("optionalAny", java.lang.Object.class); + this.optionalArray = this.jsiiGet("optionalArray", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))); + this.anumber = this.jsiiGet("anumber", java.lang.Number.class); + this.astring = this.jsiiGet("astring", java.lang.String.class); + this.firstOptional = this.jsiiGet("firstOptional", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))); } /** @@ -42173,14 +41507,14 @@ public interface DerivedStruct extends software.amazon.jsii.JsiiSerializable, so */ private Jsii$Proxy(final java.time.Instant anotherRequired, final java.lang.Boolean bool, final software.amazon.jsii.tests.calculator.DoubleTrouble nonPrimitive, final java.util.Map anotherOptional, final java.lang.Object optionalAny, final java.util.List optionalArray, final java.lang.Number anumber, final java.lang.String astring, final java.util.List firstOptional) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.anotherRequired = java.util.Objects.requireNonNull(anotherRequired, \\"anotherRequired is required\\"); - this.bool = java.util.Objects.requireNonNull(bool, \\"bool is required\\"); - this.nonPrimitive = java.util.Objects.requireNonNull(nonPrimitive, \\"nonPrimitive is required\\"); + this.anotherRequired = java.util.Objects.requireNonNull(anotherRequired, "anotherRequired is required"); + this.bool = java.util.Objects.requireNonNull(bool, "bool is required"); + this.nonPrimitive = java.util.Objects.requireNonNull(nonPrimitive, "nonPrimitive is required"); this.anotherOptional = anotherOptional; this.optionalAny = optionalAny; this.optionalArray = optionalArray; - this.anumber = java.util.Objects.requireNonNull(anumber, \\"anumber is required\\"); - this.astring = java.util.Objects.requireNonNull(astring, \\"astring is required\\"); + this.anumber = java.util.Objects.requireNonNull(anumber, "anumber is required"); + this.astring = java.util.Objects.requireNonNull(astring, "astring is required"); this.firstOptional = firstOptional; } @@ -42234,30 +41568,30 @@ public interface DerivedStruct extends software.amazon.jsii.JsiiSerializable, so final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"anotherRequired\\", om.valueToTree(this.getAnotherRequired())); - data.set(\\"bool\\", om.valueToTree(this.getBool())); - data.set(\\"nonPrimitive\\", om.valueToTree(this.getNonPrimitive())); + data.set("anotherRequired", om.valueToTree(this.getAnotherRequired())); + data.set("bool", om.valueToTree(this.getBool())); + data.set("nonPrimitive", om.valueToTree(this.getNonPrimitive())); if (this.getAnotherOptional() != null) { - data.set(\\"anotherOptional\\", om.valueToTree(this.getAnotherOptional())); + data.set("anotherOptional", om.valueToTree(this.getAnotherOptional())); } if (this.getOptionalAny() != null) { - data.set(\\"optionalAny\\", om.valueToTree(this.getOptionalAny())); + data.set("optionalAny", om.valueToTree(this.getOptionalAny())); } if (this.getOptionalArray() != null) { - data.set(\\"optionalArray\\", om.valueToTree(this.getOptionalArray())); + data.set("optionalArray", om.valueToTree(this.getOptionalArray())); } - data.set(\\"anumber\\", om.valueToTree(this.getAnumber())); - data.set(\\"astring\\", om.valueToTree(this.getAstring())); + data.set("anumber", om.valueToTree(this.getAnumber())); + data.set("astring", om.valueToTree(this.getAstring())); if (this.getFirstOptional() != null) { - data.set(\\"firstOptional\\", om.valueToTree(this.getFirstOptional())); + data.set("firstOptional", om.valueToTree(this.getFirstOptional())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.DerivedStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.DerivedStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -42295,19 +41629,17 @@ public interface DerivedStruct extends software.amazon.jsii.JsiiSerializable, so } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DiamondInheritanceBaseLevelStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DiamondInheritanceBaseLevelStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DiamondInheritanceBaseLevelStruct") @software.amazon.jsii.Jsii.Proxy(DiamondInheritanceBaseLevelStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface DiamondInheritanceBaseLevelStruct extends software.amazon.jsii.JsiiSerializable { @@ -42368,7 +41700,7 @@ public interface DiamondInheritanceBaseLevelStruct extends software.amazon.jsii. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.baseLevelProperty = this.jsiiGet(\\"baseLevelProperty\\", java.lang.String.class); + this.baseLevelProperty = this.jsiiGet("baseLevelProperty", java.lang.String.class); } /** @@ -42376,7 +41708,7 @@ public interface DiamondInheritanceBaseLevelStruct extends software.amazon.jsii. */ private Jsii$Proxy(final java.lang.String baseLevelProperty) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.baseLevelProperty = java.util.Objects.requireNonNull(baseLevelProperty, \\"baseLevelProperty is required\\"); + this.baseLevelProperty = java.util.Objects.requireNonNull(baseLevelProperty, "baseLevelProperty is required"); } @Override @@ -42389,14 +41721,14 @@ public interface DiamondInheritanceBaseLevelStruct extends software.amazon.jsii. final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"baseLevelProperty\\", om.valueToTree(this.getBaseLevelProperty())); + data.set("baseLevelProperty", om.valueToTree(this.getBaseLevelProperty())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.DiamondInheritanceBaseLevelStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.DiamondInheritanceBaseLevelStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -42418,19 +41750,17 @@ public interface DiamondInheritanceBaseLevelStruct extends software.amazon.jsii. } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DiamondInheritanceFirstMidLevelStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DiamondInheritanceFirstMidLevelStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DiamondInheritanceFirstMidLevelStruct") @software.amazon.jsii.Jsii.Proxy(DiamondInheritanceFirstMidLevelStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface DiamondInheritanceFirstMidLevelStruct extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.DiamondInheritanceBaseLevelStruct { @@ -42504,8 +41834,8 @@ public interface DiamondInheritanceFirstMidLevelStruct extends software.amazon.j */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.firstMidLevelProperty = this.jsiiGet(\\"firstMidLevelProperty\\", java.lang.String.class); - this.baseLevelProperty = this.jsiiGet(\\"baseLevelProperty\\", java.lang.String.class); + this.firstMidLevelProperty = this.jsiiGet("firstMidLevelProperty", java.lang.String.class); + this.baseLevelProperty = this.jsiiGet("baseLevelProperty", java.lang.String.class); } /** @@ -42513,8 +41843,8 @@ public interface DiamondInheritanceFirstMidLevelStruct extends software.amazon.j */ private Jsii$Proxy(final java.lang.String firstMidLevelProperty, final java.lang.String baseLevelProperty) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.firstMidLevelProperty = java.util.Objects.requireNonNull(firstMidLevelProperty, \\"firstMidLevelProperty is required\\"); - this.baseLevelProperty = java.util.Objects.requireNonNull(baseLevelProperty, \\"baseLevelProperty is required\\"); + this.firstMidLevelProperty = java.util.Objects.requireNonNull(firstMidLevelProperty, "firstMidLevelProperty is required"); + this.baseLevelProperty = java.util.Objects.requireNonNull(baseLevelProperty, "baseLevelProperty is required"); } @Override @@ -42532,15 +41862,15 @@ public interface DiamondInheritanceFirstMidLevelStruct extends software.amazon.j final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"firstMidLevelProperty\\", om.valueToTree(this.getFirstMidLevelProperty())); - data.set(\\"baseLevelProperty\\", om.valueToTree(this.getBaseLevelProperty())); + data.set("firstMidLevelProperty", om.valueToTree(this.getFirstMidLevelProperty())); + data.set("baseLevelProperty", om.valueToTree(this.getBaseLevelProperty())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.DiamondInheritanceFirstMidLevelStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.DiamondInheritanceFirstMidLevelStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -42564,19 +41894,17 @@ public interface DiamondInheritanceFirstMidLevelStruct extends software.amazon.j } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DiamondInheritanceSecondMidLevelStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DiamondInheritanceSecondMidLevelStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DiamondInheritanceSecondMidLevelStruct") @software.amazon.jsii.Jsii.Proxy(DiamondInheritanceSecondMidLevelStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface DiamondInheritanceSecondMidLevelStruct extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.DiamondInheritanceBaseLevelStruct { @@ -42650,8 +41978,8 @@ public interface DiamondInheritanceSecondMidLevelStruct extends software.amazon. */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.secondMidLevelProperty = this.jsiiGet(\\"secondMidLevelProperty\\", java.lang.String.class); - this.baseLevelProperty = this.jsiiGet(\\"baseLevelProperty\\", java.lang.String.class); + this.secondMidLevelProperty = this.jsiiGet("secondMidLevelProperty", java.lang.String.class); + this.baseLevelProperty = this.jsiiGet("baseLevelProperty", java.lang.String.class); } /** @@ -42659,8 +41987,8 @@ public interface DiamondInheritanceSecondMidLevelStruct extends software.amazon. */ private Jsii$Proxy(final java.lang.String secondMidLevelProperty, final java.lang.String baseLevelProperty) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.secondMidLevelProperty = java.util.Objects.requireNonNull(secondMidLevelProperty, \\"secondMidLevelProperty is required\\"); - this.baseLevelProperty = java.util.Objects.requireNonNull(baseLevelProperty, \\"baseLevelProperty is required\\"); + this.secondMidLevelProperty = java.util.Objects.requireNonNull(secondMidLevelProperty, "secondMidLevelProperty is required"); + this.baseLevelProperty = java.util.Objects.requireNonNull(baseLevelProperty, "baseLevelProperty is required"); } @Override @@ -42678,15 +42006,15 @@ public interface DiamondInheritanceSecondMidLevelStruct extends software.amazon. final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"secondMidLevelProperty\\", om.valueToTree(this.getSecondMidLevelProperty())); - data.set(\\"baseLevelProperty\\", om.valueToTree(this.getBaseLevelProperty())); + data.set("secondMidLevelProperty", om.valueToTree(this.getSecondMidLevelProperty())); + data.set("baseLevelProperty", om.valueToTree(this.getBaseLevelProperty())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.DiamondInheritanceSecondMidLevelStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.DiamondInheritanceSecondMidLevelStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -42710,19 +42038,17 @@ public interface DiamondInheritanceSecondMidLevelStruct extends software.amazon. } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DiamondInheritanceTopLevelStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DiamondInheritanceTopLevelStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DiamondInheritanceTopLevelStruct") @software.amazon.jsii.Jsii.Proxy(DiamondInheritanceTopLevelStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface DiamondInheritanceTopLevelStruct extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.DiamondInheritanceFirstMidLevelStruct, software.amazon.jsii.tests.calculator.DiamondInheritanceSecondMidLevelStruct { @@ -42822,10 +42148,10 @@ public interface DiamondInheritanceTopLevelStruct extends software.amazon.jsii.J */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.topLevelProperty = this.jsiiGet(\\"topLevelProperty\\", java.lang.String.class); - this.firstMidLevelProperty = this.jsiiGet(\\"firstMidLevelProperty\\", java.lang.String.class); - this.baseLevelProperty = this.jsiiGet(\\"baseLevelProperty\\", java.lang.String.class); - this.secondMidLevelProperty = this.jsiiGet(\\"secondMidLevelProperty\\", java.lang.String.class); + this.topLevelProperty = this.jsiiGet("topLevelProperty", java.lang.String.class); + this.firstMidLevelProperty = this.jsiiGet("firstMidLevelProperty", java.lang.String.class); + this.baseLevelProperty = this.jsiiGet("baseLevelProperty", java.lang.String.class); + this.secondMidLevelProperty = this.jsiiGet("secondMidLevelProperty", java.lang.String.class); } /** @@ -42833,10 +42159,10 @@ public interface DiamondInheritanceTopLevelStruct extends software.amazon.jsii.J */ private Jsii$Proxy(final java.lang.String topLevelProperty, final java.lang.String firstMidLevelProperty, final java.lang.String baseLevelProperty, final java.lang.String secondMidLevelProperty) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.topLevelProperty = java.util.Objects.requireNonNull(topLevelProperty, \\"topLevelProperty is required\\"); - this.firstMidLevelProperty = java.util.Objects.requireNonNull(firstMidLevelProperty, \\"firstMidLevelProperty is required\\"); - this.baseLevelProperty = java.util.Objects.requireNonNull(baseLevelProperty, \\"baseLevelProperty is required\\"); - this.secondMidLevelProperty = java.util.Objects.requireNonNull(secondMidLevelProperty, \\"secondMidLevelProperty is required\\"); + this.topLevelProperty = java.util.Objects.requireNonNull(topLevelProperty, "topLevelProperty is required"); + this.firstMidLevelProperty = java.util.Objects.requireNonNull(firstMidLevelProperty, "firstMidLevelProperty is required"); + this.baseLevelProperty = java.util.Objects.requireNonNull(baseLevelProperty, "baseLevelProperty is required"); + this.secondMidLevelProperty = java.util.Objects.requireNonNull(secondMidLevelProperty, "secondMidLevelProperty is required"); } @Override @@ -42864,17 +42190,17 @@ public interface DiamondInheritanceTopLevelStruct extends software.amazon.jsii.J final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"topLevelProperty\\", om.valueToTree(this.getTopLevelProperty())); - data.set(\\"firstMidLevelProperty\\", om.valueToTree(this.getFirstMidLevelProperty())); - data.set(\\"baseLevelProperty\\", om.valueToTree(this.getBaseLevelProperty())); - data.set(\\"secondMidLevelProperty\\", om.valueToTree(this.getSecondMidLevelProperty())); + data.set("topLevelProperty", om.valueToTree(this.getTopLevelProperty())); + data.set("firstMidLevelProperty", om.valueToTree(this.getFirstMidLevelProperty())); + data.set("baseLevelProperty", om.valueToTree(this.getBaseLevelProperty())); + data.set("secondMidLevelProperty", om.valueToTree(this.getSecondMidLevelProperty())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.DiamondInheritanceTopLevelStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.DiamondInheritanceTopLevelStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -42902,13 +42228,11 @@ public interface DiamondInheritanceTopLevelStruct extends software.amazon.jsii.J } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DisappointingCollectionSource.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Verifies that null/undefined can be returned for optional collections. @@ -42917,9 +42241,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DisappointingCollectionSource\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DisappointingCollectionSource") public class DisappointingCollectionSource extends software.amazon.jsii.JsiiObject { protected DisappointingCollectionSource(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -42931,8 +42255,8 @@ public class DisappointingCollectionSource extends software.amazon.jsii.JsiiObje } static { - MAYBE_LIST = java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.DisappointingCollectionSource.class, \\"maybeList\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableList).orElse(null); - MAYBE_MAP = java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.DisappointingCollectionSource.class, \\"maybeMap\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Number.class))))).map(java.util.Collections::unmodifiableMap).orElse(null); + MAYBE_LIST = java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.DisappointingCollectionSource.class, "maybeList", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableList).orElse(null); + MAYBE_MAP = java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.DisappointingCollectionSource.class, "maybeMap", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Number.class))))).map(java.util.Collections::unmodifiableMap).orElse(null); } /** @@ -42955,20 +42279,18 @@ public class DisappointingCollectionSource extends software.amazon.jsii.JsiiObje @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static java.util.Map MAYBE_MAP; } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DoNotOverridePrivates.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DoNotOverridePrivates\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DoNotOverridePrivates") public class DoNotOverridePrivates extends software.amazon.jsii.JsiiObject { protected DoNotOverridePrivates(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -42995,7 +42317,7 @@ public class DoNotOverridePrivates extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void changePrivatePropertyValue(final @org.jetbrains.annotations.NotNull java.lang.String newValue) { - this.jsiiCall(\\"changePrivatePropertyValue\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(newValue, \\"newValue is required\\") }); + this.jsiiCall("changePrivatePropertyValue", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(newValue, "newValue is required") }); } /** @@ -43003,7 +42325,7 @@ public class DoNotOverridePrivates extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String privateMethodValue() { - return this.jsiiCall(\\"privateMethodValue\\", java.lang.String.class); + return this.jsiiCall("privateMethodValue", java.lang.String.class); } /** @@ -43011,25 +42333,23 @@ public class DoNotOverridePrivates extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String privatePropertyValue() { - return this.jsiiCall(\\"privatePropertyValue\\", java.lang.String.class); + return this.jsiiCall("privatePropertyValue", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DoNotRecognizeAnyAsOptional.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** - * jsii#284: do not recognize \\"any\\" as an optional argument. + * jsii#284: do not recognize "any" as an optional argument. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DoNotRecognizeAnyAsOptional\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DoNotRecognizeAnyAsOptional") public class DoNotRecognizeAnyAsOptional extends software.amazon.jsii.JsiiObject { protected DoNotRecognizeAnyAsOptional(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -43058,7 +42378,7 @@ public class DoNotRecognizeAnyAsOptional extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void method(final @org.jetbrains.annotations.NotNull java.lang.Object _requiredAny, final @org.jetbrains.annotations.Nullable java.lang.Object _optionalAny, final @org.jetbrains.annotations.Nullable java.lang.String _optionalString) { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID, new Object[] { _requiredAny, _optionalAny, _optionalString }); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID, new Object[] { _requiredAny, _optionalAny, _optionalString }); } /** @@ -43069,7 +42389,7 @@ public class DoNotRecognizeAnyAsOptional extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void method(final @org.jetbrains.annotations.NotNull java.lang.Object _requiredAny, final @org.jetbrains.annotations.Nullable java.lang.Object _optionalAny) { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID, new Object[] { _requiredAny, _optionalAny }); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID, new Object[] { _requiredAny, _optionalAny }); } /** @@ -43079,16 +42399,14 @@ public class DoNotRecognizeAnyAsOptional extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void method(final @org.jetbrains.annotations.NotNull java.lang.Object _requiredAny) { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID, new Object[] { _requiredAny }); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID, new Object[] { _requiredAny }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DocumentedClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Here's the first line of the TSDoc comment. @@ -43098,9 +42416,9 @@ Object { *

* Multiple paragraphs are separated by an empty line. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DocumentedClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DocumentedClass") public class DocumentedClass extends software.amazon.jsii.JsiiObject { protected DocumentedClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -43131,7 +42449,7 @@ public class DocumentedClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.Number greet(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.Greetee greetee) { - return this.jsiiCall(\\"greet\\", java.lang.Number.class, new Object[] { greetee }); + return this.jsiiCall("greet", java.lang.Number.class, new Object[] { greetee }); } /** @@ -43144,7 +42462,7 @@ public class DocumentedClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.Number greet() { - return this.jsiiCall(\\"greet\\", java.lang.Number.class); + return this.jsiiCall("greet", java.lang.Number.class); } /** @@ -43154,23 +42472,21 @@ public class DocumentedClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void hola() { - this.jsiiCall(\\"hola\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("hola", software.amazon.jsii.NativeType.VOID); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DontComplainAboutVariadicAfterOptional.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DontComplainAboutVariadicAfterOptional\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DontComplainAboutVariadicAfterOptional") public class DontComplainAboutVariadicAfterOptional extends software.amazon.jsii.JsiiObject { protected DontComplainAboutVariadicAfterOptional(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -43198,23 +42514,21 @@ public class DontComplainAboutVariadicAfterOptional extends software.amazon.jsii */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String optionalAndVariadic(final @org.jetbrains.annotations.Nullable java.lang.String optional, final @org.jetbrains.annotations.NotNull java.lang.String... things) { - return this.jsiiCall(\\"optionalAndVariadic\\", java.lang.String.class, java.util.stream.Stream.concat(java.util.Arrays.stream(new Object[] { optional }), java.util.Arrays.stream(things)).toArray(Object[]::new)); + return this.jsiiCall("optionalAndVariadic", java.lang.String.class, java.util.stream.Stream.concat(java.util.Arrays.stream(new Object[] { optional }), java.util.Arrays.stream(things)).toArray(Object[]::new)); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/DoubleTrouble.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DoubleTrouble\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DoubleTrouble") public class DoubleTrouble extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.IFriendlyRandomGenerator { protected DoubleTrouble(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -43242,7 +42556,7 @@ public class DoubleTrouble extends software.amazon.jsii.JsiiObject implements so @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String hello() { - return this.jsiiCall(\\"hello\\", java.lang.String.class); + return this.jsiiCall("hello", java.lang.String.class); } /** @@ -43253,23 +42567,21 @@ public class DoubleTrouble extends software.amazon.jsii.JsiiObject implements so @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.Number next() { - return this.jsiiCall(\\"next\\", java.lang.Number.class); + return this.jsiiCall("next", java.lang.Number.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/EnumDispenser.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.EnumDispenser\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.EnumDispenser") public class EnumDispenser extends software.amazon.jsii.JsiiObject { protected EnumDispenser(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -43285,7 +42597,7 @@ public class EnumDispenser extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.AllTypesEnum randomIntegerLikeEnum() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EnumDispenser.class, \\"randomIntegerLikeEnum\\", software.amazon.jsii.tests.calculator.AllTypesEnum.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EnumDispenser.class, "randomIntegerLikeEnum", software.amazon.jsii.tests.calculator.AllTypesEnum.class); } /** @@ -43293,23 +42605,21 @@ public class EnumDispenser extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.StringEnum randomStringLikeEnum() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EnumDispenser.class, \\"randomStringLikeEnum\\", software.amazon.jsii.tests.calculator.StringEnum.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EnumDispenser.class, "randomStringLikeEnum", software.amazon.jsii.tests.calculator.StringEnum.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/EraseUndefinedHashValues.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.EraseUndefinedHashValues\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.EraseUndefinedHashValues") public class EraseUndefinedHashValues extends software.amazon.jsii.JsiiObject { protected EraseUndefinedHashValues(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -43342,42 +42652,40 @@ public class EraseUndefinedHashValues extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean doesKeyExist(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.EraseUndefinedHashValuesOptions opts, final @org.jetbrains.annotations.NotNull java.lang.String key) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EraseUndefinedHashValues.class, \\"doesKeyExist\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(opts, \\"opts is required\\"), java.util.Objects.requireNonNull(key, \\"key is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EraseUndefinedHashValues.class, "doesKeyExist", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(opts, "opts is required"), java.util.Objects.requireNonNull(key, "key is required") }); } /** - * We expect \\"prop1\\" to be erased. + * We expect "prop1" to be erased. *

* EXPERIMENTAL */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.Map prop1IsNull() { - return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EraseUndefinedHashValues.class, \\"prop1IsNull\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); + return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EraseUndefinedHashValues.class, "prop1IsNull", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } /** - * We expect \\"prop2\\" to be erased. + * We expect "prop2" to be erased. *

* EXPERIMENTAL */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.Map prop2IsUndefined() { - return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EraseUndefinedHashValues.class, \\"prop2IsUndefined\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); + return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.EraseUndefinedHashValues.class, "prop2IsUndefined", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class)))); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/EraseUndefinedHashValuesOptions.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.EraseUndefinedHashValuesOptions\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.EraseUndefinedHashValuesOptions") @software.amazon.jsii.Jsii.Proxy(EraseUndefinedHashValuesOptions.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface EraseUndefinedHashValuesOptions extends software.amazon.jsii.JsiiSerializable { @@ -43461,8 +42769,8 @@ public interface EraseUndefinedHashValuesOptions extends software.amazon.jsii.Js */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.option1 = this.jsiiGet(\\"option1\\", java.lang.String.class); - this.option2 = this.jsiiGet(\\"option2\\", java.lang.String.class); + this.option1 = this.jsiiGet("option1", java.lang.String.class); + this.option2 = this.jsiiGet("option2", java.lang.String.class); } /** @@ -43490,18 +42798,18 @@ public interface EraseUndefinedHashValuesOptions extends software.amazon.jsii.Js final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getOption1() != null) { - data.set(\\"option1\\", om.valueToTree(this.getOption1())); + data.set("option1", om.valueToTree(this.getOption1())); } if (this.getOption2() != null) { - data.set(\\"option2\\", om.valueToTree(this.getOption2())); + data.set("option2", om.valueToTree(this.getOption2())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.EraseUndefinedHashValuesOptions\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.EraseUndefinedHashValuesOptions")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -43525,20 +42833,18 @@ public interface EraseUndefinedHashValuesOptions extends software.amazon.jsii.Js } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ExperimentalClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ExperimentalClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ExperimentalClass") public class ExperimentalClass extends software.amazon.jsii.JsiiObject { protected ExperimentalClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -43558,7 +42864,7 @@ public class ExperimentalClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ExperimentalClass(final @org.jetbrains.annotations.NotNull java.lang.String readonlyString, final @org.jetbrains.annotations.Nullable java.lang.Number mutableNumber) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, \\"readonlyString is required\\"), mutableNumber }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, "readonlyString is required"), mutableNumber }); } /** @@ -43569,7 +42875,7 @@ public class ExperimentalClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ExperimentalClass(final @org.jetbrains.annotations.NotNull java.lang.String readonlyString) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, \\"readonlyString is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, "readonlyString is required") }); } /** @@ -43577,7 +42883,7 @@ public class ExperimentalClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void method() { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID); } /** @@ -43585,7 +42891,7 @@ public class ExperimentalClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getReadonlyProperty() { - return this.jsiiGet(\\"readonlyProperty\\", java.lang.String.class); + return this.jsiiGet("readonlyProperty", java.lang.String.class); } /** @@ -43593,7 +42899,7 @@ public class ExperimentalClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.Number getMutableProperty() { - return this.jsiiGet(\\"mutableProperty\\", java.lang.Number.class); + return this.jsiiGet("mutableProperty", java.lang.Number.class); } /** @@ -43601,23 +42907,21 @@ public class ExperimentalClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - this.jsiiSet(\\"mutableProperty\\", value); + this.jsiiSet("mutableProperty", value); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ExperimentalEnum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ExperimentalEnum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ExperimentalEnum") public enum ExperimentalEnum { /** * EXPERIMENTAL @@ -43630,19 +42934,17 @@ public enum ExperimentalEnum { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) OPTION_B, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ExperimentalStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ExperimentalStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ExperimentalStruct") @software.amazon.jsii.Jsii.Proxy(ExperimentalStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface ExperimentalStruct extends software.amazon.jsii.JsiiSerializable { @@ -43703,7 +43005,7 @@ public interface ExperimentalStruct extends software.amazon.jsii.JsiiSerializabl */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.readonlyProperty = this.jsiiGet(\\"readonlyProperty\\", java.lang.String.class); + this.readonlyProperty = this.jsiiGet("readonlyProperty", java.lang.String.class); } /** @@ -43711,7 +43013,7 @@ public interface ExperimentalStruct extends software.amazon.jsii.JsiiSerializabl */ private Jsii$Proxy(final java.lang.String readonlyProperty) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.readonlyProperty = java.util.Objects.requireNonNull(readonlyProperty, \\"readonlyProperty is required\\"); + this.readonlyProperty = java.util.Objects.requireNonNull(readonlyProperty, "readonlyProperty is required"); } @Override @@ -43724,14 +43026,14 @@ public interface ExperimentalStruct extends software.amazon.jsii.JsiiSerializabl final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"readonlyProperty\\", om.valueToTree(this.getReadonlyProperty())); + data.set("readonlyProperty", om.valueToTree(this.getReadonlyProperty())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.ExperimentalStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.ExperimentalStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -43753,20 +43055,18 @@ public interface ExperimentalStruct extends software.amazon.jsii.JsiiSerializabl } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ExportedBaseClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ExportedBaseClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ExportedBaseClass") public class ExportedBaseClass extends software.amazon.jsii.JsiiObject { protected ExportedBaseClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -43785,7 +43085,7 @@ public class ExportedBaseClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ExportedBaseClass(final @org.jetbrains.annotations.NotNull java.lang.Boolean success) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(success, \\"success is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(success, "success is required") }); } /** @@ -43793,22 +43093,20 @@ public class ExportedBaseClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getSuccess() { - return this.jsiiGet(\\"success\\", java.lang.Boolean.class); + return this.jsiiGet("success", java.lang.Boolean.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ExtendsInternalInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ExtendsInternalInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ExtendsInternalInterface") @software.amazon.jsii.Jsii.Proxy(ExtendsInternalInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface ExtendsInternalInterface extends software.amazon.jsii.JsiiSerializable { @@ -43888,8 +43186,8 @@ public interface ExtendsInternalInterface extends software.amazon.jsii.JsiiSeria */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.boom = this.jsiiGet(\\"boom\\", java.lang.Boolean.class); - this.prop = this.jsiiGet(\\"prop\\", java.lang.String.class); + this.boom = this.jsiiGet("boom", java.lang.Boolean.class); + this.prop = this.jsiiGet("prop", java.lang.String.class); } /** @@ -43897,8 +43195,8 @@ public interface ExtendsInternalInterface extends software.amazon.jsii.JsiiSeria */ private Jsii$Proxy(final java.lang.Boolean boom, final java.lang.String prop) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.boom = java.util.Objects.requireNonNull(boom, \\"boom is required\\"); - this.prop = java.util.Objects.requireNonNull(prop, \\"prop is required\\"); + this.boom = java.util.Objects.requireNonNull(boom, "boom is required"); + this.prop = java.util.Objects.requireNonNull(prop, "prop is required"); } @Override @@ -43916,15 +43214,15 @@ public interface ExtendsInternalInterface extends software.amazon.jsii.JsiiSeria final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"boom\\", om.valueToTree(this.getBoom())); - data.set(\\"prop\\", om.valueToTree(this.getProp())); + data.set("boom", om.valueToTree(this.getBoom())); + data.set("prop", om.valueToTree(this.getProp())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.ExtendsInternalInterface\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.ExtendsInternalInterface")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -43948,20 +43246,18 @@ public interface ExtendsInternalInterface extends software.amazon.jsii.JsiiSeria } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ExternalClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ExternalClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ExternalClass") public class ExternalClass extends software.amazon.jsii.JsiiObject { protected ExternalClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -43981,7 +43277,7 @@ public class ExternalClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ExternalClass(final @org.jetbrains.annotations.NotNull java.lang.String readonlyString, final @org.jetbrains.annotations.Nullable java.lang.Number mutableNumber) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, \\"readonlyString is required\\"), mutableNumber }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, "readonlyString is required"), mutableNumber }); } /** @@ -43992,7 +43288,7 @@ public class ExternalClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ExternalClass(final @org.jetbrains.annotations.NotNull java.lang.String readonlyString) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, \\"readonlyString is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, "readonlyString is required") }); } /** @@ -44000,7 +43296,7 @@ public class ExternalClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void method() { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID); } /** @@ -44008,7 +43304,7 @@ public class ExternalClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getReadonlyProperty() { - return this.jsiiGet(\\"readonlyProperty\\", java.lang.String.class); + return this.jsiiGet("readonlyProperty", java.lang.String.class); } /** @@ -44016,7 +43312,7 @@ public class ExternalClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.Number getMutableProperty() { - return this.jsiiGet(\\"mutableProperty\\", java.lang.Number.class); + return this.jsiiGet("mutableProperty", java.lang.Number.class); } /** @@ -44024,23 +43320,21 @@ public class ExternalClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - this.jsiiSet(\\"mutableProperty\\", value); + this.jsiiSet("mutableProperty", value); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ExternalEnum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ExternalEnum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ExternalEnum") public enum ExternalEnum { /** * EXPERIMENTAL @@ -44053,19 +43347,17 @@ public enum ExternalEnum { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) OPTION_B, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ExternalStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ExternalStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ExternalStruct") @software.amazon.jsii.Jsii.Proxy(ExternalStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface ExternalStruct extends software.amazon.jsii.JsiiSerializable { @@ -44126,7 +43418,7 @@ public interface ExternalStruct extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.readonlyProperty = this.jsiiGet(\\"readonlyProperty\\", java.lang.String.class); + this.readonlyProperty = this.jsiiGet("readonlyProperty", java.lang.String.class); } /** @@ -44134,7 +43426,7 @@ public interface ExternalStruct extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.String readonlyProperty) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.readonlyProperty = java.util.Objects.requireNonNull(readonlyProperty, \\"readonlyProperty is required\\"); + this.readonlyProperty = java.util.Objects.requireNonNull(readonlyProperty, "readonlyProperty is required"); } @Override @@ -44147,14 +43439,14 @@ public interface ExternalStruct extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"readonlyProperty\\", om.valueToTree(this.getReadonlyProperty())); + data.set("readonlyProperty", om.valueToTree(this.getReadonlyProperty())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.ExternalStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.ExternalStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -44176,20 +43468,18 @@ public interface ExternalStruct extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/GiveMeStructs.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.GiveMeStructs\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.GiveMeStructs") public class GiveMeStructs extends software.amazon.jsii.JsiiObject { protected GiveMeStructs(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -44218,7 +43508,7 @@ public class GiveMeStructs extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.MyFirstStruct derivedToFirst(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.DerivedStruct derived) { - return this.jsiiCall(\\"derivedToFirst\\", software.amazon.jsii.tests.calculator.lib.MyFirstStruct.class, new Object[] { java.util.Objects.requireNonNull(derived, \\"derived is required\\") }); + return this.jsiiCall("derivedToFirst", software.amazon.jsii.tests.calculator.lib.MyFirstStruct.class, new Object[] { java.util.Objects.requireNonNull(derived, "derived is required") }); } /** @@ -44230,11 +43520,11 @@ public class GiveMeStructs extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.DoubleTrouble readDerivedNonPrimitive(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.DerivedStruct derived) { - return this.jsiiCall(\\"readDerivedNonPrimitive\\", software.amazon.jsii.tests.calculator.DoubleTrouble.class, new Object[] { java.util.Objects.requireNonNull(derived, \\"derived is required\\") }); + return this.jsiiCall("readDerivedNonPrimitive", software.amazon.jsii.tests.calculator.DoubleTrouble.class, new Object[] { java.util.Objects.requireNonNull(derived, "derived is required") }); } /** - * Returns the \\"anumber\\" from a MyFirstStruct struct; + * Returns the "anumber" from a MyFirstStruct struct; *

* EXPERIMENTAL *

@@ -44242,7 +43532,7 @@ public class GiveMeStructs extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number readFirstNumber(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.MyFirstStruct first) { - return this.jsiiCall(\\"readFirstNumber\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(first, \\"first is required\\") }); + return this.jsiiCall("readFirstNumber", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(first, "first is required") }); } /** @@ -44250,24 +43540,22 @@ public class GiveMeStructs extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.StructWithOnlyOptionals getStructLiteral() { - return this.jsiiGet(\\"structLiteral\\", software.amazon.jsii.tests.calculator.lib.StructWithOnlyOptionals.class); + return this.jsiiGet("structLiteral", software.amazon.jsii.tests.calculator.lib.StructWithOnlyOptionals.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Greetee.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * These are some arguments you can pass to a method. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Greetee\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Greetee") @software.amazon.jsii.Jsii.Proxy(Greetee.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface Greetee extends software.amazon.jsii.JsiiSerializable { @@ -44334,7 +43622,7 @@ public interface Greetee extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.name = this.jsiiGet(\\"name\\", java.lang.String.class); + this.name = this.jsiiGet("name", java.lang.String.class); } /** @@ -44356,15 +43644,15 @@ public interface Greetee extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getName() != null) { - data.set(\\"name\\", om.valueToTree(this.getName())); + data.set("name", om.valueToTree(this.getName())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.Greetee\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.Greetee")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -44386,20 +43674,18 @@ public interface Greetee extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/GreetingAugmenter.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.GreetingAugmenter\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.GreetingAugmenter") public class GreetingAugmenter extends software.amazon.jsii.JsiiObject { protected GreetingAugmenter(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -44426,24 +43712,22 @@ public class GreetingAugmenter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String betterGreeting(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.IFriendly friendly) { - return this.jsiiCall(\\"betterGreeting\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(friendly, \\"friendly is required\\") }); + return this.jsiiCall("betterGreeting", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(friendly, "friendly is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IAnonymousImplementationProvider.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * We can return an anonymous interface implementation from an override without losing the interface declarations. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IAnonymousImplementationProvider\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IAnonymousImplementationProvider") @software.amazon.jsii.Jsii.Proxy(IAnonymousImplementationProvider.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IAnonymousImplementationProvider extends software.amazon.jsii.JsiiSerializable { @@ -44474,7 +43758,7 @@ public interface IAnonymousImplementationProvider extends software.amazon.jsii.J @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.Implementation provideAsClass() { - return this.jsiiCall(\\"provideAsClass\\", software.amazon.jsii.tests.calculator.Implementation.class); + return this.jsiiCall("provideAsClass", software.amazon.jsii.tests.calculator.Implementation.class); } /** @@ -44483,23 +43767,21 @@ public interface IAnonymousImplementationProvider extends software.amazon.jsii.J @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IAnonymouslyImplementMe provideAsInterface() { - return this.jsiiCall(\\"provideAsInterface\\", software.amazon.jsii.tests.calculator.IAnonymouslyImplementMe.class); + return this.jsiiCall("provideAsInterface", software.amazon.jsii.tests.calculator.IAnonymouslyImplementMe.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IAnonymouslyImplementMe.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IAnonymouslyImplementMe\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IAnonymouslyImplementMe") @software.amazon.jsii.Jsii.Proxy(IAnonymouslyImplementMe.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IAnonymouslyImplementMe extends software.amazon.jsii.JsiiSerializable { @@ -44530,7 +43812,7 @@ public interface IAnonymouslyImplementMe extends software.amazon.jsii.JsiiSerial @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } /** @@ -44539,23 +43821,21 @@ public interface IAnonymouslyImplementMe extends software.amazon.jsii.JsiiSerial @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String verb() { - return this.jsiiCall(\\"verb\\", java.lang.String.class); + return this.jsiiCall("verb", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IAnotherPublicInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IAnotherPublicInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IAnotherPublicInterface") @software.amazon.jsii.Jsii.Proxy(IAnotherPublicInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IAnotherPublicInterface extends software.amazon.jsii.JsiiSerializable { @@ -44585,7 +43865,7 @@ public interface IAnotherPublicInterface extends software.amazon.jsii.JsiiSerial @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getA() { - return this.jsiiGet(\\"a\\", java.lang.String.class); + return this.jsiiGet("a", java.lang.String.class); } /** @@ -44594,23 +43874,21 @@ public interface IAnotherPublicInterface extends software.amazon.jsii.JsiiSerial @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setA(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"a\\", java.util.Objects.requireNonNull(value, \\"a is required\\")); + this.jsiiSet("a", java.util.Objects.requireNonNull(value, "a is required")); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IBell.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IBell\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IBell") @software.amazon.jsii.Jsii.Proxy(IBell.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IBell extends software.amazon.jsii.JsiiSerializable { @@ -44635,25 +43913,23 @@ public interface IBell extends software.amazon.jsii.JsiiSerializable { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void ring() { - this.jsiiCall(\\"ring\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("ring", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IBellRinger.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Takes the object parameter as an interface. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IBellRinger\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IBellRinger") @software.amazon.jsii.Jsii.Proxy(IBellRinger.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IBellRinger extends software.amazon.jsii.JsiiSerializable { @@ -44682,25 +43958,23 @@ public interface IBellRinger extends software.amazon.jsii.JsiiSerializable { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void yourTurn(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IBell bell) { - this.jsiiCall(\\"yourTurn\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(bell, \\"bell is required\\") }); + this.jsiiCall("yourTurn", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(bell, "bell is required") }); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IConcreteBellRinger.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Takes the object parameter as a calss. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IConcreteBellRinger\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IConcreteBellRinger") @software.amazon.jsii.Jsii.Proxy(IConcreteBellRinger.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IConcreteBellRinger extends software.amazon.jsii.JsiiSerializable { @@ -44729,23 +44003,21 @@ public interface IConcreteBellRinger extends software.amazon.jsii.JsiiSerializab @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void yourTurn(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.Bell bell) { - this.jsiiCall(\\"yourTurn\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(bell, \\"bell is required\\") }); + this.jsiiCall("yourTurn", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(bell, "bell is required") }); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IDeprecatedInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * @deprecated useless interface */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IDeprecatedInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IDeprecatedInterface") @software.amazon.jsii.Jsii.Proxy(IDeprecatedInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated @@ -44765,7 +44037,7 @@ public interface IDeprecatedInterface extends software.amazon.jsii.JsiiSerializa */ @software.amazon.jsii.Optional default void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - throw new UnsupportedOperationException(\\"'void \\" + getClass().getCanonicalName() + \\"#setMutableProperty(@org.jetbrains.annotations.Nullable java.lang.Number)' is not implemented!\\"); + throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setMutableProperty(@org.jetbrains.annotations.Nullable java.lang.Number)' is not implemented!"); } /** @@ -44790,7 +44062,7 @@ public interface IDeprecatedInterface extends software.amazon.jsii.JsiiSerializa @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.Nullable java.lang.Number getMutableProperty() { - return this.jsiiGet(\\"mutableProperty\\", java.lang.Number.class); + return this.jsiiGet("mutableProperty", java.lang.Number.class); } /** @@ -44800,7 +44072,7 @@ public interface IDeprecatedInterface extends software.amazon.jsii.JsiiSerializa @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - this.jsiiSet(\\"mutableProperty\\", value); + this.jsiiSet("mutableProperty", value); } /** @@ -44810,23 +44082,21 @@ public interface IDeprecatedInterface extends software.amazon.jsii.JsiiSerializa @Deprecated @Override public void method() { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IExperimentalInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IExperimentalInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IExperimentalInterface") @software.amazon.jsii.Jsii.Proxy(IExperimentalInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IExperimentalInterface extends software.amazon.jsii.JsiiSerializable { @@ -44844,7 +44114,7 @@ public interface IExperimentalInterface extends software.amazon.jsii.JsiiSeriali */ @software.amazon.jsii.Optional default void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - throw new UnsupportedOperationException(\\"'void \\" + getClass().getCanonicalName() + \\"#setMutableProperty(@org.jetbrains.annotations.Nullable java.lang.Number)' is not implemented!\\"); + throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setMutableProperty(@org.jetbrains.annotations.Nullable java.lang.Number)' is not implemented!"); } /** @@ -44867,7 +44137,7 @@ public interface IExperimentalInterface extends software.amazon.jsii.JsiiSeriali @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.Number getMutableProperty() { - return this.jsiiGet(\\"mutableProperty\\", java.lang.Number.class); + return this.jsiiGet("mutableProperty", java.lang.Number.class); } /** @@ -44876,7 +44146,7 @@ public interface IExperimentalInterface extends software.amazon.jsii.JsiiSeriali @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - this.jsiiSet(\\"mutableProperty\\", value); + this.jsiiSet("mutableProperty", value); } /** @@ -44885,23 +44155,21 @@ public interface IExperimentalInterface extends software.amazon.jsii.JsiiSeriali @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void method() { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IExtendsPrivateInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IExtendsPrivateInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IExtendsPrivateInterface") @software.amazon.jsii.Jsii.Proxy(IExtendsPrivateInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IExtendsPrivateInterface extends software.amazon.jsii.JsiiSerializable { @@ -44937,7 +44205,7 @@ public interface IExtendsPrivateInterface extends software.amazon.jsii.JsiiSeria @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getMoreThings() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"moreThings\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("moreThings", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -44946,7 +44214,7 @@ public interface IExtendsPrivateInterface extends software.amazon.jsii.JsiiSeria @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getPrivateValue() { - return this.jsiiGet(\\"private\\", java.lang.String.class); + return this.jsiiGet("private", java.lang.String.class); } /** @@ -44955,23 +44223,21 @@ public interface IExtendsPrivateInterface extends software.amazon.jsii.JsiiSeria @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setPrivateValue(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"private\\", java.util.Objects.requireNonNull(value, \\"private is required\\")); + this.jsiiSet("private", java.util.Objects.requireNonNull(value, "private is required")); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IExternalInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IExternalInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IExternalInterface") @software.amazon.jsii.Jsii.Proxy(IExternalInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IExternalInterface extends software.amazon.jsii.JsiiSerializable { @@ -44989,7 +44255,7 @@ public interface IExternalInterface extends software.amazon.jsii.JsiiSerializabl */ @software.amazon.jsii.Optional default void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - throw new UnsupportedOperationException(\\"'void \\" + getClass().getCanonicalName() + \\"#setMutableProperty(@org.jetbrains.annotations.Nullable java.lang.Number)' is not implemented!\\"); + throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setMutableProperty(@org.jetbrains.annotations.Nullable java.lang.Number)' is not implemented!"); } /** @@ -45012,7 +44278,7 @@ public interface IExternalInterface extends software.amazon.jsii.JsiiSerializabl @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.Number getMutableProperty() { - return this.jsiiGet(\\"mutableProperty\\", java.lang.Number.class); + return this.jsiiGet("mutableProperty", java.lang.Number.class); } /** @@ -45021,7 +44287,7 @@ public interface IExternalInterface extends software.amazon.jsii.JsiiSerializabl @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - this.jsiiSet(\\"mutableProperty\\", value); + this.jsiiSet("mutableProperty", value); } /** @@ -45030,25 +44296,23 @@ public interface IExternalInterface extends software.amazon.jsii.JsiiSerializabl @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void method() { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IFriendlier.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Even friendlier classes can implement this interface. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IFriendlier\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IFriendlier") @software.amazon.jsii.Jsii.Proxy(IFriendlier.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IFriendlier extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.lib.IFriendly { @@ -45087,7 +44351,7 @@ public interface IFriendlier extends software.amazon.jsii.JsiiSerializable, soft @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String farewell() { - return this.jsiiCall(\\"farewell\\", java.lang.String.class); + return this.jsiiCall("farewell", java.lang.String.class); } /** @@ -45100,7 +44364,7 @@ public interface IFriendlier extends software.amazon.jsii.JsiiSerializable, soft @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String goodbye() { - return this.jsiiCall(\\"goodbye\\", java.lang.String.class); + return this.jsiiCall("goodbye", java.lang.String.class); } /** @@ -45110,23 +44374,21 @@ public interface IFriendlier extends software.amazon.jsii.JsiiSerializable, soft @Deprecated @Override public @org.jetbrains.annotations.NotNull java.lang.String hello() { - return this.jsiiCall(\\"hello\\", java.lang.String.class); + return this.jsiiCall("hello", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IFriendlyRandomGenerator.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IFriendlyRandomGenerator\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IFriendlyRandomGenerator") @software.amazon.jsii.Jsii.Proxy(IFriendlyRandomGenerator.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IFriendlyRandomGenerator extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.IRandomNumberGenerator, software.amazon.jsii.tests.calculator.lib.IFriendly { @@ -45149,7 +44411,7 @@ public interface IFriendlyRandomGenerator extends software.amazon.jsii.JsiiSeria @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.Number next() { - return this.jsiiCall(\\"next\\", java.lang.Number.class); + return this.jsiiCall("next", java.lang.Number.class); } /** @@ -45159,25 +44421,23 @@ public interface IFriendlyRandomGenerator extends software.amazon.jsii.JsiiSeria @Deprecated @Override public @org.jetbrains.annotations.NotNull java.lang.String hello() { - return this.jsiiCall(\\"hello\\", java.lang.String.class); + return this.jsiiCall("hello", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IInterfaceImplementedByAbstractClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * awslabs/jsii#220 Abstract return type. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IInterfaceImplementedByAbstractClass\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IInterfaceImplementedByAbstractClass") @software.amazon.jsii.Jsii.Proxy(IInterfaceImplementedByAbstractClass.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IInterfaceImplementedByAbstractClass extends software.amazon.jsii.JsiiSerializable { @@ -45202,25 +44462,23 @@ public interface IInterfaceImplementedByAbstractClass extends software.amazon.js @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getPropFromInterface() { - return this.jsiiGet(\\"propFromInterface\\", java.lang.String.class); + return this.jsiiGet("propFromInterface", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IInterfaceThatShouldNotBeADataType.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Even though this interface has only properties, it is disqualified from being a datatype because it inherits from an interface that is not a datatype. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IInterfaceThatShouldNotBeADataType\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IInterfaceThatShouldNotBeADataType") @software.amazon.jsii.Jsii.Proxy(IInterfaceThatShouldNotBeADataType.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IInterfaceThatShouldNotBeADataType extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.IInterfaceWithMethods { @@ -45245,7 +44503,7 @@ public interface IInterfaceThatShouldNotBeADataType extends software.amazon.jsii @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getOtherValue() { - return this.jsiiGet(\\"otherValue\\", java.lang.String.class); + return this.jsiiGet("otherValue", java.lang.String.class); } /** @@ -45254,7 +44512,7 @@ public interface IInterfaceThatShouldNotBeADataType extends software.amazon.jsii @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getValue() { - return this.jsiiGet(\\"value\\", java.lang.String.class); + return this.jsiiGet("value", java.lang.String.class); } /** @@ -45263,23 +44521,21 @@ public interface IInterfaceThatShouldNotBeADataType extends software.amazon.jsii @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void doThings() { - this.jsiiCall(\\"doThings\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("doThings", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IInterfaceWithInternal.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IInterfaceWithInternal\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IInterfaceWithInternal") @software.amazon.jsii.Jsii.Proxy(IInterfaceWithInternal.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IInterfaceWithInternal extends software.amazon.jsii.JsiiSerializable { @@ -45304,23 +44560,21 @@ public interface IInterfaceWithInternal extends software.amazon.jsii.JsiiSeriali @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void visible() { - this.jsiiCall(\\"visible\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("visible", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IInterfaceWithMethods.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IInterfaceWithMethods\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IInterfaceWithMethods") @software.amazon.jsii.Jsii.Proxy(IInterfaceWithMethods.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IInterfaceWithMethods extends software.amazon.jsii.JsiiSerializable { @@ -45351,7 +44605,7 @@ public interface IInterfaceWithMethods extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getValue() { - return this.jsiiGet(\\"value\\", java.lang.String.class); + return this.jsiiGet("value", java.lang.String.class); } /** @@ -45360,25 +44614,23 @@ public interface IInterfaceWithMethods extends software.amazon.jsii.JsiiSerializ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void doThings() { - this.jsiiCall(\\"doThings\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("doThings", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IInterfaceWithOptionalMethodArguments.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * awslabs/jsii#175 Interface proxies (and builders) do not respect optional arguments in methods. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IInterfaceWithOptionalMethodArguments\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IInterfaceWithOptionalMethodArguments") @software.amazon.jsii.Jsii.Proxy(IInterfaceWithOptionalMethodArguments.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IInterfaceWithOptionalMethodArguments extends software.amazon.jsii.JsiiSerializable { @@ -45417,7 +44669,7 @@ public interface IInterfaceWithOptionalMethodArguments extends software.amazon.j @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void hello(final @org.jetbrains.annotations.NotNull java.lang.String arg1, final @org.jetbrains.annotations.Nullable java.lang.Number arg2) { - this.jsiiCall(\\"hello\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(arg1, \\"arg1 is required\\"), arg2 }); + this.jsiiCall("hello", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(arg1, "arg1 is required"), arg2 }); } /** @@ -45428,23 +44680,21 @@ public interface IInterfaceWithOptionalMethodArguments extends software.amazon.j @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void hello(final @org.jetbrains.annotations.NotNull java.lang.String arg1) { - this.jsiiCall(\\"hello\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(arg1, \\"arg1 is required\\") }); + this.jsiiCall("hello", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(arg1, "arg1 is required") }); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IInterfaceWithProperties.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IInterfaceWithProperties\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IInterfaceWithProperties") @software.amazon.jsii.Jsii.Proxy(IInterfaceWithProperties.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IInterfaceWithProperties extends software.amazon.jsii.JsiiSerializable { @@ -45480,7 +44730,7 @@ public interface IInterfaceWithProperties extends software.amazon.jsii.JsiiSeria @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getReadOnlyString() { - return this.jsiiGet(\\"readOnlyString\\", java.lang.String.class); + return this.jsiiGet("readOnlyString", java.lang.String.class); } /** @@ -45489,7 +44739,7 @@ public interface IInterfaceWithProperties extends software.amazon.jsii.JsiiSeria @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getReadWriteString() { - return this.jsiiGet(\\"readWriteString\\", java.lang.String.class); + return this.jsiiGet("readWriteString", java.lang.String.class); } /** @@ -45498,23 +44748,21 @@ public interface IInterfaceWithProperties extends software.amazon.jsii.JsiiSeria @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setReadWriteString(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"readWriteString\\", java.util.Objects.requireNonNull(value, \\"readWriteString is required\\")); + this.jsiiSet("readWriteString", java.util.Objects.requireNonNull(value, "readWriteString is required")); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IInterfaceWithPropertiesExtension.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IInterfaceWithPropertiesExtension\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IInterfaceWithPropertiesExtension") @software.amazon.jsii.Jsii.Proxy(IInterfaceWithPropertiesExtension.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IInterfaceWithPropertiesExtension extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.IInterfaceWithProperties { @@ -45544,7 +44792,7 @@ public interface IInterfaceWithPropertiesExtension extends software.amazon.jsii. @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getFoo() { - return this.jsiiGet(\\"foo\\", java.lang.Number.class); + return this.jsiiGet("foo", java.lang.Number.class); } /** @@ -45553,7 +44801,7 @@ public interface IInterfaceWithPropertiesExtension extends software.amazon.jsii. @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setFoo(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiSet(\\"foo\\", java.util.Objects.requireNonNull(value, \\"foo is required\\")); + this.jsiiSet("foo", java.util.Objects.requireNonNull(value, "foo is required")); } /** @@ -45562,7 +44810,7 @@ public interface IInterfaceWithPropertiesExtension extends software.amazon.jsii. @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getReadOnlyString() { - return this.jsiiGet(\\"readOnlyString\\", java.lang.String.class); + return this.jsiiGet("readOnlyString", java.lang.String.class); } /** @@ -45571,7 +44819,7 @@ public interface IInterfaceWithPropertiesExtension extends software.amazon.jsii. @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getReadWriteString() { - return this.jsiiGet(\\"readWriteString\\", java.lang.String.class); + return this.jsiiGet("readWriteString", java.lang.String.class); } /** @@ -45580,23 +44828,21 @@ public interface IInterfaceWithPropertiesExtension extends software.amazon.jsii. @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setReadWriteString(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"readWriteString\\", java.util.Objects.requireNonNull(value, \\"readWriteString is required\\")); + this.jsiiSet("readWriteString", java.util.Objects.requireNonNull(value, "readWriteString is required")); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IJSII417Derived.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IJSII417Derived\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IJSII417Derived") @software.amazon.jsii.Jsii.Proxy(IJSII417Derived.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IJSII417Derived extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.IJSII417PublicBaseOfBase { @@ -45633,7 +44879,7 @@ public interface IJSII417Derived extends software.amazon.jsii.JsiiSerializable, @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getProperty() { - return this.jsiiGet(\\"property\\", java.lang.String.class); + return this.jsiiGet("property", java.lang.String.class); } /** @@ -45642,7 +44888,7 @@ public interface IJSII417Derived extends software.amazon.jsii.JsiiSerializable, @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getHasRoot() { - return this.jsiiGet(\\"hasRoot\\", java.lang.Boolean.class); + return this.jsiiGet("hasRoot", java.lang.Boolean.class); } /** @@ -45651,7 +44897,7 @@ public interface IJSII417Derived extends software.amazon.jsii.JsiiSerializable, @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void bar() { - this.jsiiCall(\\"bar\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("bar", software.amazon.jsii.NativeType.VOID); } /** @@ -45660,7 +44906,7 @@ public interface IJSII417Derived extends software.amazon.jsii.JsiiSerializable, @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void baz() { - this.jsiiCall(\\"baz\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("baz", software.amazon.jsii.NativeType.VOID); } /** @@ -45669,23 +44915,21 @@ public interface IJSII417Derived extends software.amazon.jsii.JsiiSerializable, @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void foo() { - this.jsiiCall(\\"foo\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("foo", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IJSII417PublicBaseOfBase.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IJSII417PublicBaseOfBase\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IJSII417PublicBaseOfBase") @software.amazon.jsii.Jsii.Proxy(IJSII417PublicBaseOfBase.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IJSII417PublicBaseOfBase extends software.amazon.jsii.JsiiSerializable { @@ -45716,7 +44960,7 @@ public interface IJSII417PublicBaseOfBase extends software.amazon.jsii.JsiiSeria @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getHasRoot() { - return this.jsiiGet(\\"hasRoot\\", java.lang.Boolean.class); + return this.jsiiGet("hasRoot", java.lang.Boolean.class); } /** @@ -45725,23 +44969,21 @@ public interface IJSII417PublicBaseOfBase extends software.amazon.jsii.JsiiSeria @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void foo() { - this.jsiiCall(\\"foo\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("foo", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IJsii487External.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IJsii487External\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IJsii487External") @software.amazon.jsii.Jsii.Proxy(IJsii487External.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IJsii487External extends software.amazon.jsii.JsiiSerializable { @@ -45755,19 +44997,17 @@ public interface IJsii487External extends software.amazon.jsii.JsiiSerializable } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IJsii487External2.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IJsii487External2\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IJsii487External2") @software.amazon.jsii.Jsii.Proxy(IJsii487External2.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IJsii487External2 extends software.amazon.jsii.JsiiSerializable { @@ -45781,19 +45021,17 @@ public interface IJsii487External2 extends software.amazon.jsii.JsiiSerializable } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IJsii496.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IJsii496\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IJsii496") @software.amazon.jsii.Jsii.Proxy(IJsii496.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IJsii496 extends software.amazon.jsii.JsiiSerializable { @@ -45807,19 +45045,17 @@ public interface IJsii496 extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IMutableObjectLiteral.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IMutableObjectLiteral\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IMutableObjectLiteral") @software.amazon.jsii.Jsii.Proxy(IMutableObjectLiteral.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IMutableObjectLiteral extends software.amazon.jsii.JsiiSerializable { @@ -45849,7 +45085,7 @@ public interface IMutableObjectLiteral extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getValue() { - return this.jsiiGet(\\"value\\", java.lang.String.class); + return this.jsiiGet("value", java.lang.String.class); } /** @@ -45858,23 +45094,21 @@ public interface IMutableObjectLiteral extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setValue(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"value\\", java.util.Objects.requireNonNull(value, \\"value is required\\")); + this.jsiiSet("value", java.util.Objects.requireNonNull(value, "value is required")); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/INonInternalInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.INonInternalInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.INonInternalInterface") @software.amazon.jsii.Jsii.Proxy(INonInternalInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface INonInternalInterface extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.IAnotherPublicInterface { @@ -45915,7 +45149,7 @@ public interface INonInternalInterface extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getB() { - return this.jsiiGet(\\"b\\", java.lang.String.class); + return this.jsiiGet("b", java.lang.String.class); } /** @@ -45924,7 +45158,7 @@ public interface INonInternalInterface extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setB(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"b\\", java.util.Objects.requireNonNull(value, \\"b is required\\")); + this.jsiiSet("b", java.util.Objects.requireNonNull(value, "b is required")); } /** @@ -45933,7 +45167,7 @@ public interface INonInternalInterface extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getC() { - return this.jsiiGet(\\"c\\", java.lang.String.class); + return this.jsiiGet("c", java.lang.String.class); } /** @@ -45942,7 +45176,7 @@ public interface INonInternalInterface extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setC(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"c\\", java.util.Objects.requireNonNull(value, \\"c is required\\")); + this.jsiiSet("c", java.util.Objects.requireNonNull(value, "c is required")); } /** @@ -45951,7 +45185,7 @@ public interface INonInternalInterface extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getA() { - return this.jsiiGet(\\"a\\", java.lang.String.class); + return this.jsiiGet("a", java.lang.String.class); } /** @@ -45960,25 +45194,23 @@ public interface INonInternalInterface extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setA(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"a\\", java.util.Objects.requireNonNull(value, \\"a is required\\")); + this.jsiiSet("a", java.util.Objects.requireNonNull(value, "a is required")); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IObjectWithProperty.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Make sure that setters are properly called on objects with interfaces. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IObjectWithProperty\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IObjectWithProperty") @software.amazon.jsii.Jsii.Proxy(IObjectWithProperty.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IObjectWithProperty extends software.amazon.jsii.JsiiSerializable { @@ -46014,7 +45246,7 @@ public interface IObjectWithProperty extends software.amazon.jsii.JsiiSerializab @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getProperty() { - return this.jsiiGet(\\"property\\", java.lang.String.class); + return this.jsiiGet("property", java.lang.String.class); } /** @@ -46023,7 +45255,7 @@ public interface IObjectWithProperty extends software.amazon.jsii.JsiiSerializab @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setProperty(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"property\\", java.util.Objects.requireNonNull(value, \\"property is required\\")); + this.jsiiSet("property", java.util.Objects.requireNonNull(value, "property is required")); } /** @@ -46032,25 +45264,23 @@ public interface IObjectWithProperty extends software.amazon.jsii.JsiiSerializab @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.Boolean wasSet() { - return this.jsiiCall(\\"wasSet\\", java.lang.Boolean.class); + return this.jsiiCall("wasSet", java.lang.Boolean.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IOptionalMethod.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Checks that optional result from interface method code generates correctly. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IOptionalMethod\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IOptionalMethod") @software.amazon.jsii.Jsii.Proxy(IOptionalMethod.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IOptionalMethod extends software.amazon.jsii.JsiiSerializable { @@ -46075,23 +45305,21 @@ public interface IOptionalMethod extends software.amazon.jsii.JsiiSerializable { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.Nullable java.lang.String optional() { - return this.jsiiCall(\\"optional\\", java.lang.String.class); + return this.jsiiCall("optional", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IPrivatelyImplemented.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IPrivatelyImplemented\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IPrivatelyImplemented") @software.amazon.jsii.Jsii.Proxy(IPrivatelyImplemented.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IPrivatelyImplemented extends software.amazon.jsii.JsiiSerializable { @@ -46116,23 +45344,21 @@ public interface IPrivatelyImplemented extends software.amazon.jsii.JsiiSerializ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getSuccess() { - return this.jsiiGet(\\"success\\", java.lang.Boolean.class); + return this.jsiiGet("success", java.lang.Boolean.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IPublicInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IPublicInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IPublicInterface") @software.amazon.jsii.Jsii.Proxy(IPublicInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IPublicInterface extends software.amazon.jsii.JsiiSerializable { @@ -46157,23 +45383,21 @@ public interface IPublicInterface extends software.amazon.jsii.JsiiSerializable @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String bye() { - return this.jsiiCall(\\"bye\\", java.lang.String.class); + return this.jsiiCall("bye", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IPublicInterface2.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IPublicInterface2\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IPublicInterface2") @software.amazon.jsii.Jsii.Proxy(IPublicInterface2.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IPublicInterface2 extends software.amazon.jsii.JsiiSerializable { @@ -46198,25 +45422,23 @@ public interface IPublicInterface2 extends software.amazon.jsii.JsiiSerializable @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String ciao() { - return this.jsiiCall(\\"ciao\\", java.lang.String.class); + return this.jsiiCall("ciao", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IRandomNumberGenerator.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Generates random numbers. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IRandomNumberGenerator\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IRandomNumberGenerator") @software.amazon.jsii.Jsii.Proxy(IRandomNumberGenerator.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IRandomNumberGenerator extends software.amazon.jsii.JsiiSerializable { @@ -46249,25 +45471,23 @@ public interface IRandomNumberGenerator extends software.amazon.jsii.JsiiSeriali @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.Number next() { - return this.jsiiCall(\\"next\\", java.lang.Number.class); + return this.jsiiCall("next", java.lang.Number.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IReturnJsii976.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Returns a subclass of a known class which implements an interface. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IReturnJsii976\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IReturnJsii976") @software.amazon.jsii.Jsii.Proxy(IReturnJsii976.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IReturnJsii976 extends software.amazon.jsii.JsiiSerializable { @@ -46292,23 +45512,21 @@ public interface IReturnJsii976 extends software.amazon.jsii.JsiiSerializable { @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getFoo() { - return this.jsiiGet(\\"foo\\", java.lang.Number.class); + return this.jsiiGet("foo", java.lang.Number.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IReturnsNumber.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IReturnsNumber\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IReturnsNumber") @software.amazon.jsii.Jsii.Proxy(IReturnsNumber.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IReturnsNumber extends software.amazon.jsii.JsiiSerializable { @@ -46339,7 +45557,7 @@ public interface IReturnsNumber extends software.amazon.jsii.JsiiSerializable { @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Number getNumberProp() { - return this.jsiiGet(\\"numberProp\\", software.amazon.jsii.tests.calculator.lib.Number.class); + return this.jsiiGet("numberProp", software.amazon.jsii.tests.calculator.lib.Number.class); } /** @@ -46348,22 +45566,20 @@ public interface IReturnsNumber extends software.amazon.jsii.JsiiSerializable { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.IDoublable obtainNumber() { - return this.jsiiCall(\\"obtainNumber\\", software.amazon.jsii.tests.calculator.lib.IDoublable.class); + return this.jsiiCall("obtainNumber", software.amazon.jsii.tests.calculator.lib.IDoublable.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IStableInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IStableInterface\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IStableInterface") @software.amazon.jsii.Jsii.Proxy(IStableInterface.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public interface IStableInterface extends software.amazon.jsii.JsiiSerializable { @@ -46379,7 +45595,7 @@ public interface IStableInterface extends software.amazon.jsii.JsiiSerializable */ @software.amazon.jsii.Optional default void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - throw new UnsupportedOperationException(\\"'void \\" + getClass().getCanonicalName() + \\"#setMutableProperty(@org.jetbrains.annotations.Nullable java.lang.Number)' is not implemented!\\"); + throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setMutableProperty(@org.jetbrains.annotations.Nullable java.lang.Number)' is not implemented!"); } /** @@ -46400,7 +45616,7 @@ public interface IStableInterface extends software.amazon.jsii.JsiiSerializable @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.Number getMutableProperty() { - return this.jsiiGet(\\"mutableProperty\\", java.lang.Number.class); + return this.jsiiGet("mutableProperty", java.lang.Number.class); } /** @@ -46408,7 +45624,7 @@ public interface IStableInterface extends software.amazon.jsii.JsiiSerializable @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - this.jsiiSet(\\"mutableProperty\\", value); + this.jsiiSet("mutableProperty", value); } /** @@ -46416,25 +45632,23 @@ public interface IStableInterface extends software.amazon.jsii.JsiiSerializable @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public void method() { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IStructReturningDelegate.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** - * Verifies that a \\"pure\\" implementation of an interface works correctly. + * Verifies that a "pure" implementation of an interface works correctly. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.IStructReturningDelegate\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IStructReturningDelegate") @software.amazon.jsii.Jsii.Proxy(IStructReturningDelegate.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IStructReturningDelegate extends software.amazon.jsii.JsiiSerializable { @@ -46459,24 +45673,22 @@ public interface IStructReturningDelegate extends software.amazon.jsii.JsiiSeria @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.StructB returnStruct() { - return this.jsiiCall(\\"returnStruct\\", software.amazon.jsii.tests.calculator.StructB.class); + return this.jsiiCall("returnStruct", software.amazon.jsii.tests.calculator.StructB.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ImplementInternalInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ImplementInternalInterface\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ImplementInternalInterface") public class ImplementInternalInterface extends software.amazon.jsii.JsiiObject { protected ImplementInternalInterface(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -46501,7 +45713,7 @@ public class ImplementInternalInterface extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getProp() { - return this.jsiiGet(\\"prop\\", java.lang.String.class); + return this.jsiiGet("prop", java.lang.String.class); } /** @@ -46509,23 +45721,21 @@ public class ImplementInternalInterface extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setProp(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"prop\\", java.util.Objects.requireNonNull(value, \\"prop is required\\")); + this.jsiiSet("prop", java.util.Objects.requireNonNull(value, "prop is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Implementation.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Implementation\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Implementation") public class Implementation extends software.amazon.jsii.JsiiObject { protected Implementation(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -46550,23 +45760,21 @@ public class Implementation extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternal.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ImplementsInterfaceWithInternal\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ImplementsInterfaceWithInternal") public class ImplementsInterfaceWithInternal extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.IInterfaceWithInternal { protected ImplementsInterfaceWithInternal(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -46592,23 +45800,21 @@ public class ImplementsInterfaceWithInternal extends software.amazon.jsii.JsiiOb @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public void visible() { - this.jsiiCall(\\"visible\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("visible", software.amazon.jsii.NativeType.VOID); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternalSubclass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ImplementsInterfaceWithInternalSubclass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ImplementsInterfaceWithInternalSubclass") public class ImplementsInterfaceWithInternalSubclass extends software.amazon.jsii.tests.calculator.ImplementsInterfaceWithInternal { protected ImplementsInterfaceWithInternalSubclass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -46628,20 +45834,18 @@ public class ImplementsInterfaceWithInternalSubclass extends software.amazon.jsi software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsPrivateInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ImplementsPrivateInterface\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ImplementsPrivateInterface") public class ImplementsPrivateInterface extends software.amazon.jsii.JsiiObject { protected ImplementsPrivateInterface(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -46666,7 +45870,7 @@ public class ImplementsPrivateInterface extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getPrivateValue() { - return this.jsiiGet(\\"private\\", java.lang.String.class); + return this.jsiiGet("private", java.lang.String.class); } /** @@ -46674,22 +45878,20 @@ public class ImplementsPrivateInterface extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setPrivateValue(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"private\\", java.util.Objects.requireNonNull(value, \\"private is required\\")); + this.jsiiSet("private", java.util.Objects.requireNonNull(value, "private is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ImplictBaseOfBase.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ImplictBaseOfBase\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ImplictBaseOfBase") @software.amazon.jsii.Jsii.Proxy(ImplictBaseOfBase.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface ImplictBaseOfBase extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.base.BaseProps { @@ -46774,9 +45976,9 @@ public interface ImplictBaseOfBase extends software.amazon.jsii.JsiiSerializable */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.goo = this.jsiiGet(\\"goo\\", java.time.Instant.class); - this.bar = this.jsiiGet(\\"bar\\", java.lang.String.class); - this.foo = this.jsiiGet(\\"foo\\", software.amazon.jsii.tests.calculator.baseofbase.Very.class); + this.goo = this.jsiiGet("goo", java.time.Instant.class); + this.bar = this.jsiiGet("bar", java.lang.String.class); + this.foo = this.jsiiGet("foo", software.amazon.jsii.tests.calculator.baseofbase.Very.class); } /** @@ -46784,9 +45986,9 @@ public interface ImplictBaseOfBase extends software.amazon.jsii.JsiiSerializable */ private Jsii$Proxy(final java.time.Instant goo, final java.lang.String bar, final software.amazon.jsii.tests.calculator.baseofbase.Very foo) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.goo = java.util.Objects.requireNonNull(goo, \\"goo is required\\"); - this.bar = java.util.Objects.requireNonNull(bar, \\"bar is required\\"); - this.foo = java.util.Objects.requireNonNull(foo, \\"foo is required\\"); + this.goo = java.util.Objects.requireNonNull(goo, "goo is required"); + this.bar = java.util.Objects.requireNonNull(bar, "bar is required"); + this.foo = java.util.Objects.requireNonNull(foo, "foo is required"); } @Override @@ -46809,16 +46011,16 @@ public interface ImplictBaseOfBase extends software.amazon.jsii.JsiiSerializable final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"goo\\", om.valueToTree(this.getGoo())); - data.set(\\"bar\\", om.valueToTree(this.getBar())); - data.set(\\"foo\\", om.valueToTree(this.getFoo())); + data.set("goo", om.valueToTree(this.getGoo())); + data.set("bar", om.valueToTree(this.getBar())); + data.set("foo", om.valueToTree(this.getFoo())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.ImplictBaseOfBase\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.ImplictBaseOfBase")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -46844,20 +46046,18 @@ public interface ImplictBaseOfBase extends software.amazon.jsii.JsiiSerializable } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/InbetweenClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.InbetweenClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.InbetweenClass") public class InbetweenClass extends software.amazon.jsii.tests.calculator.PublicClass implements software.amazon.jsii.tests.calculator.IPublicInterface2 { protected InbetweenClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -46883,16 +46083,14 @@ public class InbetweenClass extends software.amazon.jsii.tests.calculator.Public @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String ciao() { - return this.jsiiCall(\\"ciao\\", java.lang.String.class); + return this.jsiiCall("ciao", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/InterfaceCollections.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Verifies that collections of interfaces or structs are correctly handled. @@ -46901,9 +46099,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.InterfaceCollections\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.InterfaceCollections") public class InterfaceCollections extends software.amazon.jsii.JsiiObject { protected InterfaceCollections(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -46919,7 +46117,7 @@ public class InterfaceCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.List listOfInterfaces() { - return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfaceCollections.class, \\"listOfInterfaces\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IBell.class)))); + return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfaceCollections.class, "listOfInterfaces", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IBell.class)))); } /** @@ -46927,7 +46125,7 @@ public class InterfaceCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.List listOfStructs() { - return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfaceCollections.class, \\"listOfStructs\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.StructA.class)))); + return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfaceCollections.class, "listOfStructs", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.StructA.class)))); } /** @@ -46935,7 +46133,7 @@ public class InterfaceCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.Map mapOfInterfaces() { - return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfaceCollections.class, \\"mapOfInterfaces\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IBell.class)))); + return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfaceCollections.class, "mapOfInterfaces", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.IBell.class)))); } /** @@ -46943,25 +46141,23 @@ public class InterfaceCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.Map mapOfStructs() { - return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfaceCollections.class, \\"mapOfStructs\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.StructA.class)))); + return java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfaceCollections.class, "mapOfStructs", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.StructA.class)))); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/InterfacesMaker.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * We can return arrays of interfaces See aws/aws-cdk#2362. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.InterfacesMaker\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.InterfacesMaker") public class InterfacesMaker extends software.amazon.jsii.JsiiObject { protected InterfacesMaker(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -46979,28 +46175,26 @@ public class InterfacesMaker extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.util.List makeInterfaces(final @org.jetbrains.annotations.NotNull java.lang.Number count) { - return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfacesMaker.class, \\"makeInterfaces\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.IDoublable.class)), new Object[] { java.util.Objects.requireNonNull(count, \\"count is required\\") })); + return java.util.Collections.unmodifiableList(software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.InterfacesMaker.class, "makeInterfaces", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.IDoublable.class)), new Object[] { java.util.Objects.requireNonNull(count, "count is required") })); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Isomorphism.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** - * Checks the \\"same instance\\" isomorphism is preserved within the constructor. + * Checks the "same instance" isomorphism is preserved within the constructor. *

* Create a subclass of this, and assert that this.myself() actually returns * this from within the constructor. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Isomorphism\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Isomorphism") public abstract class Isomorphism extends software.amazon.jsii.JsiiObject { protected Isomorphism(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47025,7 +46219,7 @@ public abstract class Isomorphism extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.Isomorphism myself() { - return this.jsiiCall(\\"myself\\", software.amazon.jsii.tests.calculator.Isomorphism.class); + return this.jsiiCall("myself", software.amazon.jsii.tests.calculator.Isomorphism.class); } /** @@ -47037,20 +46231,18 @@ public abstract class Isomorphism extends software.amazon.jsii.JsiiObject { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/JSII417Derived.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.JSII417Derived\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.JSII417Derived") public class JSII417Derived extends software.amazon.jsii.tests.calculator.JSII417PublicBaseOfBase { protected JSII417Derived(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47069,7 +46261,7 @@ public class JSII417Derived extends software.amazon.jsii.tests.calculator.JSII41 @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public JSII417Derived(final @org.jetbrains.annotations.NotNull java.lang.String property) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(property, \\"property is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(property, "property is required") }); } /** @@ -47077,7 +46269,7 @@ public class JSII417Derived extends software.amazon.jsii.tests.calculator.JSII41 */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void bar() { - this.jsiiCall(\\"bar\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("bar", software.amazon.jsii.NativeType.VOID); } /** @@ -47085,7 +46277,7 @@ public class JSII417Derived extends software.amazon.jsii.tests.calculator.JSII41 */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void baz() { - this.jsiiCall(\\"baz\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("baz", software.amazon.jsii.NativeType.VOID); } /** @@ -47093,23 +46285,21 @@ public class JSII417Derived extends software.amazon.jsii.tests.calculator.JSII41 */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.NotNull java.lang.String getProperty() { - return this.jsiiGet(\\"property\\", java.lang.String.class); + return this.jsiiGet("property", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/JSII417PublicBaseOfBase.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.JSII417PublicBaseOfBase\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.JSII417PublicBaseOfBase") public class JSII417PublicBaseOfBase extends software.amazon.jsii.JsiiObject { protected JSII417PublicBaseOfBase(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47134,7 +46324,7 @@ public class JSII417PublicBaseOfBase extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.JSII417PublicBaseOfBase makeInstance() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JSII417PublicBaseOfBase.class, \\"makeInstance\\", software.amazon.jsii.tests.calculator.JSII417PublicBaseOfBase.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JSII417PublicBaseOfBase.class, "makeInstance", software.amazon.jsii.tests.calculator.JSII417PublicBaseOfBase.class); } /** @@ -47142,7 +46332,7 @@ public class JSII417PublicBaseOfBase extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void foo() { - this.jsiiCall(\\"foo\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("foo", software.amazon.jsii.NativeType.VOID); } /** @@ -47150,23 +46340,21 @@ public class JSII417PublicBaseOfBase extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getHasRoot() { - return this.jsiiGet(\\"hasRoot\\", java.lang.Boolean.class); + return this.jsiiGet("hasRoot", java.lang.Boolean.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralForInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.JSObjectLiteralForInterface\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.JSObjectLiteralForInterface") public class JSObjectLiteralForInterface extends software.amazon.jsii.JsiiObject { protected JSObjectLiteralForInterface(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47191,7 +46379,7 @@ public class JSObjectLiteralForInterface extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.IFriendly giveMeFriendly() { - return this.jsiiCall(\\"giveMeFriendly\\", software.amazon.jsii.tests.calculator.lib.IFriendly.class); + return this.jsiiCall("giveMeFriendly", software.amazon.jsii.tests.calculator.lib.IFriendly.class); } /** @@ -47199,23 +46387,21 @@ public class JSObjectLiteralForInterface extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IFriendlyRandomGenerator giveMeFriendlyGenerator() { - return this.jsiiCall(\\"giveMeFriendlyGenerator\\", software.amazon.jsii.tests.calculator.IFriendlyRandomGenerator.class); + return this.jsiiCall("giveMeFriendlyGenerator", software.amazon.jsii.tests.calculator.IFriendlyRandomGenerator.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNative.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.JSObjectLiteralToNative\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.JSObjectLiteralToNative") public class JSObjectLiteralToNative extends software.amazon.jsii.JsiiObject { protected JSObjectLiteralToNative(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47240,23 +46426,21 @@ public class JSObjectLiteralToNative extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.JSObjectLiteralToNativeClass returnLiteral() { - return this.jsiiCall(\\"returnLiteral\\", software.amazon.jsii.tests.calculator.JSObjectLiteralToNativeClass.class); + return this.jsiiCall("returnLiteral", software.amazon.jsii.tests.calculator.JSObjectLiteralToNativeClass.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNativeClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.JSObjectLiteralToNativeClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.JSObjectLiteralToNativeClass") public class JSObjectLiteralToNativeClass extends software.amazon.jsii.JsiiObject { protected JSObjectLiteralToNativeClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47281,7 +46465,7 @@ public class JSObjectLiteralToNativeClass extends software.amazon.jsii.JsiiObjec */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getPropA() { - return this.jsiiGet(\\"propA\\", java.lang.String.class); + return this.jsiiGet("propA", java.lang.String.class); } /** @@ -47289,7 +46473,7 @@ public class JSObjectLiteralToNativeClass extends software.amazon.jsii.JsiiObjec */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setPropA(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"propA\\", java.util.Objects.requireNonNull(value, \\"propA is required\\")); + this.jsiiSet("propA", java.util.Objects.requireNonNull(value, "propA is required")); } /** @@ -47297,7 +46481,7 @@ public class JSObjectLiteralToNativeClass extends software.amazon.jsii.JsiiObjec */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getPropB() { - return this.jsiiGet(\\"propB\\", java.lang.Number.class); + return this.jsiiGet("propB", java.lang.Number.class); } /** @@ -47305,23 +46489,21 @@ public class JSObjectLiteralToNativeClass extends software.amazon.jsii.JsiiObjec */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setPropB(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiSet(\\"propB\\", java.util.Objects.requireNonNull(value, \\"propB is required\\")); + this.jsiiSet("propB", java.util.Objects.requireNonNull(value, "propB is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/JavaReservedWords.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.JavaReservedWords\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.JavaReservedWords") public class JavaReservedWords extends software.amazon.jsii.JsiiObject { protected JavaReservedWords(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47346,7 +46528,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doAbstract() { - this.jsiiCall(\\"abstract\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("abstract", software.amazon.jsii.NativeType.VOID); } /** @@ -47354,7 +46536,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doAssert() { - this.jsiiCall(\\"assert\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("assert", software.amazon.jsii.NativeType.VOID); } /** @@ -47362,7 +46544,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doBoolean() { - this.jsiiCall(\\"boolean\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("boolean", software.amazon.jsii.NativeType.VOID); } /** @@ -47370,7 +46552,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doBreak() { - this.jsiiCall(\\"break\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("break", software.amazon.jsii.NativeType.VOID); } /** @@ -47378,7 +46560,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doByte() { - this.jsiiCall(\\"byte\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("byte", software.amazon.jsii.NativeType.VOID); } /** @@ -47386,7 +46568,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doCase() { - this.jsiiCall(\\"case\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("case", software.amazon.jsii.NativeType.VOID); } /** @@ -47394,7 +46576,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doCatch() { - this.jsiiCall(\\"catch\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("catch", software.amazon.jsii.NativeType.VOID); } /** @@ -47402,7 +46584,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doChar() { - this.jsiiCall(\\"char\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("char", software.amazon.jsii.NativeType.VOID); } /** @@ -47410,7 +46592,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doClass() { - this.jsiiCall(\\"class\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("class", software.amazon.jsii.NativeType.VOID); } /** @@ -47418,7 +46600,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doConst() { - this.jsiiCall(\\"const\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("const", software.amazon.jsii.NativeType.VOID); } /** @@ -47426,7 +46608,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doContinue() { - this.jsiiCall(\\"continue\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("continue", software.amazon.jsii.NativeType.VOID); } /** @@ -47434,7 +46616,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doDefault() { - this.jsiiCall(\\"default\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("default", software.amazon.jsii.NativeType.VOID); } /** @@ -47442,7 +46624,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doDo() { - this.jsiiCall(\\"do\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("do", software.amazon.jsii.NativeType.VOID); } /** @@ -47450,7 +46632,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doDouble() { - this.jsiiCall(\\"double\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("double", software.amazon.jsii.NativeType.VOID); } /** @@ -47458,7 +46640,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doElse() { - this.jsiiCall(\\"else\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("else", software.amazon.jsii.NativeType.VOID); } /** @@ -47466,7 +46648,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doEnum() { - this.jsiiCall(\\"enum\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("enum", software.amazon.jsii.NativeType.VOID); } /** @@ -47474,7 +46656,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doExtends() { - this.jsiiCall(\\"extends\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("extends", software.amazon.jsii.NativeType.VOID); } /** @@ -47482,7 +46664,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doFalse() { - this.jsiiCall(\\"false\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("false", software.amazon.jsii.NativeType.VOID); } /** @@ -47490,7 +46672,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doFinal() { - this.jsiiCall(\\"final\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("final", software.amazon.jsii.NativeType.VOID); } /** @@ -47498,7 +46680,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doFinally() { - this.jsiiCall(\\"finally\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("finally", software.amazon.jsii.NativeType.VOID); } /** @@ -47506,7 +46688,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doFloat() { - this.jsiiCall(\\"float\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("float", software.amazon.jsii.NativeType.VOID); } /** @@ -47514,7 +46696,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doFor() { - this.jsiiCall(\\"for\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("for", software.amazon.jsii.NativeType.VOID); } /** @@ -47522,7 +46704,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doGoto() { - this.jsiiCall(\\"goto\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("goto", software.amazon.jsii.NativeType.VOID); } /** @@ -47530,7 +46712,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doIf() { - this.jsiiCall(\\"if\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("if", software.amazon.jsii.NativeType.VOID); } /** @@ -47538,7 +46720,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doImplements() { - this.jsiiCall(\\"implements\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("implements", software.amazon.jsii.NativeType.VOID); } /** @@ -47546,7 +46728,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doImport() { - this.jsiiCall(\\"import\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("import", software.amazon.jsii.NativeType.VOID); } /** @@ -47554,7 +46736,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doInstanceof() { - this.jsiiCall(\\"instanceof\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("instanceof", software.amazon.jsii.NativeType.VOID); } /** @@ -47562,7 +46744,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doInt() { - this.jsiiCall(\\"int\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("int", software.amazon.jsii.NativeType.VOID); } /** @@ -47570,7 +46752,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doInterface() { - this.jsiiCall(\\"interface\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("interface", software.amazon.jsii.NativeType.VOID); } /** @@ -47578,7 +46760,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doLong() { - this.jsiiCall(\\"long\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("long", software.amazon.jsii.NativeType.VOID); } /** @@ -47586,7 +46768,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doNative() { - this.jsiiCall(\\"native\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("native", software.amazon.jsii.NativeType.VOID); } /** @@ -47594,7 +46776,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doNew() { - this.jsiiCall(\\"new\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("new", software.amazon.jsii.NativeType.VOID); } /** @@ -47602,7 +46784,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doNull() { - this.jsiiCall(\\"null\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("null", software.amazon.jsii.NativeType.VOID); } /** @@ -47610,7 +46792,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doPackage() { - this.jsiiCall(\\"package\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("package", software.amazon.jsii.NativeType.VOID); } /** @@ -47618,7 +46800,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doPrivate() { - this.jsiiCall(\\"private\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("private", software.amazon.jsii.NativeType.VOID); } /** @@ -47626,7 +46808,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doProtected() { - this.jsiiCall(\\"protected\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("protected", software.amazon.jsii.NativeType.VOID); } /** @@ -47634,7 +46816,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doPublic() { - this.jsiiCall(\\"public\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("public", software.amazon.jsii.NativeType.VOID); } /** @@ -47642,7 +46824,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doReturn() { - this.jsiiCall(\\"return\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("return", software.amazon.jsii.NativeType.VOID); } /** @@ -47650,7 +46832,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doShort() { - this.jsiiCall(\\"short\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("short", software.amazon.jsii.NativeType.VOID); } /** @@ -47658,7 +46840,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doStatic() { - this.jsiiCall(\\"static\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("static", software.amazon.jsii.NativeType.VOID); } /** @@ -47666,7 +46848,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doStrictfp() { - this.jsiiCall(\\"strictfp\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("strictfp", software.amazon.jsii.NativeType.VOID); } /** @@ -47674,7 +46856,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doSuper() { - this.jsiiCall(\\"super\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("super", software.amazon.jsii.NativeType.VOID); } /** @@ -47682,7 +46864,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doSwitch() { - this.jsiiCall(\\"switch\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("switch", software.amazon.jsii.NativeType.VOID); } /** @@ -47690,7 +46872,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doSynchronized() { - this.jsiiCall(\\"synchronized\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("synchronized", software.amazon.jsii.NativeType.VOID); } /** @@ -47698,7 +46880,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doThis() { - this.jsiiCall(\\"this\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("this", software.amazon.jsii.NativeType.VOID); } /** @@ -47706,7 +46888,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doThrow() { - this.jsiiCall(\\"throw\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("throw", software.amazon.jsii.NativeType.VOID); } /** @@ -47714,7 +46896,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doThrows() { - this.jsiiCall(\\"throws\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("throws", software.amazon.jsii.NativeType.VOID); } /** @@ -47722,7 +46904,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doTransient() { - this.jsiiCall(\\"transient\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("transient", software.amazon.jsii.NativeType.VOID); } /** @@ -47730,7 +46912,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doTrue() { - this.jsiiCall(\\"true\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("true", software.amazon.jsii.NativeType.VOID); } /** @@ -47738,7 +46920,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doTry() { - this.jsiiCall(\\"try\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("try", software.amazon.jsii.NativeType.VOID); } /** @@ -47746,7 +46928,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doVoid() { - this.jsiiCall(\\"void\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("void", software.amazon.jsii.NativeType.VOID); } /** @@ -47754,7 +46936,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doVolatile() { - this.jsiiCall(\\"volatile\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("volatile", software.amazon.jsii.NativeType.VOID); } /** @@ -47762,7 +46944,7 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getWhileValue() { - return this.jsiiGet(\\"while\\", java.lang.String.class); + return this.jsiiGet("while", java.lang.String.class); } /** @@ -47770,23 +46952,21 @@ public class JavaReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setWhileValue(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"while\\", java.util.Objects.requireNonNull(value, \\"while is required\\")); + this.jsiiSet("while", java.util.Objects.requireNonNull(value, "while is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Jsii487Derived.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Jsii487Derived\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Jsii487Derived") public class Jsii487Derived extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.IJsii487External2, software.amazon.jsii.tests.calculator.IJsii487External { protected Jsii487Derived(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47806,20 +46986,18 @@ public class Jsii487Derived extends software.amazon.jsii.JsiiObject implements s software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Jsii496Derived.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Jsii496Derived\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Jsii496Derived") public class Jsii496Derived extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.IJsii496 { protected Jsii496Derived(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47839,22 +47017,20 @@ public class Jsii496Derived extends software.amazon.jsii.JsiiObject implements s software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/JsiiAgent.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Host runtime version should be set via JSII_AGENT. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.JsiiAgent\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.JsiiAgent") public class JsiiAgent extends software.amazon.jsii.JsiiObject { protected JsiiAgent(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47881,16 +47057,14 @@ public class JsiiAgent extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.Nullable java.lang.String getJsiiAgent() { - return software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.JsiiAgent.class, \\"jsiiAgent\\", java.lang.String.class); + return software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.JsiiAgent.class, "jsiiAgent", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/JsonFormatter.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Make sure structs are un-decorated on the way in. @@ -47899,9 +47073,9 @@ Object { *

* @see https://github.com/aws/aws-cdk/issues/5066 */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.JsonFormatter\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.JsonFormatter") public class JsonFormatter extends software.amazon.jsii.JsiiObject { protected JsonFormatter(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -47917,7 +47091,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyArray() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyArray\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyArray", java.lang.Object.class); } /** @@ -47925,7 +47099,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyBooleanFalse() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyBooleanFalse\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyBooleanFalse", java.lang.Object.class); } /** @@ -47933,7 +47107,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyBooleanTrue() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyBooleanTrue\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyBooleanTrue", java.lang.Object.class); } /** @@ -47941,7 +47115,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyDate() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyDate\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyDate", java.lang.Object.class); } /** @@ -47949,7 +47123,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyEmptyString() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyEmptyString\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyEmptyString", java.lang.Object.class); } /** @@ -47957,7 +47131,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyFunction() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyFunction\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyFunction", java.lang.Object.class); } /** @@ -47965,7 +47139,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyHash() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyHash\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyHash", java.lang.Object.class); } /** @@ -47973,7 +47147,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyNull() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyNull\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyNull", java.lang.Object.class); } /** @@ -47981,7 +47155,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyNumber() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyNumber\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyNumber", java.lang.Object.class); } /** @@ -47989,7 +47163,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyRef() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyRef\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyRef", java.lang.Object.class); } /** @@ -47997,7 +47171,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyString() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyString\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyString", java.lang.Object.class); } /** @@ -48005,7 +47179,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyUndefined() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyUndefined\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyUndefined", java.lang.Object.class); } /** @@ -48013,7 +47187,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object anyZero() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"anyZero\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "anyZero", java.lang.Object.class); } /** @@ -48023,7 +47197,7 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.Nullable java.lang.String stringify(final @org.jetbrains.annotations.Nullable java.lang.Object value) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"stringify\\", java.lang.String.class, new Object[] { value }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "stringify", java.lang.String.class, new Object[] { value }); } /** @@ -48031,24 +47205,22 @@ public class JsonFormatter extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.Nullable java.lang.String stringify() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, \\"stringify\\", java.lang.String.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.JsonFormatter.class, "stringify", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/LoadBalancedFargateServiceProps.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * jsii#298: show default values in sphinx documentation, and respect newlines. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.LoadBalancedFargateServiceProps\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.LoadBalancedFargateServiceProps") @software.amazon.jsii.Jsii.Proxy(LoadBalancedFargateServiceProps.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface LoadBalancedFargateServiceProps extends software.amazon.jsii.JsiiSerializable { @@ -48264,11 +47436,11 @@ public interface LoadBalancedFargateServiceProps extends software.amazon.jsii.Js */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.containerPort = this.jsiiGet(\\"containerPort\\", java.lang.Number.class); - this.cpu = this.jsiiGet(\\"cpu\\", java.lang.String.class); - this.memoryMiB = this.jsiiGet(\\"memoryMiB\\", java.lang.String.class); - this.publicLoadBalancer = this.jsiiGet(\\"publicLoadBalancer\\", java.lang.Boolean.class); - this.publicTasks = this.jsiiGet(\\"publicTasks\\", java.lang.Boolean.class); + this.containerPort = this.jsiiGet("containerPort", java.lang.Number.class); + this.cpu = this.jsiiGet("cpu", java.lang.String.class); + this.memoryMiB = this.jsiiGet("memoryMiB", java.lang.String.class); + this.publicLoadBalancer = this.jsiiGet("publicLoadBalancer", java.lang.Boolean.class); + this.publicTasks = this.jsiiGet("publicTasks", java.lang.Boolean.class); } /** @@ -48314,27 +47486,27 @@ public interface LoadBalancedFargateServiceProps extends software.amazon.jsii.Js final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getContainerPort() != null) { - data.set(\\"containerPort\\", om.valueToTree(this.getContainerPort())); + data.set("containerPort", om.valueToTree(this.getContainerPort())); } if (this.getCpu() != null) { - data.set(\\"cpu\\", om.valueToTree(this.getCpu())); + data.set("cpu", om.valueToTree(this.getCpu())); } if (this.getMemoryMiB() != null) { - data.set(\\"memoryMiB\\", om.valueToTree(this.getMemoryMiB())); + data.set("memoryMiB", om.valueToTree(this.getMemoryMiB())); } if (this.getPublicLoadBalancer() != null) { - data.set(\\"publicLoadBalancer\\", om.valueToTree(this.getPublicLoadBalancer())); + data.set("publicLoadBalancer", om.valueToTree(this.getPublicLoadBalancer())); } if (this.getPublicTasks() != null) { - data.set(\\"publicTasks\\", om.valueToTree(this.getPublicTasks())); + data.set("publicTasks", om.valueToTree(this.getPublicTasks())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.LoadBalancedFargateServiceProps\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.LoadBalancedFargateServiceProps")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -48364,20 +47536,18 @@ public interface LoadBalancedFargateServiceProps extends software.amazon.jsii.Js } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/MethodNamedProperty.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.MethodNamedProperty\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.MethodNamedProperty") public class MethodNamedProperty extends software.amazon.jsii.JsiiObject { protected MethodNamedProperty(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -48402,7 +47572,7 @@ public class MethodNamedProperty extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String property() { - return this.jsiiCall(\\"property\\", java.lang.String.class); + return this.jsiiCall("property", java.lang.String.class); } /** @@ -48410,25 +47580,23 @@ public class MethodNamedProperty extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getElite() { - return this.jsiiGet(\\"elite\\", java.lang.Number.class); + return this.jsiiGet("elite", java.lang.Number.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Multiply.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** - * The \\"*\\" binary operation. + * The "*" binary operation. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Multiply\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Multiply") public class Multiply extends software.amazon.jsii.tests.calculator.BinaryOperation implements software.amazon.jsii.tests.calculator.IFriendlier, software.amazon.jsii.tests.calculator.IRandomNumberGenerator { protected Multiply(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -48450,7 +47618,7 @@ public class Multiply extends software.amazon.jsii.tests.calculator.BinaryOperat @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Multiply(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value lhs, final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value rhs) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(lhs, \\"lhs is required\\"), java.util.Objects.requireNonNull(rhs, \\"rhs is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(lhs, "lhs is required"), java.util.Objects.requireNonNull(rhs, "rhs is required") }); } /** @@ -48461,7 +47629,7 @@ public class Multiply extends software.amazon.jsii.tests.calculator.BinaryOperat @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String farewell() { - return this.jsiiCall(\\"farewell\\", java.lang.String.class); + return this.jsiiCall("farewell", java.lang.String.class); } /** @@ -48472,7 +47640,7 @@ public class Multiply extends software.amazon.jsii.tests.calculator.BinaryOperat @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String goodbye() { - return this.jsiiCall(\\"goodbye\\", java.lang.String.class); + return this.jsiiCall("goodbye", java.lang.String.class); } /** @@ -48483,7 +47651,7 @@ public class Multiply extends software.amazon.jsii.tests.calculator.BinaryOperat @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.Number next() { - return this.jsiiCall(\\"next\\", java.lang.Number.class); + return this.jsiiCall("next", java.lang.Number.class); } /** @@ -48494,7 +47662,7 @@ public class Multiply extends software.amazon.jsii.tests.calculator.BinaryOperat @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String toString() { - return this.jsiiCall(\\"toString\\", java.lang.String.class); + return this.jsiiCall("toString", java.lang.String.class); } /** @@ -48505,25 +47673,23 @@ public class Multiply extends software.amazon.jsii.tests.calculator.BinaryOperat @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Negate.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** - * The negation operation (\\"-value\\"). + * The negation operation ("-value"). *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Negate\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Negate") public class Negate extends software.amazon.jsii.tests.calculator.UnaryOperation implements software.amazon.jsii.tests.calculator.IFriendlier { protected Negate(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -48542,7 +47708,7 @@ public class Negate extends software.amazon.jsii.tests.calculator.UnaryOperation @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Negate(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value operand) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(operand, \\"operand is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(operand, "operand is required") }); } /** @@ -48553,7 +47719,7 @@ public class Negate extends software.amazon.jsii.tests.calculator.UnaryOperation @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String farewell() { - return this.jsiiCall(\\"farewell\\", java.lang.String.class); + return this.jsiiCall("farewell", java.lang.String.class); } /** @@ -48564,7 +47730,7 @@ public class Negate extends software.amazon.jsii.tests.calculator.UnaryOperation @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String goodbye() { - return this.jsiiCall(\\"goodbye\\", java.lang.String.class); + return this.jsiiCall("goodbye", java.lang.String.class); } /** @@ -48575,7 +47741,7 @@ public class Negate extends software.amazon.jsii.tests.calculator.UnaryOperation @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String hello() { - return this.jsiiCall(\\"hello\\", java.lang.String.class); + return this.jsiiCall("hello", java.lang.String.class); } /** @@ -48586,7 +47752,7 @@ public class Negate extends software.amazon.jsii.tests.calculator.UnaryOperation @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String toString() { - return this.jsiiCall(\\"toString\\", java.lang.String.class); + return this.jsiiCall("toString", java.lang.String.class); } /** @@ -48597,22 +47763,50 @@ public class Negate extends software.amazon.jsii.tests.calculator.UnaryOperation @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } } -", + +`; + +exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/NestedClassInstance.java 1`] = ` +package software.amazon.jsii.tests.calculator; + +/** + * EXPERIMENTAL + */ +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.NestedClassInstance") +public class NestedClassInstance extends software.amazon.jsii.JsiiObject { + + protected NestedClassInstance(final software.amazon.jsii.JsiiObjectRef objRef) { + super(objRef); + } + + protected NestedClassInstance(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { + super(initializationMode); + } + + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) + public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.custom_submodule_name.NestingClass.NestedClass makeInstance() { + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.NestedClassInstance.class, "makeInstance", software.amazon.jsii.tests.calculator.custom_submodule_name.NestingClass.NestedClass.class); + } } + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/NestedStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.NestedStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.NestedStruct") @software.amazon.jsii.Jsii.Proxy(NestedStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface NestedStruct extends software.amazon.jsii.JsiiSerializable { @@ -48675,7 +47869,7 @@ public interface NestedStruct extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.numberProp = this.jsiiGet(\\"numberProp\\", java.lang.Number.class); + this.numberProp = this.jsiiGet("numberProp", java.lang.Number.class); } /** @@ -48683,7 +47877,7 @@ public interface NestedStruct extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.Number numberProp) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.numberProp = java.util.Objects.requireNonNull(numberProp, \\"numberProp is required\\"); + this.numberProp = java.util.Objects.requireNonNull(numberProp, "numberProp is required"); } @Override @@ -48696,14 +47890,14 @@ public interface NestedStruct extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"numberProp\\", om.valueToTree(this.getNumberProp())); + data.set("numberProp", om.valueToTree(this.getNumberProp())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.NestedStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.NestedStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -48725,22 +47919,20 @@ public interface NestedStruct extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/NodeStandardLibrary.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Test fixture to verify that jsii modules can use the node standard library. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.NodeStandardLibrary\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.NodeStandardLibrary") public class NodeStandardLibrary extends software.amazon.jsii.JsiiObject { protected NodeStandardLibrary(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -48761,15 +47953,15 @@ public class NodeStandardLibrary extends software.amazon.jsii.JsiiObject { } /** - * Uses node.js \\"crypto\\" module to calculate sha256 of a string. + * Uses node.js "crypto" module to calculate sha256 of a string. *

* EXPERIMENTAL *

- * @return \\"6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50\\" + * @return "6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50" */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String cryptoSha256() { - return this.jsiiCall(\\"cryptoSha256\\", java.lang.String.class); + return this.jsiiCall("cryptoSha256", java.lang.String.class); } /** @@ -48777,11 +47969,11 @@ public class NodeStandardLibrary extends software.amazon.jsii.JsiiObject { *

* EXPERIMENTAL *

- * @return \\"Hello, resource!\\" + * @return "Hello, resource!" */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String fsReadFile() { - return this.jsiiAsyncCall(\\"fsReadFile\\", java.lang.String.class); + return this.jsiiAsyncCall("fsReadFile", java.lang.String.class); } /** @@ -48789,39 +47981,37 @@ public class NodeStandardLibrary extends software.amazon.jsii.JsiiObject { *

* EXPERIMENTAL *

- * @return \\"Hello, resource! SYNC!\\" + * @return "Hello, resource! SYNC!" */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String fsReadFileSync() { - return this.jsiiCall(\\"fsReadFileSync\\", java.lang.String.class); + return this.jsiiCall("fsReadFileSync", java.lang.String.class); } /** - * Returns the current os.platform() from the \\"os\\" node module. + * Returns the current os.platform() from the "os" node module. *

* EXPERIMENTAL */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getOsPlatform() { - return this.jsiiGet(\\"osPlatform\\", java.lang.String.class); + return this.jsiiGet("osPlatform", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/NullShouldBeTreatedAsUndefined.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** - * jsii#282, aws-cdk#157: null should be treated as \\"undefined\\". + * jsii#282, aws-cdk#157: null should be treated as "undefined". *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.NullShouldBeTreatedAsUndefined\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.NullShouldBeTreatedAsUndefined") public class NullShouldBeTreatedAsUndefined extends software.amazon.jsii.JsiiObject { protected NullShouldBeTreatedAsUndefined(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -48841,7 +48031,7 @@ public class NullShouldBeTreatedAsUndefined extends software.amazon.jsii.JsiiObj @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public NullShouldBeTreatedAsUndefined(final @org.jetbrains.annotations.NotNull java.lang.String _param1, final @org.jetbrains.annotations.Nullable java.lang.Object optional) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(_param1, \\"_param1 is required\\"), optional }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(_param1, "_param1 is required"), optional }); } /** @@ -48852,7 +48042,7 @@ public class NullShouldBeTreatedAsUndefined extends software.amazon.jsii.JsiiObj @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public NullShouldBeTreatedAsUndefined(final @org.jetbrains.annotations.NotNull java.lang.String _param1) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(_param1, \\"_param1 is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(_param1, "_param1 is required") }); } /** @@ -48862,7 +48052,7 @@ public class NullShouldBeTreatedAsUndefined extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void giveMeUndefined(final @org.jetbrains.annotations.Nullable java.lang.Object value) { - this.jsiiCall(\\"giveMeUndefined\\", software.amazon.jsii.NativeType.VOID, new Object[] { value }); + this.jsiiCall("giveMeUndefined", software.amazon.jsii.NativeType.VOID, new Object[] { value }); } /** @@ -48870,7 +48060,7 @@ public class NullShouldBeTreatedAsUndefined extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void giveMeUndefined() { - this.jsiiCall(\\"giveMeUndefined\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("giveMeUndefined", software.amazon.jsii.NativeType.VOID); } /** @@ -48880,7 +48070,7 @@ public class NullShouldBeTreatedAsUndefined extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void giveMeUndefinedInsideAnObject(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.NullShouldBeTreatedAsUndefinedData input) { - this.jsiiCall(\\"giveMeUndefinedInsideAnObject\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(input, \\"input is required\\") }); + this.jsiiCall("giveMeUndefinedInsideAnObject", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(input, "input is required") }); } /** @@ -48888,7 +48078,7 @@ public class NullShouldBeTreatedAsUndefined extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void verifyPropertyIsUndefined() { - this.jsiiCall(\\"verifyPropertyIsUndefined\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("verifyPropertyIsUndefined", software.amazon.jsii.NativeType.VOID); } /** @@ -48896,7 +48086,7 @@ public class NullShouldBeTreatedAsUndefined extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.String getChangeMeToUndefined() { - return this.jsiiGet(\\"changeMeToUndefined\\", java.lang.String.class); + return this.jsiiGet("changeMeToUndefined", java.lang.String.class); } /** @@ -48904,22 +48094,20 @@ public class NullShouldBeTreatedAsUndefined extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setChangeMeToUndefined(final @org.jetbrains.annotations.Nullable java.lang.String value) { - this.jsiiSet(\\"changeMeToUndefined\\", value); + this.jsiiSet("changeMeToUndefined", value); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/NullShouldBeTreatedAsUndefinedData.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.NullShouldBeTreatedAsUndefinedData") @software.amazon.jsii.Jsii.Proxy(NullShouldBeTreatedAsUndefinedData.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface NullShouldBeTreatedAsUndefinedData extends software.amazon.jsii.JsiiSerializable { @@ -49001,8 +48189,8 @@ public interface NullShouldBeTreatedAsUndefinedData extends software.amazon.jsii */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.arrayWithThreeElementsAndUndefinedAsSecondArgument = this.jsiiGet(\\"arrayWithThreeElementsAndUndefinedAsSecondArgument\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))); - this.thisShouldBeUndefined = this.jsiiGet(\\"thisShouldBeUndefined\\", java.lang.Object.class); + this.arrayWithThreeElementsAndUndefinedAsSecondArgument = this.jsiiGet("arrayWithThreeElementsAndUndefinedAsSecondArgument", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))); + this.thisShouldBeUndefined = this.jsiiGet("thisShouldBeUndefined", java.lang.Object.class); } /** @@ -49010,7 +48198,7 @@ public interface NullShouldBeTreatedAsUndefinedData extends software.amazon.jsii */ private Jsii$Proxy(final java.util.List arrayWithThreeElementsAndUndefinedAsSecondArgument, final java.lang.Object thisShouldBeUndefined) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.arrayWithThreeElementsAndUndefinedAsSecondArgument = java.util.Objects.requireNonNull(arrayWithThreeElementsAndUndefinedAsSecondArgument, \\"arrayWithThreeElementsAndUndefinedAsSecondArgument is required\\"); + this.arrayWithThreeElementsAndUndefinedAsSecondArgument = java.util.Objects.requireNonNull(arrayWithThreeElementsAndUndefinedAsSecondArgument, "arrayWithThreeElementsAndUndefinedAsSecondArgument is required"); this.thisShouldBeUndefined = thisShouldBeUndefined; } @@ -49029,17 +48217,17 @@ public interface NullShouldBeTreatedAsUndefinedData extends software.amazon.jsii final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"arrayWithThreeElementsAndUndefinedAsSecondArgument\\", om.valueToTree(this.getArrayWithThreeElementsAndUndefinedAsSecondArgument())); + data.set("arrayWithThreeElementsAndUndefinedAsSecondArgument", om.valueToTree(this.getArrayWithThreeElementsAndUndefinedAsSecondArgument())); if (this.getThisShouldBeUndefined() != null) { - data.set(\\"thisShouldBeUndefined\\", om.valueToTree(this.getThisShouldBeUndefined())); + data.set("thisShouldBeUndefined", om.valueToTree(this.getThisShouldBeUndefined())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.NullShouldBeTreatedAsUndefinedData")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -49063,22 +48251,20 @@ public interface NullShouldBeTreatedAsUndefinedData extends software.amazon.jsii } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/NumberGenerator.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * This allows us to test that a reference can be stored for objects that implement interfaces. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.NumberGenerator\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.NumberGenerator") public class NumberGenerator extends software.amazon.jsii.JsiiObject { protected NumberGenerator(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49097,7 +48283,7 @@ public class NumberGenerator extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public NumberGenerator(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IRandomNumberGenerator generator) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(generator, \\"generator is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(generator, "generator is required") }); } /** @@ -49107,7 +48293,7 @@ public class NumberGenerator extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean isSameGenerator(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IRandomNumberGenerator gen) { - return this.jsiiCall(\\"isSameGenerator\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(gen, \\"gen is required\\") }); + return this.jsiiCall("isSameGenerator", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(gen, "gen is required") }); } /** @@ -49115,7 +48301,7 @@ public class NumberGenerator extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number nextTimes100() { - return this.jsiiCall(\\"nextTimes100\\", java.lang.Number.class); + return this.jsiiCall("nextTimes100", java.lang.Number.class); } /** @@ -49123,7 +48309,7 @@ public class NumberGenerator extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IRandomNumberGenerator getGenerator() { - return this.jsiiGet(\\"generator\\", software.amazon.jsii.tests.calculator.IRandomNumberGenerator.class); + return this.jsiiGet("generator", software.amazon.jsii.tests.calculator.IRandomNumberGenerator.class); } /** @@ -49131,25 +48317,23 @@ public class NumberGenerator extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setGenerator(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IRandomNumberGenerator value) { - this.jsiiSet(\\"generator\\", java.util.Objects.requireNonNull(value, \\"generator is required\\")); + this.jsiiSet("generator", java.util.Objects.requireNonNull(value, "generator is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ObjectRefsInCollections.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Verify that object references can be passed inside collections. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ObjectRefsInCollections\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ObjectRefsInCollections") public class ObjectRefsInCollections extends software.amazon.jsii.JsiiObject { protected ObjectRefsInCollections(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49178,7 +48362,7 @@ public class ObjectRefsInCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number sumFromArray(final @org.jetbrains.annotations.NotNull java.util.List values) { - return this.jsiiCall(\\"sumFromArray\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(values, \\"values is required\\") }); + return this.jsiiCall("sumFromArray", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(values, "values is required") }); } /** @@ -49190,23 +48374,21 @@ public class ObjectRefsInCollections extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number sumFromMap(final @org.jetbrains.annotations.NotNull java.util.Map values) { - return this.jsiiCall(\\"sumFromMap\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(values, \\"values is required\\") }); + return this.jsiiCall("sumFromMap", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(values, "values is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ObjectWithPropertyProvider.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ObjectWithPropertyProvider\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ObjectWithPropertyProvider") public class ObjectWithPropertyProvider extends software.amazon.jsii.JsiiObject { protected ObjectWithPropertyProvider(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49222,26 +48404,24 @@ public class ObjectWithPropertyProvider extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IObjectWithProperty provide() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ObjectWithPropertyProvider.class, \\"provide\\", software.amazon.jsii.tests.calculator.IObjectWithProperty.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.ObjectWithPropertyProvider.class, "provide", software.amazon.jsii.tests.calculator.IObjectWithProperty.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Old.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Old class. *

* @deprecated Use the new class */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Old\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Old") public class Old extends software.amazon.jsii.JsiiObject { protected Old(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49267,23 +48447,21 @@ public class Old extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public void doAThing() { - this.jsiiCall(\\"doAThing\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("doAThing", software.amazon.jsii.NativeType.VOID); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/OptionalArgumentInvoker.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.OptionalArgumentInvoker\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.OptionalArgumentInvoker") public class OptionalArgumentInvoker extends software.amazon.jsii.JsiiObject { protected OptionalArgumentInvoker(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49302,7 +48480,7 @@ public class OptionalArgumentInvoker extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public OptionalArgumentInvoker(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IInterfaceWithOptionalMethodArguments delegate) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(delegate, \\"delegate is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(delegate, "delegate is required") }); } /** @@ -49310,7 +48488,7 @@ public class OptionalArgumentInvoker extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void invokeWithOptional() { - this.jsiiCall(\\"invokeWithOptional\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("invokeWithOptional", software.amazon.jsii.NativeType.VOID); } /** @@ -49318,23 +48496,21 @@ public class OptionalArgumentInvoker extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void invokeWithoutOptional() { - this.jsiiCall(\\"invokeWithoutOptional\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("invokeWithoutOptional", software.amazon.jsii.NativeType.VOID); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/OptionalConstructorArgument.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.OptionalConstructorArgument\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.OptionalConstructorArgument") public class OptionalConstructorArgument extends software.amazon.jsii.JsiiObject { protected OptionalConstructorArgument(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49355,7 +48531,7 @@ public class OptionalConstructorArgument extends software.amazon.jsii.JsiiObject @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public OptionalConstructorArgument(final @org.jetbrains.annotations.NotNull java.lang.Number arg1, final @org.jetbrains.annotations.NotNull java.lang.String arg2, final @org.jetbrains.annotations.Nullable java.time.Instant arg3) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(arg1, \\"arg1 is required\\"), java.util.Objects.requireNonNull(arg2, \\"arg2 is required\\"), arg3 }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(arg1, "arg1 is required"), java.util.Objects.requireNonNull(arg2, "arg2 is required"), arg3 }); } /** @@ -49367,7 +48543,7 @@ public class OptionalConstructorArgument extends software.amazon.jsii.JsiiObject @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public OptionalConstructorArgument(final @org.jetbrains.annotations.NotNull java.lang.Number arg1, final @org.jetbrains.annotations.NotNull java.lang.String arg2) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(arg1, \\"arg1 is required\\"), java.util.Objects.requireNonNull(arg2, \\"arg2 is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(arg1, "arg1 is required"), java.util.Objects.requireNonNull(arg2, "arg2 is required") }); } /** @@ -49375,7 +48551,7 @@ public class OptionalConstructorArgument extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getArg1() { - return this.jsiiGet(\\"arg1\\", java.lang.Number.class); + return this.jsiiGet("arg1", java.lang.Number.class); } /** @@ -49383,7 +48559,7 @@ public class OptionalConstructorArgument extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getArg2() { - return this.jsiiGet(\\"arg2\\", java.lang.String.class); + return this.jsiiGet("arg2", java.lang.String.class); } /** @@ -49391,22 +48567,20 @@ public class OptionalConstructorArgument extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.time.Instant getArg3() { - return this.jsiiGet(\\"arg3\\", java.time.Instant.class); + return this.jsiiGet("arg3", java.time.Instant.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/OptionalStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.OptionalStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.OptionalStruct") @software.amazon.jsii.Jsii.Proxy(OptionalStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface OptionalStruct extends software.amazon.jsii.JsiiSerializable { @@ -49469,7 +48643,7 @@ public interface OptionalStruct extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.field = this.jsiiGet(\\"field\\", java.lang.String.class); + this.field = this.jsiiGet("field", java.lang.String.class); } /** @@ -49491,15 +48665,15 @@ public interface OptionalStruct extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getField() != null) { - data.set(\\"field\\", om.valueToTree(this.getField())); + data.set("field", om.valueToTree(this.getField())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.OptionalStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.OptionalStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -49521,20 +48695,18 @@ public interface OptionalStruct extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/OptionalStructConsumer.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.OptionalStructConsumer\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.OptionalStructConsumer") public class OptionalStructConsumer extends software.amazon.jsii.JsiiObject { protected OptionalStructConsumer(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49570,7 +48742,7 @@ public class OptionalStructConsumer extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getParameterWasUndefined() { - return this.jsiiGet(\\"parameterWasUndefined\\", java.lang.Boolean.class); + return this.jsiiGet("parameterWasUndefined", java.lang.Boolean.class); } /** @@ -49578,7 +48750,7 @@ public class OptionalStructConsumer extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.String getFieldValue() { - return this.jsiiGet(\\"fieldValue\\", java.lang.String.class); + return this.jsiiGet("fieldValue", java.lang.String.class); } /** @@ -49632,22 +48804,20 @@ public class OptionalStructConsumer extends software.amazon.jsii.JsiiObject { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/OverridableProtectedMember.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL *

* @see https://github.com/aws/jsii/issues/903 */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.OverridableProtectedMember\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.OverridableProtectedMember") public class OverridableProtectedMember extends software.amazon.jsii.JsiiObject { protected OverridableProtectedMember(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49672,7 +48842,7 @@ public class OverridableProtectedMember extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.NotNull java.lang.String overrideMe() { - return this.jsiiCall(\\"overrideMe\\", java.lang.String.class); + return this.jsiiCall("overrideMe", java.lang.String.class); } /** @@ -49680,7 +48850,7 @@ public class OverridableProtectedMember extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void switchModes() { - this.jsiiCall(\\"switchModes\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("switchModes", software.amazon.jsii.NativeType.VOID); } /** @@ -49688,7 +48858,7 @@ public class OverridableProtectedMember extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String valueFromProtected() { - return this.jsiiCall(\\"valueFromProtected\\", java.lang.String.class); + return this.jsiiCall("valueFromProtected", java.lang.String.class); } /** @@ -49696,7 +48866,7 @@ public class OverridableProtectedMember extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.NotNull java.lang.String getOverrideReadOnly() { - return this.jsiiGet(\\"overrideReadOnly\\", java.lang.String.class); + return this.jsiiGet("overrideReadOnly", java.lang.String.class); } /** @@ -49704,7 +48874,7 @@ public class OverridableProtectedMember extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected @org.jetbrains.annotations.NotNull java.lang.String getOverrideReadWrite() { - return this.jsiiGet(\\"overrideReadWrite\\", java.lang.String.class); + return this.jsiiGet("overrideReadWrite", java.lang.String.class); } /** @@ -49712,23 +48882,21 @@ public class OverridableProtectedMember extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected void setOverrideReadWrite(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"overrideReadWrite\\", java.util.Objects.requireNonNull(value, \\"overrideReadWrite is required\\")); + this.jsiiSet("overrideReadWrite", java.util.Objects.requireNonNull(value, "overrideReadWrite is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/OverrideReturnsObject.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.OverrideReturnsObject\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.OverrideReturnsObject") public class OverrideReturnsObject extends software.amazon.jsii.JsiiObject { protected OverrideReturnsObject(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49755,24 +48923,22 @@ public class OverrideReturnsObject extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number test(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IReturnsNumber obj) { - return this.jsiiCall(\\"test\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(obj, \\"obj is required\\") }); + return this.jsiiCall("test", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(obj, "obj is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ParentStruct982.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * https://github.com/aws/jsii/issues/982. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ParentStruct982\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ParentStruct982") @software.amazon.jsii.Jsii.Proxy(ParentStruct982.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface ParentStruct982 extends software.amazon.jsii.JsiiSerializable { @@ -49833,7 +48999,7 @@ public interface ParentStruct982 extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.foo = this.jsiiGet(\\"foo\\", java.lang.String.class); + this.foo = this.jsiiGet("foo", java.lang.String.class); } /** @@ -49841,7 +49007,7 @@ public interface ParentStruct982 extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.String foo) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.foo = java.util.Objects.requireNonNull(foo, \\"foo is required\\"); + this.foo = java.util.Objects.requireNonNull(foo, "foo is required"); } @Override @@ -49854,14 +49020,14 @@ public interface ParentStruct982 extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"foo\\", om.valueToTree(this.getFoo())); + data.set("foo", om.valueToTree(this.getFoo())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.ParentStruct982\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.ParentStruct982")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -49883,20 +49049,18 @@ public interface ParentStruct982 extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/PartiallyInitializedThisConsumer.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.PartiallyInitializedThisConsumer\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.PartiallyInitializedThisConsumer") public abstract class PartiallyInitializedThisConsumer extends software.amazon.jsii.JsiiObject { protected PartiallyInitializedThisConsumer(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49944,24 +49108,22 @@ public abstract class PartiallyInitializedThisConsumer extends software.amazon.j @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String consumePartiallyInitializedThis(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.ConstructorPassesThisOut obj, final @org.jetbrains.annotations.NotNull java.time.Instant dt, final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.AllTypesEnum ev) { - return this.jsiiCall(\\"consumePartiallyInitializedThis\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(obj, \\"obj is required\\"), java.util.Objects.requireNonNull(dt, \\"dt is required\\"), java.util.Objects.requireNonNull(ev, \\"ev is required\\") }); + return this.jsiiCall("consumePartiallyInitializedThis", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(obj, "obj is required"), java.util.Objects.requireNonNull(dt, "dt is required"), java.util.Objects.requireNonNull(ev, "ev is required") }); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Polymorphism.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Polymorphism\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Polymorphism") public class Polymorphism extends software.amazon.jsii.JsiiObject { protected Polymorphism(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -49988,25 +49150,23 @@ public class Polymorphism extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String sayHello(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.IFriendly friendly) { - return this.jsiiCall(\\"sayHello\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(friendly, \\"friendly is required\\") }); + return this.jsiiCall("sayHello", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(friendly, "friendly is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Power.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * The power operation. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Power\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Power") public class Power extends software.amazon.jsii.tests.calculator.composition.CompositeOperation { protected Power(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -50028,7 +49188,7 @@ public class Power extends software.amazon.jsii.tests.calculator.composition.Com @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Power(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value base, final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value pow) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(base, \\"base is required\\"), java.util.Objects.requireNonNull(pow, \\"pow is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(base, "base is required"), java.util.Objects.requireNonNull(pow, "pow is required") }); } /** @@ -50038,7 +49198,7 @@ public class Power extends software.amazon.jsii.tests.calculator.composition.Com */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getBase() { - return this.jsiiGet(\\"base\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("base", software.amazon.jsii.tests.calculator.lib.Value.class); } /** @@ -50051,7 +49211,7 @@ public class Power extends software.amazon.jsii.tests.calculator.composition.Com @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getExpression() { - return this.jsiiGet(\\"expression\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("expression", software.amazon.jsii.tests.calculator.lib.Value.class); } /** @@ -50061,25 +49221,23 @@ public class Power extends software.amazon.jsii.tests.calculator.composition.Com */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getPow() { - return this.jsiiGet(\\"pow\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("pow", software.amazon.jsii.tests.calculator.lib.Value.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/PropertyNamedProperty.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** - * Reproduction for https://github.com/aws/jsii/issues/1113 Where a method or property named \\"property\\" would result in impossible to load Python code. + * Reproduction for https://github.com/aws/jsii/issues/1113 Where a method or property named "property" would result in impossible to load Python code. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.PropertyNamedProperty\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.PropertyNamedProperty") public class PropertyNamedProperty extends software.amazon.jsii.JsiiObject { protected PropertyNamedProperty(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -50104,7 +49262,7 @@ public class PropertyNamedProperty extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getProperty() { - return this.jsiiGet(\\"property\\", java.lang.String.class); + return this.jsiiGet("property", java.lang.String.class); } /** @@ -50112,23 +49270,21 @@ public class PropertyNamedProperty extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getYetAnoterOne() { - return this.jsiiGet(\\"yetAnoterOne\\", java.lang.Boolean.class); + return this.jsiiGet("yetAnoterOne", java.lang.Boolean.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/PublicClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.PublicClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.PublicClass") public class PublicClass extends software.amazon.jsii.JsiiObject { protected PublicClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -50153,23 +49309,21 @@ public class PublicClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void hello() { - this.jsiiCall(\\"hello\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("hello", software.amazon.jsii.NativeType.VOID); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/PythonReservedWords.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.PythonReservedWords\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.PythonReservedWords") public class PythonReservedWords extends software.amazon.jsii.JsiiObject { protected PythonReservedWords(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -50194,7 +49348,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void and() { - this.jsiiCall(\\"and\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("and", software.amazon.jsii.NativeType.VOID); } /** @@ -50202,7 +49356,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void as() { - this.jsiiCall(\\"as\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("as", software.amazon.jsii.NativeType.VOID); } /** @@ -50210,7 +49364,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doAssert() { - this.jsiiCall(\\"assert\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("assert", software.amazon.jsii.NativeType.VOID); } /** @@ -50218,7 +49372,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void async() { - this.jsiiCall(\\"async\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("async", software.amazon.jsii.NativeType.VOID); } /** @@ -50226,7 +49380,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void await() { - this.jsiiCall(\\"await\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("await", software.amazon.jsii.NativeType.VOID); } /** @@ -50234,7 +49388,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doBreak() { - this.jsiiCall(\\"break\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("break", software.amazon.jsii.NativeType.VOID); } /** @@ -50242,7 +49396,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doClass() { - this.jsiiCall(\\"class\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("class", software.amazon.jsii.NativeType.VOID); } /** @@ -50250,7 +49404,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doContinue() { - this.jsiiCall(\\"continue\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("continue", software.amazon.jsii.NativeType.VOID); } /** @@ -50258,7 +49412,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void def() { - this.jsiiCall(\\"def\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("def", software.amazon.jsii.NativeType.VOID); } /** @@ -50266,7 +49420,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void del() { - this.jsiiCall(\\"del\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("del", software.amazon.jsii.NativeType.VOID); } /** @@ -50274,7 +49428,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void elif() { - this.jsiiCall(\\"elif\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("elif", software.amazon.jsii.NativeType.VOID); } /** @@ -50282,7 +49436,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doElse() { - this.jsiiCall(\\"else\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("else", software.amazon.jsii.NativeType.VOID); } /** @@ -50290,7 +49444,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void except() { - this.jsiiCall(\\"except\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("except", software.amazon.jsii.NativeType.VOID); } /** @@ -50298,7 +49452,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doFinally() { - this.jsiiCall(\\"finally\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("finally", software.amazon.jsii.NativeType.VOID); } /** @@ -50306,7 +49460,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doFor() { - this.jsiiCall(\\"for\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("for", software.amazon.jsii.NativeType.VOID); } /** @@ -50314,7 +49468,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void from() { - this.jsiiCall(\\"from\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("from", software.amazon.jsii.NativeType.VOID); } /** @@ -50322,7 +49476,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void global() { - this.jsiiCall(\\"global\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("global", software.amazon.jsii.NativeType.VOID); } /** @@ -50330,7 +49484,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doIf() { - this.jsiiCall(\\"if\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("if", software.amazon.jsii.NativeType.VOID); } /** @@ -50338,7 +49492,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doImport() { - this.jsiiCall(\\"import\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("import", software.amazon.jsii.NativeType.VOID); } /** @@ -50346,7 +49500,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void in() { - this.jsiiCall(\\"in\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("in", software.amazon.jsii.NativeType.VOID); } /** @@ -50354,7 +49508,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void is() { - this.jsiiCall(\\"is\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("is", software.amazon.jsii.NativeType.VOID); } /** @@ -50362,7 +49516,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void lambda() { - this.jsiiCall(\\"lambda\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("lambda", software.amazon.jsii.NativeType.VOID); } /** @@ -50370,7 +49524,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void nonlocal() { - this.jsiiCall(\\"nonlocal\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("nonlocal", software.amazon.jsii.NativeType.VOID); } /** @@ -50378,7 +49532,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void not() { - this.jsiiCall(\\"not\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("not", software.amazon.jsii.NativeType.VOID); } /** @@ -50386,7 +49540,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void or() { - this.jsiiCall(\\"or\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("or", software.amazon.jsii.NativeType.VOID); } /** @@ -50394,7 +49548,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void pass() { - this.jsiiCall(\\"pass\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("pass", software.amazon.jsii.NativeType.VOID); } /** @@ -50402,7 +49556,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void raise() { - this.jsiiCall(\\"raise\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("raise", software.amazon.jsii.NativeType.VOID); } /** @@ -50410,7 +49564,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doReturn() { - this.jsiiCall(\\"return\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("return", software.amazon.jsii.NativeType.VOID); } /** @@ -50418,7 +49572,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doTry() { - this.jsiiCall(\\"try\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("try", software.amazon.jsii.NativeType.VOID); } /** @@ -50426,7 +49580,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void doWhile() { - this.jsiiCall(\\"while\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("while", software.amazon.jsii.NativeType.VOID); } /** @@ -50434,7 +49588,7 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void with() { - this.jsiiCall(\\"with\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("with", software.amazon.jsii.NativeType.VOID); } /** @@ -50442,25 +49596,23 @@ public class PythonReservedWords extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void yield() { - this.jsiiCall(\\"yield\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("yield", software.amazon.jsii.NativeType.VOID); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ReferenceEnumFromScopedPackage.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * See awslabs/jsii#138. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ReferenceEnumFromScopedPackage\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ReferenceEnumFromScopedPackage") public class ReferenceEnumFromScopedPackage extends software.amazon.jsii.JsiiObject { protected ReferenceEnumFromScopedPackage(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -50485,7 +49637,7 @@ public class ReferenceEnumFromScopedPackage extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule loadFoo() { - return this.jsiiCall(\\"loadFoo\\", software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule.class); + return this.jsiiCall("loadFoo", software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule.class); } /** @@ -50495,7 +49647,7 @@ public class ReferenceEnumFromScopedPackage extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void saveFoo(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule value) { - this.jsiiCall(\\"saveFoo\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + this.jsiiCall("saveFoo", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -50503,7 +49655,7 @@ public class ReferenceEnumFromScopedPackage extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule getFoo() { - return this.jsiiGet(\\"foo\\", software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule.class); + return this.jsiiGet("foo", software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule.class); } /** @@ -50511,16 +49663,14 @@ public class ReferenceEnumFromScopedPackage extends software.amazon.jsii.JsiiObj */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setFoo(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.lib.EnumFromScopedModule value) { - this.jsiiSet(\\"foo\\", value); + this.jsiiSet("foo", value); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/ReturnsPrivateImplementationOfInterface.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Helps ensure the JSII kernel & runtime cooperate correctly when an un-exported instance of a class is returned with a declared type that is an exported interface, and the instance inherits from an exported class. @@ -50530,9 +49680,9 @@ Object { * @return an instance of an un-exported class that extends \`ExportedBaseClass\`, declared as \`IPrivatelyImplemented\`. * @see https://github.com/aws/jsii/issues/320 */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.ReturnsPrivateImplementationOfInterface\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.ReturnsPrivateImplementationOfInterface") public class ReturnsPrivateImplementationOfInterface extends software.amazon.jsii.JsiiObject { protected ReturnsPrivateImplementationOfInterface(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -50557,27 +49707,25 @@ public class ReturnsPrivateImplementationOfInterface extends software.amazon.jsi */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IPrivatelyImplemented getPrivateImplementation() { - return this.jsiiGet(\\"privateImplementation\\", software.amazon.jsii.tests.calculator.IPrivatelyImplemented.class); + return this.jsiiGet("privateImplementation", software.amazon.jsii.tests.calculator.IPrivatelyImplemented.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/RootStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * This is here to check that we can pass a nested struct into a kwargs by specifying it as an in-line dictionary. *

- * This is cheating with the (current) declared types, but this is the \\"more - * idiomatic\\" way for Pythonists. + * This is cheating with the (current) declared types, but this is the "more + * idiomatic" way for Pythonists. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.RootStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.RootStruct") @software.amazon.jsii.Jsii.Proxy(RootStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface RootStruct extends software.amazon.jsii.JsiiSerializable { @@ -50661,8 +49809,8 @@ public interface RootStruct extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.stringProp = this.jsiiGet(\\"stringProp\\", java.lang.String.class); - this.nestedStruct = this.jsiiGet(\\"nestedStruct\\", software.amazon.jsii.tests.calculator.NestedStruct.class); + this.stringProp = this.jsiiGet("stringProp", java.lang.String.class); + this.nestedStruct = this.jsiiGet("nestedStruct", software.amazon.jsii.tests.calculator.NestedStruct.class); } /** @@ -50670,7 +49818,7 @@ public interface RootStruct extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.String stringProp, final software.amazon.jsii.tests.calculator.NestedStruct nestedStruct) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.stringProp = java.util.Objects.requireNonNull(stringProp, \\"stringProp is required\\"); + this.stringProp = java.util.Objects.requireNonNull(stringProp, "stringProp is required"); this.nestedStruct = nestedStruct; } @@ -50689,17 +49837,17 @@ public interface RootStruct extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"stringProp\\", om.valueToTree(this.getStringProp())); + data.set("stringProp", om.valueToTree(this.getStringProp())); if (this.getNestedStruct() != null) { - data.set(\\"nestedStruct\\", om.valueToTree(this.getNestedStruct())); + data.set("nestedStruct", om.valueToTree(this.getNestedStruct())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.RootStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.RootStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -50723,20 +49871,18 @@ public interface RootStruct extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/RootStructValidator.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.RootStructValidator\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.RootStructValidator") public class RootStructValidator extends software.amazon.jsii.JsiiObject { protected RootStructValidator(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -50754,23 +49900,21 @@ public class RootStructValidator extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static void validate(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.RootStruct struct) { - software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.RootStructValidator.class, \\"validate\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(struct, \\"struct is required\\") }); + software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.RootStructValidator.class, "validate", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(struct, "struct is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/RuntimeTypeChecking.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.RuntimeTypeChecking\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.RuntimeTypeChecking") public class RuntimeTypeChecking extends software.amazon.jsii.JsiiObject { protected RuntimeTypeChecking(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -50799,7 +49943,7 @@ public class RuntimeTypeChecking extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodWithDefaultedArguments(final @org.jetbrains.annotations.Nullable java.lang.Number arg1, final @org.jetbrains.annotations.Nullable java.lang.String arg2, final @org.jetbrains.annotations.Nullable java.time.Instant arg3) { - this.jsiiCall(\\"methodWithDefaultedArguments\\", software.amazon.jsii.NativeType.VOID, new Object[] { arg1, arg2, arg3 }); + this.jsiiCall("methodWithDefaultedArguments", software.amazon.jsii.NativeType.VOID, new Object[] { arg1, arg2, arg3 }); } /** @@ -50810,7 +49954,7 @@ public class RuntimeTypeChecking extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodWithDefaultedArguments(final @org.jetbrains.annotations.Nullable java.lang.Number arg1, final @org.jetbrains.annotations.Nullable java.lang.String arg2) { - this.jsiiCall(\\"methodWithDefaultedArguments\\", software.amazon.jsii.NativeType.VOID, new Object[] { arg1, arg2 }); + this.jsiiCall("methodWithDefaultedArguments", software.amazon.jsii.NativeType.VOID, new Object[] { arg1, arg2 }); } /** @@ -50820,7 +49964,7 @@ public class RuntimeTypeChecking extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodWithDefaultedArguments(final @org.jetbrains.annotations.Nullable java.lang.Number arg1) { - this.jsiiCall(\\"methodWithDefaultedArguments\\", software.amazon.jsii.NativeType.VOID, new Object[] { arg1 }); + this.jsiiCall("methodWithDefaultedArguments", software.amazon.jsii.NativeType.VOID, new Object[] { arg1 }); } /** @@ -50828,7 +49972,7 @@ public class RuntimeTypeChecking extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodWithDefaultedArguments() { - this.jsiiCall(\\"methodWithDefaultedArguments\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("methodWithDefaultedArguments", software.amazon.jsii.NativeType.VOID); } /** @@ -50838,7 +49982,7 @@ public class RuntimeTypeChecking extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodWithOptionalAnyArgument(final @org.jetbrains.annotations.Nullable java.lang.Object arg) { - this.jsiiCall(\\"methodWithOptionalAnyArgument\\", software.amazon.jsii.NativeType.VOID, new Object[] { arg }); + this.jsiiCall("methodWithOptionalAnyArgument", software.amazon.jsii.NativeType.VOID, new Object[] { arg }); } /** @@ -50846,7 +49990,7 @@ public class RuntimeTypeChecking extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodWithOptionalAnyArgument() { - this.jsiiCall(\\"methodWithOptionalAnyArgument\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("methodWithOptionalAnyArgument", software.amazon.jsii.NativeType.VOID); } /** @@ -50860,7 +50004,7 @@ public class RuntimeTypeChecking extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodWithOptionalArguments(final @org.jetbrains.annotations.NotNull java.lang.Number arg1, final @org.jetbrains.annotations.NotNull java.lang.String arg2, final @org.jetbrains.annotations.Nullable java.time.Instant arg3) { - this.jsiiCall(\\"methodWithOptionalArguments\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(arg1, \\"arg1 is required\\"), java.util.Objects.requireNonNull(arg2, \\"arg2 is required\\"), arg3 }); + this.jsiiCall("methodWithOptionalArguments", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(arg1, "arg1 is required"), java.util.Objects.requireNonNull(arg2, "arg2 is required"), arg3 }); } /** @@ -50873,22 +50017,20 @@ public class RuntimeTypeChecking extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void methodWithOptionalArguments(final @org.jetbrains.annotations.NotNull java.lang.Number arg1, final @org.jetbrains.annotations.NotNull java.lang.String arg2) { - this.jsiiCall(\\"methodWithOptionalArguments\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(arg1, \\"arg1 is required\\"), java.util.Objects.requireNonNull(arg2, \\"arg2 is required\\") }); + this.jsiiCall("methodWithOptionalArguments", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(arg1, "arg1 is required"), java.util.Objects.requireNonNull(arg2, "arg2 is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SecondLevelStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SecondLevelStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SecondLevelStruct") @software.amazon.jsii.Jsii.Proxy(SecondLevelStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface SecondLevelStruct extends software.amazon.jsii.JsiiSerializable { @@ -50974,8 +50116,8 @@ public interface SecondLevelStruct extends software.amazon.jsii.JsiiSerializable */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.deeperRequiredProp = this.jsiiGet(\\"deeperRequiredProp\\", java.lang.String.class); - this.deeperOptionalProp = this.jsiiGet(\\"deeperOptionalProp\\", java.lang.String.class); + this.deeperRequiredProp = this.jsiiGet("deeperRequiredProp", java.lang.String.class); + this.deeperOptionalProp = this.jsiiGet("deeperOptionalProp", java.lang.String.class); } /** @@ -50983,7 +50125,7 @@ public interface SecondLevelStruct extends software.amazon.jsii.JsiiSerializable */ private Jsii$Proxy(final java.lang.String deeperRequiredProp, final java.lang.String deeperOptionalProp) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.deeperRequiredProp = java.util.Objects.requireNonNull(deeperRequiredProp, \\"deeperRequiredProp is required\\"); + this.deeperRequiredProp = java.util.Objects.requireNonNull(deeperRequiredProp, "deeperRequiredProp is required"); this.deeperOptionalProp = deeperOptionalProp; } @@ -51002,17 +50144,17 @@ public interface SecondLevelStruct extends software.amazon.jsii.JsiiSerializable final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"deeperRequiredProp\\", om.valueToTree(this.getDeeperRequiredProp())); + data.set("deeperRequiredProp", om.valueToTree(this.getDeeperRequiredProp())); if (this.getDeeperOptionalProp() != null) { - data.set(\\"deeperOptionalProp\\", om.valueToTree(this.getDeeperOptionalProp())); + data.set("deeperOptionalProp", om.valueToTree(this.getDeeperOptionalProp())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.SecondLevelStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.SecondLevelStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -51036,13 +50178,11 @@ public interface SecondLevelStruct extends software.amazon.jsii.JsiiSerializable } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SingleInstanceTwoTypes.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Test that a single instance can be returned under two different FQNs. @@ -51053,9 +50193,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SingleInstanceTwoTypes\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SingleInstanceTwoTypes") public class SingleInstanceTwoTypes extends software.amazon.jsii.JsiiObject { protected SingleInstanceTwoTypes(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -51080,7 +50220,7 @@ public class SingleInstanceTwoTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.InbetweenClass interface1() { - return this.jsiiCall(\\"interface1\\", software.amazon.jsii.tests.calculator.InbetweenClass.class); + return this.jsiiCall("interface1", software.amazon.jsii.tests.calculator.InbetweenClass.class); } /** @@ -51088,16 +50228,14 @@ public class SingleInstanceTwoTypes extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IPublicInterface interface2() { - return this.jsiiCall(\\"interface2\\", software.amazon.jsii.tests.calculator.IPublicInterface.class); + return this.jsiiCall("interface2", software.amazon.jsii.tests.calculator.IPublicInterface.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SingletonInt.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Verifies that singleton enums are handled correctly. @@ -51106,9 +50244,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SingletonInt\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SingletonInt") public class SingletonInt extends software.amazon.jsii.JsiiObject { protected SingletonInt(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -51126,25 +50264,23 @@ public class SingletonInt extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean isSingletonInt(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - return this.jsiiCall(\\"isSingletonInt\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + return this.jsiiCall("isSingletonInt", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SingletonIntEnum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * A singleton integer. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SingletonIntEnum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SingletonIntEnum") public enum SingletonIntEnum { /** * Elite! @@ -51154,13 +50290,11 @@ public enum SingletonIntEnum { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) SINGLETON_INT, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SingletonString.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Verifies that singleton enums are handled correctly. @@ -51169,9 +50303,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SingletonString\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SingletonString") public class SingletonString extends software.amazon.jsii.JsiiObject { protected SingletonString(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -51189,25 +50323,23 @@ public class SingletonString extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean isSingletonString(final @org.jetbrains.annotations.NotNull java.lang.String value) { - return this.jsiiCall(\\"isSingletonString\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + return this.jsiiCall("isSingletonString", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SingletonStringEnum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * A singleton string. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SingletonStringEnum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SingletonStringEnum") public enum SingletonStringEnum { /** * 1337. @@ -51217,19 +50349,17 @@ public enum SingletonStringEnum { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) SINGLETON_STRING, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SmellyStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SmellyStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SmellyStruct") @software.amazon.jsii.Jsii.Proxy(SmellyStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface SmellyStruct extends software.amazon.jsii.JsiiSerializable { @@ -51309,8 +50439,8 @@ public interface SmellyStruct extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.property = this.jsiiGet(\\"property\\", java.lang.String.class); - this.yetAnoterOne = this.jsiiGet(\\"yetAnoterOne\\", java.lang.Boolean.class); + this.property = this.jsiiGet("property", java.lang.String.class); + this.yetAnoterOne = this.jsiiGet("yetAnoterOne", java.lang.Boolean.class); } /** @@ -51318,8 +50448,8 @@ public interface SmellyStruct extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.String property, final java.lang.Boolean yetAnoterOne) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.property = java.util.Objects.requireNonNull(property, \\"property is required\\"); - this.yetAnoterOne = java.util.Objects.requireNonNull(yetAnoterOne, \\"yetAnoterOne is required\\"); + this.property = java.util.Objects.requireNonNull(property, "property is required"); + this.yetAnoterOne = java.util.Objects.requireNonNull(yetAnoterOne, "yetAnoterOne is required"); } @Override @@ -51337,15 +50467,15 @@ public interface SmellyStruct extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"property\\", om.valueToTree(this.getProperty())); - data.set(\\"yetAnoterOne\\", om.valueToTree(this.getYetAnoterOne())); + data.set("property", om.valueToTree(this.getProperty())); + data.set("yetAnoterOne", om.valueToTree(this.getYetAnoterOne())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.SmellyStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.SmellyStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -51369,20 +50499,18 @@ public interface SmellyStruct extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SomeTypeJsii976.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SomeTypeJsii976\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SomeTypeJsii976") public class SomeTypeJsii976 extends software.amazon.jsii.JsiiObject { protected SomeTypeJsii976(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -51407,7 +50535,7 @@ public class SomeTypeJsii976 extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Object returnAnonymous() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.SomeTypeJsii976.class, \\"returnAnonymous\\", java.lang.Object.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.SomeTypeJsii976.class, "returnAnonymous", java.lang.Object.class); } /** @@ -51415,22 +50543,20 @@ public class SomeTypeJsii976 extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IReturnJsii976 returnReturn() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.SomeTypeJsii976.class, \\"returnReturn\\", software.amazon.jsii.tests.calculator.IReturnJsii976.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.SomeTypeJsii976.class, "returnReturn", software.amazon.jsii.tests.calculator.IReturnJsii976.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StableClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StableClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StableClass") public class StableClass extends software.amazon.jsii.JsiiObject { protected StableClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -51448,7 +50574,7 @@ public class StableClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public StableClass(final @org.jetbrains.annotations.NotNull java.lang.String readonlyString, final @org.jetbrains.annotations.Nullable java.lang.Number mutableNumber) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, \\"readonlyString is required\\"), mutableNumber }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, "readonlyString is required"), mutableNumber }); } /** @@ -51457,50 +50583,48 @@ public class StableClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public StableClass(final @org.jetbrains.annotations.NotNull java.lang.String readonlyString) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, \\"readonlyString is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(readonlyString, "readonlyString is required") }); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void method() { - this.jsiiCall(\\"method\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("method", software.amazon.jsii.NativeType.VOID); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getReadonlyProperty() { - return this.jsiiGet(\\"readonlyProperty\\", java.lang.String.class); + return this.jsiiGet("readonlyProperty", java.lang.String.class); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.Number getMutableProperty() { - return this.jsiiGet(\\"mutableProperty\\", java.lang.Number.class); + return this.jsiiGet("mutableProperty", java.lang.Number.class); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setMutableProperty(final @org.jetbrains.annotations.Nullable java.lang.Number value) { - this.jsiiSet(\\"mutableProperty\\", value); + this.jsiiSet("mutableProperty", value); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StableEnum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StableEnum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StableEnum") public enum StableEnum { /** */ @@ -51511,18 +50635,16 @@ public enum StableEnum { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) OPTION_B, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StableStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StableStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StableStruct") @software.amazon.jsii.Jsii.Proxy(StableStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public interface StableStruct extends software.amazon.jsii.JsiiSerializable { @@ -51582,7 +50704,7 @@ public interface StableStruct extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.readonlyProperty = this.jsiiGet(\\"readonlyProperty\\", java.lang.String.class); + this.readonlyProperty = this.jsiiGet("readonlyProperty", java.lang.String.class); } /** @@ -51590,7 +50712,7 @@ public interface StableStruct extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.String readonlyProperty) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.readonlyProperty = java.util.Objects.requireNonNull(readonlyProperty, \\"readonlyProperty is required\\"); + this.readonlyProperty = java.util.Objects.requireNonNull(readonlyProperty, "readonlyProperty is required"); } @Override @@ -51603,14 +50725,14 @@ public interface StableStruct extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"readonlyProperty\\", om.valueToTree(this.getReadonlyProperty())); + data.set("readonlyProperty", om.valueToTree(this.getReadonlyProperty())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.StableStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.StableStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -51632,13 +50754,11 @@ public interface StableStruct extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StaticContext.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * This is used to validate the ability to use \`this\` from within a static context. @@ -51647,9 +50767,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StaticContext\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StaticContext") public class StaticContext extends software.amazon.jsii.JsiiObject { protected StaticContext(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -51665,7 +50785,7 @@ public class StaticContext extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean canAccessStaticContext() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StaticContext.class, \\"canAccessStaticContext\\", java.lang.Boolean.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StaticContext.class, "canAccessStaticContext", java.lang.Boolean.class); } /** @@ -51673,7 +50793,7 @@ public class StaticContext extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean getStaticVariable() { - return software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.StaticContext.class, \\"staticVariable\\", java.lang.Boolean.class); + return software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.StaticContext.class, "staticVariable", java.lang.Boolean.class); } /** @@ -51681,23 +50801,21 @@ public class StaticContext extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static void setStaticVariable(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) { - software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.StaticContext.class, \\"staticVariable\\", java.util.Objects.requireNonNull(value, \\"staticVariable is required\\")); + software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.StaticContext.class, "staticVariable", java.util.Objects.requireNonNull(value, "staticVariable is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Statics.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Statics\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Statics") public class Statics extends software.amazon.jsii.JsiiObject { protected Statics(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -51709,10 +50827,10 @@ public class Statics extends software.amazon.jsii.JsiiObject { } static { - BAR = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, \\"BAR\\", java.lang.Number.class); - CONST_OBJ = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, \\"ConstObj\\", software.amazon.jsii.tests.calculator.DoubleTrouble.class); - FOO = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, \\"Foo\\", java.lang.String.class); - ZOO_BAR = java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, \\"zooBar\\", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + BAR = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, "BAR", java.lang.Number.class); + CONST_OBJ = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, "ConstObj", software.amazon.jsii.tests.calculator.DoubleTrouble.class); + FOO = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, "Foo", java.lang.String.class); + ZOO_BAR = java.util.Collections.unmodifiableMap(software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, "zooBar", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -51723,7 +50841,7 @@ public class Statics extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Statics(final @org.jetbrains.annotations.NotNull java.lang.String value) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -51735,7 +50853,7 @@ public class Statics extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.String staticMethod(final @org.jetbrains.annotations.NotNull java.lang.String name) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Statics.class, \\"staticMethod\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(name, \\"name is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.Statics.class, "staticMethod", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(name, "name is required") }); } /** @@ -51743,7 +50861,7 @@ public class Statics extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String justMethod() { - return this.jsiiCall(\\"justMethod\\", java.lang.String.class); + return this.jsiiCall("justMethod", java.lang.String.class); } /** @@ -51785,7 +50903,7 @@ public class Statics extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.Statics getInstance() { - return software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, \\"instance\\", software.amazon.jsii.tests.calculator.Statics.class); + return software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, "instance", software.amazon.jsii.tests.calculator.Statics.class); } /** @@ -51797,7 +50915,7 @@ public class Statics extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static void setInstance(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.Statics value) { - software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.Statics.class, \\"instance\\", java.util.Objects.requireNonNull(value, \\"instance is required\\")); + software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.Statics.class, "instance", java.util.Objects.requireNonNull(value, "instance is required")); } /** @@ -51805,7 +50923,7 @@ public class Statics extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Number getNonConstStatic() { - return software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, \\"nonConstStatic\\", java.lang.Number.class); + return software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.Statics.class, "nonConstStatic", java.lang.Number.class); } /** @@ -51813,7 +50931,7 @@ public class Statics extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static void setNonConstStatic(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.Statics.class, \\"nonConstStatic\\", java.util.Objects.requireNonNull(value, \\"nonConstStatic is required\\")); + software.amazon.jsii.JsiiObject.jsiiStaticSet(software.amazon.jsii.tests.calculator.Statics.class, "nonConstStatic", java.util.Objects.requireNonNull(value, "nonConstStatic is required")); } /** @@ -51821,23 +50939,21 @@ public class Statics extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getValue() { - return this.jsiiGet(\\"value\\", java.lang.String.class); + return this.jsiiGet("value", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StringEnum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StringEnum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StringEnum") public enum StringEnum { /** * EXPERIMENTAL @@ -51855,20 +50971,18 @@ public enum StringEnum { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) C, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StripInternal.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StripInternal\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StripInternal") public class StripInternal extends software.amazon.jsii.JsiiObject { protected StripInternal(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -51893,7 +51007,7 @@ public class StripInternal extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getYouSeeMe() { - return this.jsiiGet(\\"youSeeMe\\", java.lang.String.class); + return this.jsiiGet("youSeeMe", java.lang.String.class); } /** @@ -51901,24 +51015,22 @@ public class StripInternal extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setYouSeeMe(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"youSeeMe\\", java.util.Objects.requireNonNull(value, \\"youSeeMe is required\\")); + this.jsiiSet("youSeeMe", java.util.Objects.requireNonNull(value, "youSeeMe is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StructA.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * We can serialize and deserialize structs without silently ignoring optional fields. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StructA\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StructA") @software.amazon.jsii.Jsii.Proxy(StructA.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface StructA extends software.amazon.jsii.JsiiSerializable { @@ -52021,9 +51133,9 @@ public interface StructA extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.requiredString = this.jsiiGet(\\"requiredString\\", java.lang.String.class); - this.optionalNumber = this.jsiiGet(\\"optionalNumber\\", java.lang.Number.class); - this.optionalString = this.jsiiGet(\\"optionalString\\", java.lang.String.class); + this.requiredString = this.jsiiGet("requiredString", java.lang.String.class); + this.optionalNumber = this.jsiiGet("optionalNumber", java.lang.Number.class); + this.optionalString = this.jsiiGet("optionalString", java.lang.String.class); } /** @@ -52031,7 +51143,7 @@ public interface StructA extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.String requiredString, final java.lang.Number optionalNumber, final java.lang.String optionalString) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.requiredString = java.util.Objects.requireNonNull(requiredString, \\"requiredString is required\\"); + this.requiredString = java.util.Objects.requireNonNull(requiredString, "requiredString is required"); this.optionalNumber = optionalNumber; this.optionalString = optionalString; } @@ -52056,20 +51168,20 @@ public interface StructA extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"requiredString\\", om.valueToTree(this.getRequiredString())); + data.set("requiredString", om.valueToTree(this.getRequiredString())); if (this.getOptionalNumber() != null) { - data.set(\\"optionalNumber\\", om.valueToTree(this.getOptionalNumber())); + data.set("optionalNumber", om.valueToTree(this.getOptionalNumber())); } if (this.getOptionalString() != null) { - data.set(\\"optionalString\\", om.valueToTree(this.getOptionalString())); + data.set("optionalString", om.valueToTree(this.getOptionalString())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.StructA\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.StructA")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -52095,21 +51207,19 @@ public interface StructA extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StructB.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * This intentionally overlaps with StructA (where only requiredString is provided) to test htat the kernel properly disambiguates those. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StructB\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StructB") @software.amazon.jsii.Jsii.Proxy(StructB.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface StructB extends software.amazon.jsii.JsiiSerializable { @@ -52212,9 +51322,9 @@ public interface StructB extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.requiredString = this.jsiiGet(\\"requiredString\\", java.lang.String.class); - this.optionalBoolean = this.jsiiGet(\\"optionalBoolean\\", java.lang.Boolean.class); - this.optionalStructA = this.jsiiGet(\\"optionalStructA\\", software.amazon.jsii.tests.calculator.StructA.class); + this.requiredString = this.jsiiGet("requiredString", java.lang.String.class); + this.optionalBoolean = this.jsiiGet("optionalBoolean", java.lang.Boolean.class); + this.optionalStructA = this.jsiiGet("optionalStructA", software.amazon.jsii.tests.calculator.StructA.class); } /** @@ -52222,7 +51332,7 @@ public interface StructB extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.String requiredString, final java.lang.Boolean optionalBoolean, final software.amazon.jsii.tests.calculator.StructA optionalStructA) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.requiredString = java.util.Objects.requireNonNull(requiredString, \\"requiredString is required\\"); + this.requiredString = java.util.Objects.requireNonNull(requiredString, "requiredString is required"); this.optionalBoolean = optionalBoolean; this.optionalStructA = optionalStructA; } @@ -52247,20 +51357,20 @@ public interface StructB extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"requiredString\\", om.valueToTree(this.getRequiredString())); + data.set("requiredString", om.valueToTree(this.getRequiredString())); if (this.getOptionalBoolean() != null) { - data.set(\\"optionalBoolean\\", om.valueToTree(this.getOptionalBoolean())); + data.set("optionalBoolean", om.valueToTree(this.getOptionalBoolean())); } if (this.getOptionalStructA() != null) { - data.set(\\"optionalStructA\\", om.valueToTree(this.getOptionalStructA())); + data.set("optionalStructA", om.valueToTree(this.getOptionalStructA())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.StructB\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.StructB")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -52286,13 +51396,11 @@ public interface StructB extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StructParameterType.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Verifies that, in languages that do keyword lifting (e.g: Python), having a struct member with the same name as a positional parameter results in the correct code being emitted. @@ -52301,8 +51409,8 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StructParameterType\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StructParameterType") @software.amazon.jsii.Jsii.Proxy(StructParameterType.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface StructParameterType extends software.amazon.jsii.JsiiSerializable { @@ -52384,8 +51492,8 @@ public interface StructParameterType extends software.amazon.jsii.JsiiSerializab */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.scope = this.jsiiGet(\\"scope\\", java.lang.String.class); - this.props = this.jsiiGet(\\"props\\", java.lang.Boolean.class); + this.scope = this.jsiiGet("scope", java.lang.String.class); + this.props = this.jsiiGet("props", java.lang.Boolean.class); } /** @@ -52393,7 +51501,7 @@ public interface StructParameterType extends software.amazon.jsii.JsiiSerializab */ private Jsii$Proxy(final java.lang.String scope, final java.lang.Boolean props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.scope = java.util.Objects.requireNonNull(scope, \\"scope is required\\"); + this.scope = java.util.Objects.requireNonNull(scope, "scope is required"); this.props = props; } @@ -52412,17 +51520,17 @@ public interface StructParameterType extends software.amazon.jsii.JsiiSerializab final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"scope\\", om.valueToTree(this.getScope())); + data.set("scope", om.valueToTree(this.getScope())); if (this.getProps() != null) { - data.set(\\"props\\", om.valueToTree(this.getProps())); + data.set("props", om.valueToTree(this.getProps())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.StructParameterType\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.StructParameterType")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -52446,20 +51554,18 @@ public interface StructParameterType extends software.amazon.jsii.JsiiSerializab } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StructPassing.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Just because we can. */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StructPassing\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StructPassing") public class StructPassing extends software.amazon.jsii.JsiiObject { protected StructPassing(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -52485,7 +51591,7 @@ public class StructPassing extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull java.lang.Number howManyVarArgsDidIPass(final @org.jetbrains.annotations.NotNull java.lang.Number _positional, final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.TopLevelStruct... inputs) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StructPassing.class, \\"howManyVarArgsDidIPass\\", java.lang.Number.class, java.util.stream.Stream.concat(java.util.Arrays.stream(new Object[] { java.util.Objects.requireNonNull(_positional, \\"_positional is required\\") }), java.util.Arrays.stream(inputs)).toArray(Object[]::new)); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StructPassing.class, "howManyVarArgsDidIPass", java.lang.Number.class, java.util.stream.Stream.concat(java.util.Arrays.stream(new Object[] { java.util.Objects.requireNonNull(_positional, "_positional is required") }), java.util.Arrays.stream(inputs)).toArray(Object[]::new)); } /** @@ -52494,23 +51600,21 @@ public class StructPassing extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public static @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.TopLevelStruct roundTrip(final @org.jetbrains.annotations.NotNull java.lang.Number _positional, final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.TopLevelStruct input) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StructPassing.class, \\"roundTrip\\", software.amazon.jsii.tests.calculator.TopLevelStruct.class, new Object[] { java.util.Objects.requireNonNull(_positional, \\"_positional is required\\"), java.util.Objects.requireNonNull(input, \\"input is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StructPassing.class, "roundTrip", software.amazon.jsii.tests.calculator.TopLevelStruct.class, new Object[] { java.util.Objects.requireNonNull(_positional, "_positional is required"), java.util.Objects.requireNonNull(input, "input is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StructUnionConsumer.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StructUnionConsumer\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StructUnionConsumer") public class StructUnionConsumer extends software.amazon.jsii.JsiiObject { protected StructUnionConsumer(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -52528,7 +51632,7 @@ public class StructUnionConsumer extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean isStructA(final @org.jetbrains.annotations.NotNull java.lang.Object struct) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StructUnionConsumer.class, \\"isStructA\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(struct, \\"struct is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StructUnionConsumer.class, "isStructA", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(struct, "struct is required") }); } /** @@ -52538,22 +51642,20 @@ public class StructUnionConsumer extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean isStructB(final @org.jetbrains.annotations.NotNull java.lang.Object struct) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StructUnionConsumer.class, \\"isStructB\\", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(struct, \\"struct is required\\") }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.StructUnionConsumer.class, "isStructB", java.lang.Boolean.class, new Object[] { java.util.Objects.requireNonNull(struct, "struct is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/StructWithJavaReservedWords.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.StructWithJavaReservedWords\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.StructWithJavaReservedWords") @software.amazon.jsii.Jsii.Proxy(StructWithJavaReservedWords.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface StructWithJavaReservedWords extends software.amazon.jsii.JsiiSerializable { @@ -52677,10 +51779,10 @@ public interface StructWithJavaReservedWords extends software.amazon.jsii.JsiiSe */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.defaultValue = this.jsiiGet(\\"default\\", java.lang.String.class); - this.assertValue = this.jsiiGet(\\"assert\\", java.lang.String.class); - this.result = this.jsiiGet(\\"result\\", java.lang.String.class); - this.that = this.jsiiGet(\\"that\\", java.lang.String.class); + this.defaultValue = this.jsiiGet("default", java.lang.String.class); + this.assertValue = this.jsiiGet("assert", java.lang.String.class); + this.result = this.jsiiGet("result", java.lang.String.class); + this.that = this.jsiiGet("that", java.lang.String.class); } /** @@ -52688,7 +51790,7 @@ public interface StructWithJavaReservedWords extends software.amazon.jsii.JsiiSe */ private Jsii$Proxy(final java.lang.String defaultValue, final java.lang.String assertValue, final java.lang.String result, final java.lang.String that) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.defaultValue = java.util.Objects.requireNonNull(defaultValue, \\"defaultValue is required\\"); + this.defaultValue = java.util.Objects.requireNonNull(defaultValue, "defaultValue is required"); this.assertValue = assertValue; this.result = result; this.that = that; @@ -52719,23 +51821,23 @@ public interface StructWithJavaReservedWords extends software.amazon.jsii.JsiiSe final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"default\\", om.valueToTree(this.getDefaultValue())); + data.set("default", om.valueToTree(this.getDefaultValue())); if (this.getAssertValue() != null) { - data.set(\\"assert\\", om.valueToTree(this.getAssertValue())); + data.set("assert", om.valueToTree(this.getAssertValue())); } if (this.getResult() != null) { - data.set(\\"result\\", om.valueToTree(this.getResult())); + data.set("result", om.valueToTree(this.getResult())); } if (this.getThat() != null) { - data.set(\\"that\\", om.valueToTree(this.getThat())); + data.set("that", om.valueToTree(this.getThat())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.StructWithJavaReservedWords\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.StructWithJavaReservedWords")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -52763,22 +51865,20 @@ public interface StructWithJavaReservedWords extends software.amazon.jsii.JsiiSe } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Sum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * An operation that sums multiple values. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Sum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Sum") public class Sum extends software.amazon.jsii.tests.calculator.composition.CompositeOperation { protected Sum(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -52808,7 +51908,7 @@ public class Sum extends software.amazon.jsii.tests.calculator.composition.Compo @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getExpression() { - return this.jsiiGet(\\"expression\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("expression", software.amazon.jsii.tests.calculator.lib.Value.class); } /** @@ -52818,7 +51918,7 @@ public class Sum extends software.amazon.jsii.tests.calculator.composition.Compo */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getParts() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"parts\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Value.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("parts", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.lib.Value.class)))); } /** @@ -52828,23 +51928,21 @@ public class Sum extends software.amazon.jsii.tests.calculator.composition.Compo */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setParts(final @org.jetbrains.annotations.NotNull java.util.List value) { - this.jsiiSet(\\"parts\\", java.util.Objects.requireNonNull(value, \\"parts is required\\")); + this.jsiiSet("parts", java.util.Objects.requireNonNull(value, "parts is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SupportsNiceJavaBuilder.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SupportsNiceJavaBuilder\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SupportsNiceJavaBuilder") public class SupportsNiceJavaBuilder extends software.amazon.jsii.tests.calculator.SupportsNiceJavaBuilderWithRequiredProps { protected SupportsNiceJavaBuilder(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -52866,7 +51964,7 @@ public class SupportsNiceJavaBuilder extends software.amazon.jsii.tests.calculat @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public SupportsNiceJavaBuilder(final @org.jetbrains.annotations.NotNull java.lang.Number id, final @org.jetbrains.annotations.Nullable java.lang.Number defaultBar, final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.SupportsNiceJavaBuilderProps props, final @org.jetbrains.annotations.NotNull java.lang.String... rest) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, java.util.stream.Stream.concat(java.util.Arrays.stream(new Object[] { java.util.Objects.requireNonNull(id, \\"id is required\\"), defaultBar, props }), java.util.Arrays.stream(rest)).toArray(Object[]::new)); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, java.util.stream.Stream.concat(java.util.Arrays.stream(new Object[] { java.util.Objects.requireNonNull(id, "id is required"), defaultBar, props }), java.util.Arrays.stream(rest)).toArray(Object[]::new)); } /** @@ -52877,7 +51975,7 @@ public class SupportsNiceJavaBuilder extends software.amazon.jsii.tests.calculat @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getId() { - return this.jsiiGet(\\"id\\", java.lang.Number.class); + return this.jsiiGet("id", java.lang.Number.class); } /** @@ -52885,7 +51983,7 @@ public class SupportsNiceJavaBuilder extends software.amazon.jsii.tests.calculat */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getRest() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"rest\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("rest", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -52979,19 +52077,17 @@ public class SupportsNiceJavaBuilder extends software.amazon.jsii.tests.calculat } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SupportsNiceJavaBuilderProps.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SupportsNiceJavaBuilderProps\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SupportsNiceJavaBuilderProps") @software.amazon.jsii.Jsii.Proxy(SupportsNiceJavaBuilderProps.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface SupportsNiceJavaBuilderProps extends software.amazon.jsii.JsiiSerializable { @@ -53080,8 +52176,8 @@ public interface SupportsNiceJavaBuilderProps extends software.amazon.jsii.JsiiS */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.bar = this.jsiiGet(\\"bar\\", java.lang.Number.class); - this.id = this.jsiiGet(\\"id\\", java.lang.String.class); + this.bar = this.jsiiGet("bar", java.lang.Number.class); + this.id = this.jsiiGet("id", java.lang.String.class); } /** @@ -53089,7 +52185,7 @@ public interface SupportsNiceJavaBuilderProps extends software.amazon.jsii.JsiiS */ private Jsii$Proxy(final java.lang.Number bar, final java.lang.String id) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.bar = java.util.Objects.requireNonNull(bar, \\"bar is required\\"); + this.bar = java.util.Objects.requireNonNull(bar, "bar is required"); this.id = id; } @@ -53108,17 +52204,17 @@ public interface SupportsNiceJavaBuilderProps extends software.amazon.jsii.JsiiS final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"bar\\", om.valueToTree(this.getBar())); + data.set("bar", om.valueToTree(this.getBar())); if (this.getId() != null) { - data.set(\\"id\\", om.valueToTree(this.getId())); + data.set("id", om.valueToTree(this.getId())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.SupportsNiceJavaBuilderProps\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.SupportsNiceJavaBuilderProps")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -53142,22 +52238,20 @@ public interface SupportsNiceJavaBuilderProps extends software.amazon.jsii.JsiiS } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SupportsNiceJavaBuilderWithRequiredProps.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * We can generate fancy builders in Java for classes which take a mix of positional & struct parameters. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SupportsNiceJavaBuilderWithRequiredProps\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps") public class SupportsNiceJavaBuilderWithRequiredProps extends software.amazon.jsii.JsiiObject { protected SupportsNiceJavaBuilderWithRequiredProps(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -53177,7 +52271,7 @@ public class SupportsNiceJavaBuilderWithRequiredProps extends software.amazon.js @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public SupportsNiceJavaBuilderWithRequiredProps(final @org.jetbrains.annotations.NotNull java.lang.Number id, final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.SupportsNiceJavaBuilderProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(id, \\"id is required\\"), java.util.Objects.requireNonNull(props, \\"props is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** @@ -53185,7 +52279,7 @@ public class SupportsNiceJavaBuilderWithRequiredProps extends software.amazon.js */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getBar() { - return this.jsiiGet(\\"bar\\", java.lang.Number.class); + return this.jsiiGet("bar", java.lang.Number.class); } /** @@ -53195,7 +52289,7 @@ public class SupportsNiceJavaBuilderWithRequiredProps extends software.amazon.js */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getId() { - return this.jsiiGet(\\"id\\", java.lang.Number.class); + return this.jsiiGet("id", java.lang.Number.class); } /** @@ -53203,7 +52297,7 @@ public class SupportsNiceJavaBuilderWithRequiredProps extends software.amazon.js */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.String getPropId() { - return this.jsiiGet(\\"propId\\", java.lang.String.class); + return this.jsiiGet("propId", java.lang.String.class); } /** @@ -53273,20 +52367,18 @@ public class SupportsNiceJavaBuilderWithRequiredProps extends software.amazon.js } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/SyncVirtualMethods.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.SyncVirtualMethods\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.SyncVirtualMethods") public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { protected SyncVirtualMethods(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -53311,7 +52403,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number callerIsAsync() { - return this.jsiiAsyncCall(\\"callerIsAsync\\", java.lang.Number.class); + return this.jsiiAsyncCall("callerIsAsync", java.lang.Number.class); } /** @@ -53319,7 +52411,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number callerIsMethod() { - return this.jsiiCall(\\"callerIsMethod\\", java.lang.Number.class); + return this.jsiiCall("callerIsMethod", java.lang.Number.class); } /** @@ -53329,7 +52421,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void modifyOtherProperty(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiCall(\\"modifyOtherProperty\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + this.jsiiCall("modifyOtherProperty", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -53339,7 +52431,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void modifyValueOfTheProperty(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiCall(\\"modifyValueOfTheProperty\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + this.jsiiCall("modifyValueOfTheProperty", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -53347,7 +52439,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number readA() { - return this.jsiiCall(\\"readA\\", java.lang.Number.class); + return this.jsiiCall("readA", java.lang.Number.class); } /** @@ -53355,7 +52447,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String retrieveOtherProperty() { - return this.jsiiCall(\\"retrieveOtherProperty\\", java.lang.String.class); + return this.jsiiCall("retrieveOtherProperty", java.lang.String.class); } /** @@ -53363,7 +52455,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String retrieveReadOnlyProperty() { - return this.jsiiCall(\\"retrieveReadOnlyProperty\\", java.lang.String.class); + return this.jsiiCall("retrieveReadOnlyProperty", java.lang.String.class); } /** @@ -53371,7 +52463,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String retrieveValueOfTheProperty() { - return this.jsiiCall(\\"retrieveValueOfTheProperty\\", java.lang.String.class); + return this.jsiiCall("retrieveValueOfTheProperty", java.lang.String.class); } /** @@ -53381,7 +52473,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number virtualMethod(final @org.jetbrains.annotations.NotNull java.lang.Number n) { - return this.jsiiCall(\\"virtualMethod\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(n, \\"n is required\\") }); + return this.jsiiCall("virtualMethod", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(n, "n is required") }); } /** @@ -53391,7 +52483,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void writeA(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiCall(\\"writeA\\", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + this.jsiiCall("writeA", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -53399,7 +52491,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getReadonlyProperty() { - return this.jsiiGet(\\"readonlyProperty\\", java.lang.String.class); + return this.jsiiGet("readonlyProperty", java.lang.String.class); } /** @@ -53407,7 +52499,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getA() { - return this.jsiiGet(\\"a\\", java.lang.Number.class); + return this.jsiiGet("a", java.lang.Number.class); } /** @@ -53415,7 +52507,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setA(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiSet(\\"a\\", java.util.Objects.requireNonNull(value, \\"a is required\\")); + this.jsiiSet("a", java.util.Objects.requireNonNull(value, "a is required")); } /** @@ -53423,7 +52515,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getCallerIsProperty() { - return this.jsiiGet(\\"callerIsProperty\\", java.lang.Number.class); + return this.jsiiGet("callerIsProperty", java.lang.Number.class); } /** @@ -53431,7 +52523,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setCallerIsProperty(final @org.jetbrains.annotations.NotNull java.lang.Number value) { - this.jsiiSet(\\"callerIsProperty\\", java.util.Objects.requireNonNull(value, \\"callerIsProperty is required\\")); + this.jsiiSet("callerIsProperty", java.util.Objects.requireNonNull(value, "callerIsProperty is required")); } /** @@ -53439,7 +52531,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getOtherProperty() { - return this.jsiiGet(\\"otherProperty\\", java.lang.String.class); + return this.jsiiGet("otherProperty", java.lang.String.class); } /** @@ -53447,7 +52539,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setOtherProperty(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"otherProperty\\", java.util.Objects.requireNonNull(value, \\"otherProperty is required\\")); + this.jsiiSet("otherProperty", java.util.Objects.requireNonNull(value, "otherProperty is required")); } /** @@ -53455,7 +52547,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getTheProperty() { - return this.jsiiGet(\\"theProperty\\", java.lang.String.class); + return this.jsiiGet("theProperty", java.lang.String.class); } /** @@ -53463,7 +52555,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setTheProperty(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"theProperty\\", java.util.Objects.requireNonNull(value, \\"theProperty is required\\")); + this.jsiiSet("theProperty", java.util.Objects.requireNonNull(value, "theProperty is required")); } /** @@ -53471,7 +52563,7 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getValueOfOtherProperty() { - return this.jsiiGet(\\"valueOfOtherProperty\\", java.lang.String.class); + return this.jsiiGet("valueOfOtherProperty", java.lang.String.class); } /** @@ -53479,23 +52571,21 @@ public class SyncVirtualMethods extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setValueOfOtherProperty(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"valueOfOtherProperty\\", java.util.Objects.requireNonNull(value, \\"valueOfOtherProperty is required\\")); + this.jsiiSet("valueOfOtherProperty", java.util.Objects.requireNonNull(value, "valueOfOtherProperty is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/Thrower.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.Thrower\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.Thrower") public class Thrower extends software.amazon.jsii.JsiiObject { protected Thrower(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -53520,22 +52610,20 @@ public class Thrower extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void throwError() { - this.jsiiCall(\\"throwError\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("throwError", software.amazon.jsii.NativeType.VOID); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/TopLevelStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.TopLevelStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.TopLevelStruct") @software.amazon.jsii.Jsii.Proxy(TopLevelStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface TopLevelStruct extends software.amazon.jsii.JsiiSerializable { @@ -53653,9 +52741,9 @@ public interface TopLevelStruct extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.required = this.jsiiGet(\\"required\\", java.lang.String.class); - this.secondLevel = this.jsiiGet(\\"secondLevel\\", java.lang.Object.class); - this.optional = this.jsiiGet(\\"optional\\", java.lang.String.class); + this.required = this.jsiiGet("required", java.lang.String.class); + this.secondLevel = this.jsiiGet("secondLevel", java.lang.Object.class); + this.optional = this.jsiiGet("optional", java.lang.String.class); } /** @@ -53663,8 +52751,8 @@ public interface TopLevelStruct extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.String required, final java.lang.Object secondLevel, final java.lang.String optional) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.required = java.util.Objects.requireNonNull(required, \\"required is required\\"); - this.secondLevel = java.util.Objects.requireNonNull(secondLevel, \\"secondLevel is required\\"); + this.required = java.util.Objects.requireNonNull(required, "required is required"); + this.secondLevel = java.util.Objects.requireNonNull(secondLevel, "secondLevel is required"); this.optional = optional; } @@ -53688,18 +52776,18 @@ public interface TopLevelStruct extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"required\\", om.valueToTree(this.getRequired())); - data.set(\\"secondLevel\\", om.valueToTree(this.getSecondLevel())); + data.set("required", om.valueToTree(this.getRequired())); + data.set("secondLevel", om.valueToTree(this.getSecondLevel())); if (this.getOptional() != null) { - data.set(\\"optional\\", om.valueToTree(this.getOptional())); + data.set("optional", om.valueToTree(this.getOptional())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.TopLevelStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.TopLevelStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -53725,13 +52813,11 @@ public interface TopLevelStruct extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/UmaskCheck.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Checks the current file permissions are cool (no funky UMASK down-scoping happened). @@ -53740,9 +52826,9 @@ Object { *

* @see https://github.com/aws/jsii/issues/1765 */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.UmaskCheck\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.UmaskCheck") public class UmaskCheck extends software.amazon.jsii.JsiiObject { protected UmaskCheck(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -53760,25 +52846,23 @@ public class UmaskCheck extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Number mode() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.UmaskCheck.class, \\"mode\\", java.lang.Number.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.UmaskCheck.class, "mode", java.lang.Number.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/UnaryOperation.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * An operation on a single operand. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.UnaryOperation\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.UnaryOperation") public abstract class UnaryOperation extends software.amazon.jsii.tests.calculator.lib.Operation { protected UnaryOperation(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -53797,7 +52881,7 @@ public abstract class UnaryOperation extends software.amazon.jsii.tests.calculat @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected UnaryOperation(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value operand) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(operand, \\"operand is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(operand, "operand is required") }); } /** @@ -53805,7 +52889,7 @@ public abstract class UnaryOperation extends software.amazon.jsii.tests.calculat */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getOperand() { - return this.jsiiGet(\\"operand\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("operand", software.amazon.jsii.tests.calculator.lib.Value.class); } /** @@ -53823,7 +52907,7 @@ public abstract class UnaryOperation extends software.amazon.jsii.tests.calculat @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } /** @@ -53833,23 +52917,21 @@ public abstract class UnaryOperation extends software.amazon.jsii.tests.calculat @Deprecated @Override public @org.jetbrains.annotations.NotNull java.lang.String toString() { - return this.jsiiCall(\\"toString\\", java.lang.String.class); + return this.jsiiCall("toString", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/UnionProperties.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.UnionProperties\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.UnionProperties") @software.amazon.jsii.Jsii.Proxy(UnionProperties.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface UnionProperties extends software.amazon.jsii.JsiiSerializable { @@ -53964,8 +53046,8 @@ public interface UnionProperties extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.bar = this.jsiiGet(\\"bar\\", java.lang.Object.class); - this.foo = this.jsiiGet(\\"foo\\", java.lang.Object.class); + this.bar = this.jsiiGet("bar", java.lang.Object.class); + this.foo = this.jsiiGet("foo", java.lang.Object.class); } /** @@ -53973,7 +53055,7 @@ public interface UnionProperties extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.Object bar, final java.lang.Object foo) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.bar = java.util.Objects.requireNonNull(bar, \\"bar is required\\"); + this.bar = java.util.Objects.requireNonNull(bar, "bar is required"); this.foo = foo; } @@ -53992,17 +53074,17 @@ public interface UnionProperties extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"bar\\", om.valueToTree(this.getBar())); + data.set("bar", om.valueToTree(this.getBar())); if (this.getFoo() != null) { - data.set(\\"foo\\", om.valueToTree(this.getFoo())); + data.set("foo", om.valueToTree(this.getFoo())); } final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.UnionProperties\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.UnionProperties")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -54026,22 +53108,20 @@ public interface UnionProperties extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/UpcasingReflectable.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Ensures submodule-imported types from dependencies can be used correctly. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.UpcasingReflectable\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.UpcasingReflectable") public class UpcasingReflectable extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.custom_submodule_name.IReflectable { protected UpcasingReflectable(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54053,7 +53133,7 @@ public class UpcasingReflectable extends software.amazon.jsii.JsiiObject impleme } static { - REFLECTOR = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.UpcasingReflectable.class, \\"reflector\\", software.amazon.jsii.tests.calculator.custom_submodule_name.Reflector.class); + REFLECTOR = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.UpcasingReflectable.class, "reflector", software.amazon.jsii.tests.calculator.custom_submodule_name.Reflector.class); } /** @@ -54064,7 +53144,7 @@ public class UpcasingReflectable extends software.amazon.jsii.JsiiObject impleme @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public UpcasingReflectable(final @org.jetbrains.annotations.NotNull java.util.Map delegate) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(delegate, \\"delegate is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(delegate, "delegate is required") }); } /** @@ -54079,23 +53159,21 @@ public class UpcasingReflectable extends software.amazon.jsii.JsiiObject impleme @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getEntries() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"entries\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.custom_submodule_name.ReflectableEntry.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("entries", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.jsii.tests.calculator.custom_submodule_name.ReflectableEntry.class)))); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/UseBundledDependency.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.UseBundledDependency\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.UseBundledDependency") public class UseBundledDependency extends software.amazon.jsii.JsiiObject { protected UseBundledDependency(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54120,25 +53198,23 @@ public class UseBundledDependency extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Object value() { - return this.jsiiCall(\\"value\\", java.lang.Object.class); + return this.jsiiCall("value", java.lang.Object.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/UseCalcBase.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Depend on a type from jsii-calc-base as a test for awslabs/jsii#128. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.UseCalcBase\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.UseCalcBase") public class UseCalcBase extends software.amazon.jsii.JsiiObject { protected UseCalcBase(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54163,23 +53239,21 @@ public class UseCalcBase extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.base.Base hello() { - return this.jsiiCall(\\"hello\\", software.amazon.jsii.tests.calculator.base.Base.class); + return this.jsiiCall("hello", software.amazon.jsii.tests.calculator.base.Base.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/UsesInterfaceWithProperties.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.UsesInterfaceWithProperties\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.UsesInterfaceWithProperties") public class UsesInterfaceWithProperties extends software.amazon.jsii.JsiiObject { protected UsesInterfaceWithProperties(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54198,7 +53272,7 @@ public class UsesInterfaceWithProperties extends software.amazon.jsii.JsiiObject @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public UsesInterfaceWithProperties(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IInterfaceWithProperties obj) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(obj, \\"obj is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(obj, "obj is required") }); } /** @@ -54206,7 +53280,7 @@ public class UsesInterfaceWithProperties extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String justRead() { - return this.jsiiCall(\\"justRead\\", java.lang.String.class); + return this.jsiiCall("justRead", java.lang.String.class); } /** @@ -54216,7 +53290,7 @@ public class UsesInterfaceWithProperties extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String readStringAndNumber(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IInterfaceWithPropertiesExtension ext) { - return this.jsiiCall(\\"readStringAndNumber\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(ext, \\"ext is required\\") }); + return this.jsiiCall("readStringAndNumber", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(ext, "ext is required") }); } /** @@ -54226,7 +53300,7 @@ public class UsesInterfaceWithProperties extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String writeAndRead(final @org.jetbrains.annotations.NotNull java.lang.String value) { - return this.jsiiCall(\\"writeAndRead\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(value, \\"value is required\\") }); + return this.jsiiCall("writeAndRead", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(value, "value is required") }); } /** @@ -54234,23 +53308,21 @@ public class UsesInterfaceWithProperties extends software.amazon.jsii.JsiiObject */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.IInterfaceWithProperties getObj() { - return this.jsiiGet(\\"obj\\", software.amazon.jsii.tests.calculator.IInterfaceWithProperties.class); + return this.jsiiGet("obj", software.amazon.jsii.tests.calculator.IInterfaceWithProperties.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/VariadicInvoker.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.VariadicInvoker\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.VariadicInvoker") public class VariadicInvoker extends software.amazon.jsii.JsiiObject { protected VariadicInvoker(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54269,7 +53341,7 @@ public class VariadicInvoker extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public VariadicInvoker(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.VariadicMethod method) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(method, \\"method is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(method, "method is required") }); } /** @@ -54279,23 +53351,21 @@ public class VariadicInvoker extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List asArray(final @org.jetbrains.annotations.NotNull java.lang.Number... values) { - return java.util.Collections.unmodifiableList(this.jsiiCall(\\"asArray\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Number.class)), java.util.Arrays.stream(values).toArray(Object[]::new))); + return java.util.Collections.unmodifiableList(this.jsiiCall("asArray", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Number.class)), java.util.Arrays.stream(values).toArray(Object[]::new))); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/VariadicMethod.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.VariadicMethod\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.VariadicMethod") public class VariadicMethod extends software.amazon.jsii.JsiiObject { protected VariadicMethod(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54325,23 +53395,21 @@ public class VariadicMethod extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List asArray(final @org.jetbrains.annotations.NotNull java.lang.Number first, final @org.jetbrains.annotations.NotNull java.lang.Number... others) { - return java.util.Collections.unmodifiableList(this.jsiiCall(\\"asArray\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Number.class)), java.util.stream.Stream.concat(java.util.Arrays.stream(new Object[] { java.util.Objects.requireNonNull(first, \\"first is required\\") }), java.util.Arrays.stream(others)).toArray(Object[]::new))); + return java.util.Collections.unmodifiableList(this.jsiiCall("asArray", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.Number.class)), java.util.stream.Stream.concat(java.util.Arrays.stream(new Object[] { java.util.Objects.requireNonNull(first, "first is required") }), java.util.Arrays.stream(others)).toArray(Object[]::new))); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/VirtualMethodPlayground.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.VirtualMethodPlayground\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.VirtualMethodPlayground") public class VirtualMethodPlayground extends software.amazon.jsii.JsiiObject { protected VirtualMethodPlayground(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54368,7 +53436,7 @@ public class VirtualMethodPlayground extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number overrideMeAsync(final @org.jetbrains.annotations.NotNull java.lang.Number index) { - return this.jsiiAsyncCall(\\"overrideMeAsync\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(index, \\"index is required\\") }); + return this.jsiiAsyncCall("overrideMeAsync", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(index, "index is required") }); } /** @@ -54378,7 +53446,7 @@ public class VirtualMethodPlayground extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number overrideMeSync(final @org.jetbrains.annotations.NotNull java.lang.Number index) { - return this.jsiiCall(\\"overrideMeSync\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(index, \\"index is required\\") }); + return this.jsiiCall("overrideMeSync", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(index, "index is required") }); } /** @@ -54388,7 +53456,7 @@ public class VirtualMethodPlayground extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number parallelSumAsync(final @org.jetbrains.annotations.NotNull java.lang.Number count) { - return this.jsiiAsyncCall(\\"parallelSumAsync\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(count, \\"count is required\\") }); + return this.jsiiAsyncCall("parallelSumAsync", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(count, "count is required") }); } /** @@ -54398,7 +53466,7 @@ public class VirtualMethodPlayground extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number serialSumAsync(final @org.jetbrains.annotations.NotNull java.lang.Number count) { - return this.jsiiAsyncCall(\\"serialSumAsync\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(count, \\"count is required\\") }); + return this.jsiiAsyncCall("serialSumAsync", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(count, "count is required") }); } /** @@ -54408,16 +53476,14 @@ public class VirtualMethodPlayground extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number sumSync(final @org.jetbrains.annotations.NotNull java.lang.Number count) { - return this.jsiiCall(\\"sumSync\\", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(count, \\"count is required\\") }); + return this.jsiiCall("sumSync", java.lang.Number.class, new Object[] { java.util.Objects.requireNonNull(count, "count is required") }); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/VoidCallback.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * This test is used to validate the runtimes can return correctly from a void callback. @@ -54430,9 +53496,9 @@ Object { *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.VoidCallback\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.VoidCallback") public abstract class VoidCallback extends software.amazon.jsii.JsiiObject { protected VoidCallback(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54457,7 +53523,7 @@ public abstract class VoidCallback extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void callMe() { - this.jsiiCall(\\"callMe\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("callMe", software.amazon.jsii.NativeType.VOID); } /** @@ -54471,7 +53537,7 @@ public abstract class VoidCallback extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getMethodWasCalled() { - return this.jsiiGet(\\"methodWasCalled\\", java.lang.Boolean.class); + return this.jsiiGet("methodWasCalled", java.lang.Boolean.class); } /** @@ -54488,26 +53554,24 @@ public abstract class VoidCallback extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override protected void overrideMe() { - this.jsiiCall(\\"overrideMe\\", software.amazon.jsii.NativeType.VOID); + this.jsiiCall("overrideMe", software.amazon.jsii.NativeType.VOID); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/WithPrivatePropertyInConstructor.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator; +package software.amazon.jsii.tests.calculator; /** * Verifies that private property declarations in constructor arguments are hidden. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.WithPrivatePropertyInConstructor\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.WithPrivatePropertyInConstructor") public class WithPrivatePropertyInConstructor extends software.amazon.jsii.JsiiObject { protected WithPrivatePropertyInConstructor(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54543,25 +53607,23 @@ public class WithPrivatePropertyInConstructor extends software.amazon.jsii.JsiiO */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Boolean getSuccess() { - return this.jsiiGet(\\"success\\", java.lang.Boolean.class); + return this.jsiiGet("success", java.lang.Boolean.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/composition/CompositeOperation.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.composition; +package software.amazon.jsii.tests.calculator.composition; /** * Abstract operation composed from an expression of other operations. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.composition.CompositeOperation\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.composition.CompositeOperation") public abstract class CompositeOperation extends software.amazon.jsii.tests.calculator.lib.Operation { protected CompositeOperation(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54585,7 +53647,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String toString() { - return this.jsiiCall(\\"toString\\", java.lang.String.class); + return this.jsiiCall("toString", java.lang.String.class); } /** @@ -54606,7 +53668,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } /** @@ -54616,7 +53678,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getDecorationPostfixes() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"decorationPostfixes\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("decorationPostfixes", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -54626,7 +53688,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setDecorationPostfixes(final @org.jetbrains.annotations.NotNull java.util.List value) { - this.jsiiSet(\\"decorationPostfixes\\", java.util.Objects.requireNonNull(value, \\"decorationPostfixes is required\\")); + this.jsiiSet("decorationPostfixes", java.util.Objects.requireNonNull(value, "decorationPostfixes is required")); } /** @@ -54636,7 +53698,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.util.List getDecorationPrefixes() { - return java.util.Collections.unmodifiableList(this.jsiiGet(\\"decorationPrefixes\\", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); + return java.util.Collections.unmodifiableList(this.jsiiGet("decorationPrefixes", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)))); } /** @@ -54646,7 +53708,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setDecorationPrefixes(final @org.jetbrains.annotations.NotNull java.util.List value) { - this.jsiiSet(\\"decorationPrefixes\\", java.util.Objects.requireNonNull(value, \\"decorationPrefixes is required\\")); + this.jsiiSet("decorationPrefixes", java.util.Objects.requireNonNull(value, "decorationPrefixes is required")); } /** @@ -54656,7 +53718,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.composition.CompositeOperation.CompositionStringStyle getStringStyle() { - return this.jsiiGet(\\"stringStyle\\", software.amazon.jsii.tests.calculator.composition.CompositeOperation.CompositionStringStyle.class); + return this.jsiiGet("stringStyle", software.amazon.jsii.tests.calculator.composition.CompositeOperation.CompositionStringStyle.class); } /** @@ -54666,7 +53728,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setStringStyle(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.composition.CompositeOperation.CompositionStringStyle value) { - this.jsiiSet(\\"stringStyle\\", java.util.Objects.requireNonNull(value, \\"stringStyle is required\\")); + this.jsiiSet("stringStyle", java.util.Objects.requireNonNull(value, "stringStyle is required")); } /** * Style of .toString() output for CompositeOperation. @@ -54674,7 +53736,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc * EXPERIMENTAL */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) - @software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.composition.CompositeOperation.CompositionStringStyle\\") + @software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.composition.CompositeOperation.CompositionStringStyle") public enum CompositionStringStyle { /** * Normal string expression. @@ -54710,7 +53772,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.lib.Value getExpression() { - return this.jsiiGet(\\"expression\\", software.amazon.jsii.tests.calculator.lib.Value.class); + return this.jsiiGet("expression", software.amazon.jsii.tests.calculator.lib.Value.class); } /** @@ -54720,7 +53782,7 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated) @Deprecated public @org.jetbrains.annotations.NotNull java.lang.Number getValue() { - return this.jsiiGet(\\"value\\", java.lang.Number.class); + return this.jsiiGet("value", java.lang.Number.class); } /** @@ -54730,24 +53792,22 @@ public abstract class CompositeOperation extends software.amazon.jsii.tests.calc @Deprecated @Override public @org.jetbrains.annotations.NotNull java.lang.String toString() { - return this.jsiiCall(\\"toString\\", java.lang.String.class); + return this.jsiiCall("toString", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Base.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.derived_class_has_no_properties; +package software.amazon.jsii.tests.calculator.derived_class_has_no_properties; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DerivedClassHasNoProperties.Base\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DerivedClassHasNoProperties.Base") public class Base extends software.amazon.jsii.JsiiObject { protected Base(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54772,7 +53832,7 @@ public class Base extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getProp() { - return this.jsiiGet(\\"prop\\", java.lang.String.class); + return this.jsiiGet("prop", java.lang.String.class); } /** @@ -54780,23 +53840,21 @@ public class Base extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setProp(final @org.jetbrains.annotations.NotNull java.lang.String value) { - this.jsiiSet(\\"prop\\", java.util.Objects.requireNonNull(value, \\"prop is required\\")); + this.jsiiSet("prop", java.util.Objects.requireNonNull(value, "prop is required")); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Derived.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.derived_class_has_no_properties; +package software.amazon.jsii.tests.calculator.derived_class_has_no_properties; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.DerivedClassHasNoProperties.Derived\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.DerivedClassHasNoProperties.Derived") public class Derived extends software.amazon.jsii.tests.calculator.derived_class_has_no_properties.Base { protected Derived(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54816,20 +53874,18 @@ public class Derived extends software.amazon.jsii.tests.calculator.derived_class software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/interface_in_namespace_includes_classes/Foo.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.interface_in_namespace_includes_classes; +package software.amazon.jsii.tests.calculator.interface_in_namespace_includes_classes; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Foo\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.InterfaceInNamespaceIncludesClasses.Foo") public class Foo extends software.amazon.jsii.JsiiObject { protected Foo(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -54854,7 +53910,7 @@ public class Foo extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable java.lang.String getBar() { - return this.jsiiGet(\\"bar\\", java.lang.String.class); + return this.jsiiGet("bar", java.lang.String.class); } /** @@ -54862,22 +53918,20 @@ public class Foo extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setBar(final @org.jetbrains.annotations.Nullable java.lang.String value) { - this.jsiiSet(\\"bar\\", value); + this.jsiiSet("bar", value); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/interface_in_namespace_includes_classes/Hello.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.interface_in_namespace_includes_classes; +package software.amazon.jsii.tests.calculator.interface_in_namespace_includes_classes; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.InterfaceInNamespaceIncludesClasses.Hello\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.InterfaceInNamespaceIncludesClasses.Hello") @software.amazon.jsii.Jsii.Proxy(Hello.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface Hello extends software.amazon.jsii.JsiiSerializable { @@ -54938,7 +53992,7 @@ public interface Hello extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.foo = this.jsiiGet(\\"foo\\", java.lang.Number.class); + this.foo = this.jsiiGet("foo", java.lang.Number.class); } /** @@ -54946,7 +54000,7 @@ public interface Hello extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.Number foo) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.foo = java.util.Objects.requireNonNull(foo, \\"foo is required\\"); + this.foo = java.util.Objects.requireNonNull(foo, "foo is required"); } @Override @@ -54959,14 +54013,14 @@ public interface Hello extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"foo\\", om.valueToTree(this.getFoo())); + data.set("foo", om.valueToTree(this.getFoo())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.InterfaceInNamespaceIncludesClasses.Hello\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.InterfaceInNamespaceIncludesClasses.Hello")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -54988,19 +54042,17 @@ public interface Hello extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/interface_in_namespace_only_interface/Hello.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.interface_in_namespace_only_interface; +package software.amazon.jsii.tests.calculator.interface_in_namespace_only_interface; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.InterfaceInNamespaceOnlyInterface.Hello\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.InterfaceInNamespaceOnlyInterface.Hello") @software.amazon.jsii.Jsii.Proxy(Hello.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface Hello extends software.amazon.jsii.JsiiSerializable { @@ -55061,7 +54113,7 @@ public interface Hello extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.foo = this.jsiiGet(\\"foo\\", java.lang.Number.class); + this.foo = this.jsiiGet("foo", java.lang.Number.class); } /** @@ -55069,7 +54121,7 @@ public interface Hello extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.Number foo) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.foo = java.util.Objects.requireNonNull(foo, \\"foo is required\\"); + this.foo = java.util.Objects.requireNonNull(foo, "foo is required"); } @Override @@ -55082,14 +54134,14 @@ public interface Hello extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"foo\\", om.valueToTree(this.getFoo())); + data.set("foo", om.valueToTree(this.getFoo())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.InterfaceInNamespaceOnlyInterface.Hello\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.InterfaceInNamespaceOnlyInterface.Hello")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -55111,13 +54163,11 @@ public interface Hello extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/package-info.java 1`] = ` -Object { - Symbol(file): "/** +/** *

jsii Calculator

*

* This library is used to demonstrate and test the features of JSII @@ -55143,25 +54193,23 @@ Object { *

  * // Example automatically generated. See https://github.com/aws/jsii/issues/826
  * /* This is totes a magic comment in here, just you wait! *{@literal /}
- * String foo = \\"bar\\";
+ * String foo = "bar";
  * 
*/ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) package software.amazon.jsii.tests.calculator; -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/python_self/ClassWithSelf.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.python_self; +package software.amazon.jsii.tests.calculator.python_self; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.PythonSelf.ClassWithSelf\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.PythonSelf.ClassWithSelf") public class ClassWithSelf extends software.amazon.jsii.JsiiObject { protected ClassWithSelf(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -55180,7 +54228,7 @@ public class ClassWithSelf extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ClassWithSelf(final @org.jetbrains.annotations.NotNull java.lang.String self) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(self, \\"self is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(self, "self is required") }); } /** @@ -55190,7 +54238,7 @@ public class ClassWithSelf extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String method(final @org.jetbrains.annotations.NotNull java.lang.Number self) { - return this.jsiiCall(\\"method\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(self, \\"self is required\\") }); + return this.jsiiCall("method", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(self, "self is required") }); } /** @@ -55198,23 +54246,21 @@ public class ClassWithSelf extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getSelf() { - return this.jsiiGet(\\"self\\", java.lang.String.class); + return this.jsiiGet("self", java.lang.String.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/python_self/ClassWithSelfKwarg.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.python_self; +package software.amazon.jsii.tests.calculator.python_self; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.PythonSelf.ClassWithSelfKwarg\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.PythonSelf.ClassWithSelfKwarg") public class ClassWithSelfKwarg extends software.amazon.jsii.JsiiObject { protected ClassWithSelfKwarg(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -55233,7 +54279,7 @@ public class ClassWithSelfKwarg extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ClassWithSelfKwarg(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.python_self.StructWithSelf props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, \\"props is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") }); } /** @@ -55241,7 +54287,7 @@ public class ClassWithSelfKwarg extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.python_self.StructWithSelf getProps() { - return this.jsiiGet(\\"props\\", software.amazon.jsii.tests.calculator.python_self.StructWithSelf.class); + return this.jsiiGet("props", software.amazon.jsii.tests.calculator.python_self.StructWithSelf.class); } /** @@ -55289,19 +54335,17 @@ public class ClassWithSelfKwarg extends software.amazon.jsii.JsiiObject { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/python_self/IInterfaceWithSelf.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.python_self; +package software.amazon.jsii.tests.calculator.python_self; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.PythonSelf.IInterfaceWithSelf\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.PythonSelf.IInterfaceWithSelf") @software.amazon.jsii.Jsii.Proxy(IInterfaceWithSelf.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface IInterfaceWithSelf extends software.amazon.jsii.JsiiSerializable { @@ -55330,23 +54374,21 @@ public interface IInterfaceWithSelf extends software.amazon.jsii.JsiiSerializabl @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public @org.jetbrains.annotations.NotNull java.lang.String method(final @org.jetbrains.annotations.NotNull java.lang.Number self) { - return this.jsiiCall(\\"method\\", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(self, \\"self is required\\") }); + return this.jsiiCall("method", java.lang.String.class, new Object[] { java.util.Objects.requireNonNull(self, "self is required") }); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/python_self/StructWithSelf.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.python_self; +package software.amazon.jsii.tests.calculator.python_self; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.PythonSelf.StructWithSelf\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.PythonSelf.StructWithSelf") @software.amazon.jsii.Jsii.Proxy(StructWithSelf.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface StructWithSelf extends software.amazon.jsii.JsiiSerializable { @@ -55407,7 +54449,7 @@ public interface StructWithSelf extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.self = this.jsiiGet(\\"self\\", java.lang.String.class); + this.self = this.jsiiGet("self", java.lang.String.class); } /** @@ -55415,7 +54457,7 @@ public interface StructWithSelf extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.String self) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.self = java.util.Objects.requireNonNull(self, \\"self is required\\"); + this.self = java.util.Objects.requireNonNull(self, "self is required"); } @Override @@ -55428,14 +54470,14 @@ public interface StructWithSelf extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"self\\", om.valueToTree(this.getSelf())); + data.set("self", om.valueToTree(this.getSelf())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.PythonSelf.StructWithSelf\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.PythonSelf.StructWithSelf")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -55457,20 +54499,18 @@ public interface StructWithSelf extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/MyClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule; +package software.amazon.jsii.tests.calculator.submodule; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.MyClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.MyClass") public class MyClass extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.submodule.nested_submodule.deeply_nested.INamespaced { protected MyClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -55489,7 +54529,7 @@ public class MyClass extends software.amazon.jsii.JsiiObject implements software @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public MyClass(final @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.submodule.child.SomeStruct props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, \\"props is required\\") }); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") }); } /** @@ -55497,7 +54537,7 @@ public class MyClass extends software.amazon.jsii.JsiiObject implements software */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.submodule.child.Awesomeness getAwesomeness() { - return this.jsiiGet(\\"awesomeness\\", software.amazon.jsii.tests.calculator.submodule.child.Awesomeness.class); + return this.jsiiGet("awesomeness", software.amazon.jsii.tests.calculator.submodule.child.Awesomeness.class); } /** @@ -55506,7 +54546,7 @@ public class MyClass extends software.amazon.jsii.JsiiObject implements software @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getDefinedAt() { - return this.jsiiGet(\\"definedAt\\", java.lang.String.class); + return this.jsiiGet("definedAt", java.lang.String.class); } /** @@ -55514,7 +54554,7 @@ public class MyClass extends software.amazon.jsii.JsiiObject implements software */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.submodule.child.Goodness getGoodness() { - return this.jsiiGet(\\"goodness\\", software.amazon.jsii.tests.calculator.submodule.child.Goodness.class); + return this.jsiiGet("goodness", software.amazon.jsii.tests.calculator.submodule.child.Goodness.class); } /** @@ -55522,7 +54562,7 @@ public class MyClass extends software.amazon.jsii.JsiiObject implements software */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.submodule.child.SomeStruct getProps() { - return this.jsiiGet(\\"props\\", software.amazon.jsii.tests.calculator.submodule.child.SomeStruct.class); + return this.jsiiGet("props", software.amazon.jsii.tests.calculator.submodule.child.SomeStruct.class); } /** @@ -55530,7 +54570,7 @@ public class MyClass extends software.amazon.jsii.JsiiObject implements software */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.AllTypes getAllTypes() { - return this.jsiiGet(\\"allTypes\\", software.amazon.jsii.tests.calculator.AllTypes.class); + return this.jsiiGet("allTypes", software.amazon.jsii.tests.calculator.AllTypes.class); } /** @@ -55538,7 +54578,7 @@ public class MyClass extends software.amazon.jsii.JsiiObject implements software */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public void setAllTypes(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.AllTypes value) { - this.jsiiSet(\\"allTypes\\", value); + this.jsiiSet("allTypes", value); } /** @@ -55586,19 +54626,17 @@ public class MyClass extends software.amazon.jsii.JsiiObject implements software } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/back_references/MyClassReference.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.back_references; +package software.amazon.jsii.tests.calculator.submodule.back_references; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.back_references.MyClassReference\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.back_references.MyClassReference") @software.amazon.jsii.Jsii.Proxy(MyClassReference.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface MyClassReference extends software.amazon.jsii.JsiiSerializable { @@ -55659,7 +54697,7 @@ public interface MyClassReference extends software.amazon.jsii.JsiiSerializable */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.reference = this.jsiiGet(\\"reference\\", software.amazon.jsii.tests.calculator.submodule.MyClass.class); + this.reference = this.jsiiGet("reference", software.amazon.jsii.tests.calculator.submodule.MyClass.class); } /** @@ -55667,7 +54705,7 @@ public interface MyClassReference extends software.amazon.jsii.JsiiSerializable */ private Jsii$Proxy(final software.amazon.jsii.tests.calculator.submodule.MyClass reference) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.reference = java.util.Objects.requireNonNull(reference, \\"reference is required\\"); + this.reference = java.util.Objects.requireNonNull(reference, "reference is required"); } @Override @@ -55680,14 +54718,14 @@ public interface MyClassReference extends software.amazon.jsii.JsiiSerializable final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"reference\\", om.valueToTree(this.getReference())); + data.set("reference", om.valueToTree(this.getReference())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.submodule.back_references.MyClassReference\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.submodule.back_references.MyClassReference")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -55709,20 +54747,18 @@ public interface MyClassReference extends software.amazon.jsii.JsiiSerializable } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/child/Awesomeness.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.child; +package software.amazon.jsii.tests.calculator.submodule.child; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.child.Awesomeness\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.child.Awesomeness") public enum Awesomeness { /** * It was awesome! @@ -55732,20 +54768,18 @@ public enum Awesomeness { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) AWESOME, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/child/Goodness.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.child; +package software.amazon.jsii.tests.calculator.submodule.child; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.child.Goodness\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.child.Goodness") public enum Goodness { /** * It's pretty good. @@ -55769,20 +54803,18 @@ public enum Goodness { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) AMAZINGLY_GOOD, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/child/InnerClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.child; +package software.amazon.jsii.tests.calculator.submodule.child; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.child.InnerClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.child.InnerClass") public class InnerClass extends software.amazon.jsii.JsiiObject { protected InnerClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -55794,7 +54826,7 @@ public class InnerClass extends software.amazon.jsii.JsiiObject { } static { - STATIC_PROP = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.submodule.child.InnerClass.class, \\"staticProp\\", software.amazon.jsii.tests.calculator.submodule.child.SomeStruct.class); + STATIC_PROP = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.jsii.tests.calculator.submodule.child.InnerClass.class, "staticProp", software.amazon.jsii.tests.calculator.submodule.child.SomeStruct.class); } /** @@ -55812,19 +54844,17 @@ public class InnerClass extends software.amazon.jsii.JsiiObject { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final static software.amazon.jsii.tests.calculator.submodule.child.SomeStruct STATIC_PROP; } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/child/KwargsProps.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.child; +package software.amazon.jsii.tests.calculator.submodule.child; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.child.KwargsProps\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.child.KwargsProps") @software.amazon.jsii.Jsii.Proxy(KwargsProps.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface KwargsProps extends software.amazon.jsii.JsiiSerializable, software.amazon.jsii.tests.calculator.submodule.child.SomeStruct { @@ -55900,8 +54930,8 @@ public interface KwargsProps extends software.amazon.jsii.JsiiSerializable, soft */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.extra = this.jsiiGet(\\"extra\\", java.lang.String.class); - this.prop = this.jsiiGet(\\"prop\\", software.amazon.jsii.tests.calculator.submodule.child.SomeEnum.class); + this.extra = this.jsiiGet("extra", java.lang.String.class); + this.prop = this.jsiiGet("prop", software.amazon.jsii.tests.calculator.submodule.child.SomeEnum.class); } /** @@ -55910,7 +54940,7 @@ public interface KwargsProps extends software.amazon.jsii.JsiiSerializable, soft private Jsii$Proxy(final java.lang.String extra, final software.amazon.jsii.tests.calculator.submodule.child.SomeEnum prop) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); this.extra = extra; - this.prop = java.util.Objects.requireNonNull(prop, \\"prop is required\\"); + this.prop = java.util.Objects.requireNonNull(prop, "prop is required"); } @Override @@ -55929,16 +54959,16 @@ public interface KwargsProps extends software.amazon.jsii.JsiiSerializable, soft final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); if (this.getExtra() != null) { - data.set(\\"extra\\", om.valueToTree(this.getExtra())); + data.set("extra", om.valueToTree(this.getExtra())); } - data.set(\\"prop\\", om.valueToTree(this.getProp())); + data.set("prop", om.valueToTree(this.getProp())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.submodule.child.KwargsProps\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.submodule.child.KwargsProps")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -55962,13 +54992,11 @@ public interface KwargsProps extends software.amazon.jsii.JsiiSerializable, soft } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/child/OuterClass.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.child; +package software.amazon.jsii.tests.calculator.submodule.child; /** * Checks that classes can self-reference during initialization. @@ -55977,9 +55005,9 @@ Object { *

* @see : https://github.com/aws/jsii/pull/1706 */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.child.OuterClass\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.child.OuterClass") public class OuterClass extends software.amazon.jsii.JsiiObject { protected OuterClass(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -56004,23 +55032,21 @@ public class OuterClass extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.submodule.child.InnerClass getInnerClass() { - return this.jsiiGet(\\"innerClass\\", software.amazon.jsii.tests.calculator.submodule.child.InnerClass.class); + return this.jsiiGet("innerClass", software.amazon.jsii.tests.calculator.submodule.child.InnerClass.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/child/SomeEnum.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.child; +package software.amazon.jsii.tests.calculator.submodule.child; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.child.SomeEnum\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.child.SomeEnum") public enum SomeEnum { /** * EXPERIMENTAL @@ -56028,19 +55054,17 @@ public enum SomeEnum { @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) SOME, } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/child/SomeStruct.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.child; +package software.amazon.jsii.tests.calculator.submodule.child; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.child.SomeStruct\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.child.SomeStruct") @software.amazon.jsii.Jsii.Proxy(SomeStruct.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface SomeStruct extends software.amazon.jsii.JsiiSerializable { @@ -56101,7 +55125,7 @@ public interface SomeStruct extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.prop = this.jsiiGet(\\"prop\\", software.amazon.jsii.tests.calculator.submodule.child.SomeEnum.class); + this.prop = this.jsiiGet("prop", software.amazon.jsii.tests.calculator.submodule.child.SomeEnum.class); } /** @@ -56109,7 +55133,7 @@ public interface SomeStruct extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final software.amazon.jsii.tests.calculator.submodule.child.SomeEnum prop) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.prop = java.util.Objects.requireNonNull(prop, \\"prop is required\\"); + this.prop = java.util.Objects.requireNonNull(prop, "prop is required"); } @Override @@ -56122,14 +55146,14 @@ public interface SomeStruct extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"prop\\", om.valueToTree(this.getProp())); + data.set("prop", om.valueToTree(this.getProp())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.submodule.child.SomeStruct\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.submodule.child.SomeStruct")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -56151,19 +55175,17 @@ public interface SomeStruct extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/child/Structure.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.child; +package software.amazon.jsii.tests.calculator.submodule.child; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.child.Structure\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.child.Structure") @software.amazon.jsii.Jsii.Proxy(Structure.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface Structure extends software.amazon.jsii.JsiiSerializable { @@ -56224,7 +55246,7 @@ public interface Structure extends software.amazon.jsii.JsiiSerializable { */ protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); - this.bool = this.jsiiGet(\\"bool\\", java.lang.Boolean.class); + this.bool = this.jsiiGet("bool", java.lang.Boolean.class); } /** @@ -56232,7 +55254,7 @@ public interface Structure extends software.amazon.jsii.JsiiSerializable { */ private Jsii$Proxy(final java.lang.Boolean bool) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); - this.bool = java.util.Objects.requireNonNull(bool, \\"bool is required\\"); + this.bool = java.util.Objects.requireNonNull(bool, "bool is required"); } @Override @@ -56245,14 +55267,14 @@ public interface Structure extends software.amazon.jsii.JsiiSerializable { final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE; final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - data.set(\\"bool\\", om.valueToTree(this.getBool())); + data.set("bool", om.valueToTree(this.getBool())); final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - struct.set(\\"fqn\\", om.valueToTree(\\"jsii-calc.submodule.child.Structure\\")); - struct.set(\\"data\\", data); + struct.set("fqn", om.valueToTree("jsii-calc.submodule.child.Structure")); + struct.set("data", data); final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); - obj.set(\\"$jsii.struct\\", struct); + obj.set("$jsii.struct", struct); return obj; } @@ -56274,22 +55296,20 @@ public interface Structure extends software.amazon.jsii.JsiiSerializable { } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/isolated/Kwargs.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.isolated; +package software.amazon.jsii.tests.calculator.submodule.isolated; /** * Ensures imports are correctly registered for kwargs lifted properties from super-structs. *

* EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.isolated.Kwargs\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.isolated.Kwargs") public class Kwargs extends software.amazon.jsii.JsiiObject { protected Kwargs(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -56307,7 +55327,7 @@ public class Kwargs extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean method(final @org.jetbrains.annotations.Nullable software.amazon.jsii.tests.calculator.submodule.child.KwargsProps props) { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.submodule.isolated.Kwargs.class, \\"method\\", java.lang.Boolean.class, new Object[] { props }); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.submodule.isolated.Kwargs.class, "method", java.lang.Boolean.class, new Object[] { props }); } /** @@ -56315,23 +55335,21 @@ public class Kwargs extends software.amazon.jsii.JsiiObject { */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull java.lang.Boolean method() { - return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.submodule.isolated.Kwargs.class, \\"method\\", java.lang.Boolean.class); + return software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.submodule.isolated.Kwargs.class, "method", java.lang.Boolean.class); } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/nested_submodule/Namespaced.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.nested_submodule; +package software.amazon.jsii.tests.calculator.submodule.nested_submodule; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") +@javax.annotation.Generated(value = "jsii-pacmak") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.nested_submodule.Namespaced\\") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.nested_submodule.Namespaced") public abstract class Namespaced extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.submodule.nested_submodule.deeply_nested.INamespaced { protected Namespaced(final software.amazon.jsii.JsiiObjectRef objRef) { @@ -56348,7 +55366,7 @@ public abstract class Namespaced extends software.amazon.jsii.JsiiObject impleme @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getDefinedAt() { - return this.jsiiGet(\\"definedAt\\", java.lang.String.class); + return this.jsiiGet("definedAt", java.lang.String.class); } /** @@ -56371,7 +55389,7 @@ public abstract class Namespaced extends software.amazon.jsii.JsiiObject impleme @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull software.amazon.jsii.tests.calculator.submodule.child.Goodness getGoodness() { - return this.jsiiGet(\\"goodness\\", software.amazon.jsii.tests.calculator.submodule.child.Goodness.class); + return this.jsiiGet("goodness", software.amazon.jsii.tests.calculator.submodule.child.Goodness.class); } /** @@ -56380,23 +55398,21 @@ public abstract class Namespaced extends software.amazon.jsii.JsiiObject impleme @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getDefinedAt() { - return this.jsiiGet(\\"definedAt\\", java.lang.String.class); + return this.jsiiGet("definedAt", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/submodule/nested_submodule/deeply_nested/INamespaced.java 1`] = ` -Object { - Symbol(file): "package software.amazon.jsii.tests.calculator.submodule.nested_submodule.deeply_nested; +package software.amazon.jsii.tests.calculator.submodule.nested_submodule.deeply_nested; /** * EXPERIMENTAL */ -@javax.annotation.Generated(value = \\"jsii-pacmak\\") -@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\") +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced") @software.amazon.jsii.Jsii.Proxy(INamespaced.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface INamespaced extends software.amazon.jsii.JsiiSerializable { @@ -56421,17 +55437,15 @@ public interface INamespaced extends software.amazon.jsii.JsiiSerializable { @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getDefinedAt() { - return this.jsiiGet(\\"definedAt\\", java.lang.String.class); + return this.jsiiGet("definedAt", java.lang.String.class); } } } -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/resources/software/amazon/jsii/tests/calculator/$Module.txt 1`] = ` -Object { - Symbol(file): "jsii-calc.AbstractClass=software.amazon.jsii.tests.calculator.AbstractClass +jsii-calc.AbstractClass=software.amazon.jsii.tests.calculator.AbstractClass jsii-calc.AbstractClassBase=software.amazon.jsii.tests.calculator.AbstractClassBase jsii-calc.AbstractClassReturner=software.amazon.jsii.tests.calculator.AbstractClassReturner jsii-calc.AbstractSuite=software.amazon.jsii.tests.calculator.AbstractSuite @@ -56560,6 +55574,7 @@ jsii-calc.LoadBalancedFargateServiceProps=software.amazon.jsii.tests.calculator. jsii-calc.MethodNamedProperty=software.amazon.jsii.tests.calculator.MethodNamedProperty jsii-calc.Multiply=software.amazon.jsii.tests.calculator.Multiply jsii-calc.Negate=software.amazon.jsii.tests.calculator.Negate +jsii-calc.NestedClassInstance=software.amazon.jsii.tests.calculator.NestedClassInstance jsii-calc.NestedStruct=software.amazon.jsii.tests.calculator.NestedStruct jsii-calc.NodeStandardLibrary=software.amazon.jsii.tests.calculator.NodeStandardLibrary jsii-calc.NullShouldBeTreatedAsUndefined=software.amazon.jsii.tests.calculator.NullShouldBeTreatedAsUndefined @@ -56645,8 +55660,7 @@ jsii-calc.submodule.child.Structure=software.amazon.jsii.tests.calculator.submod jsii-calc.submodule.isolated.Kwargs=software.amazon.jsii.tests.calculator.submodule.isolated.Kwargs jsii-calc.submodule.nested_submodule.Namespaced=software.amazon.jsii.tests.calculator.submodule.nested_submodule.Namespaced jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced=software.amazon.jsii.tests.calculator.submodule.nested_submodule.deeply_nested.INamespaced -", -} + `; exports[`Generated code for "jsii-calc": /java/src/main/resources/software/amazon/jsii/tests/calculator/jsii-calc@0.0.0.jsii.tgz 1`] = `java/src/main/resources/software/amazon/jsii/tests/calculator/jsii-calc@0.0.0.jsii.tgz is a tarball`; @@ -56654,15 +55668,12 @@ exports[`Generated code for "jsii-calc": /java/src/main/resources/softwa exports[`Generated code for "jsii-calc": /js/jsii-calc@0.0.0.jsii.tgz 1`] = `js/jsii-calc@0.0.0.jsii.tgz is a tarball`; exports[`Generated code for "jsii-calc": /python/MANIFEST.in 1`] = ` -Object { - Symbol(file): "include pyproject.toml -", -} +include pyproject.toml + `; exports[`Generated code for "jsii-calc": /python/README.md 1`] = ` -Object { - Symbol(file): "# jsii Calculator +# jsii Calculator This library is used to demonstrate and test the features of JSII @@ -56687,101 +55698,98 @@ calculator.add(10) \`\`\`python # Example automatically generated. See https://github.com/aws/jsii/issues/826 # This is totes a magic comment in here, just you wait! -foo = \\"bar\\" +foo = "bar" \`\`\` -", -} + `; exports[`Generated code for "jsii-calc": /python/pyproject.toml 1`] = ` -Object { - Symbol(file): "[build-system] -requires = [\\"setuptools >= 38.6.0\\", \\"wheel >= 0.31.0\\"] -build-backend = \\"setuptools.build_meta\\" -", -} +[build-system] +requires = ["setuptools >= 49.3.1", "wheel >= 0.34.2"] +build-backend = "setuptools.build_meta" + `; exports[`Generated code for "jsii-calc": /python/setup.py 1`] = ` -Object { - Symbol(file): "import json +import json import setuptools kwargs = json.loads( - \\"\\"\\" + """ { - \\"name\\": \\"jsii-calc\\", - \\"version\\": \\"0.0.0\\", - \\"description\\": \\"A simple calcuator built on JSII.\\", - \\"license\\": \\"Apache-2.0\\", - \\"url\\": \\"https://github.com/aws/jsii\\", - \\"long_description_content_type\\": \\"text/markdown\\", - \\"author\\": \\"Amazon Web Services\\", - \\"project_urls\\": { - \\"Source\\": \\"https://github.com/aws/jsii.git\\" + "name": "jsii-calc", + "version": "0.0.0", + "description": "A simple calcuator built on JSII.", + "license": "Apache-2.0", + "url": "https://github.com/aws/jsii", + "long_description_content_type": "text/markdown", + "author": "Amazon Web Services", + "bdist_wheel": { + "universal": true + }, + "project_urls": { + "Source": "https://github.com/aws/jsii.git" }, - \\"package_dir\\": { - \\"\\": \\"src\\" + "package_dir": { + "": "src" }, - \\"packages\\": [ - \\"jsii_calc\\", - \\"jsii_calc._jsii\\", - \\"jsii_calc.composition\\", - \\"jsii_calc.derived_class_has_no_properties\\", - \\"jsii_calc.interface_in_namespace_includes_classes\\", - \\"jsii_calc.interface_in_namespace_only_interface\\", - \\"jsii_calc.python_self\\", - \\"jsii_calc.submodule\\", - \\"jsii_calc.submodule.back_references\\", - \\"jsii_calc.submodule.child\\", - \\"jsii_calc.submodule.isolated\\", - \\"jsii_calc.submodule.nested_submodule\\", - \\"jsii_calc.submodule.nested_submodule.deeply_nested\\" + "packages": [ + "jsii_calc", + "jsii_calc._jsii", + "jsii_calc.composition", + "jsii_calc.derived_class_has_no_properties", + "jsii_calc.interface_in_namespace_includes_classes", + "jsii_calc.interface_in_namespace_only_interface", + "jsii_calc.python_self", + "jsii_calc.submodule", + "jsii_calc.submodule.back_references", + "jsii_calc.submodule.child", + "jsii_calc.submodule.isolated", + "jsii_calc.submodule.nested_submodule", + "jsii_calc.submodule.nested_submodule.deeply_nested" ], - \\"package_data\\": { - \\"jsii_calc._jsii\\": [ - \\"jsii-calc@0.0.0.jsii.tgz\\" + "package_data": { + "jsii_calc._jsii": [ + "jsii-calc@0.0.0.jsii.tgz" ], - \\"jsii_calc\\": [ - \\"py.typed\\" + "jsii_calc": [ + "py.typed" ] }, - \\"python_requires\\": \\">=3.6\\", - \\"install_requires\\": [ - \\"jsii>=0.0.0, <0.0.1\\", - \\"publication>=0.0.3\\", - \\"scope.jsii-calc-base>=0.0.0, <0.0.1\\", - \\"scope.jsii-calc-base-of-base>=0.0.0, <0.0.1\\", - \\"scope.jsii-calc-lib>=0.0.0, <0.0.1\\" + "python_requires": ">=3.6", + "install_requires": [ + "jsii>=0.0.0, <0.0.1", + "publication>=0.0.3", + "scope.jsii-calc-base-of-base>=0.0.0, <0.0.1", + "scope.jsii-calc-base>=0.0.0, <0.0.1", + "scope.jsii-calc-lib>=0.0.0, <0.0.1" ], - \\"classifiers\\": [ - \\"Intended Audience :: Developers\\", - \\"Operating System :: OS Independent\\", - \\"Programming Language :: JavaScript\\", - \\"Programming Language :: Python :: 3 :: Only\\", - \\"Programming Language :: Python :: 3.6\\", - \\"Programming Language :: Python :: 3.7\\", - \\"Programming Language :: Python :: 3.8\\", - \\"Typing :: Typed\\", - \\"Development Status :: 4 - Beta\\", - \\"License :: OSI Approved\\" + "classifiers": [ + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Programming Language :: JavaScript", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Typing :: Typed", + "Development Status :: 4 - Beta", + "License :: OSI Approved" ] } -\\"\\"\\" +""" ) -with open(\\"README.md\\") as fp: - kwargs[\\"long_description\\"] = fp.read() +with open("README.md") as fp: + kwargs["long_description"] = fp.read() setuptools.setup(**kwargs) -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/__init__.py 1`] = ` -Object { - Symbol(file): "\\"\\"\\" +""" # jsii Calculator This library is used to demonstrate and test the features of JSII @@ -56807,9 +55815,9 @@ calculator.add(10) \`\`\`python # Example automatically generated. See https://github.com/aws/jsii/issues/826 # This is totes a magic comment in here, just you wait! -foo = \\"bar\\" +foo = "bar" \`\`\` -\\"\\"\\" +""" import abc import builtins import datetime @@ -56830,137 +55838,137 @@ from .composition import CompositeOperation as _CompositeOperation_1c4d123b class AbstractClassBase( - metaclass=jsii.JSIIAbstractClass, jsii_type=\\"jsii-calc.AbstractClassBase\\" + metaclass=jsii.JSIIAbstractClass, jsii_type="jsii-calc.AbstractClassBase" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _AbstractClassBaseProxy def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(AbstractClassBase, self, []) @builtins.property - @jsii.member(jsii_name=\\"abstractProperty\\") + @jsii.member(jsii_name="abstractProperty") @abc.abstractmethod def abstract_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _AbstractClassBaseProxy(AbstractClassBase): @builtins.property - @jsii.member(jsii_name=\\"abstractProperty\\") + @jsii.member(jsii_name="abstractProperty") def abstract_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"abstractProperty\\") + """ + return jsii.get(self, "abstractProperty") class AbstractClassReturner( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.AbstractClassReturner\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.AbstractClassReturner" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(AbstractClassReturner, self, []) - @jsii.member(jsii_name=\\"giveMeAbstract\\") - def give_me_abstract(self) -> \\"AbstractClass\\": - \\"\\"\\" + @jsii.member(jsii_name="giveMeAbstract") + def give_me_abstract(self) -> "AbstractClass": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"giveMeAbstract\\", []) + """ + return jsii.invoke(self, "giveMeAbstract", []) - @jsii.member(jsii_name=\\"giveMeInterface\\") - def give_me_interface(self) -> \\"IInterfaceImplementedByAbstractClass\\": - \\"\\"\\" + @jsii.member(jsii_name="giveMeInterface") + def give_me_interface(self) -> "IInterfaceImplementedByAbstractClass": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"giveMeInterface\\", []) + """ + return jsii.invoke(self, "giveMeInterface", []) @builtins.property - @jsii.member(jsii_name=\\"returnAbstractFromProperty\\") - def return_abstract_from_property(self) -> \\"AbstractClassBase\\": - \\"\\"\\" + @jsii.member(jsii_name="returnAbstractFromProperty") + def return_abstract_from_property(self) -> "AbstractClassBase": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"returnAbstractFromProperty\\") + """ + return jsii.get(self, "returnAbstractFromProperty") class AbstractSuite( - metaclass=jsii.JSIIAbstractClass, jsii_type=\\"jsii-calc.AbstractSuite\\" + metaclass=jsii.JSIIAbstractClass, jsii_type="jsii-calc.AbstractSuite" ): - \\"\\"\\"Ensures abstract members implementations correctly register overrides in various languages. + """Ensures abstract members implementations correctly register overrides in various languages. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _AbstractSuiteProxy def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(AbstractSuite, self, []) - @jsii.member(jsii_name=\\"someMethod\\") + @jsii.member(jsii_name="someMethod") @abc.abstractmethod def _some_method(self, str: str) -> str: - \\"\\"\\" + """ :param str: - stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"workItAll\\") + @jsii.member(jsii_name="workItAll") def work_it_all(self, seed: str) -> str: - \\"\\"\\"Sets \`\`seed\`\` to \`\`this.property\`\`, then calls \`\`someMethod\`\` with \`\`this.property\`\` and returns the result. + """Sets \`\`seed\`\` to \`\`this.property\`\`, then calls \`\`someMethod\`\` with \`\`this.property\`\` and returns the result. :param seed: a \`\`string\`\`. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"workItAll\\", [seed]) + """ + return jsii.invoke(self, "workItAll", [seed]) @builtins.property - @jsii.member(jsii_name=\\"property\\") + @jsii.member(jsii_name="property") @abc.abstractmethod def _property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @_property.setter @@ -56970,576 +55978,576 @@ class AbstractSuite( class _AbstractSuiteProxy(AbstractSuite): - @jsii.member(jsii_name=\\"someMethod\\") + @jsii.member(jsii_name="someMethod") def _some_method(self, str: str) -> str: - \\"\\"\\" + """ :param str: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"someMethod\\", [str]) + """ + return jsii.invoke(self, "someMethod", [str]) @builtins.property - @jsii.member(jsii_name=\\"property\\") + @jsii.member(jsii_name="property") def _property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"property\\") + """ + return jsii.get(self, "property") @_property.setter def _property(self, value: str) -> None: - jsii.set(self, \\"property\\", value) + jsii.set(self, "property", value) -class AllTypes(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.AllTypes\\"): - \\"\\"\\"This class includes property for all types supported by jsii. +class AllTypes(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.AllTypes"): + """This class includes property for all types supported by jsii. The setters will validate that the value set is of the expected type and throw otherwise. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(AllTypes, self, []) - @jsii.member(jsii_name=\\"anyIn\\") + @jsii.member(jsii_name="anyIn") def any_in(self, inp: typing.Any) -> None: - \\"\\"\\" + """ :param inp: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"anyIn\\", [inp]) + """ + return jsii.invoke(self, "anyIn", [inp]) - @jsii.member(jsii_name=\\"anyOut\\") + @jsii.member(jsii_name="anyOut") def any_out(self) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"anyOut\\", []) + """ + return jsii.invoke(self, "anyOut", []) - @jsii.member(jsii_name=\\"enumMethod\\") - def enum_method(self, value: \\"StringEnum\\") -> \\"StringEnum\\": - \\"\\"\\" + @jsii.member(jsii_name="enumMethod") + def enum_method(self, value: "StringEnum") -> "StringEnum": + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"enumMethod\\", [value]) + """ + return jsii.invoke(self, "enumMethod", [value]) @builtins.property - @jsii.member(jsii_name=\\"enumPropertyValue\\") + @jsii.member(jsii_name="enumPropertyValue") def enum_property_value(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"enumPropertyValue\\") + """ + return jsii.get(self, "enumPropertyValue") @builtins.property - @jsii.member(jsii_name=\\"anyArrayProperty\\") + @jsii.member(jsii_name="anyArrayProperty") def any_array_property(self) -> typing.List[typing.Any]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"anyArrayProperty\\") + """ + return jsii.get(self, "anyArrayProperty") @any_array_property.setter def any_array_property(self, value: typing.List[typing.Any]) -> None: - jsii.set(self, \\"anyArrayProperty\\", value) + jsii.set(self, "anyArrayProperty", value) @builtins.property - @jsii.member(jsii_name=\\"anyMapProperty\\") + @jsii.member(jsii_name="anyMapProperty") def any_map_property(self) -> typing.Mapping[str, typing.Any]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"anyMapProperty\\") + """ + return jsii.get(self, "anyMapProperty") @any_map_property.setter def any_map_property(self, value: typing.Mapping[str, typing.Any]) -> None: - jsii.set(self, \\"anyMapProperty\\", value) + jsii.set(self, "anyMapProperty", value) @builtins.property - @jsii.member(jsii_name=\\"anyProperty\\") + @jsii.member(jsii_name="anyProperty") def any_property(self) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"anyProperty\\") + """ + return jsii.get(self, "anyProperty") @any_property.setter def any_property(self, value: typing.Any) -> None: - jsii.set(self, \\"anyProperty\\", value) + jsii.set(self, "anyProperty", value) @builtins.property - @jsii.member(jsii_name=\\"arrayProperty\\") + @jsii.member(jsii_name="arrayProperty") def array_property(self) -> typing.List[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"arrayProperty\\") + """ + return jsii.get(self, "arrayProperty") @array_property.setter def array_property(self, value: typing.List[str]) -> None: - jsii.set(self, \\"arrayProperty\\", value) + jsii.set(self, "arrayProperty", value) @builtins.property - @jsii.member(jsii_name=\\"booleanProperty\\") + @jsii.member(jsii_name="booleanProperty") def boolean_property(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"booleanProperty\\") + """ + return jsii.get(self, "booleanProperty") @boolean_property.setter def boolean_property(self, value: bool) -> None: - jsii.set(self, \\"booleanProperty\\", value) + jsii.set(self, "booleanProperty", value) @builtins.property - @jsii.member(jsii_name=\\"dateProperty\\") + @jsii.member(jsii_name="dateProperty") def date_property(self) -> datetime.datetime: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"dateProperty\\") + """ + return jsii.get(self, "dateProperty") @date_property.setter def date_property(self, value: datetime.datetime) -> None: - jsii.set(self, \\"dateProperty\\", value) + jsii.set(self, "dateProperty", value) @builtins.property - @jsii.member(jsii_name=\\"enumProperty\\") - def enum_property(self) -> \\"AllTypesEnum\\": - \\"\\"\\" + @jsii.member(jsii_name="enumProperty") + def enum_property(self) -> "AllTypesEnum": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"enumProperty\\") + """ + return jsii.get(self, "enumProperty") @enum_property.setter - def enum_property(self, value: \\"AllTypesEnum\\") -> None: - jsii.set(self, \\"enumProperty\\", value) + def enum_property(self, value: "AllTypesEnum") -> None: + jsii.set(self, "enumProperty", value) @builtins.property - @jsii.member(jsii_name=\\"jsonProperty\\") + @jsii.member(jsii_name="jsonProperty") def json_property(self) -> typing.Mapping[typing.Any, typing.Any]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"jsonProperty\\") + """ + return jsii.get(self, "jsonProperty") @json_property.setter def json_property(self, value: typing.Mapping[typing.Any, typing.Any]) -> None: - jsii.set(self, \\"jsonProperty\\", value) + jsii.set(self, "jsonProperty", value) @builtins.property - @jsii.member(jsii_name=\\"mapProperty\\") + @jsii.member(jsii_name="mapProperty") def map_property(self) -> typing.Mapping[str, scope.jsii_calc_lib.Number]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"mapProperty\\") + """ + return jsii.get(self, "mapProperty") @map_property.setter def map_property( self, value: typing.Mapping[str, scope.jsii_calc_lib.Number] ) -> None: - jsii.set(self, \\"mapProperty\\", value) + jsii.set(self, "mapProperty", value) @builtins.property - @jsii.member(jsii_name=\\"numberProperty\\") + @jsii.member(jsii_name="numberProperty") def number_property(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"numberProperty\\") + """ + return jsii.get(self, "numberProperty") @number_property.setter def number_property(self, value: jsii.Number) -> None: - jsii.set(self, \\"numberProperty\\", value) + jsii.set(self, "numberProperty", value) @builtins.property - @jsii.member(jsii_name=\\"stringProperty\\") + @jsii.member(jsii_name="stringProperty") def string_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"stringProperty\\") + """ + return jsii.get(self, "stringProperty") @string_property.setter def string_property(self, value: str) -> None: - jsii.set(self, \\"stringProperty\\", value) + jsii.set(self, "stringProperty", value) @builtins.property - @jsii.member(jsii_name=\\"unionArrayProperty\\") + @jsii.member(jsii_name="unionArrayProperty") def union_array_property( self, ) -> typing.List[typing.Union[jsii.Number, scope.jsii_calc_lib.Value]]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"unionArrayProperty\\") + """ + return jsii.get(self, "unionArrayProperty") @union_array_property.setter def union_array_property( self, value: typing.List[typing.Union[jsii.Number, scope.jsii_calc_lib.Value]] ) -> None: - jsii.set(self, \\"unionArrayProperty\\", value) + jsii.set(self, "unionArrayProperty", value) @builtins.property - @jsii.member(jsii_name=\\"unionMapProperty\\") + @jsii.member(jsii_name="unionMapProperty") def union_map_property( self, ) -> typing.Mapping[str, typing.Union[str, jsii.Number, scope.jsii_calc_lib.Number]]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"unionMapProperty\\") + """ + return jsii.get(self, "unionMapProperty") @union_map_property.setter def union_map_property( self, value: typing.Mapping[str, typing.Union[str, jsii.Number, scope.jsii_calc_lib.Number]], ) -> None: - jsii.set(self, \\"unionMapProperty\\", value) + jsii.set(self, "unionMapProperty", value) @builtins.property - @jsii.member(jsii_name=\\"unionProperty\\") + @jsii.member(jsii_name="unionProperty") def union_property( self, - ) -> typing.Union[str, jsii.Number, \\"Multiply\\", scope.jsii_calc_lib.Number]: - \\"\\"\\" + ) -> typing.Union[str, jsii.Number, "Multiply", scope.jsii_calc_lib.Number]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"unionProperty\\") + """ + return jsii.get(self, "unionProperty") @union_property.setter def union_property( self, - value: typing.Union[str, jsii.Number, \\"Multiply\\", scope.jsii_calc_lib.Number], + value: typing.Union[str, jsii.Number, "Multiply", scope.jsii_calc_lib.Number], ) -> None: - jsii.set(self, \\"unionProperty\\", value) + jsii.set(self, "unionProperty", value) @builtins.property - @jsii.member(jsii_name=\\"unknownArrayProperty\\") + @jsii.member(jsii_name="unknownArrayProperty") def unknown_array_property(self) -> typing.List[typing.Any]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"unknownArrayProperty\\") + """ + return jsii.get(self, "unknownArrayProperty") @unknown_array_property.setter def unknown_array_property(self, value: typing.List[typing.Any]) -> None: - jsii.set(self, \\"unknownArrayProperty\\", value) + jsii.set(self, "unknownArrayProperty", value) @builtins.property - @jsii.member(jsii_name=\\"unknownMapProperty\\") + @jsii.member(jsii_name="unknownMapProperty") def unknown_map_property(self) -> typing.Mapping[str, typing.Any]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"unknownMapProperty\\") + """ + return jsii.get(self, "unknownMapProperty") @unknown_map_property.setter def unknown_map_property(self, value: typing.Mapping[str, typing.Any]) -> None: - jsii.set(self, \\"unknownMapProperty\\", value) + jsii.set(self, "unknownMapProperty", value) @builtins.property - @jsii.member(jsii_name=\\"unknownProperty\\") + @jsii.member(jsii_name="unknownProperty") def unknown_property(self) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"unknownProperty\\") + """ + return jsii.get(self, "unknownProperty") @unknown_property.setter def unknown_property(self, value: typing.Any) -> None: - jsii.set(self, \\"unknownProperty\\", value) + jsii.set(self, "unknownProperty", value) @builtins.property - @jsii.member(jsii_name=\\"optionalEnumValue\\") - def optional_enum_value(self) -> typing.Optional[\\"StringEnum\\"]: - \\"\\"\\" + @jsii.member(jsii_name="optionalEnumValue") + def optional_enum_value(self) -> typing.Optional["StringEnum"]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"optionalEnumValue\\") + """ + return jsii.get(self, "optionalEnumValue") @optional_enum_value.setter - def optional_enum_value(self, value: typing.Optional[\\"StringEnum\\"]) -> None: - jsii.set(self, \\"optionalEnumValue\\", value) + def optional_enum_value(self, value: typing.Optional["StringEnum"]) -> None: + jsii.set(self, "optionalEnumValue", value) -@jsii.enum(jsii_type=\\"jsii-calc.AllTypesEnum\\") +@jsii.enum(jsii_type="jsii-calc.AllTypesEnum") class AllTypesEnum(enum.Enum): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - MY_ENUM_VALUE = \\"MY_ENUM_VALUE\\" - \\"\\"\\" + MY_ENUM_VALUE = "MY_ENUM_VALUE" + """ stability :stability: experimental - \\"\\"\\" - YOUR_ENUM_VALUE = \\"YOUR_ENUM_VALUE\\" - \\"\\"\\" + """ + YOUR_ENUM_VALUE = "YOUR_ENUM_VALUE" + """ stability :stability: experimental - \\"\\"\\" - THIS_IS_GREAT = \\"THIS_IS_GREAT\\" - \\"\\"\\" + """ + THIS_IS_GREAT = "THIS_IS_GREAT" + """ stability :stability: experimental - \\"\\"\\" + """ class AllowedMethodNames( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.AllowedMethodNames\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.AllowedMethodNames" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(AllowedMethodNames, self, []) - @jsii.member(jsii_name=\\"getBar\\") + @jsii.member(jsii_name="getBar") def get_bar(self, _p1: str, _p2: jsii.Number) -> None: - \\"\\"\\" + """ :param _p1: - :param _p2: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"getBar\\", [_p1, _p2]) + """ + return jsii.invoke(self, "getBar", [_p1, _p2]) - @jsii.member(jsii_name=\\"getFoo\\") + @jsii.member(jsii_name="getFoo") def get_foo(self, with_param: str) -> str: - \\"\\"\\"getXxx() is not allowed (see negatives), but getXxx(a, ...) is okay. + """getXxx() is not allowed (see negatives), but getXxx(a, ...) is okay. :param with_param: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"getFoo\\", [with_param]) + """ + return jsii.invoke(self, "getFoo", [with_param]) - @jsii.member(jsii_name=\\"setBar\\") + @jsii.member(jsii_name="setBar") def set_bar(self, _x: str, _y: jsii.Number, _z: bool) -> None: - \\"\\"\\" + """ :param _x: - :param _y: - :param _z: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"setBar\\", [_x, _y, _z]) + """ + return jsii.invoke(self, "setBar", [_x, _y, _z]) - @jsii.member(jsii_name=\\"setFoo\\") + @jsii.member(jsii_name="setFoo") def set_foo(self, _x: str, _y: jsii.Number) -> None: - \\"\\"\\"setFoo(x) is not allowed (see negatives), but setXxx(a, b, ...) is okay. + """setFoo(x) is not allowed (see negatives), but setXxx(a, b, ...) is okay. :param _x: - :param _y: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"setFoo\\", [_x, _y]) + """ + return jsii.invoke(self, "setFoo", [_x, _y]) class AmbiguousParameters( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.AmbiguousParameters\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.AmbiguousParameters" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__( - self, scope_: \\"Bell\\", *, scope: str, props: typing.Optional[bool] = None + self, scope_: "Bell", *, scope: str, props: typing.Optional[bool] = None ) -> None: - \\"\\"\\" + """ :param scope_: - :param scope: :param props: stability :stability: experimental - \\"\\"\\" + """ props_ = StructParameterType(scope=scope, props=props) jsii.create(AmbiguousParameters, self, [scope_, props_]) @builtins.property - @jsii.member(jsii_name=\\"props\\") - def props(self) -> \\"StructParameterType\\": - \\"\\"\\" + @jsii.member(jsii_name="props") + def props(self) -> "StructParameterType": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"props\\") + """ + return jsii.get(self, "props") @builtins.property - @jsii.member(jsii_name=\\"scope\\") - def scope(self) -> \\"Bell\\": - \\"\\"\\" + @jsii.member(jsii_name="scope") + def scope(self) -> "Bell": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"scope\\") + """ + return jsii.get(self, "scope") class AsyncVirtualMethods( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.AsyncVirtualMethods\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.AsyncVirtualMethods" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(AsyncVirtualMethods, self, []) - @jsii.member(jsii_name=\\"callMe\\") + @jsii.member(jsii_name="callMe") def call_me(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"callMe\\", []) + """ + return jsii.ainvoke(self, "callMe", []) - @jsii.member(jsii_name=\\"callMe2\\") + @jsii.member(jsii_name="callMe2") def call_me2(self) -> jsii.Number: - \\"\\"\\"Just calls \\"overrideMeToo\\". + """Just calls "overrideMeToo". stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"callMe2\\", []) + """ + return jsii.ainvoke(self, "callMe2", []) - @jsii.member(jsii_name=\\"callMeDoublePromise\\") + @jsii.member(jsii_name="callMeDoublePromise") def call_me_double_promise(self) -> jsii.Number: - \\"\\"\\"This method calls the \\"callMe\\" async method indirectly, which will then invoke a virtual method. + """This method calls the "callMe" async method indirectly, which will then invoke a virtual method. - This is a \\"double promise\\" situation, which + This is a "double promise" situation, which means that callbacks are not going to be available immediate, but only - after an \\"immediates\\" cycle. + after an "immediates" cycle. stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"callMeDoublePromise\\", []) + """ + return jsii.ainvoke(self, "callMeDoublePromise", []) - @jsii.member(jsii_name=\\"dontOverrideMe\\") + @jsii.member(jsii_name="dontOverrideMe") def dont_override_me(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"dontOverrideMe\\", []) + """ + return jsii.invoke(self, "dontOverrideMe", []) - @jsii.member(jsii_name=\\"overrideMe\\") + @jsii.member(jsii_name="overrideMe") def override_me(self, mult: jsii.Number) -> jsii.Number: - \\"\\"\\" + """ :param mult: - stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"overrideMe\\", [mult]) + """ + return jsii.ainvoke(self, "overrideMe", [mult]) - @jsii.member(jsii_name=\\"overrideMeToo\\") + @jsii.member(jsii_name="overrideMeToo") def override_me_too(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"overrideMeToo\\", []) + """ + return jsii.ainvoke(self, "overrideMeToo", []) -class AugmentableClass(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.AugmentableClass\\"): - \\"\\"\\" +class AugmentableClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.AugmentableClass"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(AugmentableClass, self, []) - @jsii.member(jsii_name=\\"methodOne\\") + @jsii.member(jsii_name="methodOne") def method_one(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"methodOne\\", []) + """ + return jsii.invoke(self, "methodOne", []) - @jsii.member(jsii_name=\\"methodTwo\\") + @jsii.member(jsii_name="methodTwo") def method_two(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"methodTwo\\", []) + """ + return jsii.invoke(self, "methodTwo", []) -class BaseJsii976(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.BaseJsii976\\"): - \\"\\"\\" +class BaseJsii976(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.BaseJsii976"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(BaseJsii976, self, []) @@ -57547,13 +56555,13 @@ class BaseJsii976(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.BaseJsii976\\" class BinaryOperation( scope.jsii_calc_lib.Operation, metaclass=jsii.JSIIAbstractClass, - jsii_type=\\"jsii-calc.BinaryOperation\\", + jsii_type="jsii-calc.BinaryOperation", ): - \\"\\"\\"Represents an operation with two operands. + """Represents an operation with two operands. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): @@ -57562,44 +56570,44 @@ class BinaryOperation( def __init__( self, lhs: scope.jsii_calc_lib.Value, rhs: scope.jsii_calc_lib.Value ) -> None: - \\"\\"\\"Creates a BinaryOperation. + """Creates a BinaryOperation. :param lhs: Left-hand side operand. :param rhs: Right-hand side operand. stability :stability: experimental - \\"\\"\\" + """ jsii.create(BinaryOperation, self, [lhs, rhs]) - @jsii.member(jsii_name=\\"hello\\") + @jsii.member(jsii_name="hello") def hello(self) -> str: - \\"\\"\\"Say hello! + """Say hello! stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"hello\\", []) + """ + return jsii.invoke(self, "hello", []) @builtins.property - @jsii.member(jsii_name=\\"lhs\\") + @jsii.member(jsii_name="lhs") def lhs(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"Left-hand side operand. + """Left-hand side operand. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"lhs\\") + """ + return jsii.get(self, "lhs") @builtins.property - @jsii.member(jsii_name=\\"rhs\\") + @jsii.member(jsii_name="rhs") def rhs(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"Right-hand side operand. + """Right-hand side operand. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"rhs\\") + """ + return jsii.get(self, "rhs") class _BinaryOperationProxy( @@ -57609,37 +56617,37 @@ class _BinaryOperationProxy( class BurriedAnonymousObject( - metaclass=jsii.JSIIAbstractClass, jsii_type=\\"jsii-calc.BurriedAnonymousObject\\" + metaclass=jsii.JSIIAbstractClass, jsii_type="jsii-calc.BurriedAnonymousObject" ): - \\"\\"\\"See https://github.com/aws/aws-cdk/issues/7977. + """See https://github.com/aws/aws-cdk/issues/7977. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _BurriedAnonymousObjectProxy def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(BurriedAnonymousObject, self, []) - @jsii.member(jsii_name=\\"check\\") + @jsii.member(jsii_name="check") def check(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"check\\", []) + """ + return jsii.invoke(self, "check", []) - @jsii.member(jsii_name=\\"giveItBack\\") + @jsii.member(jsii_name="giveItBack") @abc.abstractmethod def give_it_back(self, value: typing.Any) -> typing.Any: - \\"\\"\\"Implement this method and have it return it's parameter. + """Implement this method and have it return it's parameter. :param value: the value that should be returned. @@ -57648,14 +56656,14 @@ class BurriedAnonymousObject( stability :stability: experimental - \\"\\"\\" + """ ... class _BurriedAnonymousObjectProxy(BurriedAnonymousObject): - @jsii.member(jsii_name=\\"giveItBack\\") + @jsii.member(jsii_name="giveItBack") def give_it_back(self, value: typing.Any) -> typing.Any: - \\"\\"\\"Implement this method and have it return it's parameter. + """Implement this method and have it return it's parameter. :param value: the value that should be returned. @@ -57664,16 +56672,16 @@ class _BurriedAnonymousObjectProxy(BurriedAnonymousObject): stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"giveItBack\\", [value]) + """ + return jsii.invoke(self, "giveItBack", [value]) class Calculator( _CompositeOperation_1c4d123b, metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.Calculator\\", + jsii_type="jsii-calc.Calculator", ): - \\"\\"\\"A calculator which maintains a current value and allows adding operations. + """A calculator which maintains a current value and allows adding operations. Here's how you use it:: @@ -57695,7 +56703,7 @@ class Calculator( calculator.add(5) calculator.mul(3) print(calculator.expression.value) - \\"\\"\\" + """ def __init__( self, @@ -57703,154 +56711,154 @@ class Calculator( initial_value: typing.Optional[jsii.Number] = None, maximum_value: typing.Optional[jsii.Number] = None, ) -> None: - \\"\\"\\"Creates a Calculator object. + """Creates a Calculator object. :param initial_value: The initial value of the calculator. NOTE: Any number works here, it's fine. Default: 0 :param maximum_value: The maximum value the calculator can store. Default: none stability :stability: experimental - \\"\\"\\" + """ props = CalculatorProps( initial_value=initial_value, maximum_value=maximum_value ) jsii.create(Calculator, self, [props]) - @jsii.member(jsii_name=\\"add\\") + @jsii.member(jsii_name="add") def add(self, value: jsii.Number) -> None: - \\"\\"\\"Adds a number to the current value. + """Adds a number to the current value. :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"add\\", [value]) + """ + return jsii.invoke(self, "add", [value]) - @jsii.member(jsii_name=\\"mul\\") + @jsii.member(jsii_name="mul") def mul(self, value: jsii.Number) -> None: - \\"\\"\\"Multiplies the current value by a number. + """Multiplies the current value by a number. :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"mul\\", [value]) + """ + return jsii.invoke(self, "mul", [value]) - @jsii.member(jsii_name=\\"neg\\") + @jsii.member(jsii_name="neg") def neg(self) -> None: - \\"\\"\\"Negates the current value. + """Negates the current value. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"neg\\", []) + """ + return jsii.invoke(self, "neg", []) - @jsii.member(jsii_name=\\"pow\\") + @jsii.member(jsii_name="pow") def pow(self, value: jsii.Number) -> None: - \\"\\"\\"Raises the current value by a power. + """Raises the current value by a power. :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"pow\\", [value]) + """ + return jsii.invoke(self, "pow", [value]) - @jsii.member(jsii_name=\\"readUnionValue\\") + @jsii.member(jsii_name="readUnionValue") def read_union_value(self) -> jsii.Number: - \\"\\"\\"Returns teh value of the union property (if defined). + """Returns teh value of the union property (if defined). stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"readUnionValue\\", []) + """ + return jsii.invoke(self, "readUnionValue", []) @builtins.property - @jsii.member(jsii_name=\\"expression\\") + @jsii.member(jsii_name="expression") def expression(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"Returns the expression. + """Returns the expression. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"expression\\") + """ + return jsii.get(self, "expression") @builtins.property - @jsii.member(jsii_name=\\"operationsLog\\") + @jsii.member(jsii_name="operationsLog") def operations_log(self) -> typing.List[scope.jsii_calc_lib.Value]: - \\"\\"\\"A log of all operations. + """A log of all operations. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"operationsLog\\") + """ + return jsii.get(self, "operationsLog") @builtins.property - @jsii.member(jsii_name=\\"operationsMap\\") + @jsii.member(jsii_name="operationsMap") def operations_map( self, ) -> typing.Mapping[str, typing.List[scope.jsii_calc_lib.Value]]: - \\"\\"\\"A map of per operation name of all operations performed. + """A map of per operation name of all operations performed. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"operationsMap\\") + """ + return jsii.get(self, "operationsMap") @builtins.property - @jsii.member(jsii_name=\\"curr\\") + @jsii.member(jsii_name="curr") def curr(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"The current value. + """The current value. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"curr\\") + """ + return jsii.get(self, "curr") @curr.setter def curr(self, value: scope.jsii_calc_lib.Value) -> None: - jsii.set(self, \\"curr\\", value) + jsii.set(self, "curr", value) @builtins.property - @jsii.member(jsii_name=\\"maxValue\\") + @jsii.member(jsii_name="maxValue") def max_value(self) -> typing.Optional[jsii.Number]: - \\"\\"\\"The maximum value allows in this calculator. + """The maximum value allows in this calculator. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"maxValue\\") + """ + return jsii.get(self, "maxValue") @max_value.setter def max_value(self, value: typing.Optional[jsii.Number]) -> None: - jsii.set(self, \\"maxValue\\", value) + jsii.set(self, "maxValue", value) @builtins.property - @jsii.member(jsii_name=\\"unionProperty\\") + @jsii.member(jsii_name="unionProperty") def union_property( self, - ) -> typing.Optional[typing.Union[\\"Add\\", \\"Multiply\\", \\"Power\\"]]: - \\"\\"\\"Example of a property that accepts a union of types. + ) -> typing.Optional[typing.Union["Add", "Multiply", "Power"]]: + """Example of a property that accepts a union of types. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"unionProperty\\") + """ + return jsii.get(self, "unionProperty") @union_property.setter def union_property( - self, value: typing.Optional[typing.Union[\\"Add\\", \\"Multiply\\", \\"Power\\"]] + self, value: typing.Optional[typing.Union["Add", "Multiply", "Power"]] ) -> None: - jsii.set(self, \\"unionProperty\\", value) + jsii.set(self, "unionProperty", value) @jsii.data_type( - jsii_type=\\"jsii-calc.CalculatorProps\\", + jsii_type="jsii-calc.CalculatorProps", jsii_struct_bases=[], - name_mapping={\\"initial_value\\": \\"initialValue\\", \\"maximum_value\\": \\"maximumValue\\"}, + name_mapping={"initial_value": "initialValue", "maximum_value": "maximumValue"}, ) class CalculatorProps: def __init__( @@ -57859,23 +56867,23 @@ class CalculatorProps: initial_value: typing.Optional[jsii.Number] = None, maximum_value: typing.Optional[jsii.Number] = None, ) -> None: - \\"\\"\\"Properties for Calculator. + """Properties for Calculator. :param initial_value: The initial value of the calculator. NOTE: Any number works here, it's fine. Default: 0 :param maximum_value: The maximum value the calculator can store. Default: none stability :stability: experimental - \\"\\"\\" + """ self._values = {} if initial_value is not None: - self._values[\\"initial_value\\"] = initial_value + self._values["initial_value"] = initial_value if maximum_value is not None: - self._values[\\"maximum_value\\"] = maximum_value + self._values["maximum_value"] = maximum_value @builtins.property def initial_value(self) -> typing.Optional[jsii.Number]: - \\"\\"\\"The initial value of the calculator. + """The initial value of the calculator. NOTE: Any number works here, it's fine. @@ -57884,20 +56892,20 @@ class CalculatorProps: stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"initial_value\\") + """ + return self._values.get("initial_value") @builtins.property def maximum_value(self) -> typing.Optional[jsii.Number]: - \\"\\"\\"The maximum value the calculator can store. + """The maximum value the calculator can store. default :default: none stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"maximum_value\\") + """ + return self._values.get("maximum_value") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -57906,102 +56914,102 @@ class CalculatorProps: return not (rhs == self) def __repr__(self) -> str: - return \\"CalculatorProps(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "CalculatorProps(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class ClassWithCollections( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ClassWithCollections\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ClassWithCollections" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self, map: typing.Mapping[str, str], array: typing.List[str]) -> None: - \\"\\"\\" + """ :param map: - :param array: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(ClassWithCollections, self, [map, array]) - @jsii.member(jsii_name=\\"createAList\\") + @jsii.member(jsii_name="createAList") @builtins.classmethod def create_a_list(cls) -> typing.List[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"createAList\\", []) + """ + return jsii.sinvoke(cls, "createAList", []) - @jsii.member(jsii_name=\\"createAMap\\") + @jsii.member(jsii_name="createAMap") @builtins.classmethod def create_a_map(cls) -> typing.Mapping[str, str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"createAMap\\", []) + """ + return jsii.sinvoke(cls, "createAMap", []) @jsii.python.classproperty - @jsii.member(jsii_name=\\"staticArray\\") + @jsii.member(jsii_name="staticArray") def static_array(cls) -> typing.List[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"staticArray\\") + """ + return jsii.sget(cls, "staticArray") @static_array.setter def static_array(cls, value: typing.List[str]) -> None: - jsii.sset(cls, \\"staticArray\\", value) + jsii.sset(cls, "staticArray", value) @jsii.python.classproperty - @jsii.member(jsii_name=\\"staticMap\\") + @jsii.member(jsii_name="staticMap") def static_map(cls) -> typing.Mapping[str, str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"staticMap\\") + """ + return jsii.sget(cls, "staticMap") @static_map.setter def static_map(cls, value: typing.Mapping[str, str]) -> None: - jsii.sset(cls, \\"staticMap\\", value) + jsii.sset(cls, "staticMap", value) @builtins.property - @jsii.member(jsii_name=\\"array\\") + @jsii.member(jsii_name="array") def array(self) -> typing.List[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"array\\") + """ + return jsii.get(self, "array") @array.setter def array(self, value: typing.List[str]) -> None: - jsii.set(self, \\"array\\", value) + jsii.set(self, "array", value) @builtins.property - @jsii.member(jsii_name=\\"map\\") + @jsii.member(jsii_name="map") def map(self) -> typing.Mapping[str, str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"map\\") + """ + return jsii.get(self, "map") @map.setter def map(self, value: typing.Mapping[str, str]) -> None: - jsii.set(self, \\"map\\", value) + jsii.set(self, "map", value) -class ClassWithDocs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ClassWithDocs\\"): - \\"\\"\\"This class has docs. +class ClassWithDocs(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ClassWithDocs"): + """This class has docs. The docs are great. They're a bunch of tags. @@ -58015,161 +57023,161 @@ class ClassWithDocs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ClassWithDoc # Example automatically generated. See https://github.com/aws/jsii/issues/826 def an_example(): pass - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ClassWithDocs, self, []) class ClassWithJavaReservedWords( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ClassWithJavaReservedWords\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ClassWithJavaReservedWords" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self, int: str) -> None: - \\"\\"\\" + """ :param int: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(ClassWithJavaReservedWords, self, [int]) - @jsii.member(jsii_name=\\"import\\") + @jsii.member(jsii_name="import") def import_(self, assert_: str) -> str: - \\"\\"\\" + """ :param assert_: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"import\\", [assert_]) + """ + return jsii.invoke(self, "import", [assert_]) @builtins.property - @jsii.member(jsii_name=\\"int\\") + @jsii.member(jsii_name="int") def int(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"int\\") + """ + return jsii.get(self, "int") class ClassWithMutableObjectLiteralProperty( metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.ClassWithMutableObjectLiteralProperty\\", + jsii_type="jsii-calc.ClassWithMutableObjectLiteralProperty", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ClassWithMutableObjectLiteralProperty, self, []) @builtins.property - @jsii.member(jsii_name=\\"mutableObject\\") - def mutable_object(self) -> \\"IMutableObjectLiteral\\": - \\"\\"\\" + @jsii.member(jsii_name="mutableObject") + def mutable_object(self) -> "IMutableObjectLiteral": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"mutableObject\\") + """ + return jsii.get(self, "mutableObject") @mutable_object.setter - def mutable_object(self, value: \\"IMutableObjectLiteral\\") -> None: - jsii.set(self, \\"mutableObject\\", value) + def mutable_object(self, value: "IMutableObjectLiteral") -> None: + jsii.set(self, "mutableObject", value) class ConfusingToJackson( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ConfusingToJackson\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ConfusingToJackson" ): - \\"\\"\\"This tries to confuse Jackson by having overloaded property setters. + """This tries to confuse Jackson by having overloaded property setters. see :see: https://github.com/aws/aws-cdk/issues/4080 stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"makeInstance\\") + @jsii.member(jsii_name="makeInstance") @builtins.classmethod - def make_instance(cls) -> \\"ConfusingToJackson\\": - \\"\\"\\" + def make_instance(cls) -> "ConfusingToJackson": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"makeInstance\\", []) + """ + return jsii.sinvoke(cls, "makeInstance", []) - @jsii.member(jsii_name=\\"makeStructInstance\\") + @jsii.member(jsii_name="makeStructInstance") @builtins.classmethod - def make_struct_instance(cls) -> \\"ConfusingToJacksonStruct\\": - \\"\\"\\" + def make_struct_instance(cls) -> "ConfusingToJacksonStruct": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"makeStructInstance\\", []) + """ + return jsii.sinvoke(cls, "makeStructInstance", []) @builtins.property - @jsii.member(jsii_name=\\"unionProperty\\") + @jsii.member(jsii_name="unionProperty") def union_property( self, - ) -> typing.Optional[typing.Union[scope.jsii_calc_lib.IFriendly, typing.List[typing.Union[scope.jsii_calc_lib.IFriendly, \\"AbstractClass\\"]]]]: - \\"\\"\\" + ) -> typing.Optional[typing.Union[scope.jsii_calc_lib.IFriendly, typing.List[typing.Union[scope.jsii_calc_lib.IFriendly, "AbstractClass"]]]]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"unionProperty\\") + """ + return jsii.get(self, "unionProperty") @union_property.setter def union_property( self, - value: typing.Optional[typing.Union[scope.jsii_calc_lib.IFriendly, typing.List[typing.Union[scope.jsii_calc_lib.IFriendly, \\"AbstractClass\\"]]]], + value: typing.Optional[typing.Union[scope.jsii_calc_lib.IFriendly, typing.List[typing.Union[scope.jsii_calc_lib.IFriendly, "AbstractClass"]]]], ) -> None: - jsii.set(self, \\"unionProperty\\", value) + jsii.set(self, "unionProperty", value) @jsii.data_type( - jsii_type=\\"jsii-calc.ConfusingToJacksonStruct\\", + jsii_type="jsii-calc.ConfusingToJacksonStruct", jsii_struct_bases=[], - name_mapping={\\"union_property\\": \\"unionProperty\\"}, + name_mapping={"union_property": "unionProperty"}, ) class ConfusingToJacksonStruct: def __init__( self, *, - union_property: typing.Optional[typing.Union[scope.jsii_calc_lib.IFriendly, typing.List[typing.Union[scope.jsii_calc_lib.IFriendly, \\"AbstractClass\\"]]]] = None, + union_property: typing.Optional[typing.Union[scope.jsii_calc_lib.IFriendly, typing.List[typing.Union[scope.jsii_calc_lib.IFriendly, "AbstractClass"]]]] = None, ) -> None: - \\"\\"\\" + """ :param union_property: stability :stability: experimental - \\"\\"\\" + """ self._values = {} if union_property is not None: - self._values[\\"union_property\\"] = union_property + self._values["union_property"] = union_property @builtins.property def union_property( self, - ) -> typing.Optional[typing.Union[scope.jsii_calc_lib.IFriendly, typing.List[typing.Union[scope.jsii_calc_lib.IFriendly, \\"AbstractClass\\"]]]]: - \\"\\"\\" + ) -> typing.Optional[typing.Union[scope.jsii_calc_lib.IFriendly, typing.List[typing.Union[scope.jsii_calc_lib.IFriendly, "AbstractClass"]]]]: + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"union_property\\") + """ + return self._values.get("union_property") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -58178,155 +57186,155 @@ class ConfusingToJacksonStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"ConfusingToJacksonStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "ConfusingToJacksonStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class ConstructorPassesThisOut( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ConstructorPassesThisOut\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ConstructorPassesThisOut" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - def __init__(self, consumer: \\"PartiallyInitializedThisConsumer\\") -> None: - \\"\\"\\" + def __init__(self, consumer: "PartiallyInitializedThisConsumer") -> None: + """ :param consumer: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(ConstructorPassesThisOut, self, [consumer]) -class Constructors(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Constructors\\"): - \\"\\"\\" +class Constructors(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Constructors"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Constructors, self, []) - @jsii.member(jsii_name=\\"hiddenInterface\\") + @jsii.member(jsii_name="hiddenInterface") @builtins.classmethod - def hidden_interface(cls) -> \\"IPublicInterface\\": - \\"\\"\\" + def hidden_interface(cls) -> "IPublicInterface": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"hiddenInterface\\", []) + """ + return jsii.sinvoke(cls, "hiddenInterface", []) - @jsii.member(jsii_name=\\"hiddenInterfaces\\") + @jsii.member(jsii_name="hiddenInterfaces") @builtins.classmethod - def hidden_interfaces(cls) -> typing.List[\\"IPublicInterface\\"]: - \\"\\"\\" + def hidden_interfaces(cls) -> typing.List["IPublicInterface"]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"hiddenInterfaces\\", []) + """ + return jsii.sinvoke(cls, "hiddenInterfaces", []) - @jsii.member(jsii_name=\\"hiddenSubInterfaces\\") + @jsii.member(jsii_name="hiddenSubInterfaces") @builtins.classmethod - def hidden_sub_interfaces(cls) -> typing.List[\\"IPublicInterface\\"]: - \\"\\"\\" + def hidden_sub_interfaces(cls) -> typing.List["IPublicInterface"]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"hiddenSubInterfaces\\", []) + """ + return jsii.sinvoke(cls, "hiddenSubInterfaces", []) - @jsii.member(jsii_name=\\"makeClass\\") + @jsii.member(jsii_name="makeClass") @builtins.classmethod - def make_class(cls) -> \\"PublicClass\\": - \\"\\"\\" + def make_class(cls) -> "PublicClass": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"makeClass\\", []) + """ + return jsii.sinvoke(cls, "makeClass", []) - @jsii.member(jsii_name=\\"makeInterface\\") + @jsii.member(jsii_name="makeInterface") @builtins.classmethod - def make_interface(cls) -> \\"IPublicInterface\\": - \\"\\"\\" + def make_interface(cls) -> "IPublicInterface": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"makeInterface\\", []) + """ + return jsii.sinvoke(cls, "makeInterface", []) - @jsii.member(jsii_name=\\"makeInterface2\\") + @jsii.member(jsii_name="makeInterface2") @builtins.classmethod - def make_interface2(cls) -> \\"IPublicInterface2\\": - \\"\\"\\" + def make_interface2(cls) -> "IPublicInterface2": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"makeInterface2\\", []) + """ + return jsii.sinvoke(cls, "makeInterface2", []) - @jsii.member(jsii_name=\\"makeInterfaces\\") + @jsii.member(jsii_name="makeInterfaces") @builtins.classmethod - def make_interfaces(cls) -> typing.List[\\"IPublicInterface\\"]: - \\"\\"\\" + def make_interfaces(cls) -> typing.List["IPublicInterface"]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"makeInterfaces\\", []) + """ + return jsii.sinvoke(cls, "makeInterfaces", []) class ConsumePureInterface( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ConsumePureInterface\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ConsumePureInterface" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - def __init__(self, delegate: \\"IStructReturningDelegate\\") -> None: - \\"\\"\\" + def __init__(self, delegate: "IStructReturningDelegate") -> None: + """ :param delegate: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(ConsumePureInterface, self, [delegate]) - @jsii.member(jsii_name=\\"workItBaby\\") - def work_it_baby(self) -> \\"StructB\\": - \\"\\"\\" + @jsii.member(jsii_name="workItBaby") + def work_it_baby(self) -> "StructB": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"workItBaby\\", []) + """ + return jsii.invoke(self, "workItBaby", []) class ConsumerCanRingBell( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ConsumerCanRingBell\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ConsumerCanRingBell" ): - \\"\\"\\"Test calling back to consumers that implement interfaces. + """Test calling back to consumers that implement interfaces. Check that if a JSII consumer implements IConsumerWithInterfaceParam, they can call the method on the argument that they're passed... stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ConsumerCanRingBell, self, []) - @jsii.member(jsii_name=\\"staticImplementedByObjectLiteral\\") + @jsii.member(jsii_name="staticImplementedByObjectLiteral") @builtins.classmethod - def static_implemented_by_object_literal(cls, ringer: \\"IBellRinger\\") -> bool: - \\"\\"\\"...if the interface is implemented using an object literal. + def static_implemented_by_object_literal(cls, ringer: "IBellRinger") -> bool: + """...if the interface is implemented using an object literal. Returns whether the bell was rung. @@ -58334,13 +57342,13 @@ class ConsumerCanRingBell( stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"staticImplementedByObjectLiteral\\", [ringer]) + """ + return jsii.sinvoke(cls, "staticImplementedByObjectLiteral", [ringer]) - @jsii.member(jsii_name=\\"staticImplementedByPrivateClass\\") + @jsii.member(jsii_name="staticImplementedByPrivateClass") @builtins.classmethod - def static_implemented_by_private_class(cls, ringer: \\"IBellRinger\\") -> bool: - \\"\\"\\"...if the interface is implemented using a private class. + def static_implemented_by_private_class(cls, ringer: "IBellRinger") -> bool: + """...if the interface is implemented using a private class. Return whether the bell was rung. @@ -58348,13 +57356,13 @@ class ConsumerCanRingBell( stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"staticImplementedByPrivateClass\\", [ringer]) + """ + return jsii.sinvoke(cls, "staticImplementedByPrivateClass", [ringer]) - @jsii.member(jsii_name=\\"staticImplementedByPublicClass\\") + @jsii.member(jsii_name="staticImplementedByPublicClass") @builtins.classmethod - def static_implemented_by_public_class(cls, ringer: \\"IBellRinger\\") -> bool: - \\"\\"\\"...if the interface is implemented using a public class. + def static_implemented_by_public_class(cls, ringer: "IBellRinger") -> bool: + """...if the interface is implemented using a public class. Return whether the bell was rung. @@ -58362,13 +57370,13 @@ class ConsumerCanRingBell( stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"staticImplementedByPublicClass\\", [ringer]) + """ + return jsii.sinvoke(cls, "staticImplementedByPublicClass", [ringer]) - @jsii.member(jsii_name=\\"staticWhenTypedAsClass\\") + @jsii.member(jsii_name="staticWhenTypedAsClass") @builtins.classmethod - def static_when_typed_as_class(cls, ringer: \\"IConcreteBellRinger\\") -> bool: - \\"\\"\\"If the parameter is a concrete class instead of an interface. + def static_when_typed_as_class(cls, ringer: "IConcreteBellRinger") -> bool: + """If the parameter is a concrete class instead of an interface. Return whether the bell was rung. @@ -58376,12 +57384,12 @@ class ConsumerCanRingBell( stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"staticWhenTypedAsClass\\", [ringer]) + """ + return jsii.sinvoke(cls, "staticWhenTypedAsClass", [ringer]) - @jsii.member(jsii_name=\\"implementedByObjectLiteral\\") - def implemented_by_object_literal(self, ringer: \\"IBellRinger\\") -> bool: - \\"\\"\\"...if the interface is implemented using an object literal. + @jsii.member(jsii_name="implementedByObjectLiteral") + def implemented_by_object_literal(self, ringer: "IBellRinger") -> bool: + """...if the interface is implemented using an object literal. Returns whether the bell was rung. @@ -58389,12 +57397,12 @@ class ConsumerCanRingBell( stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"implementedByObjectLiteral\\", [ringer]) + """ + return jsii.invoke(self, "implementedByObjectLiteral", [ringer]) - @jsii.member(jsii_name=\\"implementedByPrivateClass\\") - def implemented_by_private_class(self, ringer: \\"IBellRinger\\") -> bool: - \\"\\"\\"...if the interface is implemented using a private class. + @jsii.member(jsii_name="implementedByPrivateClass") + def implemented_by_private_class(self, ringer: "IBellRinger") -> bool: + """...if the interface is implemented using a private class. Return whether the bell was rung. @@ -58402,12 +57410,12 @@ class ConsumerCanRingBell( stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"implementedByPrivateClass\\", [ringer]) + """ + return jsii.invoke(self, "implementedByPrivateClass", [ringer]) - @jsii.member(jsii_name=\\"implementedByPublicClass\\") - def implemented_by_public_class(self, ringer: \\"IBellRinger\\") -> bool: - \\"\\"\\"...if the interface is implemented using a public class. + @jsii.member(jsii_name="implementedByPublicClass") + def implemented_by_public_class(self, ringer: "IBellRinger") -> bool: + """...if the interface is implemented using a public class. Return whether the bell was rung. @@ -58415,12 +57423,12 @@ class ConsumerCanRingBell( stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"implementedByPublicClass\\", [ringer]) + """ + return jsii.invoke(self, "implementedByPublicClass", [ringer]) - @jsii.member(jsii_name=\\"whenTypedAsClass\\") - def when_typed_as_class(self, ringer: \\"IConcreteBellRinger\\") -> bool: - \\"\\"\\"If the parameter is a concrete class instead of an interface. + @jsii.member(jsii_name="whenTypedAsClass") + def when_typed_as_class(self, ringer: "IConcreteBellRinger") -> bool: + """If the parameter is a concrete class instead of an interface. Return whether the bell was rung. @@ -58428,63 +57436,63 @@ class ConsumerCanRingBell( stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"whenTypedAsClass\\", [ringer]) + """ + return jsii.invoke(self, "whenTypedAsClass", [ringer]) class ConsumersOfThisCrazyTypeSystem( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ConsumersOfThisCrazyTypeSystem\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ConsumersOfThisCrazyTypeSystem" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ConsumersOfThisCrazyTypeSystem, self, []) - @jsii.member(jsii_name=\\"consumeAnotherPublicInterface\\") - def consume_another_public_interface(self, obj: \\"IAnotherPublicInterface\\") -> str: - \\"\\"\\" + @jsii.member(jsii_name="consumeAnotherPublicInterface") + def consume_another_public_interface(self, obj: "IAnotherPublicInterface") -> str: + """ :param obj: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"consumeAnotherPublicInterface\\", [obj]) + """ + return jsii.invoke(self, "consumeAnotherPublicInterface", [obj]) - @jsii.member(jsii_name=\\"consumeNonInternalInterface\\") + @jsii.member(jsii_name="consumeNonInternalInterface") def consume_non_internal_interface( - self, obj: \\"INonInternalInterface\\" + self, obj: "INonInternalInterface" ) -> typing.Any: - \\"\\"\\" + """ :param obj: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"consumeNonInternalInterface\\", [obj]) + """ + return jsii.invoke(self, "consumeNonInternalInterface", [obj]) -class DataRenderer(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DataRenderer\\"): - \\"\\"\\"Verifies proper type handling through dynamic overrides. +class DataRenderer(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DataRenderer"): + """Verifies proper type handling through dynamic overrides. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(DataRenderer, self, []) - @jsii.member(jsii_name=\\"render\\") + @jsii.member(jsii_name="render") def render( self, *, @@ -58492,48 +57500,48 @@ class DataRenderer(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DataRenderer\ astring: str, first_optional: typing.Optional[typing.List[str]] = None, ) -> str: - \\"\\"\\" + """ :param anumber: An awesome number value. :param astring: A string value. :param first_optional: stability :stability: experimental - \\"\\"\\" + """ data = scope.jsii_calc_lib.MyFirstStruct( anumber=anumber, astring=astring, first_optional=first_optional ) - return jsii.invoke(self, \\"render\\", [data]) + return jsii.invoke(self, "render", [data]) - @jsii.member(jsii_name=\\"renderArbitrary\\") + @jsii.member(jsii_name="renderArbitrary") def render_arbitrary(self, data: typing.Mapping[str, typing.Any]) -> str: - \\"\\"\\" + """ :param data: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"renderArbitrary\\", [data]) + """ + return jsii.invoke(self, "renderArbitrary", [data]) - @jsii.member(jsii_name=\\"renderMap\\") + @jsii.member(jsii_name="renderMap") def render_map(self, map: typing.Mapping[str, typing.Any]) -> str: - \\"\\"\\" + """ :param map: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"renderMap\\", [map]) + """ + return jsii.invoke(self, "renderMap", [map]) class DefaultedConstructorArgument( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DefaultedConstructorArgument\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DefaultedConstructorArgument" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__( self, @@ -58541,182 +57549,182 @@ class DefaultedConstructorArgument( arg2: typing.Optional[str] = None, arg3: typing.Optional[datetime.datetime] = None, ) -> None: - \\"\\"\\" + """ :param arg1: - :param arg2: - :param arg3: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(DefaultedConstructorArgument, self, [arg1, arg2, arg3]) @builtins.property - @jsii.member(jsii_name=\\"arg1\\") + @jsii.member(jsii_name="arg1") def arg1(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"arg1\\") + """ + return jsii.get(self, "arg1") @builtins.property - @jsii.member(jsii_name=\\"arg3\\") + @jsii.member(jsii_name="arg3") def arg3(self) -> datetime.datetime: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"arg3\\") + """ + return jsii.get(self, "arg3") @builtins.property - @jsii.member(jsii_name=\\"arg2\\") + @jsii.member(jsii_name="arg2") def arg2(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"arg2\\") + """ + return jsii.get(self, "arg2") -class Demonstrate982(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Demonstrate982\\"): - \\"\\"\\"1. +class Demonstrate982(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Demonstrate982"): + """1. call #takeThis() -> An ObjectRef will be provisioned for the value (it'll be re-used!) 2. call #takeThisToo() -> The ObjectRef from before will need to be down-cased to the ParentStruct982 type stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Demonstrate982, self, []) - @jsii.member(jsii_name=\\"takeThis\\") + @jsii.member(jsii_name="takeThis") @builtins.classmethod - def take_this(cls) -> \\"ChildStruct982\\": - \\"\\"\\"It's dangerous to go alone! + def take_this(cls) -> "ChildStruct982": + """It's dangerous to go alone! stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"takeThis\\", []) + """ + return jsii.sinvoke(cls, "takeThis", []) - @jsii.member(jsii_name=\\"takeThisToo\\") + @jsii.member(jsii_name="takeThisToo") @builtins.classmethod - def take_this_too(cls) -> \\"ParentStruct982\\": - \\"\\"\\"It's dangerous to go alone! + def take_this_too(cls) -> "ParentStruct982": + """It's dangerous to go alone! stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"takeThisToo\\", []) + """ + return jsii.sinvoke(cls, "takeThisToo", []) -class DeprecatedClass(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DeprecatedClass\\"): - \\"\\"\\" +class DeprecatedClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DeprecatedClass"): + """ deprecated :deprecated: a pretty boring class stability :stability: deprecated - \\"\\"\\" + """ def __init__( self, readonly_string: str, mutable_number: typing.Optional[jsii.Number] = None ) -> None: - \\"\\"\\" + """ :param readonly_string: - :param mutable_number: - deprecated - :deprecated: this constructor is \\"just\\" okay + :deprecated: this constructor is "just" okay stability :stability: deprecated - \\"\\"\\" + """ jsii.create(DeprecatedClass, self, [readonly_string, mutable_number]) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - \\"\\"\\" + """ deprecated :deprecated: it was a bad idea stability :stability: deprecated - \\"\\"\\" - return jsii.invoke(self, \\"method\\", []) + """ + return jsii.invoke(self, "method", []) @builtins.property - @jsii.member(jsii_name=\\"readonlyProperty\\") + @jsii.member(jsii_name="readonlyProperty") def readonly_property(self) -> str: - \\"\\"\\" + """ deprecated - :deprecated: this is not always \\"wazoo\\", be ready to be disappointed + :deprecated: this is not always "wazoo", be ready to be disappointed stability :stability: deprecated - \\"\\"\\" - return jsii.get(self, \\"readonlyProperty\\") + """ + return jsii.get(self, "readonlyProperty") @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ deprecated :deprecated: shouldn't have been mutable stability :stability: deprecated - \\"\\"\\" - return jsii.get(self, \\"mutableProperty\\") + """ + return jsii.get(self, "mutableProperty") @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: - jsii.set(self, \\"mutableProperty\\", value) + jsii.set(self, "mutableProperty", value) -@jsii.enum(jsii_type=\\"jsii-calc.DeprecatedEnum\\") +@jsii.enum(jsii_type="jsii-calc.DeprecatedEnum") class DeprecatedEnum(enum.Enum): - \\"\\"\\" + """ deprecated :deprecated: your deprecated selection of bad options stability :stability: deprecated - \\"\\"\\" + """ - OPTION_A = \\"OPTION_A\\" - \\"\\"\\" + OPTION_A = "OPTION_A" + """ deprecated :deprecated: option A is not great stability :stability: deprecated - \\"\\"\\" - OPTION_B = \\"OPTION_B\\" - \\"\\"\\" + """ + OPTION_B = "OPTION_B" + """ deprecated :deprecated: option B is kinda bad, too stability :stability: deprecated - \\"\\"\\" + """ @jsii.data_type( - jsii_type=\\"jsii-calc.DeprecatedStruct\\", + jsii_type="jsii-calc.DeprecatedStruct", jsii_struct_bases=[], - name_mapping={\\"readonly_property\\": \\"readonlyProperty\\"}, + name_mapping={"readonly_property": "readonlyProperty"}, ) class DeprecatedStruct: def __init__(self, *, readonly_property: str) -> None: - \\"\\"\\" + """ :param readonly_property: deprecated @@ -58724,21 +57732,21 @@ class DeprecatedStruct: stability :stability: deprecated - \\"\\"\\" + """ self._values = { - \\"readonly_property\\": readonly_property, + "readonly_property": readonly_property, } @builtins.property def readonly_property(self) -> str: - \\"\\"\\" + """ deprecated :deprecated: well, yeah stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"readonly_property\\") + """ + return self._values.get("readonly_property") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -58747,24 +57755,24 @@ class DeprecatedStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"DeprecatedStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "DeprecatedStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"jsii-calc.DerivedStruct\\", + jsii_type="jsii-calc.DerivedStruct", jsii_struct_bases=[scope.jsii_calc_lib.MyFirstStruct], name_mapping={ - \\"anumber\\": \\"anumber\\", - \\"astring\\": \\"astring\\", - \\"first_optional\\": \\"firstOptional\\", - \\"another_required\\": \\"anotherRequired\\", - \\"bool\\": \\"bool\\", - \\"non_primitive\\": \\"nonPrimitive\\", - \\"another_optional\\": \\"anotherOptional\\", - \\"optional_any\\": \\"optionalAny\\", - \\"optional_array\\": \\"optionalArray\\", + "anumber": "anumber", + "astring": "astring", + "first_optional": "firstOptional", + "another_required": "anotherRequired", + "bool": "bool", + "non_primitive": "nonPrimitive", + "another_optional": "anotherOptional", + "optional_any": "optionalAny", + "optional_array": "optionalArray", }, ) class DerivedStruct(scope.jsii_calc_lib.MyFirstStruct): @@ -58776,12 +57784,12 @@ class DerivedStruct(scope.jsii_calc_lib.MyFirstStruct): first_optional: typing.Optional[typing.List[str]] = None, another_required: datetime.datetime, bool: bool, - non_primitive: \\"DoubleTrouble\\", + non_primitive: "DoubleTrouble", another_optional: typing.Optional[typing.Mapping[str, scope.jsii_calc_lib.Value]] = None, optional_any: typing.Any = None, optional_array: typing.Optional[typing.List[str]] = None, ) -> None: - \\"\\"\\"A struct which derives from another struct. + """A struct which derives from another struct. :param anumber: An awesome number value. :param astring: A string value. @@ -58795,100 +57803,100 @@ class DerivedStruct(scope.jsii_calc_lib.MyFirstStruct): stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"anumber\\": anumber, - \\"astring\\": astring, - \\"another_required\\": another_required, - \\"bool\\": bool, - \\"non_primitive\\": non_primitive, + "anumber": anumber, + "astring": astring, + "another_required": another_required, + "bool": bool, + "non_primitive": non_primitive, } if first_optional is not None: - self._values[\\"first_optional\\"] = first_optional + self._values["first_optional"] = first_optional if another_optional is not None: - self._values[\\"another_optional\\"] = another_optional + self._values["another_optional"] = another_optional if optional_any is not None: - self._values[\\"optional_any\\"] = optional_any + self._values["optional_any"] = optional_any if optional_array is not None: - self._values[\\"optional_array\\"] = optional_array + self._values["optional_array"] = optional_array @builtins.property def anumber(self) -> jsii.Number: - \\"\\"\\"An awesome number value. + """An awesome number value. stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"anumber\\") + """ + return self._values.get("anumber") @builtins.property def astring(self) -> str: - \\"\\"\\"A string value. + """A string value. stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"astring\\") + """ + return self._values.get("astring") @builtins.property def first_optional(self) -> typing.Optional[typing.List[str]]: - \\"\\"\\" + """ stability :stability: deprecated - \\"\\"\\" - return self._values.get(\\"first_optional\\") + """ + return self._values.get("first_optional") @builtins.property def another_required(self) -> datetime.datetime: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"another_required\\") + """ + return self._values.get("another_required") @builtins.property def bool(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"bool\\") + """ + return self._values.get("bool") @builtins.property - def non_primitive(self) -> \\"DoubleTrouble\\": - \\"\\"\\"An example of a non primitive property. + def non_primitive(self) -> "DoubleTrouble": + """An example of a non primitive property. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"non_primitive\\") + """ + return self._values.get("non_primitive") @builtins.property def another_optional( self, ) -> typing.Optional[typing.Mapping[str, scope.jsii_calc_lib.Value]]: - \\"\\"\\"This is optional. + """This is optional. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"another_optional\\") + """ + return self._values.get("another_optional") @builtins.property def optional_any(self) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"optional_any\\") + """ + return self._values.get("optional_any") @builtins.property def optional_array(self) -> typing.Optional[typing.List[str]]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"optional_array\\") + """ + return self._values.get("optional_array") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -58897,35 +57905,35 @@ class DerivedStruct(scope.jsii_calc_lib.MyFirstStruct): return not (rhs == self) def __repr__(self) -> str: - return \\"DerivedStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "DerivedStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"jsii-calc.DiamondInheritanceBaseLevelStruct\\", + jsii_type="jsii-calc.DiamondInheritanceBaseLevelStruct", jsii_struct_bases=[], - name_mapping={\\"base_level_property\\": \\"baseLevelProperty\\"}, + name_mapping={"base_level_property": "baseLevelProperty"}, ) class DiamondInheritanceBaseLevelStruct: def __init__(self, *, base_level_property: str) -> None: - \\"\\"\\" + """ :param base_level_property: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"base_level_property\\": base_level_property, + "base_level_property": base_level_property, } @builtins.property def base_level_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"base_level_property\\") + """ + return self._values.get("base_level_property") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -58934,50 +57942,50 @@ class DiamondInheritanceBaseLevelStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"DiamondInheritanceBaseLevelStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "DiamondInheritanceBaseLevelStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"jsii-calc.DiamondInheritanceFirstMidLevelStruct\\", + jsii_type="jsii-calc.DiamondInheritanceFirstMidLevelStruct", jsii_struct_bases=[DiamondInheritanceBaseLevelStruct], name_mapping={ - \\"base_level_property\\": \\"baseLevelProperty\\", - \\"first_mid_level_property\\": \\"firstMidLevelProperty\\", + "base_level_property": "baseLevelProperty", + "first_mid_level_property": "firstMidLevelProperty", }, ) class DiamondInheritanceFirstMidLevelStruct(DiamondInheritanceBaseLevelStruct): def __init__( self, *, base_level_property: str, first_mid_level_property: str ) -> None: - \\"\\"\\" + """ :param base_level_property: :param first_mid_level_property: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"base_level_property\\": base_level_property, - \\"first_mid_level_property\\": first_mid_level_property, + "base_level_property": base_level_property, + "first_mid_level_property": first_mid_level_property, } @builtins.property def base_level_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"base_level_property\\") + """ + return self._values.get("base_level_property") @builtins.property def first_mid_level_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"first_mid_level_property\\") + """ + return self._values.get("first_mid_level_property") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -58986,50 +57994,50 @@ class DiamondInheritanceFirstMidLevelStruct(DiamondInheritanceBaseLevelStruct): return not (rhs == self) def __repr__(self) -> str: - return \\"DiamondInheritanceFirstMidLevelStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "DiamondInheritanceFirstMidLevelStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"jsii-calc.DiamondInheritanceSecondMidLevelStruct\\", + jsii_type="jsii-calc.DiamondInheritanceSecondMidLevelStruct", jsii_struct_bases=[DiamondInheritanceBaseLevelStruct], name_mapping={ - \\"base_level_property\\": \\"baseLevelProperty\\", - \\"second_mid_level_property\\": \\"secondMidLevelProperty\\", + "base_level_property": "baseLevelProperty", + "second_mid_level_property": "secondMidLevelProperty", }, ) class DiamondInheritanceSecondMidLevelStruct(DiamondInheritanceBaseLevelStruct): def __init__( self, *, base_level_property: str, second_mid_level_property: str ) -> None: - \\"\\"\\" + """ :param base_level_property: :param second_mid_level_property: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"base_level_property\\": base_level_property, - \\"second_mid_level_property\\": second_mid_level_property, + "base_level_property": base_level_property, + "second_mid_level_property": second_mid_level_property, } @builtins.property def base_level_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"base_level_property\\") + """ + return self._values.get("base_level_property") @builtins.property def second_mid_level_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"second_mid_level_property\\") + """ + return self._values.get("second_mid_level_property") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -59038,21 +58046,21 @@ class DiamondInheritanceSecondMidLevelStruct(DiamondInheritanceBaseLevelStruct): return not (rhs == self) def __repr__(self) -> str: - return \\"DiamondInheritanceSecondMidLevelStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "DiamondInheritanceSecondMidLevelStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"jsii-calc.DiamondInheritanceTopLevelStruct\\", + jsii_type="jsii-calc.DiamondInheritanceTopLevelStruct", jsii_struct_bases=[ DiamondInheritanceFirstMidLevelStruct, DiamondInheritanceSecondMidLevelStruct ], name_mapping={ - \\"base_level_property\\": \\"baseLevelProperty\\", - \\"first_mid_level_property\\": \\"firstMidLevelProperty\\", - \\"second_mid_level_property\\": \\"secondMidLevelProperty\\", - \\"top_level_property\\": \\"topLevelProperty\\", + "base_level_property": "baseLevelProperty", + "first_mid_level_property": "firstMidLevelProperty", + "second_mid_level_property": "secondMidLevelProperty", + "top_level_property": "topLevelProperty", }, ) class DiamondInheritanceTopLevelStruct( @@ -59066,7 +58074,7 @@ class DiamondInheritanceTopLevelStruct( second_mid_level_property: str, top_level_property: str, ) -> None: - \\"\\"\\" + """ :param base_level_property: :param first_mid_level_property: :param second_mid_level_property: @@ -59074,45 +58082,45 @@ class DiamondInheritanceTopLevelStruct( stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"base_level_property\\": base_level_property, - \\"first_mid_level_property\\": first_mid_level_property, - \\"second_mid_level_property\\": second_mid_level_property, - \\"top_level_property\\": top_level_property, + "base_level_property": base_level_property, + "first_mid_level_property": first_mid_level_property, + "second_mid_level_property": second_mid_level_property, + "top_level_property": top_level_property, } @builtins.property def base_level_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"base_level_property\\") + """ + return self._values.get("base_level_property") @builtins.property def first_mid_level_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"first_mid_level_property\\") + """ + return self._values.get("first_mid_level_property") @builtins.property def second_mid_level_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"second_mid_level_property\\") + """ + return self._values.get("second_mid_level_property") @builtins.property def top_level_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"top_level_property\\") + """ + return self._values.get("top_level_property") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -59121,142 +58129,142 @@ class DiamondInheritanceTopLevelStruct( return not (rhs == self) def __repr__(self) -> str: - return \\"DiamondInheritanceTopLevelStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "DiamondInheritanceTopLevelStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class DisappointingCollectionSource( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DisappointingCollectionSource\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DisappointingCollectionSource" ): - \\"\\"\\"Verifies that null/undefined can be returned for optional collections. + """Verifies that null/undefined can be returned for optional collections. This source of collections is disappointing - it'll always give you nothing :( stability :stability: experimental - \\"\\"\\" + """ @jsii.python.classproperty - @jsii.member(jsii_name=\\"maybeList\\") + @jsii.member(jsii_name="maybeList") def MAYBE_LIST(cls) -> typing.Optional[typing.List[str]]: - \\"\\"\\"Some List of strings, maybe? + """Some List of strings, maybe? (Nah, just a billion dollars mistake!) stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"maybeList\\") + """ + return jsii.sget(cls, "maybeList") @jsii.python.classproperty - @jsii.member(jsii_name=\\"maybeMap\\") + @jsii.member(jsii_name="maybeMap") def MAYBE_MAP(cls) -> typing.Optional[typing.Mapping[str, jsii.Number]]: - \\"\\"\\"Some Map of strings to numbers, maybe? + """Some Map of strings to numbers, maybe? (Nah, just a billion dollars mistake!) stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"maybeMap\\") + """ + return jsii.sget(cls, "maybeMap") class DoNotOverridePrivates( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DoNotOverridePrivates\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DoNotOverridePrivates" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(DoNotOverridePrivates, self, []) - @jsii.member(jsii_name=\\"changePrivatePropertyValue\\") + @jsii.member(jsii_name="changePrivatePropertyValue") def change_private_property_value(self, new_value: str) -> None: - \\"\\"\\" + """ :param new_value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"changePrivatePropertyValue\\", [new_value]) + """ + return jsii.invoke(self, "changePrivatePropertyValue", [new_value]) - @jsii.member(jsii_name=\\"privateMethodValue\\") + @jsii.member(jsii_name="privateMethodValue") def private_method_value(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"privateMethodValue\\", []) + """ + return jsii.invoke(self, "privateMethodValue", []) - @jsii.member(jsii_name=\\"privatePropertyValue\\") + @jsii.member(jsii_name="privatePropertyValue") def private_property_value(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"privatePropertyValue\\", []) + """ + return jsii.invoke(self, "privatePropertyValue", []) class DoNotRecognizeAnyAsOptional( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DoNotRecognizeAnyAsOptional\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DoNotRecognizeAnyAsOptional" ): - \\"\\"\\"jsii#284: do not recognize \\"any\\" as an optional argument. + """jsii#284: do not recognize "any" as an optional argument. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(DoNotRecognizeAnyAsOptional, self, []) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method( self, _required_any: typing.Any, _optional_any: typing.Any = None, _optional_string: typing.Optional[str] = None, ) -> None: - \\"\\"\\" + """ :param _required_any: - :param _optional_any: - :param _optional_string: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"method\\", [_required_any, _optional_any, _optional_string]) + """ + return jsii.invoke(self, "method", [_required_any, _optional_any, _optional_string]) -class DocumentedClass(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DocumentedClass\\"): - \\"\\"\\"Here's the first line of the TSDoc comment. +class DocumentedClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DocumentedClass"): + """Here's the first line of the TSDoc comment. This is the meat of the TSDoc comment. It may contain multiple lines and multiple paragraphs. Multiple paragraphs are separated by an empty line. - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(DocumentedClass, self, []) - @jsii.member(jsii_name=\\"greet\\") + @jsii.member(jsii_name="greet") def greet(self, *, name: typing.Optional[str] = None) -> jsii.Number: - \\"\\"\\"Greet the indicated person. + """Greet the indicated person. This will print out a friendly greeting intended for the indicated person. @@ -59265,95 +58273,95 @@ class DocumentedClass(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Documented return :return: A number that everyone knows very well - \\"\\"\\" + """ greetee = Greetee(name=name) - return jsii.invoke(self, \\"greet\\", [greetee]) + return jsii.invoke(self, "greet", [greetee]) - @jsii.member(jsii_name=\\"hola\\") + @jsii.member(jsii_name="hola") def hola(self) -> None: - \\"\\"\\"Say ¡Hola! + """Say ¡Hola! stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"hola\\", []) + """ + return jsii.invoke(self, "hola", []) class DontComplainAboutVariadicAfterOptional( metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.DontComplainAboutVariadicAfterOptional\\", + jsii_type="jsii-calc.DontComplainAboutVariadicAfterOptional", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(DontComplainAboutVariadicAfterOptional, self, []) - @jsii.member(jsii_name=\\"optionalAndVariadic\\") + @jsii.member(jsii_name="optionalAndVariadic") def optional_and_variadic( self, optional: typing.Optional[str] = None, *things: str ) -> str: - \\"\\"\\" + """ :param optional: - :param things: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"optionalAndVariadic\\", [optional, *things]) + """ + return jsii.invoke(self, "optionalAndVariadic", [optional, *things]) -class EnumDispenser(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.EnumDispenser\\"): - \\"\\"\\" +class EnumDispenser(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.EnumDispenser"): + """ stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"randomIntegerLikeEnum\\") + @jsii.member(jsii_name="randomIntegerLikeEnum") @builtins.classmethod - def random_integer_like_enum(cls) -> \\"AllTypesEnum\\": - \\"\\"\\" + def random_integer_like_enum(cls) -> "AllTypesEnum": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"randomIntegerLikeEnum\\", []) + """ + return jsii.sinvoke(cls, "randomIntegerLikeEnum", []) - @jsii.member(jsii_name=\\"randomStringLikeEnum\\") + @jsii.member(jsii_name="randomStringLikeEnum") @builtins.classmethod - def random_string_like_enum(cls) -> \\"StringEnum\\": - \\"\\"\\" + def random_string_like_enum(cls) -> "StringEnum": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"randomStringLikeEnum\\", []) + """ + return jsii.sinvoke(cls, "randomStringLikeEnum", []) class EraseUndefinedHashValues( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.EraseUndefinedHashValues\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.EraseUndefinedHashValues" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(EraseUndefinedHashValues, self, []) - @jsii.member(jsii_name=\\"doesKeyExist\\") + @jsii.member(jsii_name="doesKeyExist") @builtins.classmethod - def does_key_exist(cls, opts: \\"EraseUndefinedHashValuesOptions\\", key: str) -> bool: - \\"\\"\\"Returns \`\`true\`\` if \`\`key\`\` is defined in \`\`opts\`\`. + def does_key_exist(cls, opts: "EraseUndefinedHashValuesOptions", key: str) -> bool: + """Returns \`\`true\`\` if \`\`key\`\` is defined in \`\`opts\`\`. Used to check that undefined/null hash values are being erased when sending values from native code to JS. @@ -59363,34 +58371,34 @@ class EraseUndefinedHashValues( stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"doesKeyExist\\", [opts, key]) + """ + return jsii.sinvoke(cls, "doesKeyExist", [opts, key]) - @jsii.member(jsii_name=\\"prop1IsNull\\") + @jsii.member(jsii_name="prop1IsNull") @builtins.classmethod def prop1_is_null(cls) -> typing.Mapping[str, typing.Any]: - \\"\\"\\"We expect \\"prop1\\" to be erased. + """We expect "prop1" to be erased. stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"prop1IsNull\\", []) + """ + return jsii.sinvoke(cls, "prop1IsNull", []) - @jsii.member(jsii_name=\\"prop2IsUndefined\\") + @jsii.member(jsii_name="prop2IsUndefined") @builtins.classmethod def prop2_is_undefined(cls) -> typing.Mapping[str, typing.Any]: - \\"\\"\\"We expect \\"prop2\\" to be erased. + """We expect "prop2" to be erased. stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"prop2IsUndefined\\", []) + """ + return jsii.sinvoke(cls, "prop2IsUndefined", []) @jsii.data_type( - jsii_type=\\"jsii-calc.EraseUndefinedHashValuesOptions\\", + jsii_type="jsii-calc.EraseUndefinedHashValuesOptions", jsii_struct_bases=[], - name_mapping={\\"option1\\": \\"option1\\", \\"option2\\": \\"option2\\"}, + name_mapping={"option1": "option1", "option2": "option2"}, ) class EraseUndefinedHashValuesOptions: def __init__( @@ -59399,34 +58407,34 @@ class EraseUndefinedHashValuesOptions: option1: typing.Optional[str] = None, option2: typing.Optional[str] = None, ) -> None: - \\"\\"\\" + """ :param option1: :param option2: stability :stability: experimental - \\"\\"\\" + """ self._values = {} if option1 is not None: - self._values[\\"option1\\"] = option1 + self._values["option1"] = option1 if option2 is not None: - self._values[\\"option2\\"] = option2 + self._values["option2"] = option2 @builtins.property def option1(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"option1\\") + """ + return self._values.get("option1") @builtins.property def option2(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"option2\\") + """ + return self._values.get("option2") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -59435,105 +58443,105 @@ class EraseUndefinedHashValuesOptions: return not (rhs == self) def __repr__(self) -> str: - return \\"EraseUndefinedHashValuesOptions(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "EraseUndefinedHashValuesOptions(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class ExperimentalClass( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ExperimentalClass\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ExperimentalClass" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__( self, readonly_string: str, mutable_number: typing.Optional[jsii.Number] = None ) -> None: - \\"\\"\\" + """ :param readonly_string: - :param mutable_number: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(ExperimentalClass, self, [readonly_string, mutable_number]) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"method\\", []) + """ + return jsii.invoke(self, "method", []) @builtins.property - @jsii.member(jsii_name=\\"readonlyProperty\\") + @jsii.member(jsii_name="readonlyProperty") def readonly_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"readonlyProperty\\") + """ + return jsii.get(self, "readonlyProperty") @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"mutableProperty\\") + """ + return jsii.get(self, "mutableProperty") @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: - jsii.set(self, \\"mutableProperty\\", value) + jsii.set(self, "mutableProperty", value) -@jsii.enum(jsii_type=\\"jsii-calc.ExperimentalEnum\\") +@jsii.enum(jsii_type="jsii-calc.ExperimentalEnum") class ExperimentalEnum(enum.Enum): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - OPTION_A = \\"OPTION_A\\" - \\"\\"\\" + OPTION_A = "OPTION_A" + """ stability :stability: experimental - \\"\\"\\" - OPTION_B = \\"OPTION_B\\" - \\"\\"\\" + """ + OPTION_B = "OPTION_B" + """ stability :stability: experimental - \\"\\"\\" + """ @jsii.data_type( - jsii_type=\\"jsii-calc.ExperimentalStruct\\", + jsii_type="jsii-calc.ExperimentalStruct", jsii_struct_bases=[], - name_mapping={\\"readonly_property\\": \\"readonlyProperty\\"}, + name_mapping={"readonly_property": "readonlyProperty"}, ) class ExperimentalStruct: def __init__(self, *, readonly_property: str) -> None: - \\"\\"\\" + """ :param readonly_property: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"readonly_property\\": readonly_property, + "readonly_property": readonly_property, } @builtins.property def readonly_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"readonly_property\\") + """ + return self._values.get("readonly_property") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -59542,72 +58550,72 @@ class ExperimentalStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"ExperimentalStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "ExperimentalStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class ExportedBaseClass( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ExportedBaseClass\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ExportedBaseClass" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self, success: bool) -> None: - \\"\\"\\" + """ :param success: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(ExportedBaseClass, self, [success]) @builtins.property - @jsii.member(jsii_name=\\"success\\") + @jsii.member(jsii_name="success") def success(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"success\\") + """ + return jsii.get(self, "success") @jsii.data_type( - jsii_type=\\"jsii-calc.ExtendsInternalInterface\\", + jsii_type="jsii-calc.ExtendsInternalInterface", jsii_struct_bases=[], - name_mapping={\\"boom\\": \\"boom\\", \\"prop\\": \\"prop\\"}, + name_mapping={"boom": "boom", "prop": "prop"}, ) class ExtendsInternalInterface: def __init__(self, *, boom: bool, prop: str) -> None: - \\"\\"\\" + """ :param boom: :param prop: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"boom\\": boom, - \\"prop\\": prop, + "boom": boom, + "prop": prop, } @builtins.property def boom(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"boom\\") + """ + return self._values.get("boom") @builtins.property def prop(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"prop\\") + """ + return self._values.get("prop") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -59616,23 +58624,23 @@ class ExtendsInternalInterface: return not (rhs == self) def __repr__(self) -> str: - return \\"ExtendsInternalInterface(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "ExtendsInternalInterface(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) -class ExternalClass(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ExternalClass\\"): - \\"\\"\\" +class ExternalClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ExternalClass"): + """ stability :stability: experimental external: :external:: true - \\"\\"\\" + """ def __init__( self, readonly_string: str, mutable_number: typing.Optional[jsii.Number] = None ) -> None: - \\"\\"\\" + """ :param readonly_string: - :param mutable_number: - @@ -59640,99 +58648,99 @@ class ExternalClass(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ExternalClas :stability: experimental external: :external:: true - \\"\\"\\" + """ jsii.create(ExternalClass, self, [readonly_string, mutable_number]) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" - return jsii.invoke(self, \\"method\\", []) + """ + return jsii.invoke(self, "method", []) @builtins.property - @jsii.member(jsii_name=\\"readonlyProperty\\") + @jsii.member(jsii_name="readonlyProperty") def readonly_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" - return jsii.get(self, \\"readonlyProperty\\") + """ + return jsii.get(self, "readonlyProperty") @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" - return jsii.get(self, \\"mutableProperty\\") + """ + return jsii.get(self, "mutableProperty") @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: - jsii.set(self, \\"mutableProperty\\", value) + jsii.set(self, "mutableProperty", value) -@jsii.enum(jsii_type=\\"jsii-calc.ExternalEnum\\") +@jsii.enum(jsii_type="jsii-calc.ExternalEnum") class ExternalEnum(enum.Enum): - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" + """ - OPTION_A = \\"OPTION_A\\" - \\"\\"\\" + OPTION_A = "OPTION_A" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" - OPTION_B = \\"OPTION_B\\" - \\"\\"\\" + """ + OPTION_B = "OPTION_B" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" + """ @jsii.data_type( - jsii_type=\\"jsii-calc.ExternalStruct\\", + jsii_type="jsii-calc.ExternalStruct", jsii_struct_bases=[], - name_mapping={\\"readonly_property\\": \\"readonlyProperty\\"}, + name_mapping={"readonly_property": "readonlyProperty"}, ) class ExternalStruct: def __init__(self, *, readonly_property: str) -> None: - \\"\\"\\" + """ :param readonly_property: stability :stability: experimental external: :external:: true - \\"\\"\\" + """ self._values = { - \\"readonly_property\\": readonly_property, + "readonly_property": readonly_property, } @builtins.property def readonly_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" - return self._values.get(\\"readonly_property\\") + """ + return self._values.get("readonly_property") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -59741,31 +58749,31 @@ class ExternalStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"ExternalStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "ExternalStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) -class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.GiveMeStructs\\"): - \\"\\"\\" +class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.GiveMeStructs"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(GiveMeStructs, self, []) - @jsii.member(jsii_name=\\"derivedToFirst\\") + @jsii.member(jsii_name="derivedToFirst") def derived_to_first( self, *, another_required: datetime.datetime, bool: bool, - non_primitive: \\"DoubleTrouble\\", + non_primitive: "DoubleTrouble", another_optional: typing.Optional[typing.Mapping[str, scope.jsii_calc_lib.Value]] = None, optional_any: typing.Any = None, optional_array: typing.Optional[typing.List[str]] = None, @@ -59773,7 +58781,7 @@ class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.GiveMeStruct astring: str, first_optional: typing.Optional[typing.List[str]] = None, ) -> scope.jsii_calc_lib.MyFirstStruct: - \\"\\"\\"Accepts a struct of type DerivedStruct and returns a struct of type FirstStruct. + """Accepts a struct of type DerivedStruct and returns a struct of type FirstStruct. :param another_required: :param bool: @@ -59787,7 +58795,7 @@ class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.GiveMeStruct stability :stability: experimental - \\"\\"\\" + """ derived = DerivedStruct( another_required=another_required, bool=bool, @@ -59800,23 +58808,23 @@ class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.GiveMeStruct first_optional=first_optional, ) - return jsii.invoke(self, \\"derivedToFirst\\", [derived]) + return jsii.invoke(self, "derivedToFirst", [derived]) - @jsii.member(jsii_name=\\"readDerivedNonPrimitive\\") + @jsii.member(jsii_name="readDerivedNonPrimitive") def read_derived_non_primitive( self, *, another_required: datetime.datetime, bool: bool, - non_primitive: \\"DoubleTrouble\\", + non_primitive: "DoubleTrouble", another_optional: typing.Optional[typing.Mapping[str, scope.jsii_calc_lib.Value]] = None, optional_any: typing.Any = None, optional_array: typing.Optional[typing.List[str]] = None, anumber: jsii.Number, astring: str, first_optional: typing.Optional[typing.List[str]] = None, - ) -> \\"DoubleTrouble\\": - \\"\\"\\"Returns the boolean from a DerivedStruct struct. + ) -> "DoubleTrouble": + """Returns the boolean from a DerivedStruct struct. :param another_required: :param bool: @@ -59830,7 +58838,7 @@ class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.GiveMeStruct stability :stability: experimental - \\"\\"\\" + """ derived = DerivedStruct( another_required=another_required, bool=bool, @@ -59843,9 +58851,9 @@ class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.GiveMeStruct first_optional=first_optional, ) - return jsii.invoke(self, \\"readDerivedNonPrimitive\\", [derived]) + return jsii.invoke(self, "readDerivedNonPrimitive", [derived]) - @jsii.member(jsii_name=\\"readFirstNumber\\") + @jsii.member(jsii_name="readFirstNumber") def read_first_number( self, *, @@ -59853,7 +58861,7 @@ class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.GiveMeStruct astring: str, first_optional: typing.Optional[typing.List[str]] = None, ) -> jsii.Number: - \\"\\"\\"Returns the \\"anumber\\" from a MyFirstStruct struct; + """Returns the "anumber" from a MyFirstStruct struct; :param anumber: An awesome number value. :param astring: A string value. @@ -59861,52 +58869,52 @@ class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.GiveMeStruct stability :stability: experimental - \\"\\"\\" + """ first = scope.jsii_calc_lib.MyFirstStruct( anumber=anumber, astring=astring, first_optional=first_optional ) - return jsii.invoke(self, \\"readFirstNumber\\", [first]) + return jsii.invoke(self, "readFirstNumber", [first]) @builtins.property - @jsii.member(jsii_name=\\"structLiteral\\") + @jsii.member(jsii_name="structLiteral") def struct_literal(self) -> scope.jsii_calc_lib.StructWithOnlyOptionals: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"structLiteral\\") + """ + return jsii.get(self, "structLiteral") @jsii.data_type( - jsii_type=\\"jsii-calc.Greetee\\", + jsii_type="jsii-calc.Greetee", jsii_struct_bases=[], - name_mapping={\\"name\\": \\"name\\"}, + name_mapping={"name": "name"}, ) class Greetee: def __init__(self, *, name: typing.Optional[str] = None) -> None: - \\"\\"\\"These are some arguments you can pass to a method. + """These are some arguments you can pass to a method. :param name: The name of the greetee. Default: world stability :stability: experimental - \\"\\"\\" + """ self._values = {} if name is not None: - self._values[\\"name\\"] = name + self._values["name"] = name @builtins.property def name(self) -> typing.Optional[str]: - \\"\\"\\"The name of the greetee. + """The name of the greetee. default :default: world stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"name\\") + """ + return self._values.get("name") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -59915,165 +58923,165 @@ class Greetee: return not (rhs == self) def __repr__(self) -> str: - return \\"Greetee(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "Greetee(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class GreetingAugmenter( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.GreetingAugmenter\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.GreetingAugmenter" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(GreetingAugmenter, self, []) - @jsii.member(jsii_name=\\"betterGreeting\\") + @jsii.member(jsii_name="betterGreeting") def better_greeting(self, friendly: scope.jsii_calc_lib.IFriendly) -> str: - \\"\\"\\" + """ :param friendly: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"betterGreeting\\", [friendly]) + """ + return jsii.invoke(self, "betterGreeting", [friendly]) -@jsii.interface(jsii_type=\\"jsii-calc.IAnonymousImplementationProvider\\") +@jsii.interface(jsii_type="jsii-calc.IAnonymousImplementationProvider") class IAnonymousImplementationProvider(jsii.compat.Protocol): - \\"\\"\\"We can return an anonymous interface implementation from an override without losing the interface declarations. + """We can return an anonymous interface implementation from an override without losing the interface declarations. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IAnonymousImplementationProviderProxy - @jsii.member(jsii_name=\\"provideAsClass\\") - def provide_as_class(self) -> \\"Implementation\\": - \\"\\"\\" + @jsii.member(jsii_name="provideAsClass") + def provide_as_class(self) -> "Implementation": + """ stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"provideAsInterface\\") - def provide_as_interface(self) -> \\"IAnonymouslyImplementMe\\": - \\"\\"\\" + @jsii.member(jsii_name="provideAsInterface") + def provide_as_interface(self) -> "IAnonymouslyImplementMe": + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IAnonymousImplementationProviderProxy: - \\"\\"\\"We can return an anonymous interface implementation from an override without losing the interface declarations. + """We can return an anonymous interface implementation from an override without losing the interface declarations. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IAnonymousImplementationProvider\\" + __jsii_type__ = "jsii-calc.IAnonymousImplementationProvider" - @jsii.member(jsii_name=\\"provideAsClass\\") - def provide_as_class(self) -> \\"Implementation\\": - \\"\\"\\" + @jsii.member(jsii_name="provideAsClass") + def provide_as_class(self) -> "Implementation": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"provideAsClass\\", []) + """ + return jsii.invoke(self, "provideAsClass", []) - @jsii.member(jsii_name=\\"provideAsInterface\\") - def provide_as_interface(self) -> \\"IAnonymouslyImplementMe\\": - \\"\\"\\" + @jsii.member(jsii_name="provideAsInterface") + def provide_as_interface(self) -> "IAnonymouslyImplementMe": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"provideAsInterface\\", []) + """ + return jsii.invoke(self, "provideAsInterface", []) -@jsii.interface(jsii_type=\\"jsii-calc.IAnonymouslyImplementMe\\") +@jsii.interface(jsii_type="jsii-calc.IAnonymouslyImplementMe") class IAnonymouslyImplementMe(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IAnonymouslyImplementMeProxy @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"verb\\") + @jsii.member(jsii_name="verb") def verb(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IAnonymouslyImplementMeProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IAnonymouslyImplementMe\\" + __jsii_type__ = "jsii-calc.IAnonymouslyImplementMe" @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") - @jsii.member(jsii_name=\\"verb\\") + @jsii.member(jsii_name="verb") def verb(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"verb\\", []) + """ + return jsii.invoke(self, "verb", []) -@jsii.interface(jsii_type=\\"jsii-calc.IAnotherPublicInterface\\") +@jsii.interface(jsii_type="jsii-calc.IAnotherPublicInterface") class IAnotherPublicInterface(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IAnotherPublicInterfaceProxy @builtins.property - @jsii.member(jsii_name=\\"a\\") + @jsii.member(jsii_name="a") def a(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @a.setter @@ -60082,321 +59090,321 @@ class IAnotherPublicInterface(jsii.compat.Protocol): class _IAnotherPublicInterfaceProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IAnotherPublicInterface\\" + __jsii_type__ = "jsii-calc.IAnotherPublicInterface" @builtins.property - @jsii.member(jsii_name=\\"a\\") + @jsii.member(jsii_name="a") def a(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"a\\") + """ + return jsii.get(self, "a") @a.setter def a(self, value: str) -> None: - jsii.set(self, \\"a\\", value) + jsii.set(self, "a", value) -@jsii.interface(jsii_type=\\"jsii-calc.IBell\\") +@jsii.interface(jsii_type="jsii-calc.IBell") class IBell(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IBellProxy - @jsii.member(jsii_name=\\"ring\\") + @jsii.member(jsii_name="ring") def ring(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IBellProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IBell\\" + __jsii_type__ = "jsii-calc.IBell" - @jsii.member(jsii_name=\\"ring\\") + @jsii.member(jsii_name="ring") def ring(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"ring\\", []) + """ + return jsii.invoke(self, "ring", []) -@jsii.interface(jsii_type=\\"jsii-calc.IBellRinger\\") +@jsii.interface(jsii_type="jsii-calc.IBellRinger") class IBellRinger(jsii.compat.Protocol): - \\"\\"\\"Takes the object parameter as an interface. + """Takes the object parameter as an interface. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IBellRingerProxy - @jsii.member(jsii_name=\\"yourTurn\\") - def your_turn(self, bell: \\"IBell\\") -> None: - \\"\\"\\" + @jsii.member(jsii_name="yourTurn") + def your_turn(self, bell: "IBell") -> None: + """ :param bell: - stability :stability: experimental - \\"\\"\\" + """ ... class _IBellRingerProxy: - \\"\\"\\"Takes the object parameter as an interface. + """Takes the object parameter as an interface. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IBellRinger\\" + __jsii_type__ = "jsii-calc.IBellRinger" - @jsii.member(jsii_name=\\"yourTurn\\") - def your_turn(self, bell: \\"IBell\\") -> None: - \\"\\"\\" + @jsii.member(jsii_name="yourTurn") + def your_turn(self, bell: "IBell") -> None: + """ :param bell: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"yourTurn\\", [bell]) + """ + return jsii.invoke(self, "yourTurn", [bell]) -@jsii.interface(jsii_type=\\"jsii-calc.IConcreteBellRinger\\") +@jsii.interface(jsii_type="jsii-calc.IConcreteBellRinger") class IConcreteBellRinger(jsii.compat.Protocol): - \\"\\"\\"Takes the object parameter as a calss. + """Takes the object parameter as a calss. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IConcreteBellRingerProxy - @jsii.member(jsii_name=\\"yourTurn\\") - def your_turn(self, bell: \\"Bell\\") -> None: - \\"\\"\\" + @jsii.member(jsii_name="yourTurn") + def your_turn(self, bell: "Bell") -> None: + """ :param bell: - stability :stability: experimental - \\"\\"\\" + """ ... class _IConcreteBellRingerProxy: - \\"\\"\\"Takes the object parameter as a calss. + """Takes the object parameter as a calss. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IConcreteBellRinger\\" + __jsii_type__ = "jsii-calc.IConcreteBellRinger" - @jsii.member(jsii_name=\\"yourTurn\\") - def your_turn(self, bell: \\"Bell\\") -> None: - \\"\\"\\" + @jsii.member(jsii_name="yourTurn") + def your_turn(self, bell: "Bell") -> None: + """ :param bell: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"yourTurn\\", [bell]) + """ + return jsii.invoke(self, "yourTurn", [bell]) -@jsii.interface(jsii_type=\\"jsii-calc.IDeprecatedInterface\\") +@jsii.interface(jsii_type="jsii-calc.IDeprecatedInterface") class IDeprecatedInterface(jsii.compat.Protocol): - \\"\\"\\" + """ deprecated :deprecated: useless interface stability :stability: deprecated - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IDeprecatedInterfaceProxy @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ deprecated :deprecated: could be better stability :stability: deprecated - \\"\\"\\" + """ ... @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: ... - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - \\"\\"\\" + """ deprecated :deprecated: services no purpose stability :stability: deprecated - \\"\\"\\" + """ ... class _IDeprecatedInterfaceProxy: - \\"\\"\\" + """ deprecated :deprecated: useless interface stability :stability: deprecated - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IDeprecatedInterface\\" + __jsii_type__ = "jsii-calc.IDeprecatedInterface" @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ deprecated :deprecated: could be better stability :stability: deprecated - \\"\\"\\" - return jsii.get(self, \\"mutableProperty\\") + """ + return jsii.get(self, "mutableProperty") @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: - jsii.set(self, \\"mutableProperty\\", value) + jsii.set(self, "mutableProperty", value) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - \\"\\"\\" + """ deprecated :deprecated: services no purpose stability :stability: deprecated - \\"\\"\\" - return jsii.invoke(self, \\"method\\", []) + """ + return jsii.invoke(self, "method", []) -@jsii.interface(jsii_type=\\"jsii-calc.IExperimentalInterface\\") +@jsii.interface(jsii_type="jsii-calc.IExperimentalInterface") class IExperimentalInterface(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IExperimentalInterfaceProxy @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: ... - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IExperimentalInterfaceProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IExperimentalInterface\\" + __jsii_type__ = "jsii-calc.IExperimentalInterface" @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"mutableProperty\\") + """ + return jsii.get(self, "mutableProperty") @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: - jsii.set(self, \\"mutableProperty\\", value) + jsii.set(self, "mutableProperty", value) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"method\\", []) + """ + return jsii.invoke(self, "method", []) -@jsii.interface(jsii_type=\\"jsii-calc.IExtendsPrivateInterface\\") +@jsii.interface(jsii_type="jsii-calc.IExtendsPrivateInterface") class IExtendsPrivateInterface(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IExtendsPrivateInterfaceProxy @builtins.property - @jsii.member(jsii_name=\\"moreThings\\") + @jsii.member(jsii_name="moreThings") def more_things(self) -> typing.List[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @builtins.property - @jsii.member(jsii_name=\\"private\\") + @jsii.member(jsii_name="private") def private(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @private.setter @@ -60405,381 +59413,381 @@ class IExtendsPrivateInterface(jsii.compat.Protocol): class _IExtendsPrivateInterfaceProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IExtendsPrivateInterface\\" + __jsii_type__ = "jsii-calc.IExtendsPrivateInterface" @builtins.property - @jsii.member(jsii_name=\\"moreThings\\") + @jsii.member(jsii_name="moreThings") def more_things(self) -> typing.List[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"moreThings\\") + """ + return jsii.get(self, "moreThings") @builtins.property - @jsii.member(jsii_name=\\"private\\") + @jsii.member(jsii_name="private") def private(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"private\\") + """ + return jsii.get(self, "private") @private.setter def private(self, value: str) -> None: - jsii.set(self, \\"private\\", value) + jsii.set(self, "private", value) -@jsii.interface(jsii_type=\\"jsii-calc.IExternalInterface\\") +@jsii.interface(jsii_type="jsii-calc.IExternalInterface") class IExternalInterface(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IExternalInterfaceProxy @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" + """ ... @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: ... - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" + """ ... class _IExternalInterfaceProxy: - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IExternalInterface\\" + __jsii_type__ = "jsii-calc.IExternalInterface" @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" - return jsii.get(self, \\"mutableProperty\\") + """ + return jsii.get(self, "mutableProperty") @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: - jsii.set(self, \\"mutableProperty\\", value) + jsii.set(self, "mutableProperty", value) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - \\"\\"\\" + """ stability :stability: experimental external: :external:: true - \\"\\"\\" - return jsii.invoke(self, \\"method\\", []) + """ + return jsii.invoke(self, "method", []) -@jsii.interface(jsii_type=\\"jsii-calc.IFriendlier\\") +@jsii.interface(jsii_type="jsii-calc.IFriendlier") class IFriendlier(scope.jsii_calc_lib.IFriendly, jsii.compat.Protocol): - \\"\\"\\"Even friendlier classes can implement this interface. + """Even friendlier classes can implement this interface. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IFriendlierProxy - @jsii.member(jsii_name=\\"farewell\\") + @jsii.member(jsii_name="farewell") def farewell(self) -> str: - \\"\\"\\"Say farewell. + """Say farewell. stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"goodbye\\") + @jsii.member(jsii_name="goodbye") def goodbye(self) -> str: - \\"\\"\\"Say goodbye. + """Say goodbye. return :return: A goodbye blessing. stability :stability: experimental - \\"\\"\\" + """ ... class _IFriendlierProxy(jsii.proxy_for(scope.jsii_calc_lib.IFriendly)): - \\"\\"\\"Even friendlier classes can implement this interface. + """Even friendlier classes can implement this interface. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IFriendlier\\" + __jsii_type__ = "jsii-calc.IFriendlier" - @jsii.member(jsii_name=\\"farewell\\") + @jsii.member(jsii_name="farewell") def farewell(self) -> str: - \\"\\"\\"Say farewell. + """Say farewell. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"farewell\\", []) + """ + return jsii.invoke(self, "farewell", []) - @jsii.member(jsii_name=\\"goodbye\\") + @jsii.member(jsii_name="goodbye") def goodbye(self) -> str: - \\"\\"\\"Say goodbye. + """Say goodbye. return :return: A goodbye blessing. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"goodbye\\", []) + """ + return jsii.invoke(self, "goodbye", []) -@jsii.interface(jsii_type=\\"jsii-calc.IInterfaceImplementedByAbstractClass\\") +@jsii.interface(jsii_type="jsii-calc.IInterfaceImplementedByAbstractClass") class IInterfaceImplementedByAbstractClass(jsii.compat.Protocol): - \\"\\"\\"awslabs/jsii#220 Abstract return type. + """awslabs/jsii#220 Abstract return type. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IInterfaceImplementedByAbstractClassProxy @builtins.property - @jsii.member(jsii_name=\\"propFromInterface\\") + @jsii.member(jsii_name="propFromInterface") def prop_from_interface(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IInterfaceImplementedByAbstractClassProxy: - \\"\\"\\"awslabs/jsii#220 Abstract return type. + """awslabs/jsii#220 Abstract return type. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IInterfaceImplementedByAbstractClass\\" + __jsii_type__ = "jsii-calc.IInterfaceImplementedByAbstractClass" @builtins.property - @jsii.member(jsii_name=\\"propFromInterface\\") + @jsii.member(jsii_name="propFromInterface") def prop_from_interface(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"propFromInterface\\") + """ + return jsii.get(self, "propFromInterface") -@jsii.interface(jsii_type=\\"jsii-calc.IInterfaceWithInternal\\") +@jsii.interface(jsii_type="jsii-calc.IInterfaceWithInternal") class IInterfaceWithInternal(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IInterfaceWithInternalProxy - @jsii.member(jsii_name=\\"visible\\") + @jsii.member(jsii_name="visible") def visible(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IInterfaceWithInternalProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IInterfaceWithInternal\\" + __jsii_type__ = "jsii-calc.IInterfaceWithInternal" - @jsii.member(jsii_name=\\"visible\\") + @jsii.member(jsii_name="visible") def visible(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"visible\\", []) + """ + return jsii.invoke(self, "visible", []) -@jsii.interface(jsii_type=\\"jsii-calc.IInterfaceWithMethods\\") +@jsii.interface(jsii_type="jsii-calc.IInterfaceWithMethods") class IInterfaceWithMethods(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IInterfaceWithMethodsProxy @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"doThings\\") + @jsii.member(jsii_name="doThings") def do_things(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IInterfaceWithMethodsProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IInterfaceWithMethods\\" + __jsii_type__ = "jsii-calc.IInterfaceWithMethods" @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") - @jsii.member(jsii_name=\\"doThings\\") + @jsii.member(jsii_name="doThings") def do_things(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"doThings\\", []) + """ + return jsii.invoke(self, "doThings", []) -@jsii.interface(jsii_type=\\"jsii-calc.IInterfaceWithOptionalMethodArguments\\") +@jsii.interface(jsii_type="jsii-calc.IInterfaceWithOptionalMethodArguments") class IInterfaceWithOptionalMethodArguments(jsii.compat.Protocol): - \\"\\"\\"awslabs/jsii#175 Interface proxies (and builders) do not respect optional arguments in methods. + """awslabs/jsii#175 Interface proxies (and builders) do not respect optional arguments in methods. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IInterfaceWithOptionalMethodArgumentsProxy - @jsii.member(jsii_name=\\"hello\\") + @jsii.member(jsii_name="hello") def hello(self, arg1: str, arg2: typing.Optional[jsii.Number] = None) -> None: - \\"\\"\\" + """ :param arg1: - :param arg2: - stability :stability: experimental - \\"\\"\\" + """ ... class _IInterfaceWithOptionalMethodArgumentsProxy: - \\"\\"\\"awslabs/jsii#175 Interface proxies (and builders) do not respect optional arguments in methods. + """awslabs/jsii#175 Interface proxies (and builders) do not respect optional arguments in methods. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IInterfaceWithOptionalMethodArguments\\" + __jsii_type__ = "jsii-calc.IInterfaceWithOptionalMethodArguments" - @jsii.member(jsii_name=\\"hello\\") + @jsii.member(jsii_name="hello") def hello(self, arg1: str, arg2: typing.Optional[jsii.Number] = None) -> None: - \\"\\"\\" + """ :param arg1: - :param arg2: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"hello\\", [arg1, arg2]) + """ + return jsii.invoke(self, "hello", [arg1, arg2]) -@jsii.interface(jsii_type=\\"jsii-calc.IInterfaceWithProperties\\") +@jsii.interface(jsii_type="jsii-calc.IInterfaceWithProperties") class IInterfaceWithProperties(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IInterfaceWithPropertiesProxy @builtins.property - @jsii.member(jsii_name=\\"readOnlyString\\") + @jsii.member(jsii_name="readOnlyString") def read_only_string(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @builtins.property - @jsii.member(jsii_name=\\"readWriteString\\") + @jsii.member(jsii_name="readWriteString") def read_write_string(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @read_write_string.setter @@ -60788,54 +59796,54 @@ class IInterfaceWithProperties(jsii.compat.Protocol): class _IInterfaceWithPropertiesProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IInterfaceWithProperties\\" + __jsii_type__ = "jsii-calc.IInterfaceWithProperties" @builtins.property - @jsii.member(jsii_name=\\"readOnlyString\\") + @jsii.member(jsii_name="readOnlyString") def read_only_string(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"readOnlyString\\") + """ + return jsii.get(self, "readOnlyString") @builtins.property - @jsii.member(jsii_name=\\"readWriteString\\") + @jsii.member(jsii_name="readWriteString") def read_write_string(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"readWriteString\\") + """ + return jsii.get(self, "readWriteString") @read_write_string.setter def read_write_string(self, value: str) -> None: - jsii.set(self, \\"readWriteString\\", value) + jsii.set(self, "readWriteString", value) -@jsii.interface(jsii_type=\\"jsii-calc.IInterfaceWithPropertiesExtension\\") +@jsii.interface(jsii_type="jsii-calc.IInterfaceWithPropertiesExtension") class IInterfaceWithPropertiesExtension(IInterfaceWithProperties, jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IInterfaceWithPropertiesExtensionProxy @builtins.property - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @foo.setter @@ -60844,88 +59852,88 @@ class IInterfaceWithPropertiesExtension(IInterfaceWithProperties, jsii.compat.Pr class _IInterfaceWithPropertiesExtensionProxy(jsii.proxy_for(IInterfaceWithProperties)): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IInterfaceWithPropertiesExtension\\" + __jsii_type__ = "jsii-calc.IInterfaceWithPropertiesExtension" @builtins.property - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"foo\\") + """ + return jsii.get(self, "foo") @foo.setter def foo(self, value: jsii.Number) -> None: - jsii.set(self, \\"foo\\", value) + jsii.set(self, "foo", value) -@jsii.interface(jsii_type=\\"jsii-calc.IJSII417PublicBaseOfBase\\") +@jsii.interface(jsii_type="jsii-calc.IJSII417PublicBaseOfBase") class IJSII417PublicBaseOfBase(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IJSII417PublicBaseOfBaseProxy @builtins.property - @jsii.member(jsii_name=\\"hasRoot\\") + @jsii.member(jsii_name="hasRoot") def has_root(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IJSII417PublicBaseOfBaseProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IJSII417PublicBaseOfBase\\" + __jsii_type__ = "jsii-calc.IJSII417PublicBaseOfBase" @builtins.property - @jsii.member(jsii_name=\\"hasRoot\\") + @jsii.member(jsii_name="hasRoot") def has_root(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"hasRoot\\") + """ + return jsii.get(self, "hasRoot") - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"foo\\", []) + """ + return jsii.invoke(self, "foo", []) -@jsii.interface(jsii_type=\\"jsii-calc.IJsii487External\\") +@jsii.interface(jsii_type="jsii-calc.IJsii487External") class IJsii487External(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): @@ -60933,21 +59941,21 @@ class IJsii487External(jsii.compat.Protocol): class _IJsii487ExternalProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IJsii487External\\" + __jsii_type__ = "jsii-calc.IJsii487External" pass -@jsii.interface(jsii_type=\\"jsii-calc.IJsii487External2\\") +@jsii.interface(jsii_type="jsii-calc.IJsii487External2") class IJsii487External2(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): @@ -60955,21 +59963,21 @@ class IJsii487External2(jsii.compat.Protocol): class _IJsii487External2Proxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IJsii487External2\\" + __jsii_type__ = "jsii-calc.IJsii487External2" pass -@jsii.interface(jsii_type=\\"jsii-calc.IJsii496\\") +@jsii.interface(jsii_type="jsii-calc.IJsii496") class IJsii496(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): @@ -60977,33 +59985,33 @@ class IJsii496(jsii.compat.Protocol): class _IJsii496Proxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IJsii496\\" + __jsii_type__ = "jsii-calc.IJsii496" pass -@jsii.interface(jsii_type=\\"jsii-calc.IMutableObjectLiteral\\") +@jsii.interface(jsii_type="jsii-calc.IMutableObjectLiteral") class IMutableObjectLiteral(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IMutableObjectLiteralProxy @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @value.setter @@ -61012,45 +60020,45 @@ class IMutableObjectLiteral(jsii.compat.Protocol): class _IMutableObjectLiteralProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IMutableObjectLiteral\\" + __jsii_type__ = "jsii-calc.IMutableObjectLiteral" @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") @value.setter def value(self, value: str) -> None: - jsii.set(self, \\"value\\", value) + jsii.set(self, "value", value) -@jsii.interface(jsii_type=\\"jsii-calc.INonInternalInterface\\") +@jsii.interface(jsii_type="jsii-calc.INonInternalInterface") class INonInternalInterface(IAnotherPublicInterface, jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _INonInternalInterfaceProxy @builtins.property - @jsii.member(jsii_name=\\"b\\") + @jsii.member(jsii_name="b") def b(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @b.setter @@ -61058,12 +60066,12 @@ class INonInternalInterface(IAnotherPublicInterface, jsii.compat.Protocol): ... @builtins.property - @jsii.member(jsii_name=\\"c\\") + @jsii.member(jsii_name="c") def c(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @c.setter @@ -61072,408 +60080,408 @@ class INonInternalInterface(IAnotherPublicInterface, jsii.compat.Protocol): class _INonInternalInterfaceProxy(jsii.proxy_for(IAnotherPublicInterface)): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.INonInternalInterface\\" + __jsii_type__ = "jsii-calc.INonInternalInterface" @builtins.property - @jsii.member(jsii_name=\\"b\\") + @jsii.member(jsii_name="b") def b(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"b\\") + """ + return jsii.get(self, "b") @b.setter def b(self, value: str) -> None: - jsii.set(self, \\"b\\", value) + jsii.set(self, "b", value) @builtins.property - @jsii.member(jsii_name=\\"c\\") + @jsii.member(jsii_name="c") def c(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"c\\") + """ + return jsii.get(self, "c") @c.setter def c(self, value: str) -> None: - jsii.set(self, \\"c\\", value) + jsii.set(self, "c", value) -@jsii.interface(jsii_type=\\"jsii-calc.IObjectWithProperty\\") +@jsii.interface(jsii_type="jsii-calc.IObjectWithProperty") class IObjectWithProperty(jsii.compat.Protocol): - \\"\\"\\"Make sure that setters are properly called on objects with interfaces. + """Make sure that setters are properly called on objects with interfaces. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IObjectWithPropertyProxy @builtins.property - @jsii.member(jsii_name=\\"property\\") + @jsii.member(jsii_name="property") def property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @property.setter def property(self, value: str) -> None: ... - @jsii.member(jsii_name=\\"wasSet\\") + @jsii.member(jsii_name="wasSet") def was_set(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IObjectWithPropertyProxy: - \\"\\"\\"Make sure that setters are properly called on objects with interfaces. + """Make sure that setters are properly called on objects with interfaces. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IObjectWithProperty\\" + __jsii_type__ = "jsii-calc.IObjectWithProperty" @builtins.property - @jsii.member(jsii_name=\\"property\\") + @jsii.member(jsii_name="property") def property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"property\\") + """ + return jsii.get(self, "property") @property.setter def property(self, value: str) -> None: - jsii.set(self, \\"property\\", value) + jsii.set(self, "property", value) - @jsii.member(jsii_name=\\"wasSet\\") + @jsii.member(jsii_name="wasSet") def was_set(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"wasSet\\", []) + """ + return jsii.invoke(self, "wasSet", []) -@jsii.interface(jsii_type=\\"jsii-calc.IOptionalMethod\\") +@jsii.interface(jsii_type="jsii-calc.IOptionalMethod") class IOptionalMethod(jsii.compat.Protocol): - \\"\\"\\"Checks that optional result from interface method code generates correctly. + """Checks that optional result from interface method code generates correctly. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IOptionalMethodProxy - @jsii.member(jsii_name=\\"optional\\") + @jsii.member(jsii_name="optional") def optional(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IOptionalMethodProxy: - \\"\\"\\"Checks that optional result from interface method code generates correctly. + """Checks that optional result from interface method code generates correctly. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IOptionalMethod\\" + __jsii_type__ = "jsii-calc.IOptionalMethod" - @jsii.member(jsii_name=\\"optional\\") + @jsii.member(jsii_name="optional") def optional(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"optional\\", []) + """ + return jsii.invoke(self, "optional", []) -@jsii.interface(jsii_type=\\"jsii-calc.IPrivatelyImplemented\\") +@jsii.interface(jsii_type="jsii-calc.IPrivatelyImplemented") class IPrivatelyImplemented(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IPrivatelyImplementedProxy @builtins.property - @jsii.member(jsii_name=\\"success\\") + @jsii.member(jsii_name="success") def success(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IPrivatelyImplementedProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IPrivatelyImplemented\\" + __jsii_type__ = "jsii-calc.IPrivatelyImplemented" @builtins.property - @jsii.member(jsii_name=\\"success\\") + @jsii.member(jsii_name="success") def success(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"success\\") + """ + return jsii.get(self, "success") -@jsii.interface(jsii_type=\\"jsii-calc.IPublicInterface\\") +@jsii.interface(jsii_type="jsii-calc.IPublicInterface") class IPublicInterface(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IPublicInterfaceProxy - @jsii.member(jsii_name=\\"bye\\") + @jsii.member(jsii_name="bye") def bye(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IPublicInterfaceProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IPublicInterface\\" + __jsii_type__ = "jsii-calc.IPublicInterface" - @jsii.member(jsii_name=\\"bye\\") + @jsii.member(jsii_name="bye") def bye(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"bye\\", []) + """ + return jsii.invoke(self, "bye", []) -@jsii.interface(jsii_type=\\"jsii-calc.IPublicInterface2\\") +@jsii.interface(jsii_type="jsii-calc.IPublicInterface2") class IPublicInterface2(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IPublicInterface2Proxy - @jsii.member(jsii_name=\\"ciao\\") + @jsii.member(jsii_name="ciao") def ciao(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IPublicInterface2Proxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IPublicInterface2\\" + __jsii_type__ = "jsii-calc.IPublicInterface2" - @jsii.member(jsii_name=\\"ciao\\") + @jsii.member(jsii_name="ciao") def ciao(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"ciao\\", []) + """ + return jsii.invoke(self, "ciao", []) -@jsii.interface(jsii_type=\\"jsii-calc.IRandomNumberGenerator\\") +@jsii.interface(jsii_type="jsii-calc.IRandomNumberGenerator") class IRandomNumberGenerator(jsii.compat.Protocol): - \\"\\"\\"Generates random numbers. + """Generates random numbers. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IRandomNumberGeneratorProxy - @jsii.member(jsii_name=\\"next\\") + @jsii.member(jsii_name="next") def next(self) -> jsii.Number: - \\"\\"\\"Returns another random number. + """Returns another random number. return :return: A random number. stability :stability: experimental - \\"\\"\\" + """ ... class _IRandomNumberGeneratorProxy: - \\"\\"\\"Generates random numbers. + """Generates random numbers. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IRandomNumberGenerator\\" + __jsii_type__ = "jsii-calc.IRandomNumberGenerator" - @jsii.member(jsii_name=\\"next\\") + @jsii.member(jsii_name="next") def next(self) -> jsii.Number: - \\"\\"\\"Returns another random number. + """Returns another random number. return :return: A random number. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"next\\", []) + """ + return jsii.invoke(self, "next", []) -@jsii.interface(jsii_type=\\"jsii-calc.IReturnJsii976\\") +@jsii.interface(jsii_type="jsii-calc.IReturnJsii976") class IReturnJsii976(jsii.compat.Protocol): - \\"\\"\\"Returns a subclass of a known class which implements an interface. + """Returns a subclass of a known class which implements an interface. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IReturnJsii976Proxy @builtins.property - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IReturnJsii976Proxy: - \\"\\"\\"Returns a subclass of a known class which implements an interface. + """Returns a subclass of a known class which implements an interface. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IReturnJsii976\\" + __jsii_type__ = "jsii-calc.IReturnJsii976" @builtins.property - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"foo\\") + """ + return jsii.get(self, "foo") -@jsii.interface(jsii_type=\\"jsii-calc.IReturnsNumber\\") +@jsii.interface(jsii_type="jsii-calc.IReturnsNumber") class IReturnsNumber(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IReturnsNumberProxy @builtins.property - @jsii.member(jsii_name=\\"numberProp\\") + @jsii.member(jsii_name="numberProp") def number_prop(self) -> scope.jsii_calc_lib.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"obtainNumber\\") + @jsii.member(jsii_name="obtainNumber") def obtain_number(self) -> scope.jsii_calc_lib.IDoublable: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IReturnsNumberProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IReturnsNumber\\" + __jsii_type__ = "jsii-calc.IReturnsNumber" @builtins.property - @jsii.member(jsii_name=\\"numberProp\\") + @jsii.member(jsii_name="numberProp") def number_prop(self) -> scope.jsii_calc_lib.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"numberProp\\") + """ + return jsii.get(self, "numberProp") - @jsii.member(jsii_name=\\"obtainNumber\\") + @jsii.member(jsii_name="obtainNumber") def obtain_number(self) -> scope.jsii_calc_lib.IDoublable: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"obtainNumber\\", []) + """ + return jsii.invoke(self, "obtainNumber", []) -@jsii.interface(jsii_type=\\"jsii-calc.IStableInterface\\") +@jsii.interface(jsii_type="jsii-calc.IStableInterface") class IStableInterface(jsii.compat.Protocol): @builtins.staticmethod def __jsii_proxy_class__(): return _IStableInterfaceProxy @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: ... @@ -61481,195 +60489,195 @@ class IStableInterface(jsii.compat.Protocol): def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: ... - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: ... class _IStableInterfaceProxy: - __jsii_type__ = \\"jsii-calc.IStableInterface\\" + __jsii_type__ = "jsii-calc.IStableInterface" @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - return jsii.get(self, \\"mutableProperty\\") + return jsii.get(self, "mutableProperty") @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: - jsii.set(self, \\"mutableProperty\\", value) + jsii.set(self, "mutableProperty", value) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - return jsii.invoke(self, \\"method\\", []) + return jsii.invoke(self, "method", []) -@jsii.interface(jsii_type=\\"jsii-calc.IStructReturningDelegate\\") +@jsii.interface(jsii_type="jsii-calc.IStructReturningDelegate") class IStructReturningDelegate(jsii.compat.Protocol): - \\"\\"\\"Verifies that a \\"pure\\" implementation of an interface works correctly. + """Verifies that a "pure" implementation of an interface works correctly. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IStructReturningDelegateProxy - @jsii.member(jsii_name=\\"returnStruct\\") - def return_struct(self) -> \\"StructB\\": - \\"\\"\\" + @jsii.member(jsii_name="returnStruct") + def return_struct(self) -> "StructB": + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IStructReturningDelegateProxy: - \\"\\"\\"Verifies that a \\"pure\\" implementation of an interface works correctly. + """Verifies that a "pure" implementation of an interface works correctly. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IStructReturningDelegate\\" + __jsii_type__ = "jsii-calc.IStructReturningDelegate" - @jsii.member(jsii_name=\\"returnStruct\\") - def return_struct(self) -> \\"StructB\\": - \\"\\"\\" + @jsii.member(jsii_name="returnStruct") + def return_struct(self) -> "StructB": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"returnStruct\\", []) + """ + return jsii.invoke(self, "returnStruct", []) class ImplementInternalInterface( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ImplementInternalInterface\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ImplementInternalInterface" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ImplementInternalInterface, self, []) @builtins.property - @jsii.member(jsii_name=\\"prop\\") + @jsii.member(jsii_name="prop") def prop(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"prop\\") + """ + return jsii.get(self, "prop") @prop.setter def prop(self, value: str) -> None: - jsii.set(self, \\"prop\\", value) + jsii.set(self, "prop", value) -class Implementation(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Implementation\\"): - \\"\\"\\" +class Implementation(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Implementation"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Implementation, self, []) @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") @jsii.implements(IInterfaceWithInternal) class ImplementsInterfaceWithInternal( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ImplementsInterfaceWithInternal\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ImplementsInterfaceWithInternal" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ImplementsInterfaceWithInternal, self, []) - @jsii.member(jsii_name=\\"visible\\") + @jsii.member(jsii_name="visible") def visible(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"visible\\", []) + """ + return jsii.invoke(self, "visible", []) class ImplementsInterfaceWithInternalSubclass( ImplementsInterfaceWithInternal, metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.ImplementsInterfaceWithInternalSubclass\\", + jsii_type="jsii-calc.ImplementsInterfaceWithInternalSubclass", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ImplementsInterfaceWithInternalSubclass, self, []) class ImplementsPrivateInterface( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ImplementsPrivateInterface\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ImplementsPrivateInterface" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ImplementsPrivateInterface, self, []) @builtins.property - @jsii.member(jsii_name=\\"private\\") + @jsii.member(jsii_name="private") def private(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"private\\") + """ + return jsii.get(self, "private") @private.setter def private(self, value: str) -> None: - jsii.set(self, \\"private\\", value) + jsii.set(self, "private", value) @jsii.data_type( - jsii_type=\\"jsii-calc.ImplictBaseOfBase\\", + jsii_type="jsii-calc.ImplictBaseOfBase", jsii_struct_bases=[scope.jsii_calc_base.BaseProps], - name_mapping={\\"foo\\": \\"foo\\", \\"bar\\": \\"bar\\", \\"goo\\": \\"goo\\"}, + name_mapping={"foo": "foo", "bar": "bar", "goo": "goo"}, ) class ImplictBaseOfBase(scope.jsii_calc_base.BaseProps): def __init__( @@ -61679,35 +60687,35 @@ class ImplictBaseOfBase(scope.jsii_calc_base.BaseProps): bar: str, goo: datetime.datetime, ) -> None: - \\"\\"\\" + """ :param foo: - :param bar: - :param goo: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"foo\\": foo, - \\"bar\\": bar, - \\"goo\\": goo, + "foo": foo, + "bar": bar, + "goo": goo, } @builtins.property def foo(self) -> scope.jsii_calc_base_of_base.Very: - return self._values.get(\\"foo\\") + return self._values.get("foo") @builtins.property def bar(self) -> str: - return self._values.get(\\"bar\\") + return self._values.get("bar") @builtins.property def goo(self) -> datetime.datetime: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"goo\\") + """ + return self._values.get("goo") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -61716,108 +60724,108 @@ class ImplictBaseOfBase(scope.jsii_calc_base.BaseProps): return not (rhs == self) def __repr__(self) -> str: - return \\"ImplictBaseOfBase(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "ImplictBaseOfBase(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class InterfaceCollections( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.InterfaceCollections\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.InterfaceCollections" ): - \\"\\"\\"Verifies that collections of interfaces or structs are correctly handled. + """Verifies that collections of interfaces or structs are correctly handled. See: https://github.com/aws/jsii/issues/1196 stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"listOfInterfaces\\") + @jsii.member(jsii_name="listOfInterfaces") @builtins.classmethod - def list_of_interfaces(cls) -> typing.List[\\"IBell\\"]: - \\"\\"\\" + def list_of_interfaces(cls) -> typing.List["IBell"]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"listOfInterfaces\\", []) + """ + return jsii.sinvoke(cls, "listOfInterfaces", []) - @jsii.member(jsii_name=\\"listOfStructs\\") + @jsii.member(jsii_name="listOfStructs") @builtins.classmethod - def list_of_structs(cls) -> typing.List[\\"StructA\\"]: - \\"\\"\\" + def list_of_structs(cls) -> typing.List["StructA"]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"listOfStructs\\", []) + """ + return jsii.sinvoke(cls, "listOfStructs", []) - @jsii.member(jsii_name=\\"mapOfInterfaces\\") + @jsii.member(jsii_name="mapOfInterfaces") @builtins.classmethod - def map_of_interfaces(cls) -> typing.Mapping[str, \\"IBell\\"]: - \\"\\"\\" + def map_of_interfaces(cls) -> typing.Mapping[str, "IBell"]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"mapOfInterfaces\\", []) + """ + return jsii.sinvoke(cls, "mapOfInterfaces", []) - @jsii.member(jsii_name=\\"mapOfStructs\\") + @jsii.member(jsii_name="mapOfStructs") @builtins.classmethod - def map_of_structs(cls) -> typing.Mapping[str, \\"StructA\\"]: - \\"\\"\\" + def map_of_structs(cls) -> typing.Mapping[str, "StructA"]: + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"mapOfStructs\\", []) + """ + return jsii.sinvoke(cls, "mapOfStructs", []) -class InterfacesMaker(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.InterfacesMaker\\"): - \\"\\"\\"We can return arrays of interfaces See aws/aws-cdk#2362. +class InterfacesMaker(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.InterfacesMaker"): + """We can return arrays of interfaces See aws/aws-cdk#2362. stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"makeInterfaces\\") + @jsii.member(jsii_name="makeInterfaces") @builtins.classmethod def make_interfaces( cls, count: jsii.Number ) -> typing.List[scope.jsii_calc_lib.IDoublable]: - \\"\\"\\" + """ :param count: - stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"makeInterfaces\\", [count]) + """ + return jsii.sinvoke(cls, "makeInterfaces", [count]) -class Isomorphism(metaclass=jsii.JSIIAbstractClass, jsii_type=\\"jsii-calc.Isomorphism\\"): - \\"\\"\\"Checks the \\"same instance\\" isomorphism is preserved within the constructor. +class Isomorphism(metaclass=jsii.JSIIAbstractClass, jsii_type="jsii-calc.Isomorphism"): + """Checks the "same instance" isomorphism is preserved within the constructor. Create a subclass of this, and assert that \`\`this.myself()\`\` actually returns \`\`this\`\` from within the constructor. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IsomorphismProxy def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Isomorphism, self, []) - @jsii.member(jsii_name=\\"myself\\") - def myself(self) -> \\"Isomorphism\\": - \\"\\"\\" + @jsii.member(jsii_name="myself") + def myself(self) -> "Isomorphism": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"myself\\", []) + """ + return jsii.invoke(self, "myself", []) class _IsomorphismProxy(Isomorphism): @@ -61825,792 +60833,792 @@ class _IsomorphismProxy(Isomorphism): class JSII417PublicBaseOfBase( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.JSII417PublicBaseOfBase\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.JSII417PublicBaseOfBase" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(JSII417PublicBaseOfBase, self, []) - @jsii.member(jsii_name=\\"makeInstance\\") + @jsii.member(jsii_name="makeInstance") @builtins.classmethod - def make_instance(cls) -> \\"JSII417PublicBaseOfBase\\": - \\"\\"\\" + def make_instance(cls) -> "JSII417PublicBaseOfBase": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"makeInstance\\", []) + """ + return jsii.sinvoke(cls, "makeInstance", []) - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"foo\\", []) + """ + return jsii.invoke(self, "foo", []) @builtins.property - @jsii.member(jsii_name=\\"hasRoot\\") + @jsii.member(jsii_name="hasRoot") def has_root(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"hasRoot\\") + """ + return jsii.get(self, "hasRoot") class JSObjectLiteralForInterface( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.JSObjectLiteralForInterface\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.JSObjectLiteralForInterface" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(JSObjectLiteralForInterface, self, []) - @jsii.member(jsii_name=\\"giveMeFriendly\\") + @jsii.member(jsii_name="giveMeFriendly") def give_me_friendly(self) -> scope.jsii_calc_lib.IFriendly: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"giveMeFriendly\\", []) + """ + return jsii.invoke(self, "giveMeFriendly", []) - @jsii.member(jsii_name=\\"giveMeFriendlyGenerator\\") - def give_me_friendly_generator(self) -> \\"IFriendlyRandomGenerator\\": - \\"\\"\\" + @jsii.member(jsii_name="giveMeFriendlyGenerator") + def give_me_friendly_generator(self) -> "IFriendlyRandomGenerator": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"giveMeFriendlyGenerator\\", []) + """ + return jsii.invoke(self, "giveMeFriendlyGenerator", []) class JSObjectLiteralToNative( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.JSObjectLiteralToNative\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.JSObjectLiteralToNative" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(JSObjectLiteralToNative, self, []) - @jsii.member(jsii_name=\\"returnLiteral\\") - def return_literal(self) -> \\"JSObjectLiteralToNativeClass\\": - \\"\\"\\" + @jsii.member(jsii_name="returnLiteral") + def return_literal(self) -> "JSObjectLiteralToNativeClass": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"returnLiteral\\", []) + """ + return jsii.invoke(self, "returnLiteral", []) class JSObjectLiteralToNativeClass( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.JSObjectLiteralToNativeClass\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.JSObjectLiteralToNativeClass" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(JSObjectLiteralToNativeClass, self, []) @builtins.property - @jsii.member(jsii_name=\\"propA\\") + @jsii.member(jsii_name="propA") def prop_a(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"propA\\") + """ + return jsii.get(self, "propA") @prop_a.setter def prop_a(self, value: str) -> None: - jsii.set(self, \\"propA\\", value) + jsii.set(self, "propA", value) @builtins.property - @jsii.member(jsii_name=\\"propB\\") + @jsii.member(jsii_name="propB") def prop_b(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"propB\\") + """ + return jsii.get(self, "propB") @prop_b.setter def prop_b(self, value: jsii.Number) -> None: - jsii.set(self, \\"propB\\", value) + jsii.set(self, "propB", value) class JavaReservedWords( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.JavaReservedWords\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.JavaReservedWords" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(JavaReservedWords, self, []) - @jsii.member(jsii_name=\\"abstract\\") + @jsii.member(jsii_name="abstract") def abstract(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"abstract\\", []) + """ + return jsii.invoke(self, "abstract", []) - @jsii.member(jsii_name=\\"assert\\") + @jsii.member(jsii_name="assert") def assert_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"assert\\", []) + """ + return jsii.invoke(self, "assert", []) - @jsii.member(jsii_name=\\"boolean\\") + @jsii.member(jsii_name="boolean") def boolean(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"boolean\\", []) + """ + return jsii.invoke(self, "boolean", []) - @jsii.member(jsii_name=\\"break\\") + @jsii.member(jsii_name="break") def break_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"break\\", []) + """ + return jsii.invoke(self, "break", []) - @jsii.member(jsii_name=\\"byte\\") + @jsii.member(jsii_name="byte") def byte(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"byte\\", []) + """ + return jsii.invoke(self, "byte", []) - @jsii.member(jsii_name=\\"case\\") + @jsii.member(jsii_name="case") def case(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"case\\", []) + """ + return jsii.invoke(self, "case", []) - @jsii.member(jsii_name=\\"catch\\") + @jsii.member(jsii_name="catch") def catch(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"catch\\", []) + """ + return jsii.invoke(self, "catch", []) - @jsii.member(jsii_name=\\"char\\") + @jsii.member(jsii_name="char") def char(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"char\\", []) + """ + return jsii.invoke(self, "char", []) - @jsii.member(jsii_name=\\"class\\") + @jsii.member(jsii_name="class") def class_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"class\\", []) + """ + return jsii.invoke(self, "class", []) - @jsii.member(jsii_name=\\"const\\") + @jsii.member(jsii_name="const") def const(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"const\\", []) + """ + return jsii.invoke(self, "const", []) - @jsii.member(jsii_name=\\"continue\\") + @jsii.member(jsii_name="continue") def continue_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"continue\\", []) + """ + return jsii.invoke(self, "continue", []) - @jsii.member(jsii_name=\\"default\\") + @jsii.member(jsii_name="default") def default(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"default\\", []) + """ + return jsii.invoke(self, "default", []) - @jsii.member(jsii_name=\\"do\\") + @jsii.member(jsii_name="do") def do(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"do\\", []) + """ + return jsii.invoke(self, "do", []) - @jsii.member(jsii_name=\\"double\\") + @jsii.member(jsii_name="double") def double(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"double\\", []) + """ + return jsii.invoke(self, "double", []) - @jsii.member(jsii_name=\\"else\\") + @jsii.member(jsii_name="else") def else_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"else\\", []) + """ + return jsii.invoke(self, "else", []) - @jsii.member(jsii_name=\\"enum\\") + @jsii.member(jsii_name="enum") def enum(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"enum\\", []) + """ + return jsii.invoke(self, "enum", []) - @jsii.member(jsii_name=\\"extends\\") + @jsii.member(jsii_name="extends") def extends(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"extends\\", []) + """ + return jsii.invoke(self, "extends", []) - @jsii.member(jsii_name=\\"false\\") + @jsii.member(jsii_name="false") def false(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"false\\", []) + """ + return jsii.invoke(self, "false", []) - @jsii.member(jsii_name=\\"final\\") + @jsii.member(jsii_name="final") def final(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"final\\", []) + """ + return jsii.invoke(self, "final", []) - @jsii.member(jsii_name=\\"finally\\") + @jsii.member(jsii_name="finally") def finally_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"finally\\", []) + """ + return jsii.invoke(self, "finally", []) - @jsii.member(jsii_name=\\"float\\") + @jsii.member(jsii_name="float") def float(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"float\\", []) + """ + return jsii.invoke(self, "float", []) - @jsii.member(jsii_name=\\"for\\") + @jsii.member(jsii_name="for") def for_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"for\\", []) + """ + return jsii.invoke(self, "for", []) - @jsii.member(jsii_name=\\"goto\\") + @jsii.member(jsii_name="goto") def goto(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"goto\\", []) + """ + return jsii.invoke(self, "goto", []) - @jsii.member(jsii_name=\\"if\\") + @jsii.member(jsii_name="if") def if_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"if\\", []) + """ + return jsii.invoke(self, "if", []) - @jsii.member(jsii_name=\\"implements\\") + @jsii.member(jsii_name="implements") def implements(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"implements\\", []) + """ + return jsii.invoke(self, "implements", []) - @jsii.member(jsii_name=\\"import\\") + @jsii.member(jsii_name="import") def import_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"import\\", []) + """ + return jsii.invoke(self, "import", []) - @jsii.member(jsii_name=\\"instanceof\\") + @jsii.member(jsii_name="instanceof") def instanceof(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"instanceof\\", []) + """ + return jsii.invoke(self, "instanceof", []) - @jsii.member(jsii_name=\\"int\\") + @jsii.member(jsii_name="int") def int(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"int\\", []) + """ + return jsii.invoke(self, "int", []) - @jsii.member(jsii_name=\\"interface\\") + @jsii.member(jsii_name="interface") def interface(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"interface\\", []) + """ + return jsii.invoke(self, "interface", []) - @jsii.member(jsii_name=\\"long\\") + @jsii.member(jsii_name="long") def long(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"long\\", []) + """ + return jsii.invoke(self, "long", []) - @jsii.member(jsii_name=\\"native\\") + @jsii.member(jsii_name="native") def native(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"native\\", []) + """ + return jsii.invoke(self, "native", []) - @jsii.member(jsii_name=\\"new\\") + @jsii.member(jsii_name="new") def new(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"new\\", []) + """ + return jsii.invoke(self, "new", []) - @jsii.member(jsii_name=\\"null\\") + @jsii.member(jsii_name="null") def null(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"null\\", []) + """ + return jsii.invoke(self, "null", []) - @jsii.member(jsii_name=\\"package\\") + @jsii.member(jsii_name="package") def package(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"package\\", []) + """ + return jsii.invoke(self, "package", []) - @jsii.member(jsii_name=\\"private\\") + @jsii.member(jsii_name="private") def private(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"private\\", []) + """ + return jsii.invoke(self, "private", []) - @jsii.member(jsii_name=\\"protected\\") + @jsii.member(jsii_name="protected") def protected(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"protected\\", []) + """ + return jsii.invoke(self, "protected", []) - @jsii.member(jsii_name=\\"public\\") + @jsii.member(jsii_name="public") def public(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"public\\", []) + """ + return jsii.invoke(self, "public", []) - @jsii.member(jsii_name=\\"return\\") + @jsii.member(jsii_name="return") def return_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"return\\", []) + """ + return jsii.invoke(self, "return", []) - @jsii.member(jsii_name=\\"short\\") + @jsii.member(jsii_name="short") def short(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"short\\", []) + """ + return jsii.invoke(self, "short", []) - @jsii.member(jsii_name=\\"static\\") + @jsii.member(jsii_name="static") def static(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"static\\", []) + """ + return jsii.invoke(self, "static", []) - @jsii.member(jsii_name=\\"strictfp\\") + @jsii.member(jsii_name="strictfp") def strictfp(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"strictfp\\", []) + """ + return jsii.invoke(self, "strictfp", []) - @jsii.member(jsii_name=\\"super\\") + @jsii.member(jsii_name="super") def super(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"super\\", []) + """ + return jsii.invoke(self, "super", []) - @jsii.member(jsii_name=\\"switch\\") + @jsii.member(jsii_name="switch") def switch(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"switch\\", []) + """ + return jsii.invoke(self, "switch", []) - @jsii.member(jsii_name=\\"synchronized\\") + @jsii.member(jsii_name="synchronized") def synchronized(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"synchronized\\", []) + """ + return jsii.invoke(self, "synchronized", []) - @jsii.member(jsii_name=\\"this\\") + @jsii.member(jsii_name="this") def this(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"this\\", []) + """ + return jsii.invoke(self, "this", []) - @jsii.member(jsii_name=\\"throw\\") + @jsii.member(jsii_name="throw") def throw(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"throw\\", []) + """ + return jsii.invoke(self, "throw", []) - @jsii.member(jsii_name=\\"throws\\") + @jsii.member(jsii_name="throws") def throws(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"throws\\", []) + """ + return jsii.invoke(self, "throws", []) - @jsii.member(jsii_name=\\"transient\\") + @jsii.member(jsii_name="transient") def transient(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"transient\\", []) + """ + return jsii.invoke(self, "transient", []) - @jsii.member(jsii_name=\\"true\\") + @jsii.member(jsii_name="true") def true(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"true\\", []) + """ + return jsii.invoke(self, "true", []) - @jsii.member(jsii_name=\\"try\\") + @jsii.member(jsii_name="try") def try_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"try\\", []) + """ + return jsii.invoke(self, "try", []) - @jsii.member(jsii_name=\\"void\\") + @jsii.member(jsii_name="void") def void(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"void\\", []) + """ + return jsii.invoke(self, "void", []) - @jsii.member(jsii_name=\\"volatile\\") + @jsii.member(jsii_name="volatile") def volatile(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"volatile\\", []) + """ + return jsii.invoke(self, "volatile", []) @builtins.property - @jsii.member(jsii_name=\\"while\\") + @jsii.member(jsii_name="while") def while_(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"while\\") + """ + return jsii.get(self, "while") @while_.setter def while_(self, value: str) -> None: - jsii.set(self, \\"while\\", value) + jsii.set(self, "while", value) @jsii.implements(IJsii487External2, IJsii487External) -class Jsii487Derived(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Jsii487Derived\\"): - \\"\\"\\" +class Jsii487Derived(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Jsii487Derived"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Jsii487Derived, self, []) @jsii.implements(IJsii496) -class Jsii496Derived(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Jsii496Derived\\"): - \\"\\"\\" +class Jsii496Derived(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Jsii496Derived"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Jsii496Derived, self, []) -class JsiiAgent(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.JsiiAgent\\"): - \\"\\"\\"Host runtime version should be set via JSII_AGENT. +class JsiiAgent(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.JsiiAgent"): + """Host runtime version should be set via JSII_AGENT. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(JsiiAgent, self, []) @jsii.python.classproperty - @jsii.member(jsii_name=\\"jsiiAgent\\") + @jsii.member(jsii_name="jsiiAgent") def jsii_agent(cls) -> typing.Optional[str]: - \\"\\"\\"Returns the value of the JSII_AGENT environment variable. + """Returns the value of the JSII_AGENT environment variable. stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"jsiiAgent\\") + """ + return jsii.sget(cls, "jsiiAgent") -class JsonFormatter(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.JsonFormatter\\"): - \\"\\"\\"Make sure structs are un-decorated on the way in. +class JsonFormatter(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.JsonFormatter"): + """Make sure structs are un-decorated on the way in. see :see: https://github.com/aws/aws-cdk/issues/5066 stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"anyArray\\") + @jsii.member(jsii_name="anyArray") @builtins.classmethod def any_array(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyArray\\", []) + """ + return jsii.sinvoke(cls, "anyArray", []) - @jsii.member(jsii_name=\\"anyBooleanFalse\\") + @jsii.member(jsii_name="anyBooleanFalse") @builtins.classmethod def any_boolean_false(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyBooleanFalse\\", []) + """ + return jsii.sinvoke(cls, "anyBooleanFalse", []) - @jsii.member(jsii_name=\\"anyBooleanTrue\\") + @jsii.member(jsii_name="anyBooleanTrue") @builtins.classmethod def any_boolean_true(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyBooleanTrue\\", []) + """ + return jsii.sinvoke(cls, "anyBooleanTrue", []) - @jsii.member(jsii_name=\\"anyDate\\") + @jsii.member(jsii_name="anyDate") @builtins.classmethod def any_date(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyDate\\", []) + """ + return jsii.sinvoke(cls, "anyDate", []) - @jsii.member(jsii_name=\\"anyEmptyString\\") + @jsii.member(jsii_name="anyEmptyString") @builtins.classmethod def any_empty_string(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyEmptyString\\", []) + """ + return jsii.sinvoke(cls, "anyEmptyString", []) - @jsii.member(jsii_name=\\"anyFunction\\") + @jsii.member(jsii_name="anyFunction") @builtins.classmethod def any_function(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyFunction\\", []) + """ + return jsii.sinvoke(cls, "anyFunction", []) - @jsii.member(jsii_name=\\"anyHash\\") + @jsii.member(jsii_name="anyHash") @builtins.classmethod def any_hash(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyHash\\", []) + """ + return jsii.sinvoke(cls, "anyHash", []) - @jsii.member(jsii_name=\\"anyNull\\") + @jsii.member(jsii_name="anyNull") @builtins.classmethod def any_null(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyNull\\", []) + """ + return jsii.sinvoke(cls, "anyNull", []) - @jsii.member(jsii_name=\\"anyNumber\\") + @jsii.member(jsii_name="anyNumber") @builtins.classmethod def any_number(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyNumber\\", []) + """ + return jsii.sinvoke(cls, "anyNumber", []) - @jsii.member(jsii_name=\\"anyRef\\") + @jsii.member(jsii_name="anyRef") @builtins.classmethod def any_ref(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyRef\\", []) + """ + return jsii.sinvoke(cls, "anyRef", []) - @jsii.member(jsii_name=\\"anyString\\") + @jsii.member(jsii_name="anyString") @builtins.classmethod def any_string(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyString\\", []) + """ + return jsii.sinvoke(cls, "anyString", []) - @jsii.member(jsii_name=\\"anyUndefined\\") + @jsii.member(jsii_name="anyUndefined") @builtins.classmethod def any_undefined(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyUndefined\\", []) + """ + return jsii.sinvoke(cls, "anyUndefined", []) - @jsii.member(jsii_name=\\"anyZero\\") + @jsii.member(jsii_name="anyZero") @builtins.classmethod def any_zero(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"anyZero\\", []) + """ + return jsii.sinvoke(cls, "anyZero", []) - @jsii.member(jsii_name=\\"stringify\\") + @jsii.member(jsii_name="stringify") @builtins.classmethod def stringify(cls, value: typing.Any = None) -> typing.Optional[str]: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"stringify\\", [value]) + """ + return jsii.sinvoke(cls, "stringify", [value]) @jsii.data_type( - jsii_type=\\"jsii-calc.LoadBalancedFargateServiceProps\\", + jsii_type="jsii-calc.LoadBalancedFargateServiceProps", jsii_struct_bases=[], name_mapping={ - \\"container_port\\": \\"containerPort\\", - \\"cpu\\": \\"cpu\\", - \\"memory_mib\\": \\"memoryMiB\\", - \\"public_load_balancer\\": \\"publicLoadBalancer\\", - \\"public_tasks\\": \\"publicTasks\\", + "container_port": "containerPort", + "cpu": "cpu", + "memory_mib": "memoryMiB", + "public_load_balancer": "publicLoadBalancer", + "public_tasks": "publicTasks", }, ) class LoadBalancedFargateServiceProps: @@ -62623,7 +61631,7 @@ class LoadBalancedFargateServiceProps: public_load_balancer: typing.Optional[bool] = None, public_tasks: typing.Optional[bool] = None, ) -> None: - \\"\\"\\"jsii#298: show default values in sphinx documentation, and respect newlines. + """jsii#298: show default values in sphinx documentation, and respect newlines. :param container_port: The container port of the application load balancer attached to your Fargate service. Corresponds to container port mapping. Default: 80 :param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256 @@ -62633,22 +61641,22 @@ class LoadBalancedFargateServiceProps: stability :stability: experimental - \\"\\"\\" + """ self._values = {} if container_port is not None: - self._values[\\"container_port\\"] = container_port + self._values["container_port"] = container_port if cpu is not None: - self._values[\\"cpu\\"] = cpu + self._values["cpu"] = cpu if memory_mib is not None: - self._values[\\"memory_mib\\"] = memory_mib + self._values["memory_mib"] = memory_mib if public_load_balancer is not None: - self._values[\\"public_load_balancer\\"] = public_load_balancer + self._values["public_load_balancer"] = public_load_balancer if public_tasks is not None: - self._values[\\"public_tasks\\"] = public_tasks + self._values["public_tasks"] = public_tasks @builtins.property def container_port(self) -> typing.Optional[jsii.Number]: - \\"\\"\\"The container port of the application load balancer attached to your Fargate service. + """The container port of the application load balancer attached to your Fargate service. Corresponds to container port mapping. @@ -62657,12 +61665,12 @@ class LoadBalancedFargateServiceProps: stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"container_port\\") + """ + return self._values.get("container_port") @builtins.property def cpu(self) -> typing.Optional[str]: - \\"\\"\\"The number of cpu units used by the task. + """The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB @@ -62678,12 +61686,12 @@ class LoadBalancedFargateServiceProps: stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"cpu\\") + """ + return self._values.get("cpu") @builtins.property def memory_mib(self) -> typing.Optional[str]: - \\"\\"\\"The amount (in MiB) of memory used by the task. + """The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which determines your range of valid values for the cpu parameter: @@ -62705,32 +61713,32 @@ class LoadBalancedFargateServiceProps: stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"memory_mib\\") + """ + return self._values.get("memory_mib") @builtins.property def public_load_balancer(self) -> typing.Optional[bool]: - \\"\\"\\"Determines whether the Application Load Balancer will be internet-facing. + """Determines whether the Application Load Balancer will be internet-facing. default :default: true stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"public_load_balancer\\") + """ + return self._values.get("public_load_balancer") @builtins.property def public_tasks(self) -> typing.Optional[bool]: - \\"\\"\\"Determines whether your Fargate Service will be assigned a public IP address. + """Determines whether your Fargate Service will be assigned a public IP address. default :default: false stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"public_tasks\\") + """ + return self._values.get("public_tasks") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -62739,139 +61747,159 @@ class LoadBalancedFargateServiceProps: return not (rhs == self) def __repr__(self) -> str: - return \\"LoadBalancedFargateServiceProps(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "LoadBalancedFargateServiceProps(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class MethodNamedProperty( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.MethodNamedProperty\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.MethodNamedProperty" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(MethodNamedProperty, self, []) - @jsii.member(jsii_name=\\"property\\") + @jsii.member(jsii_name="property") def property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"property\\", []) + """ + return jsii.invoke(self, "property", []) @builtins.property - @jsii.member(jsii_name=\\"elite\\") + @jsii.member(jsii_name="elite") def elite(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"elite\\") + """ + return jsii.get(self, "elite") @jsii.implements(IFriendlier, IRandomNumberGenerator) class Multiply( - BinaryOperation, metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Multiply\\" + BinaryOperation, metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Multiply" ): - \\"\\"\\"The \\"*\\" binary operation. + """The "*" binary operation. stability :stability: experimental - \\"\\"\\" + """ def __init__( self, lhs: scope.jsii_calc_lib.Value, rhs: scope.jsii_calc_lib.Value ) -> None: - \\"\\"\\"Creates a BinaryOperation. + """Creates a BinaryOperation. :param lhs: Left-hand side operand. :param rhs: Right-hand side operand. stability :stability: experimental - \\"\\"\\" + """ jsii.create(Multiply, self, [lhs, rhs]) - @jsii.member(jsii_name=\\"farewell\\") + @jsii.member(jsii_name="farewell") def farewell(self) -> str: - \\"\\"\\"Say farewell. + """Say farewell. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"farewell\\", []) + """ + return jsii.invoke(self, "farewell", []) - @jsii.member(jsii_name=\\"goodbye\\") + @jsii.member(jsii_name="goodbye") def goodbye(self) -> str: - \\"\\"\\"Say goodbye. + """Say goodbye. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"goodbye\\", []) + """ + return jsii.invoke(self, "goodbye", []) - @jsii.member(jsii_name=\\"next\\") + @jsii.member(jsii_name="next") def next(self) -> jsii.Number: - \\"\\"\\"Returns another random number. + """Returns another random number. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"next\\", []) + """ + return jsii.invoke(self, "next", []) - @jsii.member(jsii_name=\\"toString\\") + @jsii.member(jsii_name="toString") def to_string(self) -> str: - \\"\\"\\"String representation of the value. + """String representation of the value. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"toString\\", []) + """ + return jsii.invoke(self, "toString", []) @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> jsii.Number: - \\"\\"\\"The value. + """The value. + + stability + :stability: experimental + """ + return jsii.get(self, "value") + + +class NestedClassInstance( + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.NestedClassInstance" +): + """ + stability + :stability: experimental + """ + @jsii.member(jsii_name="makeInstance") + @builtins.classmethod + def make_instance( + cls + ) -> scope.jsii_calc_lib.custom_submodule_name.NestingClass.NestedClass: + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.sinvoke(cls, "makeInstance", []) @jsii.data_type( - jsii_type=\\"jsii-calc.NestedStruct\\", + jsii_type="jsii-calc.NestedStruct", jsii_struct_bases=[], - name_mapping={\\"number_prop\\": \\"numberProp\\"}, + name_mapping={"number_prop": "numberProp"}, ) class NestedStruct: def __init__(self, *, number_prop: jsii.Number) -> None: - \\"\\"\\" + """ :param number_prop: When provided, must be > 0. stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"number_prop\\": number_prop, + "number_prop": number_prop, } @builtins.property def number_prop(self) -> jsii.Number: - \\"\\"\\"When provided, must be > 0. + """When provided, must be > 0. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"number_prop\\") + """ + return self._values.get("number_prop") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -62880,152 +61908,152 @@ class NestedStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"NestedStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "NestedStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class NodeStandardLibrary( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.NodeStandardLibrary\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.NodeStandardLibrary" ): - \\"\\"\\"Test fixture to verify that jsii modules can use the node standard library. + """Test fixture to verify that jsii modules can use the node standard library. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(NodeStandardLibrary, self, []) - @jsii.member(jsii_name=\\"cryptoSha256\\") + @jsii.member(jsii_name="cryptoSha256") def crypto_sha256(self) -> str: - \\"\\"\\"Uses node.js \\"crypto\\" module to calculate sha256 of a string. + """Uses node.js "crypto" module to calculate sha256 of a string. return - :return: \\"6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50\\" + :return: "6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50" stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"cryptoSha256\\", []) + """ + return jsii.invoke(self, "cryptoSha256", []) - @jsii.member(jsii_name=\\"fsReadFile\\") + @jsii.member(jsii_name="fsReadFile") def fs_read_file(self) -> str: - \\"\\"\\"Reads a local resource file (resource.txt) asynchronously. + """Reads a local resource file (resource.txt) asynchronously. return - :return: \\"Hello, resource!\\" + :return: "Hello, resource!" stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"fsReadFile\\", []) + """ + return jsii.ainvoke(self, "fsReadFile", []) - @jsii.member(jsii_name=\\"fsReadFileSync\\") + @jsii.member(jsii_name="fsReadFileSync") def fs_read_file_sync(self) -> str: - \\"\\"\\"Sync version of fsReadFile. + """Sync version of fsReadFile. return - :return: \\"Hello, resource! SYNC!\\" + :return: "Hello, resource! SYNC!" stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"fsReadFileSync\\", []) + """ + return jsii.invoke(self, "fsReadFileSync", []) @builtins.property - @jsii.member(jsii_name=\\"osPlatform\\") + @jsii.member(jsii_name="osPlatform") def os_platform(self) -> str: - \\"\\"\\"Returns the current os.platform() from the \\"os\\" node module. + """Returns the current os.platform() from the "os" node module. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"osPlatform\\") + """ + return jsii.get(self, "osPlatform") class NullShouldBeTreatedAsUndefined( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.NullShouldBeTreatedAsUndefined\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.NullShouldBeTreatedAsUndefined" ): - \\"\\"\\"jsii#282, aws-cdk#157: null should be treated as \\"undefined\\". + """jsii#282, aws-cdk#157: null should be treated as "undefined". stability :stability: experimental - \\"\\"\\" + """ def __init__(self, _param1: str, optional: typing.Any = None) -> None: - \\"\\"\\" + """ :param _param1: - :param optional: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(NullShouldBeTreatedAsUndefined, self, [_param1, optional]) - @jsii.member(jsii_name=\\"giveMeUndefined\\") + @jsii.member(jsii_name="giveMeUndefined") def give_me_undefined(self, value: typing.Any = None) -> None: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"giveMeUndefined\\", [value]) + """ + return jsii.invoke(self, "giveMeUndefined", [value]) - @jsii.member(jsii_name=\\"giveMeUndefinedInsideAnObject\\") + @jsii.member(jsii_name="giveMeUndefinedInsideAnObject") def give_me_undefined_inside_an_object( self, *, array_with_three_elements_and_undefined_as_second_argument: typing.List[typing.Any], this_should_be_undefined: typing.Any = None, ) -> None: - \\"\\"\\" + """ :param array_with_three_elements_and_undefined_as_second_argument: :param this_should_be_undefined: stability :stability: experimental - \\"\\"\\" + """ input = NullShouldBeTreatedAsUndefinedData( array_with_three_elements_and_undefined_as_second_argument=array_with_three_elements_and_undefined_as_second_argument, this_should_be_undefined=this_should_be_undefined, ) - return jsii.invoke(self, \\"giveMeUndefinedInsideAnObject\\", [input]) + return jsii.invoke(self, "giveMeUndefinedInsideAnObject", [input]) - @jsii.member(jsii_name=\\"verifyPropertyIsUndefined\\") + @jsii.member(jsii_name="verifyPropertyIsUndefined") def verify_property_is_undefined(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"verifyPropertyIsUndefined\\", []) + """ + return jsii.invoke(self, "verifyPropertyIsUndefined", []) @builtins.property - @jsii.member(jsii_name=\\"changeMeToUndefined\\") + @jsii.member(jsii_name="changeMeToUndefined") def change_me_to_undefined(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"changeMeToUndefined\\") + """ + return jsii.get(self, "changeMeToUndefined") @change_me_to_undefined.setter def change_me_to_undefined(self, value: typing.Optional[str]) -> None: - jsii.set(self, \\"changeMeToUndefined\\", value) + jsii.set(self, "changeMeToUndefined", value) @jsii.data_type( - jsii_type=\\"jsii-calc.NullShouldBeTreatedAsUndefinedData\\", + jsii_type="jsii-calc.NullShouldBeTreatedAsUndefinedData", jsii_struct_bases=[], name_mapping={ - \\"array_with_three_elements_and_undefined_as_second_argument\\": \\"arrayWithThreeElementsAndUndefinedAsSecondArgument\\", - \\"this_should_be_undefined\\": \\"thisShouldBeUndefined\\", + "array_with_three_elements_and_undefined_as_second_argument": "arrayWithThreeElementsAndUndefinedAsSecondArgument", + "this_should_be_undefined": "thisShouldBeUndefined", }, ) class NullShouldBeTreatedAsUndefinedData: @@ -63035,36 +62063,36 @@ class NullShouldBeTreatedAsUndefinedData: array_with_three_elements_and_undefined_as_second_argument: typing.List[typing.Any], this_should_be_undefined: typing.Any = None, ) -> None: - \\"\\"\\" + """ :param array_with_three_elements_and_undefined_as_second_argument: :param this_should_be_undefined: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"array_with_three_elements_and_undefined_as_second_argument\\": array_with_three_elements_and_undefined_as_second_argument, + "array_with_three_elements_and_undefined_as_second_argument": array_with_three_elements_and_undefined_as_second_argument, } if this_should_be_undefined is not None: - self._values[\\"this_should_be_undefined\\"] = this_should_be_undefined + self._values["this_should_be_undefined"] = this_should_be_undefined @builtins.property def array_with_three_elements_and_undefined_as_second_argument( self, ) -> typing.List[typing.Any]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"array_with_three_elements_and_undefined_as_second_argument\\") + """ + return self._values.get("array_with_three_elements_and_undefined_as_second_argument") @builtins.property def this_should_be_undefined(self) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"this_should_be_undefined\\") + """ + return self._values.get("this_should_be_undefined") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -63073,188 +62101,188 @@ class NullShouldBeTreatedAsUndefinedData: return not (rhs == self) def __repr__(self) -> str: - return \\"NullShouldBeTreatedAsUndefinedData(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "NullShouldBeTreatedAsUndefinedData(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) -class NumberGenerator(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.NumberGenerator\\"): - \\"\\"\\"This allows us to test that a reference can be stored for objects that implement interfaces. +class NumberGenerator(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.NumberGenerator"): + """This allows us to test that a reference can be stored for objects that implement interfaces. stability :stability: experimental - \\"\\"\\" + """ - def __init__(self, generator: \\"IRandomNumberGenerator\\") -> None: - \\"\\"\\" + def __init__(self, generator: "IRandomNumberGenerator") -> None: + """ :param generator: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(NumberGenerator, self, [generator]) - @jsii.member(jsii_name=\\"isSameGenerator\\") - def is_same_generator(self, gen: \\"IRandomNumberGenerator\\") -> bool: - \\"\\"\\" + @jsii.member(jsii_name="isSameGenerator") + def is_same_generator(self, gen: "IRandomNumberGenerator") -> bool: + """ :param gen: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"isSameGenerator\\", [gen]) + """ + return jsii.invoke(self, "isSameGenerator", [gen]) - @jsii.member(jsii_name=\\"nextTimes100\\") + @jsii.member(jsii_name="nextTimes100") def next_times100(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"nextTimes100\\", []) + """ + return jsii.invoke(self, "nextTimes100", []) @builtins.property - @jsii.member(jsii_name=\\"generator\\") - def generator(self) -> \\"IRandomNumberGenerator\\": - \\"\\"\\" + @jsii.member(jsii_name="generator") + def generator(self) -> "IRandomNumberGenerator": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"generator\\") + """ + return jsii.get(self, "generator") @generator.setter - def generator(self, value: \\"IRandomNumberGenerator\\") -> None: - jsii.set(self, \\"generator\\", value) + def generator(self, value: "IRandomNumberGenerator") -> None: + jsii.set(self, "generator", value) class ObjectRefsInCollections( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ObjectRefsInCollections\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ObjectRefsInCollections" ): - \\"\\"\\"Verify that object references can be passed inside collections. + """Verify that object references can be passed inside collections. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ObjectRefsInCollections, self, []) - @jsii.member(jsii_name=\\"sumFromArray\\") + @jsii.member(jsii_name="sumFromArray") def sum_from_array( self, values: typing.List[scope.jsii_calc_lib.Value] ) -> jsii.Number: - \\"\\"\\"Returns the sum of all values. + """Returns the sum of all values. :param values: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"sumFromArray\\", [values]) + """ + return jsii.invoke(self, "sumFromArray", [values]) - @jsii.member(jsii_name=\\"sumFromMap\\") + @jsii.member(jsii_name="sumFromMap") def sum_from_map( self, values: typing.Mapping[str, scope.jsii_calc_lib.Value] ) -> jsii.Number: - \\"\\"\\"Returns the sum of all values in a map. + """Returns the sum of all values in a map. :param values: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"sumFromMap\\", [values]) + """ + return jsii.invoke(self, "sumFromMap", [values]) class ObjectWithPropertyProvider( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ObjectWithPropertyProvider\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ObjectWithPropertyProvider" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"provide\\") + @jsii.member(jsii_name="provide") @builtins.classmethod - def provide(cls) -> \\"IObjectWithProperty\\": - \\"\\"\\" + def provide(cls) -> "IObjectWithProperty": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"provide\\", []) + """ + return jsii.sinvoke(cls, "provide", []) -class Old(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Old\\"): - \\"\\"\\"Old class. +class Old(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Old"): + """Old class. deprecated :deprecated: Use the new class stability :stability: deprecated - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Old, self, []) - @jsii.member(jsii_name=\\"doAThing\\") + @jsii.member(jsii_name="doAThing") def do_a_thing(self) -> None: - \\"\\"\\"Doo wop that thing. + """Doo wop that thing. stability :stability: deprecated - \\"\\"\\" - return jsii.invoke(self, \\"doAThing\\", []) + """ + return jsii.invoke(self, "doAThing", []) class OptionalArgumentInvoker( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.OptionalArgumentInvoker\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.OptionalArgumentInvoker" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - def __init__(self, delegate: \\"IInterfaceWithOptionalMethodArguments\\") -> None: - \\"\\"\\" + def __init__(self, delegate: "IInterfaceWithOptionalMethodArguments") -> None: + """ :param delegate: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(OptionalArgumentInvoker, self, [delegate]) - @jsii.member(jsii_name=\\"invokeWithOptional\\") + @jsii.member(jsii_name="invokeWithOptional") def invoke_with_optional(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"invokeWithOptional\\", []) + """ + return jsii.invoke(self, "invokeWithOptional", []) - @jsii.member(jsii_name=\\"invokeWithoutOptional\\") + @jsii.member(jsii_name="invokeWithoutOptional") def invoke_without_optional(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"invokeWithoutOptional\\", []) + """ + return jsii.invoke(self, "invokeWithoutOptional", []) class OptionalConstructorArgument( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.OptionalConstructorArgument\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.OptionalConstructorArgument" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__( self, @@ -63262,68 +62290,68 @@ class OptionalConstructorArgument( arg2: str, arg3: typing.Optional[datetime.datetime] = None, ) -> None: - \\"\\"\\" + """ :param arg1: - :param arg2: - :param arg3: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(OptionalConstructorArgument, self, [arg1, arg2, arg3]) @builtins.property - @jsii.member(jsii_name=\\"arg1\\") + @jsii.member(jsii_name="arg1") def arg1(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"arg1\\") + """ + return jsii.get(self, "arg1") @builtins.property - @jsii.member(jsii_name=\\"arg2\\") + @jsii.member(jsii_name="arg2") def arg2(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"arg2\\") + """ + return jsii.get(self, "arg2") @builtins.property - @jsii.member(jsii_name=\\"arg3\\") + @jsii.member(jsii_name="arg3") def arg3(self) -> typing.Optional[datetime.datetime]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"arg3\\") + """ + return jsii.get(self, "arg3") @jsii.data_type( - jsii_type=\\"jsii-calc.OptionalStruct\\", + jsii_type="jsii-calc.OptionalStruct", jsii_struct_bases=[], - name_mapping={\\"field\\": \\"field\\"}, + name_mapping={"field": "field"}, ) class OptionalStruct: def __init__(self, *, field: typing.Optional[str] = None) -> None: - \\"\\"\\" + """ :param field: stability :stability: experimental - \\"\\"\\" + """ self._values = {} if field is not None: - self._values[\\"field\\"] = field + self._values["field"] = field @builtins.property def field(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"field\\") + """ + return self._values.get("field") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -63332,164 +62360,164 @@ class OptionalStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"OptionalStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "OptionalStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class OptionalStructConsumer( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.OptionalStructConsumer\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.OptionalStructConsumer" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self, *, field: typing.Optional[str] = None) -> None: - \\"\\"\\" + """ :param field: stability :stability: experimental - \\"\\"\\" + """ optional_struct = OptionalStruct(field=field) jsii.create(OptionalStructConsumer, self, [optional_struct]) @builtins.property - @jsii.member(jsii_name=\\"parameterWasUndefined\\") + @jsii.member(jsii_name="parameterWasUndefined") def parameter_was_undefined(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"parameterWasUndefined\\") + """ + return jsii.get(self, "parameterWasUndefined") @builtins.property - @jsii.member(jsii_name=\\"fieldValue\\") + @jsii.member(jsii_name="fieldValue") def field_value(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"fieldValue\\") + """ + return jsii.get(self, "fieldValue") class OverridableProtectedMember( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.OverridableProtectedMember\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.OverridableProtectedMember" ): - \\"\\"\\" + """ see :see: https://github.com/aws/jsii/issues/903 stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(OverridableProtectedMember, self, []) - @jsii.member(jsii_name=\\"overrideMe\\") + @jsii.member(jsii_name="overrideMe") def _override_me(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"overrideMe\\", []) + """ + return jsii.invoke(self, "overrideMe", []) - @jsii.member(jsii_name=\\"switchModes\\") + @jsii.member(jsii_name="switchModes") def switch_modes(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"switchModes\\", []) + """ + return jsii.invoke(self, "switchModes", []) - @jsii.member(jsii_name=\\"valueFromProtected\\") + @jsii.member(jsii_name="valueFromProtected") def value_from_protected(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"valueFromProtected\\", []) + """ + return jsii.invoke(self, "valueFromProtected", []) @builtins.property - @jsii.member(jsii_name=\\"overrideReadOnly\\") + @jsii.member(jsii_name="overrideReadOnly") def _override_read_only(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"overrideReadOnly\\") + """ + return jsii.get(self, "overrideReadOnly") @builtins.property - @jsii.member(jsii_name=\\"overrideReadWrite\\") + @jsii.member(jsii_name="overrideReadWrite") def _override_read_write(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"overrideReadWrite\\") + """ + return jsii.get(self, "overrideReadWrite") @_override_read_write.setter def _override_read_write(self, value: str) -> None: - jsii.set(self, \\"overrideReadWrite\\", value) + jsii.set(self, "overrideReadWrite", value) class OverrideReturnsObject( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.OverrideReturnsObject\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.OverrideReturnsObject" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(OverrideReturnsObject, self, []) - @jsii.member(jsii_name=\\"test\\") - def test(self, obj: \\"IReturnsNumber\\") -> jsii.Number: - \\"\\"\\" + @jsii.member(jsii_name="test") + def test(self, obj: "IReturnsNumber") -> jsii.Number: + """ :param obj: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"test\\", [obj]) + """ + return jsii.invoke(self, "test", [obj]) @jsii.data_type( - jsii_type=\\"jsii-calc.ParentStruct982\\", + jsii_type="jsii-calc.ParentStruct982", jsii_struct_bases=[], - name_mapping={\\"foo\\": \\"foo\\"}, + name_mapping={"foo": "foo"}, ) class ParentStruct982: def __init__(self, *, foo: str) -> None: - \\"\\"\\"https://github.com/aws/jsii/issues/982. + """https://github.com/aws/jsii/issues/982. :param foo: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"foo\\": foo, + "foo": foo, } @builtins.property def foo(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"foo\\") + """ + return self._values.get("foo") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -63498,532 +62526,532 @@ class ParentStruct982: return not (rhs == self) def __repr__(self) -> str: - return \\"ParentStruct982(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "ParentStruct982(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class PartiallyInitializedThisConsumer( metaclass=jsii.JSIIAbstractClass, - jsii_type=\\"jsii-calc.PartiallyInitializedThisConsumer\\", + jsii_type="jsii-calc.PartiallyInitializedThisConsumer", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _PartiallyInitializedThisConsumerProxy def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(PartiallyInitializedThisConsumer, self, []) - @jsii.member(jsii_name=\\"consumePartiallyInitializedThis\\") + @jsii.member(jsii_name="consumePartiallyInitializedThis") @abc.abstractmethod def consume_partially_initialized_this( self, - obj: \\"ConstructorPassesThisOut\\", + obj: "ConstructorPassesThisOut", dt: datetime.datetime, - ev: \\"AllTypesEnum\\", + ev: "AllTypesEnum", ) -> str: - \\"\\"\\" + """ :param obj: - :param dt: - :param ev: - stability :stability: experimental - \\"\\"\\" + """ ... class _PartiallyInitializedThisConsumerProxy(PartiallyInitializedThisConsumer): - @jsii.member(jsii_name=\\"consumePartiallyInitializedThis\\") + @jsii.member(jsii_name="consumePartiallyInitializedThis") def consume_partially_initialized_this( self, - obj: \\"ConstructorPassesThisOut\\", + obj: "ConstructorPassesThisOut", dt: datetime.datetime, - ev: \\"AllTypesEnum\\", + ev: "AllTypesEnum", ) -> str: - \\"\\"\\" + """ :param obj: - :param dt: - :param ev: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"consumePartiallyInitializedThis\\", [obj, dt, ev]) + """ + return jsii.invoke(self, "consumePartiallyInitializedThis", [obj, dt, ev]) -class Polymorphism(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Polymorphism\\"): - \\"\\"\\" +class Polymorphism(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Polymorphism"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Polymorphism, self, []) - @jsii.member(jsii_name=\\"sayHello\\") + @jsii.member(jsii_name="sayHello") def say_hello(self, friendly: scope.jsii_calc_lib.IFriendly) -> str: - \\"\\"\\" + """ :param friendly: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"sayHello\\", [friendly]) + """ + return jsii.invoke(self, "sayHello", [friendly]) class Power( - _CompositeOperation_1c4d123b, metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Power\\" + _CompositeOperation_1c4d123b, metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Power" ): - \\"\\"\\"The power operation. + """The power operation. stability :stability: experimental - \\"\\"\\" + """ def __init__( self, base: scope.jsii_calc_lib.Value, pow: scope.jsii_calc_lib.Value ) -> None: - \\"\\"\\"Creates a Power operation. + """Creates a Power operation. :param base: The base of the power. :param pow: The number of times to multiply. stability :stability: experimental - \\"\\"\\" + """ jsii.create(Power, self, [base, pow]) @builtins.property - @jsii.member(jsii_name=\\"base\\") + @jsii.member(jsii_name="base") def base(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"The base of the power. + """The base of the power. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"base\\") + """ + return jsii.get(self, "base") @builtins.property - @jsii.member(jsii_name=\\"expression\\") + @jsii.member(jsii_name="expression") def expression(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"The expression that this operation consists of. + """The expression that this operation consists of. Must be implemented by derived classes. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"expression\\") + """ + return jsii.get(self, "expression") @builtins.property - @jsii.member(jsii_name=\\"pow\\") + @jsii.member(jsii_name="pow") def pow(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"The number of times to multiply. + """The number of times to multiply. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"pow\\") + """ + return jsii.get(self, "pow") class PropertyNamedProperty( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.PropertyNamedProperty\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.PropertyNamedProperty" ): - \\"\\"\\"Reproduction for https://github.com/aws/jsii/issues/1113 Where a method or property named \\"property\\" would result in impossible to load Python code. + """Reproduction for https://github.com/aws/jsii/issues/1113 Where a method or property named "property" would result in impossible to load Python code. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(PropertyNamedProperty, self, []) @builtins.property - @jsii.member(jsii_name=\\"property\\") + @jsii.member(jsii_name="property") def property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"property\\") + """ + return jsii.get(self, "property") @builtins.property - @jsii.member(jsii_name=\\"yetAnoterOne\\") + @jsii.member(jsii_name="yetAnoterOne") def yet_anoter_one(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"yetAnoterOne\\") + """ + return jsii.get(self, "yetAnoterOne") -class PublicClass(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.PublicClass\\"): - \\"\\"\\" +class PublicClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.PublicClass"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(PublicClass, self, []) - @jsii.member(jsii_name=\\"hello\\") + @jsii.member(jsii_name="hello") def hello(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"hello\\", []) + """ + return jsii.invoke(self, "hello", []) class PythonReservedWords( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.PythonReservedWords\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.PythonReservedWords" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(PythonReservedWords, self, []) - @jsii.member(jsii_name=\\"and\\") + @jsii.member(jsii_name="and") def and_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"and\\", []) + """ + return jsii.invoke(self, "and", []) - @jsii.member(jsii_name=\\"as\\") + @jsii.member(jsii_name="as") def as_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"as\\", []) + """ + return jsii.invoke(self, "as", []) - @jsii.member(jsii_name=\\"assert\\") + @jsii.member(jsii_name="assert") def assert_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"assert\\", []) + """ + return jsii.invoke(self, "assert", []) - @jsii.member(jsii_name=\\"async\\") + @jsii.member(jsii_name="async") def async_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"async\\", []) + """ + return jsii.invoke(self, "async", []) - @jsii.member(jsii_name=\\"await\\") + @jsii.member(jsii_name="await") def await_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"await\\", []) + """ + return jsii.invoke(self, "await", []) - @jsii.member(jsii_name=\\"break\\") + @jsii.member(jsii_name="break") def break_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"break\\", []) + """ + return jsii.invoke(self, "break", []) - @jsii.member(jsii_name=\\"class\\") + @jsii.member(jsii_name="class") def class_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"class\\", []) + """ + return jsii.invoke(self, "class", []) - @jsii.member(jsii_name=\\"continue\\") + @jsii.member(jsii_name="continue") def continue_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"continue\\", []) + """ + return jsii.invoke(self, "continue", []) - @jsii.member(jsii_name=\\"def\\") + @jsii.member(jsii_name="def") def def_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"def\\", []) + """ + return jsii.invoke(self, "def", []) - @jsii.member(jsii_name=\\"del\\") + @jsii.member(jsii_name="del") def del_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"del\\", []) + """ + return jsii.invoke(self, "del", []) - @jsii.member(jsii_name=\\"elif\\") + @jsii.member(jsii_name="elif") def elif_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"elif\\", []) + """ + return jsii.invoke(self, "elif", []) - @jsii.member(jsii_name=\\"else\\") + @jsii.member(jsii_name="else") def else_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"else\\", []) + """ + return jsii.invoke(self, "else", []) - @jsii.member(jsii_name=\\"except\\") + @jsii.member(jsii_name="except") def except_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"except\\", []) + """ + return jsii.invoke(self, "except", []) - @jsii.member(jsii_name=\\"finally\\") + @jsii.member(jsii_name="finally") def finally_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"finally\\", []) + """ + return jsii.invoke(self, "finally", []) - @jsii.member(jsii_name=\\"for\\") + @jsii.member(jsii_name="for") def for_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"for\\", []) + """ + return jsii.invoke(self, "for", []) - @jsii.member(jsii_name=\\"from\\") + @jsii.member(jsii_name="from") def from_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"from\\", []) + """ + return jsii.invoke(self, "from", []) - @jsii.member(jsii_name=\\"global\\") + @jsii.member(jsii_name="global") def global_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"global\\", []) + """ + return jsii.invoke(self, "global", []) - @jsii.member(jsii_name=\\"if\\") + @jsii.member(jsii_name="if") def if_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"if\\", []) + """ + return jsii.invoke(self, "if", []) - @jsii.member(jsii_name=\\"import\\") + @jsii.member(jsii_name="import") def import_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"import\\", []) + """ + return jsii.invoke(self, "import", []) - @jsii.member(jsii_name=\\"in\\") + @jsii.member(jsii_name="in") def in_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"in\\", []) + """ + return jsii.invoke(self, "in", []) - @jsii.member(jsii_name=\\"is\\") + @jsii.member(jsii_name="is") def is_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"is\\", []) + """ + return jsii.invoke(self, "is", []) - @jsii.member(jsii_name=\\"lambda\\") + @jsii.member(jsii_name="lambda") def lambda_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"lambda\\", []) + """ + return jsii.invoke(self, "lambda", []) - @jsii.member(jsii_name=\\"nonlocal\\") + @jsii.member(jsii_name="nonlocal") def nonlocal_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"nonlocal\\", []) + """ + return jsii.invoke(self, "nonlocal", []) - @jsii.member(jsii_name=\\"not\\") + @jsii.member(jsii_name="not") def not_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"not\\", []) + """ + return jsii.invoke(self, "not", []) - @jsii.member(jsii_name=\\"or\\") + @jsii.member(jsii_name="or") def or_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"or\\", []) + """ + return jsii.invoke(self, "or", []) - @jsii.member(jsii_name=\\"pass\\") + @jsii.member(jsii_name="pass") def pass_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"pass\\", []) + """ + return jsii.invoke(self, "pass", []) - @jsii.member(jsii_name=\\"raise\\") + @jsii.member(jsii_name="raise") def raise_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"raise\\", []) + """ + return jsii.invoke(self, "raise", []) - @jsii.member(jsii_name=\\"return\\") + @jsii.member(jsii_name="return") def return_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"return\\", []) + """ + return jsii.invoke(self, "return", []) - @jsii.member(jsii_name=\\"try\\") + @jsii.member(jsii_name="try") def try_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"try\\", []) + """ + return jsii.invoke(self, "try", []) - @jsii.member(jsii_name=\\"while\\") + @jsii.member(jsii_name="while") def while_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"while\\", []) + """ + return jsii.invoke(self, "while", []) - @jsii.member(jsii_name=\\"with\\") + @jsii.member(jsii_name="with") def with_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"with\\", []) + """ + return jsii.invoke(self, "with", []) - @jsii.member(jsii_name=\\"yield\\") + @jsii.member(jsii_name="yield") def yield_(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"yield\\", []) + """ + return jsii.invoke(self, "yield", []) class ReferenceEnumFromScopedPackage( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.ReferenceEnumFromScopedPackage\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.ReferenceEnumFromScopedPackage" ): - \\"\\"\\"See awslabs/jsii#138. + """See awslabs/jsii#138. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ReferenceEnumFromScopedPackage, self, []) - @jsii.member(jsii_name=\\"loadFoo\\") + @jsii.member(jsii_name="loadFoo") def load_foo(self) -> typing.Optional[scope.jsii_calc_lib.EnumFromScopedModule]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"loadFoo\\", []) + """ + return jsii.invoke(self, "loadFoo", []) - @jsii.member(jsii_name=\\"saveFoo\\") + @jsii.member(jsii_name="saveFoo") def save_foo(self, value: scope.jsii_calc_lib.EnumFromScopedModule) -> None: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"saveFoo\\", [value]) + """ + return jsii.invoke(self, "saveFoo", [value]) @builtins.property - @jsii.member(jsii_name=\\"foo\\") + @jsii.member(jsii_name="foo") def foo(self) -> typing.Optional[scope.jsii_calc_lib.EnumFromScopedModule]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"foo\\") + """ + return jsii.get(self, "foo") @foo.setter def foo( self, value: typing.Optional[scope.jsii_calc_lib.EnumFromScopedModule] ) -> None: - jsii.set(self, \\"foo\\", value) + jsii.set(self, "foo", value) class ReturnsPrivateImplementationOfInterface( metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.ReturnsPrivateImplementationOfInterface\\", + jsii_type="jsii-calc.ReturnsPrivateImplementationOfInterface", ): - \\"\\"\\"Helps ensure the JSII kernel & runtime cooperate correctly when an un-exported instance of a class is returned with a declared type that is an exported interface, and the instance inherits from an exported class. + """Helps ensure the JSII kernel & runtime cooperate correctly when an un-exported instance of a class is returned with a declared type that is an exported interface, and the instance inherits from an exported class. return :return: an instance of an un-exported class that extends \`\`ExportedBaseClass\`\`, declared as \`\`IPrivatelyImplemented\`\`. @@ -64032,72 +63060,72 @@ class ReturnsPrivateImplementationOfInterface( :see: https://github.com/aws/jsii/issues/320 stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ReturnsPrivateImplementationOfInterface, self, []) @builtins.property - @jsii.member(jsii_name=\\"privateImplementation\\") - def private_implementation(self) -> \\"IPrivatelyImplemented\\": - \\"\\"\\" + @jsii.member(jsii_name="privateImplementation") + def private_implementation(self) -> "IPrivatelyImplemented": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"privateImplementation\\") + """ + return jsii.get(self, "privateImplementation") @jsii.data_type( - jsii_type=\\"jsii-calc.RootStruct\\", + jsii_type="jsii-calc.RootStruct", jsii_struct_bases=[], - name_mapping={\\"string_prop\\": \\"stringProp\\", \\"nested_struct\\": \\"nestedStruct\\"}, + name_mapping={"string_prop": "stringProp", "nested_struct": "nestedStruct"}, ) class RootStruct: def __init__( self, *, string_prop: str, - nested_struct: typing.Optional[\\"NestedStruct\\"] = None, + nested_struct: typing.Optional["NestedStruct"] = None, ) -> None: - \\"\\"\\"This is here to check that we can pass a nested struct into a kwargs by specifying it as an in-line dictionary. + """This is here to check that we can pass a nested struct into a kwargs by specifying it as an in-line dictionary. - This is cheating with the (current) declared types, but this is the \\"more - idiomatic\\" way for Pythonists. + This is cheating with the (current) declared types, but this is the "more + idiomatic" way for Pythonists. :param string_prop: May not be empty. :param nested_struct: stability :stability: experimental - \\"\\"\\" + """ if isinstance(nested_struct, dict): nested_struct = NestedStruct(**nested_struct) self._values = { - \\"string_prop\\": string_prop, + "string_prop": string_prop, } if nested_struct is not None: - self._values[\\"nested_struct\\"] = nested_struct + self._values["nested_struct"] = nested_struct @builtins.property def string_prop(self) -> str: - \\"\\"\\"May not be empty. + """May not be empty. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"string_prop\\") + """ + return self._values.get("string_prop") @builtins.property - def nested_struct(self) -> typing.Optional[\\"NestedStruct\\"]: - \\"\\"\\" + def nested_struct(self) -> typing.Optional["NestedStruct"]: + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"nested_struct\\") + """ + return self._values.get("nested_struct") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -64106,86 +63134,86 @@ class RootStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"RootStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "RootStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class RootStructValidator( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.RootStructValidator\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.RootStructValidator" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"validate\\") + @jsii.member(jsii_name="validate") @builtins.classmethod def validate( - cls, *, string_prop: str, nested_struct: typing.Optional[\\"NestedStruct\\"] = None + cls, *, string_prop: str, nested_struct: typing.Optional["NestedStruct"] = None ) -> None: - \\"\\"\\" + """ :param string_prop: May not be empty. :param nested_struct: stability :stability: experimental - \\"\\"\\" + """ struct = RootStruct(string_prop=string_prop, nested_struct=nested_struct) - return jsii.sinvoke(cls, \\"validate\\", [struct]) + return jsii.sinvoke(cls, "validate", [struct]) class RuntimeTypeChecking( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.RuntimeTypeChecking\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.RuntimeTypeChecking" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(RuntimeTypeChecking, self, []) - @jsii.member(jsii_name=\\"methodWithDefaultedArguments\\") + @jsii.member(jsii_name="methodWithDefaultedArguments") def method_with_defaulted_arguments( self, arg1: typing.Optional[jsii.Number] = None, arg2: typing.Optional[str] = None, arg3: typing.Optional[datetime.datetime] = None, ) -> None: - \\"\\"\\" + """ :param arg1: - :param arg2: - :param arg3: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"methodWithDefaultedArguments\\", [arg1, arg2, arg3]) + """ + return jsii.invoke(self, "methodWithDefaultedArguments", [arg1, arg2, arg3]) - @jsii.member(jsii_name=\\"methodWithOptionalAnyArgument\\") + @jsii.member(jsii_name="methodWithOptionalAnyArgument") def method_with_optional_any_argument(self, arg: typing.Any = None) -> None: - \\"\\"\\" + """ :param arg: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"methodWithOptionalAnyArgument\\", [arg]) + """ + return jsii.invoke(self, "methodWithOptionalAnyArgument", [arg]) - @jsii.member(jsii_name=\\"methodWithOptionalArguments\\") + @jsii.member(jsii_name="methodWithOptionalArguments") def method_with_optional_arguments( self, arg1: jsii.Number, arg2: str, arg3: typing.Optional[datetime.datetime] = None, ) -> None: - \\"\\"\\"Used to verify verification of number of method arguments. + """Used to verify verification of number of method arguments. :param arg1: - :param arg2: - @@ -64193,16 +63221,16 @@ class RuntimeTypeChecking( stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"methodWithOptionalArguments\\", [arg1, arg2, arg3]) + """ + return jsii.invoke(self, "methodWithOptionalArguments", [arg1, arg2, arg3]) @jsii.data_type( - jsii_type=\\"jsii-calc.SecondLevelStruct\\", + jsii_type="jsii-calc.SecondLevelStruct", jsii_struct_bases=[], name_mapping={ - \\"deeper_required_prop\\": \\"deeperRequiredProp\\", - \\"deeper_optional_prop\\": \\"deeperOptionalProp\\", + "deeper_required_prop": "deeperRequiredProp", + "deeper_optional_prop": "deeperOptionalProp", }, ) class SecondLevelStruct: @@ -64212,36 +63240,36 @@ class SecondLevelStruct: deeper_required_prop: str, deeper_optional_prop: typing.Optional[str] = None, ) -> None: - \\"\\"\\" + """ :param deeper_required_prop: It's long and required. :param deeper_optional_prop: It's long, but you'll almost never pass it. stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"deeper_required_prop\\": deeper_required_prop, + "deeper_required_prop": deeper_required_prop, } if deeper_optional_prop is not None: - self._values[\\"deeper_optional_prop\\"] = deeper_optional_prop + self._values["deeper_optional_prop"] = deeper_optional_prop @builtins.property def deeper_required_prop(self) -> str: - \\"\\"\\"It's long and required. + """It's long and required. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"deeper_required_prop\\") + """ + return self._values.get("deeper_required_prop") @builtins.property def deeper_optional_prop(self) -> typing.Optional[str]: - \\"\\"\\"It's long, but you'll almost never pass it. + """It's long, but you'll almost never pass it. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"deeper_optional_prop\\") + """ + return self._values.get("deeper_optional_prop") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -64250,15 +63278,15 @@ class SecondLevelStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"SecondLevelStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "SecondLevelStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class SingleInstanceTwoTypes( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.SingleInstanceTwoTypes\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.SingleInstanceTwoTypes" ): - \\"\\"\\"Test that a single instance can be returned under two different FQNs. + """Test that a single instance can be returned under two different FQNs. JSII clients can instantiate 2 different strongly-typed wrappers for the same object. Unfortunately, this will break object equality, but if we didn't do @@ -64266,138 +63294,138 @@ class SingleInstanceTwoTypes( stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(SingleInstanceTwoTypes, self, []) - @jsii.member(jsii_name=\\"interface1\\") - def interface1(self) -> \\"InbetweenClass\\": - \\"\\"\\" + @jsii.member(jsii_name="interface1") + def interface1(self) -> "InbetweenClass": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"interface1\\", []) + """ + return jsii.invoke(self, "interface1", []) - @jsii.member(jsii_name=\\"interface2\\") - def interface2(self) -> \\"IPublicInterface\\": - \\"\\"\\" + @jsii.member(jsii_name="interface2") + def interface2(self) -> "IPublicInterface": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"interface2\\", []) + """ + return jsii.invoke(self, "interface2", []) -class SingletonInt(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.SingletonInt\\"): - \\"\\"\\"Verifies that singleton enums are handled correctly. +class SingletonInt(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.SingletonInt"): + """Verifies that singleton enums are handled correctly. https://github.com/aws/jsii/issues/231 stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"isSingletonInt\\") + @jsii.member(jsii_name="isSingletonInt") def is_singleton_int(self, value: jsii.Number) -> bool: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"isSingletonInt\\", [value]) + """ + return jsii.invoke(self, "isSingletonInt", [value]) -@jsii.enum(jsii_type=\\"jsii-calc.SingletonIntEnum\\") +@jsii.enum(jsii_type="jsii-calc.SingletonIntEnum") class SingletonIntEnum(enum.Enum): - \\"\\"\\"A singleton integer. + """A singleton integer. stability :stability: experimental - \\"\\"\\" + """ - SINGLETON_INT = \\"SINGLETON_INT\\" - \\"\\"\\"Elite! + SINGLETON_INT = "SINGLETON_INT" + """Elite! stability :stability: experimental - \\"\\"\\" + """ -class SingletonString(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.SingletonString\\"): - \\"\\"\\"Verifies that singleton enums are handled correctly. +class SingletonString(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.SingletonString"): + """Verifies that singleton enums are handled correctly. https://github.com/aws/jsii/issues/231 stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"isSingletonString\\") + @jsii.member(jsii_name="isSingletonString") def is_singleton_string(self, value: str) -> bool: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"isSingletonString\\", [value]) + """ + return jsii.invoke(self, "isSingletonString", [value]) -@jsii.enum(jsii_type=\\"jsii-calc.SingletonStringEnum\\") +@jsii.enum(jsii_type="jsii-calc.SingletonStringEnum") class SingletonStringEnum(enum.Enum): - \\"\\"\\"A singleton string. + """A singleton string. stability :stability: experimental - \\"\\"\\" + """ - SINGLETON_STRING = \\"SINGLETON_STRING\\" - \\"\\"\\"1337. + SINGLETON_STRING = "SINGLETON_STRING" + """1337. stability :stability: experimental - \\"\\"\\" + """ @jsii.data_type( - jsii_type=\\"jsii-calc.SmellyStruct\\", + jsii_type="jsii-calc.SmellyStruct", jsii_struct_bases=[], - name_mapping={\\"property\\": \\"property\\", \\"yet_anoter_one\\": \\"yetAnoterOne\\"}, + name_mapping={"property": "property", "yet_anoter_one": "yetAnoterOne"}, ) class SmellyStruct: def __init__(self, *, property: str, yet_anoter_one: bool) -> None: - \\"\\"\\" + """ :param property: :param yet_anoter_one: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"property\\": property, - \\"yet_anoter_one\\": yet_anoter_one, + "property": property, + "yet_anoter_one": yet_anoter_one, } @builtins.property def property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"property\\") + """ + return self._values.get("property") @builtins.property def yet_anoter_one(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"yet_anoter_one\\") + """ + return self._values.get("yet_anoter_one") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -64406,95 +63434,95 @@ class SmellyStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"SmellyStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "SmellyStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) -class SomeTypeJsii976(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.SomeTypeJsii976\\"): - \\"\\"\\" +class SomeTypeJsii976(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.SomeTypeJsii976"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(SomeTypeJsii976, self, []) - @jsii.member(jsii_name=\\"returnAnonymous\\") + @jsii.member(jsii_name="returnAnonymous") @builtins.classmethod def return_anonymous(cls) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"returnAnonymous\\", []) + """ + return jsii.sinvoke(cls, "returnAnonymous", []) - @jsii.member(jsii_name=\\"returnReturn\\") + @jsii.member(jsii_name="returnReturn") @builtins.classmethod - def return_return(cls) -> \\"IReturnJsii976\\": - \\"\\"\\" + def return_return(cls) -> "IReturnJsii976": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"returnReturn\\", []) + """ + return jsii.sinvoke(cls, "returnReturn", []) -class StableClass(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.StableClass\\"): +class StableClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.StableClass"): def __init__( self, readonly_string: str, mutable_number: typing.Optional[jsii.Number] = None ) -> None: - \\"\\"\\" + """ :param readonly_string: - :param mutable_number: - - \\"\\"\\" + """ jsii.create(StableClass, self, [readonly_string, mutable_number]) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self) -> None: - return jsii.invoke(self, \\"method\\", []) + return jsii.invoke(self, "method", []) @builtins.property - @jsii.member(jsii_name=\\"readonlyProperty\\") + @jsii.member(jsii_name="readonlyProperty") def readonly_property(self) -> str: - return jsii.get(self, \\"readonlyProperty\\") + return jsii.get(self, "readonlyProperty") @builtins.property - @jsii.member(jsii_name=\\"mutableProperty\\") + @jsii.member(jsii_name="mutableProperty") def mutable_property(self) -> typing.Optional[jsii.Number]: - return jsii.get(self, \\"mutableProperty\\") + return jsii.get(self, "mutableProperty") @mutable_property.setter def mutable_property(self, value: typing.Optional[jsii.Number]) -> None: - jsii.set(self, \\"mutableProperty\\", value) + jsii.set(self, "mutableProperty", value) -@jsii.enum(jsii_type=\\"jsii-calc.StableEnum\\") +@jsii.enum(jsii_type="jsii-calc.StableEnum") class StableEnum(enum.Enum): - OPTION_A = \\"OPTION_A\\" - OPTION_B = \\"OPTION_B\\" + OPTION_A = "OPTION_A" + OPTION_B = "OPTION_B" @jsii.data_type( - jsii_type=\\"jsii-calc.StableStruct\\", + jsii_type="jsii-calc.StableStruct", jsii_struct_bases=[], - name_mapping={\\"readonly_property\\": \\"readonlyProperty\\"}, + name_mapping={"readonly_property": "readonlyProperty"}, ) class StableStruct: def __init__(self, *, readonly_property: str) -> None: - \\"\\"\\" + """ :param readonly_property: - \\"\\"\\" + """ self._values = { - \\"readonly_property\\": readonly_property, + "readonly_property": readonly_property, } @builtins.property def readonly_property(self) -> str: - return self._values.get(\\"readonly_property\\") + return self._values.get("readonly_property") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -64503,214 +63531,214 @@ class StableStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"StableStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "StableStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) -class StaticContext(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.StaticContext\\"): - \\"\\"\\"This is used to validate the ability to use \`\`this\`\` from within a static context. +class StaticContext(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.StaticContext"): + """This is used to validate the ability to use \`\`this\`\` from within a static context. https://github.com/awslabs/aws-cdk/issues/2304 stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"canAccessStaticContext\\") + @jsii.member(jsii_name="canAccessStaticContext") @builtins.classmethod def can_access_static_context(cls) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"canAccessStaticContext\\", []) + """ + return jsii.sinvoke(cls, "canAccessStaticContext", []) @jsii.python.classproperty - @jsii.member(jsii_name=\\"staticVariable\\") + @jsii.member(jsii_name="staticVariable") def static_variable(cls) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"staticVariable\\") + """ + return jsii.sget(cls, "staticVariable") @static_variable.setter def static_variable(cls, value: bool) -> None: - jsii.sset(cls, \\"staticVariable\\", value) + jsii.sset(cls, "staticVariable", value) -class Statics(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Statics\\"): - \\"\\"\\" +class Statics(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Statics"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self, value: str) -> None: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(Statics, self, [value]) - @jsii.member(jsii_name=\\"staticMethod\\") + @jsii.member(jsii_name="staticMethod") @builtins.classmethod def static_method(cls, name: str) -> str: - \\"\\"\\"Jsdocs for static method. + """Jsdocs for static method. :param name: The name of the person to say hello to. stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"staticMethod\\", [name]) + """ + return jsii.sinvoke(cls, "staticMethod", [name]) - @jsii.member(jsii_name=\\"justMethod\\") + @jsii.member(jsii_name="justMethod") def just_method(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"justMethod\\", []) + """ + return jsii.invoke(self, "justMethod", []) @jsii.python.classproperty - @jsii.member(jsii_name=\\"BAR\\") + @jsii.member(jsii_name="BAR") def BAR(cls) -> jsii.Number: - \\"\\"\\"Constants may also use all-caps. + """Constants may also use all-caps. stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"BAR\\") + """ + return jsii.sget(cls, "BAR") @jsii.python.classproperty - @jsii.member(jsii_name=\\"ConstObj\\") - def CONST_OBJ(cls) -> \\"DoubleTrouble\\": - \\"\\"\\" + @jsii.member(jsii_name="ConstObj") + def CONST_OBJ(cls) -> "DoubleTrouble": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"ConstObj\\") + """ + return jsii.sget(cls, "ConstObj") @jsii.python.classproperty - @jsii.member(jsii_name=\\"Foo\\") + @jsii.member(jsii_name="Foo") def FOO(cls) -> str: - \\"\\"\\"Jsdocs for static property. + """Jsdocs for static property. stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"Foo\\") + """ + return jsii.sget(cls, "Foo") @jsii.python.classproperty - @jsii.member(jsii_name=\\"zooBar\\") + @jsii.member(jsii_name="zooBar") def ZOO_BAR(cls) -> typing.Mapping[str, str]: - \\"\\"\\"Constants can also use camelCase. + """Constants can also use camelCase. stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"zooBar\\") + """ + return jsii.sget(cls, "zooBar") @jsii.python.classproperty - @jsii.member(jsii_name=\\"instance\\") - def instance(cls) -> \\"Statics\\": - \\"\\"\\"Jsdocs for static getter. + @jsii.member(jsii_name="instance") + def instance(cls) -> "Statics": + """Jsdocs for static getter. Jsdocs for static setter. stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"instance\\") + """ + return jsii.sget(cls, "instance") @instance.setter - def instance(cls, value: \\"Statics\\") -> None: - jsii.sset(cls, \\"instance\\", value) + def instance(cls, value: "Statics") -> None: + jsii.sset(cls, "instance", value) @jsii.python.classproperty - @jsii.member(jsii_name=\\"nonConstStatic\\") + @jsii.member(jsii_name="nonConstStatic") def non_const_static(cls) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"nonConstStatic\\") + """ + return jsii.sget(cls, "nonConstStatic") @non_const_static.setter def non_const_static(cls, value: jsii.Number) -> None: - jsii.sset(cls, \\"nonConstStatic\\", value) + jsii.sset(cls, "nonConstStatic", value) @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") -@jsii.enum(jsii_type=\\"jsii-calc.StringEnum\\") +@jsii.enum(jsii_type="jsii-calc.StringEnum") class StringEnum(enum.Enum): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - A = \\"A\\" - \\"\\"\\" + A = "A" + """ stability :stability: experimental - \\"\\"\\" - B = \\"B\\" - \\"\\"\\" + """ + B = "B" + """ stability :stability: experimental - \\"\\"\\" - C = \\"C\\" - \\"\\"\\" + """ + C = "C" + """ stability :stability: experimental - \\"\\"\\" + """ -class StripInternal(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.StripInternal\\"): - \\"\\"\\" +class StripInternal(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.StripInternal"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(StripInternal, self, []) @builtins.property - @jsii.member(jsii_name=\\"youSeeMe\\") + @jsii.member(jsii_name="youSeeMe") def you_see_me(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"youSeeMe\\") + """ + return jsii.get(self, "youSeeMe") @you_see_me.setter def you_see_me(self, value: str) -> None: - jsii.set(self, \\"youSeeMe\\", value) + jsii.set(self, "youSeeMe", value) @jsii.data_type( - jsii_type=\\"jsii-calc.StructA\\", + jsii_type="jsii-calc.StructA", jsii_struct_bases=[], name_mapping={ - \\"required_string\\": \\"requiredString\\", - \\"optional_number\\": \\"optionalNumber\\", - \\"optional_string\\": \\"optionalString\\", + "required_string": "requiredString", + "optional_number": "optionalNumber", + "optional_string": "optionalString", }, ) class StructA: @@ -64721,7 +63749,7 @@ class StructA: optional_number: typing.Optional[jsii.Number] = None, optional_string: typing.Optional[str] = None, ) -> None: - \\"\\"\\"We can serialize and deserialize structs without silently ignoring optional fields. + """We can serialize and deserialize structs without silently ignoring optional fields. :param required_string: :param optional_number: @@ -64729,38 +63757,38 @@ class StructA: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"required_string\\": required_string, + "required_string": required_string, } if optional_number is not None: - self._values[\\"optional_number\\"] = optional_number + self._values["optional_number"] = optional_number if optional_string is not None: - self._values[\\"optional_string\\"] = optional_string + self._values["optional_string"] = optional_string @builtins.property def required_string(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"required_string\\") + """ + return self._values.get("required_string") @builtins.property def optional_number(self) -> typing.Optional[jsii.Number]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"optional_number\\") + """ + return self._values.get("optional_number") @builtins.property def optional_string(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"optional_string\\") + """ + return self._values.get("optional_string") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -64769,18 +63797,18 @@ class StructA: return not (rhs == self) def __repr__(self) -> str: - return \\"StructA(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "StructA(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"jsii-calc.StructB\\", + jsii_type="jsii-calc.StructB", jsii_struct_bases=[], name_mapping={ - \\"required_string\\": \\"requiredString\\", - \\"optional_boolean\\": \\"optionalBoolean\\", - \\"optional_struct_a\\": \\"optionalStructA\\", + "required_string": "requiredString", + "optional_boolean": "optionalBoolean", + "optional_struct_a": "optionalStructA", }, ) class StructB: @@ -64789,9 +63817,9 @@ class StructB: *, required_string: str, optional_boolean: typing.Optional[bool] = None, - optional_struct_a: typing.Optional[\\"StructA\\"] = None, + optional_struct_a: typing.Optional["StructA"] = None, ) -> None: - \\"\\"\\"This intentionally overlaps with StructA (where only requiredString is provided) to test htat the kernel properly disambiguates those. + """This intentionally overlaps with StructA (where only requiredString is provided) to test htat the kernel properly disambiguates those. :param required_string: :param optional_boolean: @@ -64799,40 +63827,40 @@ class StructB: stability :stability: experimental - \\"\\"\\" + """ if isinstance(optional_struct_a, dict): optional_struct_a = StructA(**optional_struct_a) self._values = { - \\"required_string\\": required_string, + "required_string": required_string, } if optional_boolean is not None: - self._values[\\"optional_boolean\\"] = optional_boolean + self._values["optional_boolean"] = optional_boolean if optional_struct_a is not None: - self._values[\\"optional_struct_a\\"] = optional_struct_a + self._values["optional_struct_a"] = optional_struct_a @builtins.property def required_string(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"required_string\\") + """ + return self._values.get("required_string") @builtins.property def optional_boolean(self) -> typing.Optional[bool]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"optional_boolean\\") + """ + return self._values.get("optional_boolean") @builtins.property - def optional_struct_a(self) -> typing.Optional[\\"StructA\\"]: - \\"\\"\\" + def optional_struct_a(self) -> typing.Optional["StructA"]: + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"optional_struct_a\\") + """ + return self._values.get("optional_struct_a") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -64841,19 +63869,19 @@ class StructB: return not (rhs == self) def __repr__(self) -> str: - return \\"StructB(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "StructB(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"jsii-calc.StructParameterType\\", + jsii_type="jsii-calc.StructParameterType", jsii_struct_bases=[], - name_mapping={\\"scope\\": \\"scope\\", \\"props\\": \\"props\\"}, + name_mapping={"scope": "scope", "props": "props"}, ) class StructParameterType: def __init__(self, *, scope: str, props: typing.Optional[bool] = None) -> None: - \\"\\"\\"Verifies that, in languages that do keyword lifting (e.g: Python), having a struct member with the same name as a positional parameter results in the correct code being emitted. + """Verifies that, in languages that do keyword lifting (e.g: Python), having a struct member with the same name as a positional parameter results in the correct code being emitted. See: https://github.com/aws/aws-cdk/issues/4302 @@ -64862,28 +63890,28 @@ class StructParameterType: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"scope\\": scope, + "scope": scope, } if props is not None: - self._values[\\"props\\"] = props + self._values["props"] = props @builtins.property def scope(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"scope\\") + """ + return self._values.get("scope") @builtins.property def props(self) -> typing.Optional[bool]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"props\\") + """ + return self._values.get("props") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -64892,94 +63920,94 @@ class StructParameterType: return not (rhs == self) def __repr__(self) -> str: - return \\"StructParameterType(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "StructParameterType(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) -class StructPassing(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.StructPassing\\"): - \\"\\"\\"Just because we can.\\"\\"\\" +class StructPassing(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.StructPassing"): + """Just because we can.""" def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(StructPassing, self, []) - @jsii.member(jsii_name=\\"howManyVarArgsDidIPass\\") + @jsii.member(jsii_name="howManyVarArgsDidIPass") @builtins.classmethod def how_many_var_args_did_i_pass( - cls, _positional: jsii.Number, *inputs: \\"TopLevelStruct\\" + cls, _positional: jsii.Number, *inputs: "TopLevelStruct" ) -> jsii.Number: - \\"\\"\\" + """ :param _positional: - :param inputs: - - \\"\\"\\" - return jsii.sinvoke(cls, \\"howManyVarArgsDidIPass\\", [_positional, *inputs]) + """ + return jsii.sinvoke(cls, "howManyVarArgsDidIPass", [_positional, *inputs]) - @jsii.member(jsii_name=\\"roundTrip\\") + @jsii.member(jsii_name="roundTrip") @builtins.classmethod def round_trip( cls, _positional: jsii.Number, *, required: str, - second_level: typing.Union[jsii.Number, \\"SecondLevelStruct\\"], + second_level: typing.Union[jsii.Number, "SecondLevelStruct"], optional: typing.Optional[str] = None, - ) -> \\"TopLevelStruct\\": - \\"\\"\\" + ) -> "TopLevelStruct": + """ :param _positional: - :param required: This is a required field. :param second_level: A union to really stress test our serialization. :param optional: You don't have to pass this. - \\"\\"\\" + """ input = TopLevelStruct( required=required, second_level=second_level, optional=optional ) - return jsii.sinvoke(cls, \\"roundTrip\\", [_positional, input]) + return jsii.sinvoke(cls, "roundTrip", [_positional, input]) class StructUnionConsumer( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.StructUnionConsumer\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.StructUnionConsumer" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"isStructA\\") + @jsii.member(jsii_name="isStructA") @builtins.classmethod - def is_struct_a(cls, struct: typing.Union[\\"StructA\\", \\"StructB\\"]) -> bool: - \\"\\"\\" + def is_struct_a(cls, struct: typing.Union["StructA", "StructB"]) -> bool: + """ :param struct: - stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"isStructA\\", [struct]) + """ + return jsii.sinvoke(cls, "isStructA", [struct]) - @jsii.member(jsii_name=\\"isStructB\\") + @jsii.member(jsii_name="isStructB") @builtins.classmethod - def is_struct_b(cls, struct: typing.Union[\\"StructA\\", \\"StructB\\"]) -> bool: - \\"\\"\\" + def is_struct_b(cls, struct: typing.Union["StructA", "StructB"]) -> bool: + """ :param struct: - stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"isStructB\\", [struct]) + """ + return jsii.sinvoke(cls, "isStructB", [struct]) @jsii.data_type( - jsii_type=\\"jsii-calc.StructWithJavaReservedWords\\", + jsii_type="jsii-calc.StructWithJavaReservedWords", jsii_struct_bases=[], name_mapping={ - \\"default\\": \\"default\\", - \\"assert_\\": \\"assert\\", - \\"result\\": \\"result\\", - \\"that\\": \\"that\\", + "default": "default", + "assert_": "assert", + "result": "result", + "that": "that", }, ) class StructWithJavaReservedWords: @@ -64991,7 +64019,7 @@ class StructWithJavaReservedWords: result: typing.Optional[str] = None, that: typing.Optional[str] = None, ) -> None: - \\"\\"\\" + """ :param default: :param assert_: :param result: @@ -64999,48 +64027,48 @@ class StructWithJavaReservedWords: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"default\\": default, + "default": default, } if assert_ is not None: - self._values[\\"assert_\\"] = assert_ + self._values["assert_"] = assert_ if result is not None: - self._values[\\"result\\"] = result + self._values["result"] = result if that is not None: - self._values[\\"that\\"] = that + self._values["that"] = that @builtins.property def default(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"default\\") + """ + return self._values.get("default") @builtins.property def assert_(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"assert_\\") + """ + return self._values.get("assert_") @builtins.property def result(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"result\\") + """ + return self._values.get("result") @builtins.property def that(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"that\\") + """ + return self._values.get("that") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -65049,93 +64077,93 @@ class StructWithJavaReservedWords: return not (rhs == self) def __repr__(self) -> str: - return \\"StructWithJavaReservedWords(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "StructWithJavaReservedWords(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class Sum( - _CompositeOperation_1c4d123b, metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Sum\\" + _CompositeOperation_1c4d123b, metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Sum" ): - \\"\\"\\"An operation that sums multiple values. + """An operation that sums multiple values. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Sum, self, []) @builtins.property - @jsii.member(jsii_name=\\"expression\\") + @jsii.member(jsii_name="expression") def expression(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"The expression that this operation consists of. + """The expression that this operation consists of. Must be implemented by derived classes. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"expression\\") + """ + return jsii.get(self, "expression") @builtins.property - @jsii.member(jsii_name=\\"parts\\") + @jsii.member(jsii_name="parts") def parts(self) -> typing.List[scope.jsii_calc_lib.Value]: - \\"\\"\\"The parts to sum. + """The parts to sum. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"parts\\") + """ + return jsii.get(self, "parts") @parts.setter def parts(self, value: typing.List[scope.jsii_calc_lib.Value]) -> None: - jsii.set(self, \\"parts\\", value) + jsii.set(self, "parts", value) @jsii.data_type( - jsii_type=\\"jsii-calc.SupportsNiceJavaBuilderProps\\", + jsii_type="jsii-calc.SupportsNiceJavaBuilderProps", jsii_struct_bases=[], - name_mapping={\\"bar\\": \\"bar\\", \\"id\\": \\"id\\"}, + name_mapping={"bar": "bar", "id": "id"}, ) class SupportsNiceJavaBuilderProps: def __init__(self, *, bar: jsii.Number, id: typing.Optional[str] = None) -> None: - \\"\\"\\" + """ :param bar: Some number, like 42. :param id: An \`\`id\`\` field here is terrible API design, because the constructor of \`\`SupportsNiceJavaBuilder\`\` already has a parameter named \`\`id\`\`. But here we are, doing it like we didn't care. stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"bar\\": bar, + "bar": bar, } if id is not None: - self._values[\\"id\\"] = id + self._values["id"] = id @builtins.property def bar(self) -> jsii.Number: - \\"\\"\\"Some number, like 42. + """Some number, like 42. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"bar\\") + """ + return self._values.get("bar") @builtins.property def id(self) -> typing.Optional[str]: - \\"\\"\\"An \`\`id\`\` field here is terrible API design, because the constructor of \`\`SupportsNiceJavaBuilder\`\` already has a parameter named \`\`id\`\`. + """An \`\`id\`\` field here is terrible API design, because the constructor of \`\`SupportsNiceJavaBuilder\`\` already has a parameter named \`\`id\`\`. But here we are, doing it like we didn't care. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"id\\") + """ + return self._values.get("id") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -65144,272 +64172,272 @@ class SupportsNiceJavaBuilderProps: return not (rhs == self) def __repr__(self) -> str: - return \\"SupportsNiceJavaBuilderProps(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "SupportsNiceJavaBuilderProps(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) class SupportsNiceJavaBuilderWithRequiredProps( metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.SupportsNiceJavaBuilderWithRequiredProps\\", + jsii_type="jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", ): - \\"\\"\\"We can generate fancy builders in Java for classes which take a mix of positional & struct parameters. + """We can generate fancy builders in Java for classes which take a mix of positional & struct parameters. stability :stability: experimental - \\"\\"\\" + """ def __init__( self, id_: jsii.Number, *, bar: jsii.Number, id: typing.Optional[str] = None ) -> None: - \\"\\"\\" + """ :param id_: some identifier of your choice. :param bar: Some number, like 42. :param id: An \`\`id\`\` field here is terrible API design, because the constructor of \`\`SupportsNiceJavaBuilder\`\` already has a parameter named \`\`id\`\`. But here we are, doing it like we didn't care. stability :stability: experimental - \\"\\"\\" + """ props = SupportsNiceJavaBuilderProps(bar=bar, id=id) jsii.create(SupportsNiceJavaBuilderWithRequiredProps, self, [id_, props]) @builtins.property - @jsii.member(jsii_name=\\"bar\\") + @jsii.member(jsii_name="bar") def bar(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"bar\\") + """ + return jsii.get(self, "bar") @builtins.property - @jsii.member(jsii_name=\\"id\\") + @jsii.member(jsii_name="id") def id(self) -> jsii.Number: - \\"\\"\\"some identifier of your choice. + """some identifier of your choice. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"id\\") + """ + return jsii.get(self, "id") @builtins.property - @jsii.member(jsii_name=\\"propId\\") + @jsii.member(jsii_name="propId") def prop_id(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"propId\\") + """ + return jsii.get(self, "propId") class SyncVirtualMethods( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.SyncVirtualMethods\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.SyncVirtualMethods" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(SyncVirtualMethods, self, []) - @jsii.member(jsii_name=\\"callerIsAsync\\") + @jsii.member(jsii_name="callerIsAsync") def caller_is_async(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"callerIsAsync\\", []) + """ + return jsii.ainvoke(self, "callerIsAsync", []) - @jsii.member(jsii_name=\\"callerIsMethod\\") + @jsii.member(jsii_name="callerIsMethod") def caller_is_method(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"callerIsMethod\\", []) + """ + return jsii.invoke(self, "callerIsMethod", []) - @jsii.member(jsii_name=\\"modifyOtherProperty\\") + @jsii.member(jsii_name="modifyOtherProperty") def modify_other_property(self, value: str) -> None: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"modifyOtherProperty\\", [value]) + """ + return jsii.invoke(self, "modifyOtherProperty", [value]) - @jsii.member(jsii_name=\\"modifyValueOfTheProperty\\") + @jsii.member(jsii_name="modifyValueOfTheProperty") def modify_value_of_the_property(self, value: str) -> None: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"modifyValueOfTheProperty\\", [value]) + """ + return jsii.invoke(self, "modifyValueOfTheProperty", [value]) - @jsii.member(jsii_name=\\"readA\\") + @jsii.member(jsii_name="readA") def read_a(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"readA\\", []) + """ + return jsii.invoke(self, "readA", []) - @jsii.member(jsii_name=\\"retrieveOtherProperty\\") + @jsii.member(jsii_name="retrieveOtherProperty") def retrieve_other_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"retrieveOtherProperty\\", []) + """ + return jsii.invoke(self, "retrieveOtherProperty", []) - @jsii.member(jsii_name=\\"retrieveReadOnlyProperty\\") + @jsii.member(jsii_name="retrieveReadOnlyProperty") def retrieve_read_only_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"retrieveReadOnlyProperty\\", []) + """ + return jsii.invoke(self, "retrieveReadOnlyProperty", []) - @jsii.member(jsii_name=\\"retrieveValueOfTheProperty\\") + @jsii.member(jsii_name="retrieveValueOfTheProperty") def retrieve_value_of_the_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"retrieveValueOfTheProperty\\", []) + """ + return jsii.invoke(self, "retrieveValueOfTheProperty", []) - @jsii.member(jsii_name=\\"virtualMethod\\") + @jsii.member(jsii_name="virtualMethod") def virtual_method(self, n: jsii.Number) -> jsii.Number: - \\"\\"\\" + """ :param n: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"virtualMethod\\", [n]) + """ + return jsii.invoke(self, "virtualMethod", [n]) - @jsii.member(jsii_name=\\"writeA\\") + @jsii.member(jsii_name="writeA") def write_a(self, value: jsii.Number) -> None: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"writeA\\", [value]) + """ + return jsii.invoke(self, "writeA", [value]) @builtins.property - @jsii.member(jsii_name=\\"readonlyProperty\\") + @jsii.member(jsii_name="readonlyProperty") def readonly_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"readonlyProperty\\") + """ + return jsii.get(self, "readonlyProperty") @builtins.property - @jsii.member(jsii_name=\\"a\\") + @jsii.member(jsii_name="a") def a(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"a\\") + """ + return jsii.get(self, "a") @a.setter def a(self, value: jsii.Number) -> None: - jsii.set(self, \\"a\\", value) + jsii.set(self, "a", value) @builtins.property - @jsii.member(jsii_name=\\"callerIsProperty\\") + @jsii.member(jsii_name="callerIsProperty") def caller_is_property(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"callerIsProperty\\") + """ + return jsii.get(self, "callerIsProperty") @caller_is_property.setter def caller_is_property(self, value: jsii.Number) -> None: - jsii.set(self, \\"callerIsProperty\\", value) + jsii.set(self, "callerIsProperty", value) @builtins.property - @jsii.member(jsii_name=\\"otherProperty\\") + @jsii.member(jsii_name="otherProperty") def other_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"otherProperty\\") + """ + return jsii.get(self, "otherProperty") @other_property.setter def other_property(self, value: str) -> None: - jsii.set(self, \\"otherProperty\\", value) + jsii.set(self, "otherProperty", value) @builtins.property - @jsii.member(jsii_name=\\"theProperty\\") + @jsii.member(jsii_name="theProperty") def the_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"theProperty\\") + """ + return jsii.get(self, "theProperty") @the_property.setter def the_property(self, value: str) -> None: - jsii.set(self, \\"theProperty\\", value) + jsii.set(self, "theProperty", value) @builtins.property - @jsii.member(jsii_name=\\"valueOfOtherProperty\\") + @jsii.member(jsii_name="valueOfOtherProperty") def value_of_other_property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"valueOfOtherProperty\\") + """ + return jsii.get(self, "valueOfOtherProperty") @value_of_other_property.setter def value_of_other_property(self, value: str) -> None: - jsii.set(self, \\"valueOfOtherProperty\\", value) + jsii.set(self, "valueOfOtherProperty", value) -class Thrower(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Thrower\\"): - \\"\\"\\" +class Thrower(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Thrower"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Thrower, self, []) - @jsii.member(jsii_name=\\"throwError\\") + @jsii.member(jsii_name="throwError") def throw_error(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"throwError\\", []) + """ + return jsii.invoke(self, "throwError", []) @jsii.data_type( - jsii_type=\\"jsii-calc.TopLevelStruct\\", + jsii_type="jsii-calc.TopLevelStruct", jsii_struct_bases=[], name_mapping={ - \\"required\\": \\"required\\", - \\"second_level\\": \\"secondLevel\\", - \\"optional\\": \\"optional\\", + "required": "required", + "second_level": "secondLevel", + "optional": "optional", }, ) class TopLevelStruct: @@ -65417,50 +64445,50 @@ class TopLevelStruct: self, *, required: str, - second_level: typing.Union[jsii.Number, \\"SecondLevelStruct\\"], + second_level: typing.Union[jsii.Number, "SecondLevelStruct"], optional: typing.Optional[str] = None, ) -> None: - \\"\\"\\" + """ :param required: This is a required field. :param second_level: A union to really stress test our serialization. :param optional: You don't have to pass this. stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"required\\": required, - \\"second_level\\": second_level, + "required": required, + "second_level": second_level, } if optional is not None: - self._values[\\"optional\\"] = optional + self._values["optional"] = optional @builtins.property def required(self) -> str: - \\"\\"\\"This is a required field. + """This is a required field. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"required\\") + """ + return self._values.get("required") @builtins.property - def second_level(self) -> typing.Union[jsii.Number, \\"SecondLevelStruct\\"]: - \\"\\"\\"A union to really stress test our serialization. + def second_level(self) -> typing.Union[jsii.Number, "SecondLevelStruct"]: + """A union to really stress test our serialization. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"second_level\\") + """ + return self._values.get("second_level") @builtins.property def optional(self) -> typing.Optional[str]: - \\"\\"\\"You don't have to pass this. + """You don't have to pass this. stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"optional\\") + """ + return self._values.get("optional") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -65469,63 +64497,63 @@ class TopLevelStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"TopLevelStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "TopLevelStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) -class UmaskCheck(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.UmaskCheck\\"): - \\"\\"\\"Checks the current file permissions are cool (no funky UMASK down-scoping happened). +class UmaskCheck(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.UmaskCheck"): + """Checks the current file permissions are cool (no funky UMASK down-scoping happened). see :see: https://github.com/aws/jsii/issues/1765 stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"mode\\") + @jsii.member(jsii_name="mode") @builtins.classmethod def mode(cls) -> jsii.Number: - \\"\\"\\"This should return 0o644 (-rw-r--r--). + """This should return 0o644 (-rw-r--r--). stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"mode\\", []) + """ + return jsii.sinvoke(cls, "mode", []) class UnaryOperation( scope.jsii_calc_lib.Operation, metaclass=jsii.JSIIAbstractClass, - jsii_type=\\"jsii-calc.UnaryOperation\\", + jsii_type="jsii-calc.UnaryOperation", ): - \\"\\"\\"An operation on a single operand. + """An operation on a single operand. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _UnaryOperationProxy def __init__(self, operand: scope.jsii_calc_lib.Value) -> None: - \\"\\"\\" + """ :param operand: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(UnaryOperation, self, [operand]) @builtins.property - @jsii.member(jsii_name=\\"operand\\") + @jsii.member(jsii_name="operand") def operand(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"operand\\") + """ + return jsii.get(self, "operand") class _UnaryOperationProxy( @@ -65535,45 +64563,45 @@ class _UnaryOperationProxy( @jsii.data_type( - jsii_type=\\"jsii-calc.UnionProperties\\", + jsii_type="jsii-calc.UnionProperties", jsii_struct_bases=[], - name_mapping={\\"bar\\": \\"bar\\", \\"foo\\": \\"foo\\"}, + name_mapping={"bar": "bar", "foo": "foo"}, ) class UnionProperties: def __init__( self, *, - bar: typing.Union[str, jsii.Number, \\"AllTypes\\"], + bar: typing.Union[str, jsii.Number, "AllTypes"], foo: typing.Optional[typing.Union[str, jsii.Number]] = None, ) -> None: - \\"\\"\\" + """ :param bar: :param foo: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"bar\\": bar, + "bar": bar, } if foo is not None: - self._values[\\"foo\\"] = foo + self._values["foo"] = foo @builtins.property - def bar(self) -> typing.Union[str, jsii.Number, \\"AllTypes\\"]: - \\"\\"\\" + def bar(self) -> typing.Union[str, jsii.Number, "AllTypes"]: + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"bar\\") + """ + return self._values.get("bar") @builtins.property def foo(self) -> typing.Optional[typing.Union[str, jsii.Number]]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"foo\\") + """ + return self._values.get("foo") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -65582,278 +64610,278 @@ class UnionProperties: return not (rhs == self) def __repr__(self) -> str: - return \\"UnionProperties(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "UnionProperties(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.implements(scope.jsii_calc_lib.custom_submodule_name.IReflectable) class UpcasingReflectable( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.UpcasingReflectable\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.UpcasingReflectable" ): - \\"\\"\\"Ensures submodule-imported types from dependencies can be used correctly. + """Ensures submodule-imported types from dependencies can be used correctly. stability :stability: experimental - \\"\\"\\" + """ def __init__(self, delegate: typing.Mapping[str, typing.Any]) -> None: - \\"\\"\\" + """ :param delegate: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(UpcasingReflectable, self, [delegate]) @jsii.python.classproperty - @jsii.member(jsii_name=\\"reflector\\") + @jsii.member(jsii_name="reflector") def REFLECTOR(cls) -> scope.jsii_calc_lib.custom_submodule_name.Reflector: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"reflector\\") + """ + return jsii.sget(cls, "reflector") @builtins.property - @jsii.member(jsii_name=\\"entries\\") + @jsii.member(jsii_name="entries") def entries( self, ) -> typing.List[scope.jsii_calc_lib.custom_submodule_name.ReflectableEntry]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"entries\\") + """ + return jsii.get(self, "entries") class UseBundledDependency( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.UseBundledDependency\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.UseBundledDependency" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(UseBundledDependency, self, []) - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> typing.Any: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"value\\", []) + """ + return jsii.invoke(self, "value", []) -class UseCalcBase(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.UseCalcBase\\"): - \\"\\"\\"Depend on a type from jsii-calc-base as a test for awslabs/jsii#128. +class UseCalcBase(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.UseCalcBase"): + """Depend on a type from jsii-calc-base as a test for awslabs/jsii#128. stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(UseCalcBase, self, []) - @jsii.member(jsii_name=\\"hello\\") + @jsii.member(jsii_name="hello") def hello(self) -> scope.jsii_calc_base.Base: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"hello\\", []) + """ + return jsii.invoke(self, "hello", []) class UsesInterfaceWithProperties( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.UsesInterfaceWithProperties\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.UsesInterfaceWithProperties" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - def __init__(self, obj: \\"IInterfaceWithProperties\\") -> None: - \\"\\"\\" + def __init__(self, obj: "IInterfaceWithProperties") -> None: + """ :param obj: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(UsesInterfaceWithProperties, self, [obj]) - @jsii.member(jsii_name=\\"justRead\\") + @jsii.member(jsii_name="justRead") def just_read(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"justRead\\", []) + """ + return jsii.invoke(self, "justRead", []) - @jsii.member(jsii_name=\\"readStringAndNumber\\") - def read_string_and_number(self, ext: \\"IInterfaceWithPropertiesExtension\\") -> str: - \\"\\"\\" + @jsii.member(jsii_name="readStringAndNumber") + def read_string_and_number(self, ext: "IInterfaceWithPropertiesExtension") -> str: + """ :param ext: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"readStringAndNumber\\", [ext]) + """ + return jsii.invoke(self, "readStringAndNumber", [ext]) - @jsii.member(jsii_name=\\"writeAndRead\\") + @jsii.member(jsii_name="writeAndRead") def write_and_read(self, value: str) -> str: - \\"\\"\\" + """ :param value: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"writeAndRead\\", [value]) + """ + return jsii.invoke(self, "writeAndRead", [value]) @builtins.property - @jsii.member(jsii_name=\\"obj\\") - def obj(self) -> \\"IInterfaceWithProperties\\": - \\"\\"\\" + @jsii.member(jsii_name="obj") + def obj(self) -> "IInterfaceWithProperties": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"obj\\") + """ + return jsii.get(self, "obj") -class VariadicInvoker(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.VariadicInvoker\\"): - \\"\\"\\" +class VariadicInvoker(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.VariadicInvoker"): + """ stability :stability: experimental - \\"\\"\\" + """ - def __init__(self, method: \\"VariadicMethod\\") -> None: - \\"\\"\\" + def __init__(self, method: "VariadicMethod") -> None: + """ :param method: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(VariadicInvoker, self, [method]) - @jsii.member(jsii_name=\\"asArray\\") + @jsii.member(jsii_name="asArray") def as_array(self, *values: jsii.Number) -> typing.List[jsii.Number]: - \\"\\"\\" + """ :param values: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"asArray\\", [*values]) + """ + return jsii.invoke(self, "asArray", [*values]) -class VariadicMethod(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.VariadicMethod\\"): - \\"\\"\\" +class VariadicMethod(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.VariadicMethod"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self, *prefix: jsii.Number) -> None: - \\"\\"\\" + """ :param prefix: a prefix that will be use for all values returned by \`\`#asArray\`\`. stability :stability: experimental - \\"\\"\\" + """ jsii.create(VariadicMethod, self, [*prefix]) - @jsii.member(jsii_name=\\"asArray\\") + @jsii.member(jsii_name="asArray") def as_array( self, first: jsii.Number, *others: jsii.Number ) -> typing.List[jsii.Number]: - \\"\\"\\" + """ :param first: the first element of the array to be returned (after the \`\`prefix\`\` provided at construction time). :param others: other elements to be included in the array. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"asArray\\", [first, *others]) + """ + return jsii.invoke(self, "asArray", [first, *others]) class VirtualMethodPlayground( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.VirtualMethodPlayground\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.VirtualMethodPlayground" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(VirtualMethodPlayground, self, []) - @jsii.member(jsii_name=\\"overrideMeAsync\\") + @jsii.member(jsii_name="overrideMeAsync") def override_me_async(self, index: jsii.Number) -> jsii.Number: - \\"\\"\\" + """ :param index: - stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"overrideMeAsync\\", [index]) + """ + return jsii.ainvoke(self, "overrideMeAsync", [index]) - @jsii.member(jsii_name=\\"overrideMeSync\\") + @jsii.member(jsii_name="overrideMeSync") def override_me_sync(self, index: jsii.Number) -> jsii.Number: - \\"\\"\\" + """ :param index: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"overrideMeSync\\", [index]) + """ + return jsii.invoke(self, "overrideMeSync", [index]) - @jsii.member(jsii_name=\\"parallelSumAsync\\") + @jsii.member(jsii_name="parallelSumAsync") def parallel_sum_async(self, count: jsii.Number) -> jsii.Number: - \\"\\"\\" + """ :param count: - stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"parallelSumAsync\\", [count]) + """ + return jsii.ainvoke(self, "parallelSumAsync", [count]) - @jsii.member(jsii_name=\\"serialSumAsync\\") + @jsii.member(jsii_name="serialSumAsync") def serial_sum_async(self, count: jsii.Number) -> jsii.Number: - \\"\\"\\" + """ :param count: - stability :stability: experimental - \\"\\"\\" - return jsii.ainvoke(self, \\"serialSumAsync\\", [count]) + """ + return jsii.ainvoke(self, "serialSumAsync", [count]) - @jsii.member(jsii_name=\\"sumSync\\") + @jsii.member(jsii_name="sumSync") def sum_sync(self, count: jsii.Number) -> jsii.Number: - \\"\\"\\" + """ :param count: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"sumSync\\", [count]) + """ + return jsii.invoke(self, "sumSync", [count]) class VoidCallback( - metaclass=jsii.JSIIAbstractClass, jsii_type=\\"jsii-calc.VoidCallback\\" + metaclass=jsii.JSIIAbstractClass, jsii_type="jsii-calc.VoidCallback" ): - \\"\\"\\"This test is used to validate the runtimes can return correctly from a void callback. + """This test is used to validate the runtimes can return correctly from a void callback. - Implement \`\`overrideMe\`\` (method does not have to do anything). - Invoke \`\`callMe\`\` @@ -65861,290 +64889,290 @@ class VoidCallback( stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _VoidCallbackProxy def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(VoidCallback, self, []) - @jsii.member(jsii_name=\\"callMe\\") + @jsii.member(jsii_name="callMe") def call_me(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"callMe\\", []) + """ + return jsii.invoke(self, "callMe", []) - @jsii.member(jsii_name=\\"overrideMe\\") + @jsii.member(jsii_name="overrideMe") @abc.abstractmethod def _override_me(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... @builtins.property - @jsii.member(jsii_name=\\"methodWasCalled\\") + @jsii.member(jsii_name="methodWasCalled") def method_was_called(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"methodWasCalled\\") + """ + return jsii.get(self, "methodWasCalled") class _VoidCallbackProxy(VoidCallback): - @jsii.member(jsii_name=\\"overrideMe\\") + @jsii.member(jsii_name="overrideMe") def _override_me(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"overrideMe\\", []) + """ + return jsii.invoke(self, "overrideMe", []) class WithPrivatePropertyInConstructor( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.WithPrivatePropertyInConstructor\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.WithPrivatePropertyInConstructor" ): - \\"\\"\\"Verifies that private property declarations in constructor arguments are hidden. + """Verifies that private property declarations in constructor arguments are hidden. stability :stability: experimental - \\"\\"\\" + """ def __init__(self, private_field: typing.Optional[str] = None) -> None: - \\"\\"\\" + """ :param private_field: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(WithPrivatePropertyInConstructor, self, [private_field]) @builtins.property - @jsii.member(jsii_name=\\"success\\") + @jsii.member(jsii_name="success") def success(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"success\\") + """ + return jsii.get(self, "success") @jsii.implements(IInterfaceImplementedByAbstractClass) class AbstractClass( AbstractClassBase, metaclass=jsii.JSIIAbstractClass, - jsii_type=\\"jsii-calc.AbstractClass\\", + jsii_type="jsii-calc.AbstractClass", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _AbstractClassProxy def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(AbstractClass, self, []) - @jsii.member(jsii_name=\\"abstractMethod\\") + @jsii.member(jsii_name="abstractMethod") @abc.abstractmethod def abstract_method(self, name: str) -> str: - \\"\\"\\" + """ :param name: - stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"nonAbstractMethod\\") + @jsii.member(jsii_name="nonAbstractMethod") def non_abstract_method(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"nonAbstractMethod\\", []) + """ + return jsii.invoke(self, "nonAbstractMethod", []) @builtins.property - @jsii.member(jsii_name=\\"propFromInterface\\") + @jsii.member(jsii_name="propFromInterface") def prop_from_interface(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"propFromInterface\\") + """ + return jsii.get(self, "propFromInterface") class _AbstractClassProxy(AbstractClass, jsii.proxy_for(AbstractClassBase)): - @jsii.member(jsii_name=\\"abstractMethod\\") + @jsii.member(jsii_name="abstractMethod") def abstract_method(self, name: str) -> str: - \\"\\"\\" + """ :param name: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"abstractMethod\\", [name]) + """ + return jsii.invoke(self, "abstractMethod", [name]) -class Add(BinaryOperation, metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Add\\"): - \\"\\"\\"The \\"+\\" binary operation. +class Add(BinaryOperation, metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Add"): + """The "+" binary operation. stability :stability: experimental - \\"\\"\\" + """ def __init__( self, lhs: scope.jsii_calc_lib.Value, rhs: scope.jsii_calc_lib.Value ) -> None: - \\"\\"\\"Creates a BinaryOperation. + """Creates a BinaryOperation. :param lhs: Left-hand side operand. :param rhs: Right-hand side operand. stability :stability: experimental - \\"\\"\\" + """ jsii.create(Add, self, [lhs, rhs]) - @jsii.member(jsii_name=\\"toString\\") + @jsii.member(jsii_name="toString") def to_string(self) -> str: - \\"\\"\\"String representation of the value. + """String representation of the value. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"toString\\", []) + """ + return jsii.invoke(self, "toString", []) @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> jsii.Number: - \\"\\"\\"The value. + """The value. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") @jsii.implements(IAnonymousImplementationProvider) class AnonymousImplementationProvider( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.AnonymousImplementationProvider\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.AnonymousImplementationProvider" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(AnonymousImplementationProvider, self, []) - @jsii.member(jsii_name=\\"provideAsClass\\") - def provide_as_class(self) -> \\"Implementation\\": - \\"\\"\\" + @jsii.member(jsii_name="provideAsClass") + def provide_as_class(self) -> "Implementation": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"provideAsClass\\", []) + """ + return jsii.invoke(self, "provideAsClass", []) - @jsii.member(jsii_name=\\"provideAsInterface\\") - def provide_as_interface(self) -> \\"IAnonymouslyImplementMe\\": - \\"\\"\\" + @jsii.member(jsii_name="provideAsInterface") + def provide_as_interface(self) -> "IAnonymouslyImplementMe": + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"provideAsInterface\\", []) + """ + return jsii.invoke(self, "provideAsInterface", []) @jsii.implements(IBell) -class Bell(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Bell\\"): - \\"\\"\\" +class Bell(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Bell"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Bell, self, []) - @jsii.member(jsii_name=\\"ring\\") + @jsii.member(jsii_name="ring") def ring(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"ring\\", []) + """ + return jsii.invoke(self, "ring", []) @builtins.property - @jsii.member(jsii_name=\\"rung\\") + @jsii.member(jsii_name="rung") def rung(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"rung\\") + """ + return jsii.get(self, "rung") @rung.setter def rung(self, value: bool) -> None: - jsii.set(self, \\"rung\\", value) + jsii.set(self, "rung", value) @jsii.data_type( - jsii_type=\\"jsii-calc.ChildStruct982\\", + jsii_type="jsii-calc.ChildStruct982", jsii_struct_bases=[ParentStruct982], - name_mapping={\\"foo\\": \\"foo\\", \\"bar\\": \\"bar\\"}, + name_mapping={"foo": "foo", "bar": "bar"}, ) class ChildStruct982(ParentStruct982): def __init__(self, *, foo: str, bar: jsii.Number) -> None: - \\"\\"\\" + """ :param foo: :param bar: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"foo\\": foo, - \\"bar\\": bar, + "foo": foo, + "bar": bar, } @builtins.property def foo(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"foo\\") + """ + return self._values.get("foo") @builtins.property def bar(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"bar\\") + """ + return self._values.get("bar") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -66153,207 +65181,207 @@ class ChildStruct982(ParentStruct982): return not (rhs == self) def __repr__(self) -> str: - return \\"ChildStruct982(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "ChildStruct982(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.implements(INonInternalInterface) class ClassThatImplementsTheInternalInterface( metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.ClassThatImplementsTheInternalInterface\\", + jsii_type="jsii-calc.ClassThatImplementsTheInternalInterface", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ClassThatImplementsTheInternalInterface, self, []) @builtins.property - @jsii.member(jsii_name=\\"a\\") + @jsii.member(jsii_name="a") def a(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"a\\") + """ + return jsii.get(self, "a") @a.setter def a(self, value: str) -> None: - jsii.set(self, \\"a\\", value) + jsii.set(self, "a", value) @builtins.property - @jsii.member(jsii_name=\\"b\\") + @jsii.member(jsii_name="b") def b(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"b\\") + """ + return jsii.get(self, "b") @b.setter def b(self, value: str) -> None: - jsii.set(self, \\"b\\", value) + jsii.set(self, "b", value) @builtins.property - @jsii.member(jsii_name=\\"c\\") + @jsii.member(jsii_name="c") def c(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"c\\") + """ + return jsii.get(self, "c") @c.setter def c(self, value: str) -> None: - jsii.set(self, \\"c\\", value) + jsii.set(self, "c", value) @builtins.property - @jsii.member(jsii_name=\\"d\\") + @jsii.member(jsii_name="d") def d(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"d\\") + """ + return jsii.get(self, "d") @d.setter def d(self, value: str) -> None: - jsii.set(self, \\"d\\", value) + jsii.set(self, "d", value) @jsii.implements(INonInternalInterface) class ClassThatImplementsThePrivateInterface( metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.ClassThatImplementsThePrivateInterface\\", + jsii_type="jsii-calc.ClassThatImplementsThePrivateInterface", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(ClassThatImplementsThePrivateInterface, self, []) @builtins.property - @jsii.member(jsii_name=\\"a\\") + @jsii.member(jsii_name="a") def a(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"a\\") + """ + return jsii.get(self, "a") @a.setter def a(self, value: str) -> None: - jsii.set(self, \\"a\\", value) + jsii.set(self, "a", value) @builtins.property - @jsii.member(jsii_name=\\"b\\") + @jsii.member(jsii_name="b") def b(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"b\\") + """ + return jsii.get(self, "b") @b.setter def b(self, value: str) -> None: - jsii.set(self, \\"b\\", value) + jsii.set(self, "b", value) @builtins.property - @jsii.member(jsii_name=\\"c\\") + @jsii.member(jsii_name="c") def c(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"c\\") + """ + return jsii.get(self, "c") @c.setter def c(self, value: str) -> None: - jsii.set(self, \\"c\\", value) + jsii.set(self, "c", value) @builtins.property - @jsii.member(jsii_name=\\"e\\") + @jsii.member(jsii_name="e") def e(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"e\\") + """ + return jsii.get(self, "e") @e.setter def e(self, value: str) -> None: - jsii.set(self, \\"e\\", value) + jsii.set(self, "e", value) @jsii.implements(IInterfaceWithProperties) class ClassWithPrivateConstructorAndAutomaticProperties( metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties\\", + jsii_type="jsii-calc.ClassWithPrivateConstructorAndAutomaticProperties", ): - \\"\\"\\"Class that implements interface properties automatically, but using a private constructor. + """Class that implements interface properties automatically, but using a private constructor. stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"create\\") + @jsii.member(jsii_name="create") @builtins.classmethod def create( cls, read_only_string: str, read_write_string: str - ) -> \\"ClassWithPrivateConstructorAndAutomaticProperties\\": - \\"\\"\\" + ) -> "ClassWithPrivateConstructorAndAutomaticProperties": + """ :param read_only_string: - :param read_write_string: - stability :stability: experimental - \\"\\"\\" - return jsii.sinvoke(cls, \\"create\\", [read_only_string, read_write_string]) + """ + return jsii.sinvoke(cls, "create", [read_only_string, read_write_string]) @builtins.property - @jsii.member(jsii_name=\\"readOnlyString\\") + @jsii.member(jsii_name="readOnlyString") def read_only_string(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"readOnlyString\\") + """ + return jsii.get(self, "readOnlyString") @builtins.property - @jsii.member(jsii_name=\\"readWriteString\\") + @jsii.member(jsii_name="readWriteString") def read_write_string(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"readWriteString\\") + """ + return jsii.get(self, "readWriteString") @read_write_string.setter def read_write_string(self, value: str) -> None: - jsii.set(self, \\"readWriteString\\", value) + jsii.set(self, "readWriteString", value) -@jsii.interface(jsii_type=\\"jsii-calc.IFriendlyRandomGenerator\\") +@jsii.interface(jsii_type="jsii-calc.IFriendlyRandomGenerator") class IFriendlyRandomGenerator( IRandomNumberGenerator, scope.jsii_calc_lib.IFriendly, jsii.compat.Protocol ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): @@ -66364,279 +65392,279 @@ class _IFriendlyRandomGeneratorProxy( jsii.proxy_for(IRandomNumberGenerator), jsii.proxy_for(scope.jsii_calc_lib.IFriendly), ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IFriendlyRandomGenerator\\" + __jsii_type__ = "jsii-calc.IFriendlyRandomGenerator" pass -@jsii.interface(jsii_type=\\"jsii-calc.IInterfaceThatShouldNotBeADataType\\") +@jsii.interface(jsii_type="jsii-calc.IInterfaceThatShouldNotBeADataType") class IInterfaceThatShouldNotBeADataType(IInterfaceWithMethods, jsii.compat.Protocol): - \\"\\"\\"Even though this interface has only properties, it is disqualified from being a datatype because it inherits from an interface that is not a datatype. + """Even though this interface has only properties, it is disqualified from being a datatype because it inherits from an interface that is not a datatype. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IInterfaceThatShouldNotBeADataTypeProxy @builtins.property - @jsii.member(jsii_name=\\"otherValue\\") + @jsii.member(jsii_name="otherValue") def other_value(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IInterfaceThatShouldNotBeADataTypeProxy(jsii.proxy_for(IInterfaceWithMethods)): - \\"\\"\\"Even though this interface has only properties, it is disqualified from being a datatype because it inherits from an interface that is not a datatype. + """Even though this interface has only properties, it is disqualified from being a datatype because it inherits from an interface that is not a datatype. stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IInterfaceThatShouldNotBeADataType\\" + __jsii_type__ = "jsii-calc.IInterfaceThatShouldNotBeADataType" @builtins.property - @jsii.member(jsii_name=\\"otherValue\\") + @jsii.member(jsii_name="otherValue") def other_value(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"otherValue\\") + """ + return jsii.get(self, "otherValue") -@jsii.interface(jsii_type=\\"jsii-calc.IJSII417Derived\\") +@jsii.interface(jsii_type="jsii-calc.IJSII417Derived") class IJSII417Derived(IJSII417PublicBaseOfBase, jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IJSII417DerivedProxy @builtins.property - @jsii.member(jsii_name=\\"property\\") + @jsii.member(jsii_name="property") def property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"bar\\") + @jsii.member(jsii_name="bar") def bar(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... - @jsii.member(jsii_name=\\"baz\\") + @jsii.member(jsii_name="baz") def baz(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _IJSII417DerivedProxy(jsii.proxy_for(IJSII417PublicBaseOfBase)): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.IJSII417Derived\\" + __jsii_type__ = "jsii-calc.IJSII417Derived" @builtins.property - @jsii.member(jsii_name=\\"property\\") + @jsii.member(jsii_name="property") def property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"property\\") + """ + return jsii.get(self, "property") - @jsii.member(jsii_name=\\"bar\\") + @jsii.member(jsii_name="bar") def bar(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"bar\\", []) + """ + return jsii.invoke(self, "bar", []) - @jsii.member(jsii_name=\\"baz\\") + @jsii.member(jsii_name="baz") def baz(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"baz\\", []) + """ + return jsii.invoke(self, "baz", []) @jsii.implements(IPublicInterface2) class InbetweenClass( - PublicClass, metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.InbetweenClass\\" + PublicClass, metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.InbetweenClass" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(InbetweenClass, self, []) - @jsii.member(jsii_name=\\"ciao\\") + @jsii.member(jsii_name="ciao") def ciao(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"ciao\\", []) + """ + return jsii.invoke(self, "ciao", []) class JSII417Derived( JSII417PublicBaseOfBase, metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.JSII417Derived\\", + jsii_type="jsii-calc.JSII417Derived", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self, property: str) -> None: - \\"\\"\\" + """ :param property: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(JSII417Derived, self, [property]) - @jsii.member(jsii_name=\\"bar\\") + @jsii.member(jsii_name="bar") def bar(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"bar\\", []) + """ + return jsii.invoke(self, "bar", []) - @jsii.member(jsii_name=\\"baz\\") + @jsii.member(jsii_name="baz") def baz(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"baz\\", []) + """ + return jsii.invoke(self, "baz", []) @builtins.property - @jsii.member(jsii_name=\\"property\\") + @jsii.member(jsii_name="property") def _property(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"property\\") + """ + return jsii.get(self, "property") @jsii.implements(IFriendlier) -class Negate(UnaryOperation, metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.Negate\\"): - \\"\\"\\"The negation operation (\\"-value\\"). +class Negate(UnaryOperation, metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Negate"): + """The negation operation ("-value"). stability :stability: experimental - \\"\\"\\" + """ def __init__(self, operand: scope.jsii_calc_lib.Value) -> None: - \\"\\"\\" + """ :param operand: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(Negate, self, [operand]) - @jsii.member(jsii_name=\\"farewell\\") + @jsii.member(jsii_name="farewell") def farewell(self) -> str: - \\"\\"\\"Say farewell. + """Say farewell. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"farewell\\", []) + """ + return jsii.invoke(self, "farewell", []) - @jsii.member(jsii_name=\\"goodbye\\") + @jsii.member(jsii_name="goodbye") def goodbye(self) -> str: - \\"\\"\\"Say goodbye. + """Say goodbye. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"goodbye\\", []) + """ + return jsii.invoke(self, "goodbye", []) - @jsii.member(jsii_name=\\"hello\\") + @jsii.member(jsii_name="hello") def hello(self) -> str: - \\"\\"\\"Say hello! + """Say hello! stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"hello\\", []) + """ + return jsii.invoke(self, "hello", []) - @jsii.member(jsii_name=\\"toString\\") + @jsii.member(jsii_name="toString") def to_string(self) -> str: - \\"\\"\\"String representation of the value. + """String representation of the value. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"toString\\", []) + """ + return jsii.invoke(self, "toString", []) @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> jsii.Number: - \\"\\"\\"The value. + """The value. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") class SupportsNiceJavaBuilder( SupportsNiceJavaBuilderWithRequiredProps, metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.SupportsNiceJavaBuilder\\", + jsii_type="jsii-calc.SupportsNiceJavaBuilder", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__( self, id: jsii.Number, default_bar: typing.Optional[jsii.Number] = None, - props: typing.Optional[\\"SupportsNiceJavaBuilderProps\\"] = None, + props: typing.Optional["SupportsNiceJavaBuilderProps"] = None, *rest: str, ) -> None: - \\"\\"\\" + """ :param id: some identifier. :param default_bar: the default value of \`\`bar\`\`. :param props: some props once can provide. @@ -66644,263 +65672,262 @@ class SupportsNiceJavaBuilder( stability :stability: experimental - \\"\\"\\" + """ jsii.create(SupportsNiceJavaBuilder, self, [id, default_bar, props, *rest]) @builtins.property - @jsii.member(jsii_name=\\"id\\") + @jsii.member(jsii_name="id") def id(self) -> jsii.Number: - \\"\\"\\"some identifier. + """some identifier. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"id\\") + """ + return jsii.get(self, "id") @builtins.property - @jsii.member(jsii_name=\\"rest\\") + @jsii.member(jsii_name="rest") def rest(self) -> typing.List[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"rest\\") + """ + return jsii.get(self, "rest") @jsii.implements(IFriendlyRandomGenerator) -class DoubleTrouble(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DoubleTrouble\\"): - \\"\\"\\" +class DoubleTrouble(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DoubleTrouble"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(DoubleTrouble, self, []) - @jsii.member(jsii_name=\\"hello\\") + @jsii.member(jsii_name="hello") def hello(self) -> str: - \\"\\"\\"Say hello! + """Say hello! stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"hello\\", []) + """ + return jsii.invoke(self, "hello", []) - @jsii.member(jsii_name=\\"next\\") + @jsii.member(jsii_name="next") def next(self) -> jsii.Number: - \\"\\"\\"Returns another random number. + """Returns another random number. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"next\\", []) + """ + return jsii.invoke(self, "next", []) __all__ = [ - \\"AbstractClass\\", - \\"AbstractClassBase\\", - \\"AbstractClassReturner\\", - \\"AbstractSuite\\", - \\"Add\\", - \\"AllTypes\\", - \\"AllTypesEnum\\", - \\"AllowedMethodNames\\", - \\"AmbiguousParameters\\", - \\"AnonymousImplementationProvider\\", - \\"AsyncVirtualMethods\\", - \\"AugmentableClass\\", - \\"BaseJsii976\\", - \\"Bell\\", - \\"BinaryOperation\\", - \\"BurriedAnonymousObject\\", - \\"Calculator\\", - \\"CalculatorProps\\", - \\"ChildStruct982\\", - \\"ClassThatImplementsTheInternalInterface\\", - \\"ClassThatImplementsThePrivateInterface\\", - \\"ClassWithCollections\\", - \\"ClassWithDocs\\", - \\"ClassWithJavaReservedWords\\", - \\"ClassWithMutableObjectLiteralProperty\\", - \\"ClassWithPrivateConstructorAndAutomaticProperties\\", - \\"ConfusingToJackson\\", - \\"ConfusingToJacksonStruct\\", - \\"ConstructorPassesThisOut\\", - \\"Constructors\\", - \\"ConsumePureInterface\\", - \\"ConsumerCanRingBell\\", - \\"ConsumersOfThisCrazyTypeSystem\\", - \\"DataRenderer\\", - \\"DefaultedConstructorArgument\\", - \\"Demonstrate982\\", - \\"DeprecatedClass\\", - \\"DeprecatedEnum\\", - \\"DeprecatedStruct\\", - \\"DerivedStruct\\", - \\"DiamondInheritanceBaseLevelStruct\\", - \\"DiamondInheritanceFirstMidLevelStruct\\", - \\"DiamondInheritanceSecondMidLevelStruct\\", - \\"DiamondInheritanceTopLevelStruct\\", - \\"DisappointingCollectionSource\\", - \\"DoNotOverridePrivates\\", - \\"DoNotRecognizeAnyAsOptional\\", - \\"DocumentedClass\\", - \\"DontComplainAboutVariadicAfterOptional\\", - \\"DoubleTrouble\\", - \\"EnumDispenser\\", - \\"EraseUndefinedHashValues\\", - \\"EraseUndefinedHashValuesOptions\\", - \\"ExperimentalClass\\", - \\"ExperimentalEnum\\", - \\"ExperimentalStruct\\", - \\"ExportedBaseClass\\", - \\"ExtendsInternalInterface\\", - \\"ExternalClass\\", - \\"ExternalEnum\\", - \\"ExternalStruct\\", - \\"GiveMeStructs\\", - \\"Greetee\\", - \\"GreetingAugmenter\\", - \\"IAnonymousImplementationProvider\\", - \\"IAnonymouslyImplementMe\\", - \\"IAnotherPublicInterface\\", - \\"IBell\\", - \\"IBellRinger\\", - \\"IConcreteBellRinger\\", - \\"IDeprecatedInterface\\", - \\"IExperimentalInterface\\", - \\"IExtendsPrivateInterface\\", - \\"IExternalInterface\\", - \\"IFriendlier\\", - \\"IFriendlyRandomGenerator\\", - \\"IInterfaceImplementedByAbstractClass\\", - \\"IInterfaceThatShouldNotBeADataType\\", - \\"IInterfaceWithInternal\\", - \\"IInterfaceWithMethods\\", - \\"IInterfaceWithOptionalMethodArguments\\", - \\"IInterfaceWithProperties\\", - \\"IInterfaceWithPropertiesExtension\\", - \\"IJSII417Derived\\", - \\"IJSII417PublicBaseOfBase\\", - \\"IJsii487External\\", - \\"IJsii487External2\\", - \\"IJsii496\\", - \\"IMutableObjectLiteral\\", - \\"INonInternalInterface\\", - \\"IObjectWithProperty\\", - \\"IOptionalMethod\\", - \\"IPrivatelyImplemented\\", - \\"IPublicInterface\\", - \\"IPublicInterface2\\", - \\"IRandomNumberGenerator\\", - \\"IReturnJsii976\\", - \\"IReturnsNumber\\", - \\"IStableInterface\\", - \\"IStructReturningDelegate\\", - \\"ImplementInternalInterface\\", - \\"Implementation\\", - \\"ImplementsInterfaceWithInternal\\", - \\"ImplementsInterfaceWithInternalSubclass\\", - \\"ImplementsPrivateInterface\\", - \\"ImplictBaseOfBase\\", - \\"InbetweenClass\\", - \\"InterfaceCollections\\", - \\"InterfacesMaker\\", - \\"Isomorphism\\", - \\"JSII417Derived\\", - \\"JSII417PublicBaseOfBase\\", - \\"JSObjectLiteralForInterface\\", - \\"JSObjectLiteralToNative\\", - \\"JSObjectLiteralToNativeClass\\", - \\"JavaReservedWords\\", - \\"Jsii487Derived\\", - \\"Jsii496Derived\\", - \\"JsiiAgent\\", - \\"JsonFormatter\\", - \\"LoadBalancedFargateServiceProps\\", - \\"MethodNamedProperty\\", - \\"Multiply\\", - \\"Negate\\", - \\"NestedStruct\\", - \\"NodeStandardLibrary\\", - \\"NullShouldBeTreatedAsUndefined\\", - \\"NullShouldBeTreatedAsUndefinedData\\", - \\"NumberGenerator\\", - \\"ObjectRefsInCollections\\", - \\"ObjectWithPropertyProvider\\", - \\"Old\\", - \\"OptionalArgumentInvoker\\", - \\"OptionalConstructorArgument\\", - \\"OptionalStruct\\", - \\"OptionalStructConsumer\\", - \\"OverridableProtectedMember\\", - \\"OverrideReturnsObject\\", - \\"ParentStruct982\\", - \\"PartiallyInitializedThisConsumer\\", - \\"Polymorphism\\", - \\"Power\\", - \\"PropertyNamedProperty\\", - \\"PublicClass\\", - \\"PythonReservedWords\\", - \\"ReferenceEnumFromScopedPackage\\", - \\"ReturnsPrivateImplementationOfInterface\\", - \\"RootStruct\\", - \\"RootStructValidator\\", - \\"RuntimeTypeChecking\\", - \\"SecondLevelStruct\\", - \\"SingleInstanceTwoTypes\\", - \\"SingletonInt\\", - \\"SingletonIntEnum\\", - \\"SingletonString\\", - \\"SingletonStringEnum\\", - \\"SmellyStruct\\", - \\"SomeTypeJsii976\\", - \\"StableClass\\", - \\"StableEnum\\", - \\"StableStruct\\", - \\"StaticContext\\", - \\"Statics\\", - \\"StringEnum\\", - \\"StripInternal\\", - \\"StructA\\", - \\"StructB\\", - \\"StructParameterType\\", - \\"StructPassing\\", - \\"StructUnionConsumer\\", - \\"StructWithJavaReservedWords\\", - \\"Sum\\", - \\"SupportsNiceJavaBuilder\\", - \\"SupportsNiceJavaBuilderProps\\", - \\"SupportsNiceJavaBuilderWithRequiredProps\\", - \\"SyncVirtualMethods\\", - \\"Thrower\\", - \\"TopLevelStruct\\", - \\"UmaskCheck\\", - \\"UnaryOperation\\", - \\"UnionProperties\\", - \\"UpcasingReflectable\\", - \\"UseBundledDependency\\", - \\"UseCalcBase\\", - \\"UsesInterfaceWithProperties\\", - \\"VariadicInvoker\\", - \\"VariadicMethod\\", - \\"VirtualMethodPlayground\\", - \\"VoidCallback\\", - \\"WithPrivatePropertyInConstructor\\", + "AbstractClass", + "AbstractClassBase", + "AbstractClassReturner", + "AbstractSuite", + "Add", + "AllTypes", + "AllTypesEnum", + "AllowedMethodNames", + "AmbiguousParameters", + "AnonymousImplementationProvider", + "AsyncVirtualMethods", + "AugmentableClass", + "BaseJsii976", + "Bell", + "BinaryOperation", + "BurriedAnonymousObject", + "Calculator", + "CalculatorProps", + "ChildStruct982", + "ClassThatImplementsTheInternalInterface", + "ClassThatImplementsThePrivateInterface", + "ClassWithCollections", + "ClassWithDocs", + "ClassWithJavaReservedWords", + "ClassWithMutableObjectLiteralProperty", + "ClassWithPrivateConstructorAndAutomaticProperties", + "ConfusingToJackson", + "ConfusingToJacksonStruct", + "ConstructorPassesThisOut", + "Constructors", + "ConsumePureInterface", + "ConsumerCanRingBell", + "ConsumersOfThisCrazyTypeSystem", + "DataRenderer", + "DefaultedConstructorArgument", + "Demonstrate982", + "DeprecatedClass", + "DeprecatedEnum", + "DeprecatedStruct", + "DerivedStruct", + "DiamondInheritanceBaseLevelStruct", + "DiamondInheritanceFirstMidLevelStruct", + "DiamondInheritanceSecondMidLevelStruct", + "DiamondInheritanceTopLevelStruct", + "DisappointingCollectionSource", + "DoNotOverridePrivates", + "DoNotRecognizeAnyAsOptional", + "DocumentedClass", + "DontComplainAboutVariadicAfterOptional", + "DoubleTrouble", + "EnumDispenser", + "EraseUndefinedHashValues", + "EraseUndefinedHashValuesOptions", + "ExperimentalClass", + "ExperimentalEnum", + "ExperimentalStruct", + "ExportedBaseClass", + "ExtendsInternalInterface", + "ExternalClass", + "ExternalEnum", + "ExternalStruct", + "GiveMeStructs", + "Greetee", + "GreetingAugmenter", + "IAnonymousImplementationProvider", + "IAnonymouslyImplementMe", + "IAnotherPublicInterface", + "IBell", + "IBellRinger", + "IConcreteBellRinger", + "IDeprecatedInterface", + "IExperimentalInterface", + "IExtendsPrivateInterface", + "IExternalInterface", + "IFriendlier", + "IFriendlyRandomGenerator", + "IInterfaceImplementedByAbstractClass", + "IInterfaceThatShouldNotBeADataType", + "IInterfaceWithInternal", + "IInterfaceWithMethods", + "IInterfaceWithOptionalMethodArguments", + "IInterfaceWithProperties", + "IInterfaceWithPropertiesExtension", + "IJSII417Derived", + "IJSII417PublicBaseOfBase", + "IJsii487External", + "IJsii487External2", + "IJsii496", + "IMutableObjectLiteral", + "INonInternalInterface", + "IObjectWithProperty", + "IOptionalMethod", + "IPrivatelyImplemented", + "IPublicInterface", + "IPublicInterface2", + "IRandomNumberGenerator", + "IReturnJsii976", + "IReturnsNumber", + "IStableInterface", + "IStructReturningDelegate", + "ImplementInternalInterface", + "Implementation", + "ImplementsInterfaceWithInternal", + "ImplementsInterfaceWithInternalSubclass", + "ImplementsPrivateInterface", + "ImplictBaseOfBase", + "InbetweenClass", + "InterfaceCollections", + "InterfacesMaker", + "Isomorphism", + "JSII417Derived", + "JSII417PublicBaseOfBase", + "JSObjectLiteralForInterface", + "JSObjectLiteralToNative", + "JSObjectLiteralToNativeClass", + "JavaReservedWords", + "Jsii487Derived", + "Jsii496Derived", + "JsiiAgent", + "JsonFormatter", + "LoadBalancedFargateServiceProps", + "MethodNamedProperty", + "Multiply", + "Negate", + "NestedClassInstance", + "NestedStruct", + "NodeStandardLibrary", + "NullShouldBeTreatedAsUndefined", + "NullShouldBeTreatedAsUndefinedData", + "NumberGenerator", + "ObjectRefsInCollections", + "ObjectWithPropertyProvider", + "Old", + "OptionalArgumentInvoker", + "OptionalConstructorArgument", + "OptionalStruct", + "OptionalStructConsumer", + "OverridableProtectedMember", + "OverrideReturnsObject", + "ParentStruct982", + "PartiallyInitializedThisConsumer", + "Polymorphism", + "Power", + "PropertyNamedProperty", + "PublicClass", + "PythonReservedWords", + "ReferenceEnumFromScopedPackage", + "ReturnsPrivateImplementationOfInterface", + "RootStruct", + "RootStructValidator", + "RuntimeTypeChecking", + "SecondLevelStruct", + "SingleInstanceTwoTypes", + "SingletonInt", + "SingletonIntEnum", + "SingletonString", + "SingletonStringEnum", + "SmellyStruct", + "SomeTypeJsii976", + "StableClass", + "StableEnum", + "StableStruct", + "StaticContext", + "Statics", + "StringEnum", + "StripInternal", + "StructA", + "StructB", + "StructParameterType", + "StructPassing", + "StructUnionConsumer", + "StructWithJavaReservedWords", + "Sum", + "SupportsNiceJavaBuilder", + "SupportsNiceJavaBuilderProps", + "SupportsNiceJavaBuilderWithRequiredProps", + "SyncVirtualMethods", + "Thrower", + "TopLevelStruct", + "UmaskCheck", + "UnaryOperation", + "UnionProperties", + "UpcasingReflectable", + "UseBundledDependency", + "UseCalcBase", + "UsesInterfaceWithProperties", + "VariadicInvoker", + "VariadicMethod", + "VirtualMethodPlayground", + "VoidCallback", + "WithPrivatePropertyInConstructor", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/_jsii/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -66915,23 +65942,21 @@ import scope.jsii_calc_base_of_base._jsii import scope.jsii_calc_lib._jsii __jsii_assembly__ = jsii.JSIIAssembly.load( - \\"jsii-calc\\", \\"0.0.0\\", __name__[0:-6], \\"jsii-calc@0.0.0.jsii.tgz\\" + "jsii-calc", "0.0.0", __name__[0:-6], "jsii-calc@0.0.0.jsii.tgz" ) __all__ = [ - \\"__jsii_assembly__\\", + "__jsii_assembly__", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/_jsii/jsii-calc@0.0.0.jsii.tgz 1`] = `python/src/jsii_calc/_jsii/jsii-calc@0.0.0.jsii.tgz is a tarball`; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/composition/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -66949,13 +65974,13 @@ import scope.jsii_calc_lib class CompositeOperation( scope.jsii_calc_lib.Operation, metaclass=jsii.JSIIAbstractClass, - jsii_type=\\"jsii-calc.composition.CompositeOperation\\", + jsii_type="jsii-calc.composition.CompositeOperation", ): - \\"\\"\\"Abstract operation composed from an expression of other operations. + """Abstract operation composed from an expression of other operations. stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): @@ -66964,132 +65989,130 @@ class CompositeOperation( def __init__(self) -> None: jsii.create(CompositeOperation, self, []) - @jsii.member(jsii_name=\\"toString\\") + @jsii.member(jsii_name="toString") def to_string(self) -> str: - \\"\\"\\"String representation of the value. + """String representation of the value. stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self, \\"toString\\", []) + """ + return jsii.invoke(self, "toString", []) @builtins.property - @jsii.member(jsii_name=\\"expression\\") + @jsii.member(jsii_name="expression") @abc.abstractmethod def expression(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"The expression that this operation consists of. + """The expression that this operation consists of. Must be implemented by derived classes. stability :stability: experimental - \\"\\"\\" + """ ... @builtins.property - @jsii.member(jsii_name=\\"value\\") + @jsii.member(jsii_name="value") def value(self) -> jsii.Number: - \\"\\"\\"The value. + """The value. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"value\\") + """ + return jsii.get(self, "value") @builtins.property - @jsii.member(jsii_name=\\"decorationPostfixes\\") + @jsii.member(jsii_name="decorationPostfixes") def decoration_postfixes(self) -> typing.List[str]: - \\"\\"\\"A set of postfixes to include in a decorated .toString(). + """A set of postfixes to include in a decorated .toString(). stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"decorationPostfixes\\") + """ + return jsii.get(self, "decorationPostfixes") @decoration_postfixes.setter def decoration_postfixes(self, value: typing.List[str]) -> None: - jsii.set(self, \\"decorationPostfixes\\", value) + jsii.set(self, "decorationPostfixes", value) @builtins.property - @jsii.member(jsii_name=\\"decorationPrefixes\\") + @jsii.member(jsii_name="decorationPrefixes") def decoration_prefixes(self) -> typing.List[str]: - \\"\\"\\"A set of prefixes to include in a decorated .toString(). + """A set of prefixes to include in a decorated .toString(). stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"decorationPrefixes\\") + """ + return jsii.get(self, "decorationPrefixes") @decoration_prefixes.setter def decoration_prefixes(self, value: typing.List[str]) -> None: - jsii.set(self, \\"decorationPrefixes\\", value) + jsii.set(self, "decorationPrefixes", value) @builtins.property - @jsii.member(jsii_name=\\"stringStyle\\") - def string_style(self) -> \\"CompositionStringStyle\\": - \\"\\"\\"The .toString() style. + @jsii.member(jsii_name="stringStyle") + def string_style(self) -> "CompositionStringStyle": + """The .toString() style. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"stringStyle\\") + """ + return jsii.get(self, "stringStyle") @string_style.setter - def string_style(self, value: \\"CompositionStringStyle\\") -> None: - jsii.set(self, \\"stringStyle\\", value) + def string_style(self, value: "CompositionStringStyle") -> None: + jsii.set(self, "stringStyle", value) @jsii.enum( - jsii_type=\\"jsii-calc.composition.CompositeOperation.CompositionStringStyle\\" + jsii_type="jsii-calc.composition.CompositeOperation.CompositionStringStyle" ) class CompositionStringStyle(enum.Enum): - \\"\\"\\"Style of .toString() output for CompositeOperation. + """Style of .toString() output for CompositeOperation. stability :stability: experimental - \\"\\"\\" + """ - NORMAL = \\"NORMAL\\" - \\"\\"\\"Normal string expression. + NORMAL = "NORMAL" + """Normal string expression. stability :stability: experimental - \\"\\"\\" - DECORATED = \\"DECORATED\\" - \\"\\"\\"Decorated string expression. + """ + DECORATED = "DECORATED" + """Decorated string expression. stability :stability: experimental - \\"\\"\\" + """ class _CompositeOperationProxy( CompositeOperation, jsii.proxy_for(scope.jsii_calc_lib.Operation) ): @builtins.property - @jsii.member(jsii_name=\\"expression\\") + @jsii.member(jsii_name="expression") def expression(self) -> scope.jsii_calc_lib.Value: - \\"\\"\\"The expression that this operation consists of. + """The expression that this operation consists of. Must be implemented by derived classes. stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"expression\\") + """ + return jsii.get(self, "expression") __all__ = [ - \\"CompositeOperation\\", + "CompositeOperation", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/derived_class_has_no_properties/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -67103,65 +66126,63 @@ from .._jsii import * class Base( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.DerivedClassHasNoProperties.Base\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DerivedClassHasNoProperties.Base" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Base, self, []) @builtins.property - @jsii.member(jsii_name=\\"prop\\") + @jsii.member(jsii_name="prop") def prop(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"prop\\") + """ + return jsii.get(self, "prop") @prop.setter def prop(self, value: str) -> None: - jsii.set(self, \\"prop\\", value) + jsii.set(self, "prop", value) class Derived( Base, metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.DerivedClassHasNoProperties.Derived\\", + jsii_type="jsii-calc.DerivedClassHasNoProperties.Derived", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Derived, self, []) __all__ = [ - \\"Base\\", - \\"Derived\\", + "Base", + "Derived", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -67176,58 +66197,58 @@ from .._jsii import * class Foo( metaclass=jsii.JSIIMeta, - jsii_type=\\"jsii-calc.InterfaceInNamespaceIncludesClasses.Foo\\", + jsii_type="jsii-calc.InterfaceInNamespaceIncludesClasses.Foo", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(Foo, self, []) @builtins.property - @jsii.member(jsii_name=\\"bar\\") + @jsii.member(jsii_name="bar") def bar(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"bar\\") + """ + return jsii.get(self, "bar") @bar.setter def bar(self, value: typing.Optional[str]) -> None: - jsii.set(self, \\"bar\\", value) + jsii.set(self, "bar", value) @jsii.data_type( - jsii_type=\\"jsii-calc.InterfaceInNamespaceIncludesClasses.Hello\\", + jsii_type="jsii-calc.InterfaceInNamespaceIncludesClasses.Hello", jsii_struct_bases=[], - name_mapping={\\"foo\\": \\"foo\\"}, + name_mapping={"foo": "foo"}, ) class Hello: def __init__(self, *, foo: jsii.Number) -> None: - \\"\\"\\" + """ :param foo: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"foo\\": foo, + "foo": foo, } @builtins.property def foo(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"foo\\") + """ + return self._values.get("foo") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -67236,24 +66257,22 @@ class Hello: return not (rhs == self) def __repr__(self) -> str: - return \\"Hello(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "Hello(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) __all__ = [ - \\"Foo\\", - \\"Hello\\", + "Foo", + "Hello", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/interface_in_namespace_only_interface/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -67267,29 +66286,29 @@ from .._jsii import * @jsii.data_type( - jsii_type=\\"jsii-calc.InterfaceInNamespaceOnlyInterface.Hello\\", + jsii_type="jsii-calc.InterfaceInNamespaceOnlyInterface.Hello", jsii_struct_bases=[], - name_mapping={\\"foo\\": \\"foo\\"}, + name_mapping={"foo": "foo"}, ) class Hello: def __init__(self, *, foo: jsii.Number) -> None: - \\"\\"\\" + """ :param foo: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"foo\\": foo, + "foo": foo, } @builtins.property def foo(self) -> jsii.Number: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"foo\\") + """ + return self._values.get("foo") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -67298,30 +66317,26 @@ class Hello: return not (rhs == self) def __repr__(self) -> str: - return \\"Hello(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "Hello(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) __all__ = [ - \\"Hello\\", + "Hello", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/py.typed 1`] = ` -Object { - Symbol(file): " -", -} + + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/python_self/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -67335,136 +66350,136 @@ from .._jsii import * class ClassWithSelf( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.PythonSelf.ClassWithSelf\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.PythonSelf.ClassWithSelf" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self_, self: str) -> None: - \\"\\"\\" + """ :param self: - stability :stability: experimental - \\"\\"\\" + """ jsii.create(ClassWithSelf, self_, [self]) - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self_, self: jsii.Number) -> str: - \\"\\"\\" + """ :param self: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self_, \\"method\\", [self]) + """ + return jsii.invoke(self_, "method", [self]) @builtins.property - @jsii.member(jsii_name=\\"self\\") + @jsii.member(jsii_name="self") def self(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"self\\") + """ + return jsii.get(self, "self") class ClassWithSelfKwarg( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.PythonSelf.ClassWithSelfKwarg\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.PythonSelf.ClassWithSelfKwarg" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self_, *, self: str) -> None: - \\"\\"\\" + """ :param self: stability :stability: experimental - \\"\\"\\" + """ props = StructWithSelf(self=self) jsii.create(ClassWithSelfKwarg, self_, [props]) @builtins.property - @jsii.member(jsii_name=\\"props\\") - def props(self) -> \\"StructWithSelf\\": - \\"\\"\\" + @jsii.member(jsii_name="props") + def props(self) -> "StructWithSelf": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"props\\") + """ + return jsii.get(self, "props") -@jsii.interface(jsii_type=\\"jsii-calc.PythonSelf.IInterfaceWithSelf\\") +@jsii.interface(jsii_type="jsii-calc.PythonSelf.IInterfaceWithSelf") class IInterfaceWithSelf(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _IInterfaceWithSelfProxy - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self_, self: jsii.Number) -> str: - \\"\\"\\" + """ :param self: - stability :stability: experimental - \\"\\"\\" + """ ... class _IInterfaceWithSelfProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.PythonSelf.IInterfaceWithSelf\\" + __jsii_type__ = "jsii-calc.PythonSelf.IInterfaceWithSelf" - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") def method(self_, self: jsii.Number) -> str: - \\"\\"\\" + """ :param self: - stability :stability: experimental - \\"\\"\\" - return jsii.invoke(self_, \\"method\\", [self]) + """ + return jsii.invoke(self_, "method", [self]) @jsii.data_type( - jsii_type=\\"jsii-calc.PythonSelf.StructWithSelf\\", + jsii_type="jsii-calc.PythonSelf.StructWithSelf", jsii_struct_bases=[], - name_mapping={\\"self\\": \\"self\\"}, + name_mapping={"self": "self"}, ) class StructWithSelf: def __init__(self_, *, self: str) -> None: - \\"\\"\\" + """ :param self: stability :stability: experimental - \\"\\"\\" + """ self_._values = { - \\"self\\": self, + "self": self, } @builtins.property def self(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"self\\") + """ + return self._values.get("self") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -67473,26 +66488,24 @@ class StructWithSelf: return not (rhs == self) def __repr__(self) -> str: - return \\"StructWithSelf(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "StructWithSelf(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) __all__ = [ - \\"ClassWithSelf\\", - \\"ClassWithSelfKwarg\\", - \\"IInterfaceWithSelf\\", - \\"StructWithSelf\\", + "ClassWithSelf", + "ClassWithSelfKwarg", + "IInterfaceWithSelf", + "StructWithSelf", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -67515,85 +66528,83 @@ from .nested_submodule.deeply_nested import INamespaced as _INamespaced_e2f386ad @jsii.implements(_INamespaced_e2f386ad) -class MyClass(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.submodule.MyClass\\"): - \\"\\"\\" +class MyClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.submodule.MyClass"): + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self, *, prop: _SomeEnum_b2e41d92) -> None: - \\"\\"\\" + """ :param prop: stability :stability: experimental - \\"\\"\\" + """ props = _SomeStruct_91627123(prop=prop) jsii.create(MyClass, self, [props]) @builtins.property - @jsii.member(jsii_name=\\"awesomeness\\") + @jsii.member(jsii_name="awesomeness") def awesomeness(self) -> _Awesomeness_d37a24df: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"awesomeness\\") + """ + return jsii.get(self, "awesomeness") @builtins.property - @jsii.member(jsii_name=\\"definedAt\\") + @jsii.member(jsii_name="definedAt") def defined_at(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"definedAt\\") + """ + return jsii.get(self, "definedAt") @builtins.property - @jsii.member(jsii_name=\\"goodness\\") + @jsii.member(jsii_name="goodness") def goodness(self) -> _Goodness_2df26737: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"goodness\\") + """ + return jsii.get(self, "goodness") @builtins.property - @jsii.member(jsii_name=\\"props\\") + @jsii.member(jsii_name="props") def props(self) -> _SomeStruct_91627123: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"props\\") + """ + return jsii.get(self, "props") @builtins.property - @jsii.member(jsii_name=\\"allTypes\\") + @jsii.member(jsii_name="allTypes") def all_types(self) -> typing.Optional[_AllTypes_b08307c5]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"allTypes\\") + """ + return jsii.get(self, "allTypes") @all_types.setter def all_types(self, value: typing.Optional[_AllTypes_b08307c5]) -> None: - jsii.set(self, \\"allTypes\\", value) + jsii.set(self, "allTypes", value) __all__ = [ - \\"MyClass\\", + "MyClass", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/back_references/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -67609,29 +66620,29 @@ from .. import MyClass as _MyClass_a2fdc0b6 @jsii.data_type( - jsii_type=\\"jsii-calc.submodule.back_references.MyClassReference\\", + jsii_type="jsii-calc.submodule.back_references.MyClassReference", jsii_struct_bases=[], - name_mapping={\\"reference\\": \\"reference\\"}, + name_mapping={"reference": "reference"}, ) class MyClassReference: def __init__(self, *, reference: _MyClass_a2fdc0b6) -> None: - \\"\\"\\" + """ :param reference: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"reference\\": reference, + "reference": reference, } @builtins.property def reference(self) -> _MyClass_a2fdc0b6: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"reference\\") + """ + return self._values.get("reference") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -67640,23 +66651,21 @@ class MyClassReference: return not (rhs == self) def __repr__(self) -> str: - return \\"MyClassReference(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "MyClassReference(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) __all__ = [ - \\"MyClassReference\\", + "MyClassReference", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/child/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -67669,139 +66678,139 @@ import publication from ..._jsii import * -@jsii.enum(jsii_type=\\"jsii-calc.submodule.child.Awesomeness\\") +@jsii.enum(jsii_type="jsii-calc.submodule.child.Awesomeness") class Awesomeness(enum.Enum): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - AWESOME = \\"AWESOME\\" - \\"\\"\\"It was awesome! + AWESOME = "AWESOME" + """It was awesome! stability :stability: experimental - \\"\\"\\" + """ -@jsii.enum(jsii_type=\\"jsii-calc.submodule.child.Goodness\\") +@jsii.enum(jsii_type="jsii-calc.submodule.child.Goodness") class Goodness(enum.Enum): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - PRETTY_GOOD = \\"PRETTY_GOOD\\" - \\"\\"\\"It's pretty good. + PRETTY_GOOD = "PRETTY_GOOD" + """It's pretty good. stability :stability: experimental - \\"\\"\\" - REALLY_GOOD = \\"REALLY_GOOD\\" - \\"\\"\\"It's really good. + """ + REALLY_GOOD = "REALLY_GOOD" + """It's really good. stability :stability: experimental - \\"\\"\\" - AMAZINGLY_GOOD = \\"AMAZINGLY_GOOD\\" - \\"\\"\\"It's amazingly good. + """ + AMAZINGLY_GOOD = "AMAZINGLY_GOOD" + """It's amazingly good. stability :stability: experimental - \\"\\"\\" + """ class InnerClass( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.submodule.child.InnerClass\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.submodule.child.InnerClass" ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(InnerClass, self, []) @jsii.python.classproperty - @jsii.member(jsii_name=\\"staticProp\\") - def STATIC_PROP(cls) -> \\"SomeStruct\\": - \\"\\"\\" + @jsii.member(jsii_name="staticProp") + def STATIC_PROP(cls) -> "SomeStruct": + """ stability :stability: experimental - \\"\\"\\" - return jsii.sget(cls, \\"staticProp\\") + """ + return jsii.sget(cls, "staticProp") class OuterClass( - metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.submodule.child.OuterClass\\" + metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.submodule.child.OuterClass" ): - \\"\\"\\"Checks that classes can self-reference during initialization. + """Checks that classes can self-reference during initialization. see :see: : https://github.com/aws/jsii/pull/1706 stability :stability: experimental - \\"\\"\\" + """ def __init__(self) -> None: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ jsii.create(OuterClass, self, []) @builtins.property - @jsii.member(jsii_name=\\"innerClass\\") - def inner_class(self) -> \\"InnerClass\\": - \\"\\"\\" + @jsii.member(jsii_name="innerClass") + def inner_class(self) -> "InnerClass": + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"innerClass\\") + """ + return jsii.get(self, "innerClass") -@jsii.enum(jsii_type=\\"jsii-calc.submodule.child.SomeEnum\\") +@jsii.enum(jsii_type="jsii-calc.submodule.child.SomeEnum") class SomeEnum(enum.Enum): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - SOME = \\"SOME\\" - \\"\\"\\" + SOME = "SOME" + """ stability :stability: experimental - \\"\\"\\" + """ @jsii.data_type( - jsii_type=\\"jsii-calc.submodule.child.SomeStruct\\", + jsii_type="jsii-calc.submodule.child.SomeStruct", jsii_struct_bases=[], - name_mapping={\\"prop\\": \\"prop\\"}, + name_mapping={"prop": "prop"}, ) class SomeStruct: - def __init__(self, *, prop: \\"SomeEnum\\") -> None: - \\"\\"\\" + def __init__(self, *, prop: "SomeEnum") -> None: + """ :param prop: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"prop\\": prop, + "prop": prop, } @builtins.property - def prop(self) -> \\"SomeEnum\\": - \\"\\"\\" + def prop(self) -> "SomeEnum": + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"prop\\") + """ + return self._values.get("prop") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -67810,35 +66819,35 @@ class SomeStruct: return not (rhs == self) def __repr__(self) -> str: - return \\"SomeStruct(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "SomeStruct(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"jsii-calc.submodule.child.Structure\\", + jsii_type="jsii-calc.submodule.child.Structure", jsii_struct_bases=[], - name_mapping={\\"bool\\": \\"bool\\"}, + name_mapping={"bool": "bool"}, ) class Structure: def __init__(self, *, bool: bool) -> None: - \\"\\"\\" + """ :param bool: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"bool\\": bool, + "bool": bool, } @builtins.property def bool(self) -> bool: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"bool\\") + """ + return self._values.get("bool") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -67847,46 +66856,46 @@ class Structure: return not (rhs == self) def __repr__(self) -> str: - return \\"Structure(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "Structure(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) @jsii.data_type( - jsii_type=\\"jsii-calc.submodule.child.KwargsProps\\", + jsii_type="jsii-calc.submodule.child.KwargsProps", jsii_struct_bases=[SomeStruct], - name_mapping={\\"prop\\": \\"prop\\", \\"extra\\": \\"extra\\"}, + name_mapping={"prop": "prop", "extra": "extra"}, ) class KwargsProps(SomeStruct): - def __init__(self, *, prop: \\"SomeEnum\\", extra: typing.Optional[str] = None) -> None: - \\"\\"\\" + def __init__(self, *, prop: "SomeEnum", extra: typing.Optional[str] = None) -> None: + """ :param prop: :param extra: stability :stability: experimental - \\"\\"\\" + """ self._values = { - \\"prop\\": prop, + "prop": prop, } if extra is not None: - self._values[\\"extra\\"] = extra + self._values["extra"] = extra @builtins.property - def prop(self) -> \\"SomeEnum\\": - \\"\\"\\" + def prop(self) -> "SomeEnum": + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"prop\\") + """ + return self._values.get("prop") @builtins.property def extra(self) -> typing.Optional[str]: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return self._values.get(\\"extra\\") + """ + return self._values.get("extra") def __eq__(self, rhs) -> bool: return isinstance(rhs, self.__class__) and rhs._values == self._values @@ -67895,30 +66904,28 @@ class KwargsProps(SomeStruct): return not (rhs == self) def __repr__(self) -> str: - return \\"KwargsProps(%s)\\" % \\", \\".join( - k + \\"=\\" + repr(v) for k, v in self._values.items() + return "KwargsProps(%s)" % ", ".join( + k + "=" + repr(v) for k, v in self._values.items() ) __all__ = [ - \\"Awesomeness\\", - \\"Goodness\\", - \\"InnerClass\\", - \\"KwargsProps\\", - \\"OuterClass\\", - \\"SomeEnum\\", - \\"SomeStruct\\", - \\"Structure\\", + "Awesomeness", + "Goodness", + "InnerClass", + "KwargsProps", + "OuterClass", + "SomeEnum", + "SomeStruct", + "Structure", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/isolated/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -67935,42 +66942,40 @@ from ..child import ( ) -class Kwargs(metaclass=jsii.JSIIMeta, jsii_type=\\"jsii-calc.submodule.isolated.Kwargs\\"): - \\"\\"\\"Ensures imports are correctly registered for kwargs lifted properties from super-structs. +class Kwargs(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.submodule.isolated.Kwargs"): + """Ensures imports are correctly registered for kwargs lifted properties from super-structs. stability :stability: experimental - \\"\\"\\" + """ - @jsii.member(jsii_name=\\"method\\") + @jsii.member(jsii_name="method") @builtins.classmethod def method( cls, *, extra: typing.Optional[str] = None, prop: _SomeEnum_b2e41d92 ) -> bool: - \\"\\"\\" + """ :param extra: :param prop: stability :stability: experimental - \\"\\"\\" + """ props = _KwargsProps_c7855dcf(extra=extra, prop=prop) - return jsii.sinvoke(cls, \\"method\\", [props]) + return jsii.sinvoke(cls, "method", [props]) __all__ = [ - \\"Kwargs\\", + "Kwargs", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/nested_submodule/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -67989,60 +66994,58 @@ from .deeply_nested import INamespaced as _INamespaced_e2f386ad @jsii.implements(_INamespaced_e2f386ad) class Namespaced( metaclass=jsii.JSIIAbstractClass, - jsii_type=\\"jsii-calc.submodule.nested_submodule.Namespaced\\", + jsii_type="jsii-calc.submodule.nested_submodule.Namespaced", ): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _NamespacedProxy @builtins.property - @jsii.member(jsii_name=\\"definedAt\\") + @jsii.member(jsii_name="definedAt") def defined_at(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"definedAt\\") + """ + return jsii.get(self, "definedAt") @builtins.property - @jsii.member(jsii_name=\\"goodness\\") + @jsii.member(jsii_name="goodness") @abc.abstractmethod def goodness(self) -> _Goodness_2df26737: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _NamespacedProxy(Namespaced): @builtins.property - @jsii.member(jsii_name=\\"goodness\\") + @jsii.member(jsii_name="goodness") def goodness(self) -> _Goodness_2df26737: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"goodness\\") + """ + return jsii.get(self, "goodness") __all__ = [ - \\"Namespaced\\", + "Namespaced", ] publication.publish() -", -} + `; exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/nested_submodule/deeply_nested/__init__.py 1`] = ` -Object { - Symbol(file): "import abc +import abc import builtins import datetime import enum @@ -68056,51 +67059,50 @@ from ...._jsii import * @jsii.interface( - jsii_type=\\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\" + jsii_type="jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced" ) class INamespaced(jsii.compat.Protocol): - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ @builtins.staticmethod def __jsii_proxy_class__(): return _INamespacedProxy @builtins.property - @jsii.member(jsii_name=\\"definedAt\\") + @jsii.member(jsii_name="definedAt") def defined_at(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ ... class _INamespacedProxy: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" + """ - __jsii_type__ = \\"jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced\\" + __jsii_type__ = "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced" @builtins.property - @jsii.member(jsii_name=\\"definedAt\\") + @jsii.member(jsii_name="definedAt") def defined_at(self) -> str: - \\"\\"\\" + """ stability :stability: experimental - \\"\\"\\" - return jsii.get(self, \\"definedAt\\") + """ + return jsii.get(self, "definedAt") __all__ = [ - \\"INamespaced\\", + "INamespaced", ] publication.publish() -", -} + `; diff --git a/packages/jsii-pacmak/test/build-test.sh b/packages/jsii-pacmak/test/build-test.sh index 58899b8257..5b31781106 100755 --- a/packages/jsii-pacmak/test/build-test.sh +++ b/packages/jsii-pacmak/test/build-test.sh @@ -32,7 +32,7 @@ else # Hello Windows! . ${venv}/Scripts/activate fi -python3 -m pip install pip~=20.0.2 setuptools~=46.1.3 wheel~=0.34.2 twine~=3.1.1 +python3 -m pip install --upgrade pip~=20.2.2 twine~=3.2.0 pipx~=0.15.4.0 # Single target, recursive build to a certain location clean_dists @@ -43,7 +43,7 @@ echo "Testing SINGLE TARGET, RECURSIVE build." clean_dists echo "Testing ONE-BY-ONE build." for dir in $packagedirs; do - ../bin/jsii-pacmak $dir -vv + ../bin/jsii-pacmak $dir done # Multiple targets, build all at once into own directory diff --git a/packages/jsii-pacmak/test/jsii-pacmak.test.ts b/packages/jsii-pacmak/test/jsii-pacmak.test.ts index a83ab003b0..feb6cded45 100644 --- a/packages/jsii-pacmak/test/jsii-pacmak.test.ts +++ b/packages/jsii-pacmak/test/jsii-pacmak.test.ts @@ -15,23 +15,24 @@ const TREE = Symbol('tree'); // Custom serializers so we can see the source without escape sequences expect.addSnapshotSerializer({ - test: (val) => val?.[TARBALL] != null, - serialize: (val) => `${val[TARBALL]} is a tarball`, -}); -expect.addSnapshotSerializer({ - test: (val) => val?.[TREE] != null, - serialize: (val) => { - return `\n${formatTree(val[TREE])}`; - }, + test: (val) => val?.[FILE] != null, + serialize: (val) => val[FILE], }); expect.addSnapshotSerializer({ test: (val) => val?.[MISSING] != null, serialize: (val) => `${val[MISSING]} does not exist`, }); + expect.addSnapshotSerializer({ test: (val) => val?.[TARBALL] != null, serialize: (val) => `${val[TARBALL]} is a tarball`, }); +expect.addSnapshotSerializer({ + test: (val) => val?.[TREE] != null, + serialize: (val) => { + return `\n${formatTree(val[TREE])}`; + }, +}); let outDir: string; beforeEach((done) => { diff --git a/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap b/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap index 8d89f84da6..5a105077eb 100644 --- a/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap +++ b/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap @@ -1228,6 +1228,11 @@ exports[`jsii-tree --all 1`] = ` │ │ └─┬ value property (experimental) │ │ ├── immutable │ │ └── type: number + │ ├─┬ class NestedClassInstance (experimental) + │ │ └─┬ members + │ │ └─┬ static makeInstance() method (experimental) + │ │ ├── static + │ │ └── returns: @scope/jsii-calc-lib.submodule.NestingClass.NestedClass │ ├─┬ class NodeStandardLibrary (experimental) │ │ └─┬ members │ │ ├── () initializer (experimental) @@ -2549,6 +2554,14 @@ exports[`jsii-tree --all 1`] = ` ├─┬ submodules │ └─┬ submodule │ └─┬ types + │ ├─┬ class NestingClass (deprecated) + │ │ └── members + │ ├─┬ class NestedClass (deprecated) + │ │ └─┬ members + │ │ ├── () initializer (deprecated) + │ │ └─┬ property property (deprecated) + │ │ ├── immutable + │ │ └── type: string │ ├─┬ class Reflector (deprecated) │ │ └─┬ members │ │ ├── () initializer (deprecated) @@ -2807,6 +2820,7 @@ exports[`jsii-tree --inheritance 1`] = ` │ ├─┬ class Negate │ │ ├── base: UnaryOperation │ │ └── interfaces: IFriendlier + │ ├── class NestedClassInstance │ ├── class NodeStandardLibrary │ ├── class NullShouldBeTreatedAsUndefined │ ├── class NumberGenerator @@ -2978,6 +2992,8 @@ exports[`jsii-tree --inheritance 1`] = ` ├─┬ submodules │ └─┬ submodule │ └─┬ types + │ ├── class NestingClass + │ ├── class NestedClass │ ├── class Reflector │ ├── interface IReflectable │ └── interface ReflectableEntry @@ -3566,6 +3582,9 @@ exports[`jsii-tree --members 1`] = ` │ │ ├── hello() method │ │ ├── toString() method │ │ └── value property + │ ├─┬ class NestedClassInstance + │ │ └─┬ members + │ │ └── static makeInstance() method │ ├─┬ class NodeStandardLibrary │ │ └─┬ members │ │ ├── () initializer @@ -4139,6 +4158,12 @@ exports[`jsii-tree --members 1`] = ` ├─┬ submodules │ └─┬ submodule │ └─┬ types + │ ├─┬ class NestingClass + │ │ └── members + │ ├─┬ class NestedClass + │ │ └─┬ members + │ │ ├── () initializer + │ │ └── property property │ ├─┬ class Reflector │ │ └─┬ members │ │ ├── () initializer @@ -4336,6 +4361,7 @@ exports[`jsii-tree --types 1`] = ` │ ├── class MethodNamedProperty │ ├── class Multiply │ ├── class Negate + │ ├── class NestedClassInstance │ ├── class NodeStandardLibrary │ ├── class NullShouldBeTreatedAsUndefined │ ├── class NumberGenerator @@ -4472,6 +4498,8 @@ exports[`jsii-tree --types 1`] = ` ├─┬ submodules │ └─┬ submodule │ └─┬ types + │ ├── class NestingClass + │ ├── class NestedClass │ ├── class Reflector │ ├── interface IReflectable │ └── interface ReflectableEntry diff --git a/packages/jsii-reflect/test/__snapshots__/type-system.test.js.snap b/packages/jsii-reflect/test/__snapshots__/type-system.test.js.snap index c3cab65f1b..40712f8eb0 100644 --- a/packages/jsii-reflect/test/__snapshots__/type-system.test.js.snap +++ b/packages/jsii-reflect/test/__snapshots__/type-system.test.js.snap @@ -16,6 +16,8 @@ Array [ "@scope/jsii-calc-lib.Number", "@scope/jsii-calc-lib.Operation", "@scope/jsii-calc-lib.Value", + "@scope/jsii-calc-lib.submodule.NestingClass", + "@scope/jsii-calc-lib.submodule.NestingClass.NestedClass", "@scope/jsii-calc-lib.submodule.Reflector", "jsii-calc.AbstractClass", "jsii-calc.AbstractClassBase", @@ -88,6 +90,7 @@ Array [ "jsii-calc.MethodNamedProperty", "jsii-calc.Multiply", "jsii-calc.Negate", + "jsii-calc.NestedClassInstance", "jsii-calc.NodeStandardLibrary", "jsii-calc.NullShouldBeTreatedAsUndefined", "jsii-calc.NumberGenerator", diff --git a/packages/jsii/lib/assembler.ts b/packages/jsii/lib/assembler.ts index fa8bed0f3b..8b3b1d5c34 100644 --- a/packages/jsii/lib/assembler.ts +++ b/packages/jsii/lib/assembler.ts @@ -2528,6 +2528,7 @@ function _isPrivate(symbol: ts.Symbol): boolean { ts.SyntaxKind.InterfaceDeclaration, ts.SyntaxKind.EnumDeclaration, ]); + // if the symbol doesn't have a value declaration, we are assuming it's a type (enum/interface/class) // and check that it has an "export" modifier if ( @@ -2538,6 +2539,20 @@ function _isPrivate(symbol: ts.Symbol): boolean { for (const decl of symbol.declarations) { if (ts.getCombinedModifierFlags(decl) & ts.ModifierFlags.Export) { hasExport = true; + break; + } + // Handle nested classes from project references + if (ts.isModuleBlock(decl.parent)) { + const moduleDeclaration = decl.parent.parent; + const modifiers = ts.getCombinedModifierFlags(moduleDeclaration); + // The trick is the module is declared as ambient & exported + if ( + (modifiers & ts.ModifierFlags.Ambient) !== 0 && + (modifiers & ts.ModifierFlags.Export) !== 0 + ) { + hasExport = true; + break; + } } } return !hasExport;