From 22bae2d3e9f1e5b91ef94f62071c8dbc82eb59a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=91=A8=F0=9F=8F=BC=E2=80=8D=F0=9F=92=BB=20Romain=20M?= =?UTF-8?q?arcadier-Muller?= Date: Wed, 22 Jul 2020 12:38:43 +0200 Subject: [PATCH] chore: lint jsii-calc This will make the code easier ot maintain in the future, as it is now consistent with the style of all other modules. Of course, this implied widespread changes on the `locationInSource` properties... as expected. --- eslint-config.yaml | 1 + packages/jsii-calc/.eslintrc.yaml | 2 + packages/jsii-calc/lib/calculator.ts | 580 +-- packages/jsii-calc/lib/compliance.ts | 3194 +++++++++-------- packages/jsii-calc/lib/documented.ts | 7 +- packages/jsii-calc/lib/erasures.ts | 36 +- packages/jsii-calc/lib/stability.ts | 34 +- .../jsii-calc/lib/submodule/child/index.ts | 8 +- packages/jsii-calc/lib/submodule/my-class.ts | 2 +- .../lib/submodule/nested_submodule.ts | 4 +- packages/jsii-calc/lib/submodules.ts | 8 +- packages/jsii-calc/package.json | 5 +- packages/jsii-calc/test/assembly.jsii | 1912 +++++----- packages/jsii-calc/test/test.calc.ts | 70 +- .../.jsii | 1912 +++++----- .../CalculatorNamespace/AbstractClass.cs | 3 + .../CalculatorNamespace/AbstractClassBase.cs | 3 + .../AbstractClassReturner.cs | 3 + .../CalculatorNamespace/AbstractSuite.cs | 3 + .../Tests/CalculatorNamespace/AllTypes.cs | 3 + .../CalculatorNamespace/AllowedMethodNames.cs | 3 + .../AnonymousImplementationProvider.cs | 3 + .../AsyncVirtualMethods.cs | 3 + .../CalculatorNamespace/AugmentableClass.cs | 3 + .../Tests/CalculatorNamespace/BaseJsii976.cs | 3 + .../JSII/Tests/CalculatorNamespace/Bell.cs | 3 + ...ClassThatImplementsTheInternalInterface.cs | 3 + .../ClassThatImplementsThePrivateInterface.cs | 3 + .../CalculatorNamespace/ClassWithDocs.cs | 3 + .../ClassWithMutableObjectLiteralProperty.cs | 3 + .../Tests/CalculatorNamespace/Constructors.cs | 3 + .../ConsumerCanRingBell.cs | 3 + .../ConsumersOfThisCrazyTypeSystem.cs | 3 + .../DerivedClassHasNoProperties/Base.cs | 3 + .../DerivedClassHasNoProperties/Derived.cs | 3 + .../DoNotOverridePrivates.cs | 3 + .../DoNotRecognizeAnyAsOptional.cs | 3 + .../CalculatorNamespace/DocumentedClass.cs | 3 + .../DontComplainAboutVariadicAfterOptional.cs | 3 + .../CalculatorNamespace/DoubleTrouble.cs | 3 + .../EraseUndefinedHashValues.cs | 3 + .../CalculatorNamespace/GiveMeStructs.cs | 3 + .../CalculatorNamespace/GreetingAugmenter.cs | 3 + .../ImplementInternalInterface.cs | 3 + .../CalculatorNamespace/Implementation.cs | 3 + .../ImplementsInterfaceWithInternal.cs | 3 + ...ImplementsInterfaceWithInternalSubclass.cs | 3 + .../ImplementsPrivateInterface.cs | 3 + .../CalculatorNamespace/InbetweenClass.cs | 3 + .../Foo.cs | 3 + .../Tests/CalculatorNamespace/Isomorphism.cs | 3 + .../JSII417PublicBaseOfBase.cs | 3 + .../JSObjectLiteralForInterface.cs | 3 + .../JSObjectLiteralToNative.cs | 3 + .../JSObjectLiteralToNativeClass.cs | 3 + .../CalculatorNamespace/JavaReservedWords.cs | 3 + .../CalculatorNamespace/Jsii487Derived.cs | 3 + .../CalculatorNamespace/Jsii496Derived.cs | 3 + .../Tests/CalculatorNamespace/JsiiAgent_.cs | 3 + .../MethodNamedProperty.cs | 3 + .../NodeStandardLibrary.cs | 3 + .../ObjectRefsInCollections.cs | 3 + .../JSII/Tests/CalculatorNamespace/Old.cs | 3 + .../OverridableProtectedMember.cs | 3 + .../OverrideReturnsObject.cs | 3 + .../PartiallyInitializedThisConsumer.cs | 3 + .../Tests/CalculatorNamespace/Polymorphism.cs | 3 + .../PropertyNamedProperty.cs | 3 + .../Tests/CalculatorNamespace/PublicClass.cs | 3 + .../PythonReservedWords.cs | 3 + .../ReferenceEnumFromScopedPackage.cs | 3 + ...ReturnsPrivateImplementationOfInterface.cs | 3 + .../RuntimeTypeChecking.cs | 3 + .../SingleInstanceTwoTypes.cs | 3 + .../CalculatorNamespace/SomeTypeJsii976.cs | 3 + .../CalculatorNamespace/StripInternal.cs | 3 + .../CalculatorNamespace/StructPassing.cs | 3 + .../CalculatorNamespace/SyncVirtualMethods.cs | 3 + .../JSII/Tests/CalculatorNamespace/Thrower.cs | 3 + .../UseBundledDependency.cs | 3 + .../Tests/CalculatorNamespace/UseCalcBase.cs | 3 + .../VirtualMethodPlayground.cs | 3 + .../Tests/CalculatorNamespace/VoidCallback.cs | 3 + .../jsii/tests/calculator/AbstractClass.java | 4 + .../tests/calculator/AbstractClassBase.java | 4 + .../calculator/AbstractClassReturner.java | 4 + .../jsii/tests/calculator/AbstractSuite.java | 4 + .../jsii/tests/calculator/AllTypes.java | 4 + .../tests/calculator/AllowedMethodNames.java | 4 + .../AnonymousImplementationProvider.java | 4 + .../tests/calculator/AsyncVirtualMethods.java | 4 + .../tests/calculator/AugmentableClass.java | 4 + .../jsii/tests/calculator/BaseJsii976.java | 4 + .../amazon/jsii/tests/calculator/Bell.java | 4 + ...assThatImplementsTheInternalInterface.java | 4 + ...lassThatImplementsThePrivateInterface.java | 4 + .../jsii/tests/calculator/ClassWithDocs.java | 4 + ...ClassWithMutableObjectLiteralProperty.java | 4 + .../jsii/tests/calculator/Constructors.java | 4 + .../tests/calculator/ConsumerCanRingBell.java | 4 + .../ConsumersOfThisCrazyTypeSystem.java | 4 + .../calculator/DoNotOverridePrivates.java | 4 + .../DoNotRecognizeAnyAsOptional.java | 4 + .../tests/calculator/DocumentedClass.java | 4 + ...ontComplainAboutVariadicAfterOptional.java | 4 + .../jsii/tests/calculator/DoubleTrouble.java | 4 + .../calculator/EraseUndefinedHashValues.java | 4 + .../jsii/tests/calculator/GiveMeStructs.java | 4 + .../tests/calculator/GreetingAugmenter.java | 4 + .../ImplementInternalInterface.java | 4 + .../jsii/tests/calculator/Implementation.java | 4 + .../ImplementsInterfaceWithInternal.java | 4 + ...plementsInterfaceWithInternalSubclass.java | 4 + .../ImplementsPrivateInterface.java | 4 + .../jsii/tests/calculator/InbetweenClass.java | 4 + .../jsii/tests/calculator/Isomorphism.java | 4 + .../calculator/JSII417PublicBaseOfBase.java | 4 + .../JSObjectLiteralForInterface.java | 4 + .../calculator/JSObjectLiteralToNative.java | 4 + .../JSObjectLiteralToNativeClass.java | 4 + .../tests/calculator/JavaReservedWords.java | 4 + .../jsii/tests/calculator/Jsii487Derived.java | 4 + .../jsii/tests/calculator/Jsii496Derived.java | 4 + .../jsii/tests/calculator/JsiiAgent.java | 4 + .../tests/calculator/MethodNamedProperty.java | 4 + .../tests/calculator/NodeStandardLibrary.java | 4 + .../calculator/ObjectRefsInCollections.java | 4 + .../amazon/jsii/tests/calculator/Old.java | 4 + .../OverridableProtectedMember.java | 4 + .../calculator/OverrideReturnsObject.java | 4 + .../PartiallyInitializedThisConsumer.java | 4 + .../jsii/tests/calculator/Polymorphism.java | 4 + .../calculator/PropertyNamedProperty.java | 4 + .../jsii/tests/calculator/PublicClass.java | 4 + .../tests/calculator/PythonReservedWords.java | 4 + .../ReferenceEnumFromScopedPackage.java | 4 + ...turnsPrivateImplementationOfInterface.java | 4 + .../tests/calculator/RuntimeTypeChecking.java | 4 + .../calculator/SingleInstanceTwoTypes.java | 4 + .../tests/calculator/SomeTypeJsii976.java | 4 + .../jsii/tests/calculator/StripInternal.java | 4 + .../jsii/tests/calculator/StructPassing.java | 4 + .../tests/calculator/SyncVirtualMethods.java | 4 + .../amazon/jsii/tests/calculator/Thrower.java | 4 + .../calculator/UseBundledDependency.java | 4 + .../jsii/tests/calculator/UseCalcBase.java | 4 + .../calculator/VirtualMethodPlayground.java | 4 + .../jsii/tests/calculator/VoidCallback.java | 4 + .../derived_class_has_no_properties/Base.java | 4 + .../Derived.java | 4 + .../Foo.java | 4 + .../python/src/jsii_calc/__init__.py | 260 ++ .../__init__.py | 8 + .../__init__.py | 4 + .../test/__snapshots__/jsii-tree.test.js.snap | 6 +- packages/jsii/lib/assembler.ts | 4 +- 156 files changed, 5058 insertions(+), 3475 deletions(-) create mode 100644 packages/jsii-calc/.eslintrc.yaml diff --git a/eslint-config.yaml b/eslint-config.yaml index 0dcb02fa28..34963dfff7 100644 --- a/eslint-config.yaml +++ b/eslint-config.yaml @@ -11,6 +11,7 @@ plugins: parser: '@typescript-eslint/parser' parserOptions: ecmaVersion: 2018 + impliedStrict: true sourceType: module project: ./**/tsconfig.json diff --git a/packages/jsii-calc/.eslintrc.yaml b/packages/jsii-calc/.eslintrc.yaml new file mode 100644 index 0000000000..8ca30cb87b --- /dev/null +++ b/packages/jsii-calc/.eslintrc.yaml @@ -0,0 +1,2 @@ +--- +extends: ../../eslint-config.yaml diff --git a/packages/jsii-calc/lib/calculator.ts b/packages/jsii-calc/lib/calculator.ts index 45b88ad954..39fcf4134f 100644 --- a/packages/jsii-calc/lib/calculator.ts +++ b/packages/jsii-calc/lib/calculator.ts @@ -1,252 +1,261 @@ -import { Operation, Value, Number, IFriendly } from '@scope/jsii-calc-lib' +import { Operation, Value, Number, IFriendly } from '@scope/jsii-calc-lib'; + +/* eslint-disable + @typescript-eslint/explicit-module-boundary-types, + @typescript-eslint/no-namespace, + @typescript-eslint/member-ordering, +*/ /** * Even friendlier classes can implement this interface. */ export interface IFriendlier extends IFriendly { - /** - * Say goodbye. - * @returns A goodbye blessing. - */ - goodbye(): string - - /** - * Say farewell. - */ - farewell(): string + /** + * Say goodbye. + * @returns A goodbye blessing. + */ + goodbye(): string; + + /** + * Say farewell. + */ + farewell(): string; } /** * Generates random numbers. */ export interface IRandomNumberGenerator { - /** - * Returns another random number. - * @returns A random number. - */ - next(): number + /** + * Returns another random number. + * @returns A random number. + */ + next(): number; } -export interface IFriendlyRandomGenerator extends IRandomNumberGenerator, IFriendly { - -} +export interface IFriendlyRandomGenerator + extends IRandomNumberGenerator, + IFriendly {} /** * Represents an operation with two operands. */ export abstract class BinaryOperation extends Operation implements IFriendly { - /** - * Creates a BinaryOperation - * @param lhs Left-hand side operand - * @param rhs Right-hand side operand - */ - constructor(readonly lhs: Value, readonly rhs: Value) { - super(); - } - - hello() { - return 'Hello, I am a binary operation. What\'s your name?'; - } + /** + * Creates a BinaryOperation + * @param lhs Left-hand side operand + * @param rhs Right-hand side operand + */ + public constructor(public readonly lhs: Value, public readonly rhs: Value) { + super(); + } + + public hello() { + return 'Hello, I am a binary operation. What\'s your name?'; + } } /** * The "+" binary operation. */ export class Add extends BinaryOperation { - get value() { - return this.lhs.value + this.rhs.value; - } + public get value() { + return this.lhs.value + this.rhs.value; + } - toString() { - return `(${this.lhs} + ${this.rhs})` - } + public toString() { + return `(${this.lhs.toString()} + ${this.rhs.toString()})`; + } } /** * The "*" binary operation. */ -export class Multiply extends BinaryOperation implements IFriendlier, IRandomNumberGenerator { - get value() { - return this.lhs.value * this.rhs.value; - } - - toString() { - return `(${this.lhs} * ${this.rhs})` - } - - goodbye() { - return 'Goodbye from Multiply!'; - } - - farewell() { - return 'Farewell to you too!'; - } - - next() { - return 89; - } +export class Multiply extends BinaryOperation + implements IFriendlier, IRandomNumberGenerator { + public get value() { + return this.lhs.value * this.rhs.value; + } + + public toString() { + return `(${this.lhs.toString()} * ${this.rhs.toString()})`; + } + + public goodbye() { + return 'Goodbye from Multiply!'; + } + + public farewell() { + return 'Farewell to you too!'; + } + + public next() { + return 89; + } } /** * An operation on a single operand. */ export abstract class UnaryOperation extends Operation { - constructor(readonly operand: Value) { - super(); - } + public constructor(public readonly operand: Value) { + super(); + } } /** * The negation operation ("-value") */ export class Negate extends UnaryOperation implements IFriendlier { - get value() { - return -1 * this.operand.value; - } + public get value() { + return -1 * this.operand.value; + } - toString() { - return `-${this.operand}`; - } + public toString() { + return `-${this.operand.toString()}`; + } - hello() { - return 'I know I am called Negate, but I am friendly'; - } + public hello() { + return 'I know I am called Negate, but I am friendly'; + } - goodbye() { - return 'See you friend'; - } + public goodbye() { + return 'See you friend'; + } - farewell() { - return this.goodbye() + ', oh farewell!'; - } + public farewell() { + return `${this.goodbye()}, oh farewell!`; + } } /** * Utilities for composing multiple operations. */ export namespace composition { + /** + * Abstract operation composed from an expression of other operations. + */ + export abstract class CompositeOperation extends Operation { /** - * Abstract operation composed from an expression of other operations. + * The .toString() style. */ - export abstract class CompositeOperation extends Operation { - /** - * The .toString() style. - */ - public stringStyle = CompositeOperation.CompositionStringStyle.NORMAL - - /** - * A set of prefixes to include in a decorated .toString(). - */ - public decorationPrefixes = [ '<<[[{{' ] - - /** - * A set of postfixes to include in a decorated .toString(). - */ - public decorationPostfixes = [ '}}]]>>' ]; - - get value() { - return this.expression.value; - } - - /** - * The expression that this operation consists of. - * Must be implemented by derived classes. - */ - abstract readonly expression: Value; - - toString() { - switch (this.stringStyle) { - case CompositeOperation.CompositionStringStyle.NORMAL: - return this.expression.toString(); - case CompositeOperation.CompositionStringStyle.DECORATED: - return this.decorationPrefixes.join('') + this.expression.toString() + this.decorationPostfixes.join(''); - default: - throw new Error(`Unknown string style: ${this.stringStyle}`); - } - } - } + public stringStyle = CompositeOperation.CompositionStringStyle.NORMAL; + + /** + * A set of prefixes to include in a decorated .toString(). + */ + public decorationPrefixes = ['<<[[{{']; + + /** + * A set of postfixes to include in a decorated .toString(). + */ + public decorationPostfixes = ['}}]]>>']; - export namespace CompositeOperation { - /** - * Style of .toString() output for CompositeOperation. - */ - export enum CompositionStringStyle { - /** Normal string expression */ - NORMAL, - - /** Decorated string expression */ - DECORATED - } + public get value() { + return this.expression.value; } -} -/** - * An operation that sums multiple values. - */ -export class Sum extends composition.CompositeOperation { + /** + * The expression that this operation consists of. + * Must be implemented by derived classes. + */ + abstract readonly expression: Value; + + public toString() { + switch (this.stringStyle) { + case CompositeOperation.CompositionStringStyle.NORMAL: + return this.expression.toString(); + case CompositeOperation.CompositionStringStyle.DECORATED: + return ( + this.decorationPrefixes.join('') + + this.expression.toString() + + this.decorationPostfixes.join('') + ); + default: + throw new Error(`Unknown string style: ${this.stringStyle as any}`); + } + } + } + export namespace CompositeOperation { /** - * The parts to sum. + * Style of .toString() output for CompositeOperation. */ - parts: Value[] = []; + export enum CompositionStringStyle { + /** Normal string expression */ + NORMAL, - // TODO: some annoying bug in Nashorn will throw this exception if - // call that prototype's ctor via "apply" instead: java.lang.AssertionError: duplicate code - constructor() { - super(); + /** Decorated string expression */ + DECORATED, } + } +} - get expression() { - let curr: Value = new Number(0); - for (let part of this.parts) { - curr = new Add(curr, part); - } - return curr; +/** + * An operation that sums multiple values. + */ +export class Sum extends composition.CompositeOperation { + /** + * The parts to sum. + */ + public parts: Value[] = []; + + // TODO: some annoying bug in Nashorn will throw this exception if + // call that prototype's ctor via "apply" instead: java.lang.AssertionError: duplicate code + public constructor() { + super(); + } + + public get expression() { + let curr: Value = new Number(0); + for (const part of this.parts) { + curr = new Add(curr, part); } + return curr; + } } /** * The power operation. */ export class Power extends composition.CompositeOperation { - - /** - * Creates a Power operation. - * @param base The base of the power - * @param pow The number of times to multiply - */ - constructor(readonly base: Value, readonly pow: Value) { - super(); - } - - get expression(): Value { - let curr: Operation = new Number(1); - for (let i = 0; i < this.pow.value; ++i) { - curr = new Multiply(curr, this.base); - } - return curr; + /** + * Creates a Power operation. + * @param base The base of the power + * @param pow The number of times to multiply + */ + public constructor(public readonly base: Value, public readonly pow: Value) { + super(); + } + + public get expression(): Value { + let curr: Operation = new Number(1); + for (let i = 0; i < this.pow.value; ++i) { + curr = new Multiply(curr, this.base); } + return curr; + } } /** * Properties for Calculator. */ export interface CalculatorProps { - /** - * The initial value of the calculator. - * - * NOTE: Any number works here, it's fine. - * - * @default 0 - */ - readonly initialValue?: number; - - /** - * The maximum value the calculator can store. - * - * @default none - */ - readonly maximumValue?: number; + /** + * The initial value of the calculator. + * + * NOTE: Any number works here, it's fine. + * + * @default 0 + */ + readonly initialValue?: number; + + /** + * The maximum value the calculator can store. + * + * @default none + */ + readonly maximumValue?: number; } /** @@ -271,107 +280,108 @@ export interface CalculatorProps { * console.log(calculator.expression.value); */ export class Calculator extends composition.CompositeOperation { - - /** - * Creates a Calculator object. - * @param props Initialization properties. - */ - constructor(props?: CalculatorProps) { - super(); - - props = props ?? { }; - - const initialValue = props.initialValue ? props.initialValue : 0; - this.curr = new Number(initialValue); - this.maxValue = props.maximumValue; + /** + * Creates a Calculator object. + * @param props Initialization properties. + */ + public constructor(props?: CalculatorProps) { + super(); + + props = props ?? {}; + + const initialValue = props.initialValue ? props.initialValue : 0; + this.curr = new Number(initialValue); + this.maxValue = props.maximumValue; + } + + /** + * The current value. + */ + public curr: Value; + + /** + * A map of per operation name of all operations performed. + */ + public readonly operationsMap: { [op: string]: Value[] } = {}; + + /** + * A log of all operations. + */ + public readonly operationsLog = new Array(); + + /** + * The maximum value allows in this calculator. + */ + public maxValue?: number; + + /** + * Adds a number to the current value. + */ + public add(value: number) { + this.addOperation('add', new Add(this.curr, new Number(value))); + } + + /** + * Multiplies the current value by a number. + */ + public mul(value: number) { + this.addOperation('mul', new Multiply(this.curr, new Number(value))); + } + + /** + * Raises the current value by a power. + */ + public pow(value: number) { + this.addOperation('pow', new Power(this.curr, new Number(value))); + } + + /** + * Negates the current value. + */ + public neg() { + this.addOperation('neg', new Negate(this.curr)); + } + + /** + * Returns the expression. + */ + public get expression() { + return this.curr; + } + + /** + * Example of a property that accepts a union of types. + */ + public unionProperty?: Add | Multiply | Power; + + /** + * Returns teh value of the union property (if defined). + */ + public readUnionValue() { + if (!this.unionProperty) { + return 0; } - /** - * The current value. - */ - public curr: Value - - /** - * A map of per operation name of all operations performed. - */ - public readonly operationsMap: { [op: string]: Value[] } = { } - - /** - * A log of all operations. - */ - public readonly operationsLog = new Array(); - - /** - * The maximum value allows in this calculator. - */ - public maxValue?: number + return this.unionProperty.value; + } - /** - * Adds a number to the current value. - */ - public add(value: number) { - this.addOperation('add', new Add(this.curr, new Number(value))); + private addOperation(op: string, value: Value) { + if (this.maxValue && value.value > this.maxValue) { + throw new Error( + `Operation ${value.value} exceeded maximum value ${this.maxValue}`, + ); } - /** - * Multiplies the current value by a number. - */ - public mul(value: number) { - this.addOperation('mul', new Multiply(this.curr, new Number(value))); + let list = this.operationsMap[op]; + if (!list) { + list = new Array(); + this.operationsMap[op] = list; } + list.push(value); - /** - * Raises the current value by a power. - */ - public pow(value: number) { - this.addOperation('pow', new Power(this.curr, new Number(value))); - } - - /** - * Negates the current value. - */ - public neg() { - this.addOperation('neg', new Negate(this.curr)); - } - - /** - * Returns the expression. - */ - get expression() { - return this.curr; - } - - /** - * Example of a property that accepts a union of types. - */ - public unionProperty?: Add | Multiply | Power - - /** - * Returns teh value of the union property (if defined). - */ - public readUnionValue() { - if (!this.unionProperty) { - return 0; - } - - return this.unionProperty.value; - } - - private addOperation(op: string, value: Value) { - if (this.maxValue && value.value > this.maxValue) { - throw new Error(`Operation ${value} exceeded maximum value ${this.maxValue}`); - } - - let list = this.operationsMap[op]; - if (!list) { - list = new Array(); - this.operationsMap[op] = list; - } - list.push(value); - - this.operationsLog.push(value); - this.curr = value; - } + this.operationsLog.push(value); + this.curr = value; + } } /** @@ -380,34 +390,34 @@ export class Calculator extends composition.CompositeOperation { * load Python code. */ export class PropertyNamedProperty { - public readonly property: string = 'Hello, I\'m property!'; - public readonly yetAnoterOne: boolean = true; + public readonly property: string = "Hello, I'm property!"; + public readonly yetAnoterOne: boolean = true; } export class MethodNamedProperty { - public property() { - return 'Hello, I\'m property()!'; - } + public property() { + return 'Hello, I\'m property()!'; + } - public readonly elite = 1337; + public readonly elite = 1337; } export interface SmellyStruct { - readonly property: string; - readonly yetAnoterOne: boolean; + readonly property: string; + readonly yetAnoterOne: boolean; } /** * Ensures abstract members implementations correctly register overrides in various languages. */ export abstract class AbstractSuite { - protected abstract property: string; - protected abstract someMethod(str: string): string; - - /** - * Sets `seed` to `this.property`, then calls `someMethod` with `this.property` and returns the result. - * @param seed a `string`. - */ - public workItAll(seed: string) { - this.property = seed; - return this.someMethod(this.property); - } + protected abstract property: string; + protected abstract someMethod(str: string): string; + + /** + * Sets `seed` to `this.property`, then calls `someMethod` with `this.property` and returns the result. + * @param seed a `string`. + */ + public workItAll(seed: string) { + this.property = seed; + return this.someMethod(this.property); + } } diff --git a/packages/jsii-calc/lib/compliance.ts b/packages/jsii-calc/lib/compliance.ts index e5f763fa62..73160774c3 100644 --- a/packages/jsii-calc/lib/compliance.ts +++ b/packages/jsii-calc/lib/compliance.ts @@ -1,48 +1,59 @@ +import * as lib from '@scope/jsii-calc-lib'; import { - EnumFromScopedModule, - IDoublable, - IFriendly, - MyFirstStruct, - Number, - StructWithOnlyOptionals, - Value + EnumFromScopedModule, + IDoublable, + IFriendly, + MyFirstStruct, + StructWithOnlyOptionals, + Value, } from '@scope/jsii-calc-lib'; import * as fs from 'fs'; import * as path from 'path'; import * as os from 'os'; import * as crypto from 'crypto'; import { promisify } from 'util'; -import { IFriendlyRandomGenerator, IRandomNumberGenerator, Multiply } from './calculator'; - +import { + IFriendlyRandomGenerator, + IRandomNumberGenerator, + Multiply, +} from './calculator'; + +/* eslint-disable + @typescript-eslint/explicit-module-boundary-types, + @typescript-eslint/no-namespace, + @typescript-eslint/member-ordering, +*/ + +// eslint-disable-next-line @typescript-eslint/no-require-imports,@typescript-eslint/no-var-requires const bundled = require('@fixtures/jsii-calc-bundled'); import * as base from '@scope/jsii-calc-base'; const readFile = promisify(fs.readFile); export enum AllTypesEnum { - MY_ENUM_VALUE, - YOUR_ENUM_VALUE = 100, - THIS_IS_GREAT + MY_ENUM_VALUE, + YOUR_ENUM_VALUE = 100, + THIS_IS_GREAT, } export enum StringEnum { - A = 'A!', - B = 'B?', - C = 'C.' + A = 'A!', + B = 'B?', + C = 'C.', } export class EnumDispenser { - public static randomStringLikeEnum(): StringEnum { - // Haha! I lied, it's not random!! *EVIL LAUGHTER* - return StringEnum.B; - } + public static randomStringLikeEnum(): StringEnum { + // Haha! I lied, it's not random!! *EVIL LAUGHTER* + return StringEnum.B; + } - public static randomIntegerLikeEnum(): AllTypesEnum { - // Haha! I lied, it's not random!! *EVIL LAUGHTER* - return AllTypesEnum.YOUR_ENUM_VALUE; - } + public static randomIntegerLikeEnum(): AllTypesEnum { + // Haha! I lied, it's not random!! *EVIL LAUGHTER* + return AllTypesEnum.YOUR_ENUM_VALUE; + } - private constructor() { } + private constructor() {} } /** @@ -50,178 +61,181 @@ export class EnumDispenser { * that the value set is of the expected type and throw otherwise. */ export class AllTypes { + // boolean - // boolean + private boolValue = false; - private boolValue = false; + public get booleanProperty() { + return this.boolValue; + } - get booleanProperty() { - return this.boolValue; + public set booleanProperty(value: boolean) { + if (typeof value !== 'boolean') { + throw new Error('not a boolean'); } + this.boolValue = value; + } - set booleanProperty(value: boolean) { - if (typeof(value) !== 'boolean') { - throw new Error('not a boolean'); - } - this.boolValue = value; - } + // string - // string + private stringValue = 'first value'; - private stringValue = 'first value'; + public get stringProperty() { + return this.stringValue; + } - get stringProperty() { - return this.stringValue; + public set stringProperty(value: string) { + if (typeof value !== 'string') { + throw new Error('not a string'); } - set stringProperty(value: string) { - if (typeof(value) !== 'string') { - throw new Error('not a string'); - } + this.stringValue = value; + } - this.stringValue = value; - } + // number - // number + private numberValue = 0; - private numberValue = 0; + public get numberProperty() { + return this.numberValue; + } - get numberProperty() { - return this.numberValue; + public set numberProperty(value: number) { + if (typeof value !== 'number') { + throw new Error('not a number'); } + this.numberValue = value; + } - set numberProperty(value: number) { - if (typeof(value) !== 'number') { - throw new Error('not a number'); - } - this.numberValue = value; - } + // date - // date + private dateValue = new Date(); - private dateValue = new Date(); + public get dateProperty(): Date { + return this.dateValue; + } - get dateProperty(): Date { - return this.dateValue; + public set dateProperty(value: Date) { + // https://stackoverflow.com/a/643827/737957 + if (Object.prototype.toString.call(value) !== '[object Date]') { + throw new Error(`not a date: ${value as any} type=${typeof value}`); } - set dateProperty(value: Date) { - // https://stackoverflow.com/a/643827/737957 - if (Object.prototype.toString.call(value) !== '[object Date]') { - throw new Error('not a date: ' + value + ' type=' + typeof(value)); - } + this.dateValue = value; + } - this.dateValue = value; - } + // json - // json + // eslint-disable-next-line @typescript-eslint/ban-types + private jsonValue: object = {}; - private jsonValue: object = {}; + // eslint-disable-next-line @typescript-eslint/ban-types + public get jsonProperty(): object { + return this.jsonValue; + } - get jsonProperty(): object { - return this.jsonValue; + // eslint-disable-next-line @typescript-eslint/ban-types + public set jsonProperty(value: object) { + if (typeof value !== 'object') { + throw new Error('not an object'); } - set jsonProperty(value: object) { - if (typeof(value) !== 'object') { - throw new Error('not an object'); - } - - this.jsonValue = value; - } + this.jsonValue = value; + } - // map + // map - private mapValue: { [key: string]: Number } = {}; + private mapValue: { [key: string]: lib.Number } = {}; - get mapProperty(): { [key: string]: Number } { - return this.mapValue; - } + public get mapProperty(): { [key: string]: lib.Number } { + return this.mapValue; + } - set mapProperty(value: { [key: string]: Number }) { - if (typeof(value) !== 'object') { - throw new Error('not a map'); - } - this.mapValue = value; + public set mapProperty(value: { [key: string]: lib.Number }) { + if (typeof value !== 'object') { + throw new Error('not a map'); } + this.mapValue = value; + } - // array - - private arrayValue: string[] = []; + // array - get arrayProperty(): string[] { - return this.arrayValue; - } + private arrayValue: string[] = []; - set arrayProperty(value: string[]) { - if (!Array.isArray(value)) { - throw new Error('not an array'); - } + public get arrayProperty(): string[] { + return this.arrayValue; + } - this.arrayValue = value; + public set arrayProperty(value: string[]) { + if (!Array.isArray(value)) { + throw new Error('not an array'); } - // non-typed (any) + this.arrayValue = value; + } - anyProperty: any; - anyArrayProperty: any[] = []; - anyMapProperty: { [key: string]: any } = {}; + // non-typed (any) - // non-typed (unknown) + public anyProperty: any; + public anyArrayProperty: any[] = []; + public anyMapProperty: { [key: string]: any } = {}; - unknownProperty: unknown; - unknownArrayProperty: unknown[] = []; - unknownMapProperty: { [key: string]: unknown } = {}; + // non-typed (unknown) - // unions + public unknownProperty: unknown; + public unknownArrayProperty: unknown[] = []; + public unknownMapProperty: { [key: string]: unknown } = {}; - unionProperty: string | number | Number | Multiply = 'foo'; - unionArrayProperty: (Value | number)[] = []; - unionMapProperty: { [key: string]: (Number | number | string) } = {}; + // unions - // enum + public unionProperty: string | number | lib.Number | Multiply = 'foo'; + public unionArrayProperty: Array = []; + public unionMapProperty: { [key: string]: lib.Number | number | string } = {}; - public optionalEnumValue?: StringEnum; - private enumValue: AllTypesEnum = AllTypesEnum.THIS_IS_GREAT; + // enum - get enumProperty() { - return this.enumValue; - } + public optionalEnumValue?: StringEnum; + private enumValue: AllTypesEnum = AllTypesEnum.THIS_IS_GREAT; - set enumProperty(value: AllTypesEnum) { - this.enumValue = value; - switch (value) { - case AllTypesEnum.MY_ENUM_VALUE: - case AllTypesEnum.YOUR_ENUM_VALUE: - case AllTypesEnum.THIS_IS_GREAT: - return; - default: - throw new Error('Invalid enum: ' + value); - } - } + public get enumProperty() { + return this.enumValue; + } - get enumPropertyValue(): number { - return this.enumValue.valueOf(); + public set enumProperty(value: AllTypesEnum) { + this.enumValue = value; + switch (value) { + case AllTypesEnum.MY_ENUM_VALUE: + case AllTypesEnum.YOUR_ENUM_VALUE: + case AllTypesEnum.THIS_IS_GREAT: + return; + default: + throw new Error(`Invalid enum: ${value as any}`); } + } - enumMethod(value: StringEnum) { - return value; - } + public get enumPropertyValue(): number { + return this.enumValue.valueOf(); + } + public enumMethod(value: StringEnum) { + return value; + } - public anyOut(): any { - const ret = new Number(42); - Object.defineProperty(ret, 'tag', { - value: "you're it" - }); - return ret; - } + public anyOut(): any { + const ret = new Number(42); + Object.defineProperty(ret, 'tag', { + value: "you're it", + }); + return ret; + } - public anyIn(inp: any) { - if (inp.tag !== "you're it") { - throw new Error(`Not the same object that I gave you, got: ${JSON.stringify(inp)}`); - } + public anyIn(inp: any) { + if (inp.tag !== "you're it") { + throw new Error( + `Not the same object that I gave you, got: ${JSON.stringify(inp)}`, + ); } + } } // @@ -231,259 +245,257 @@ export class AllTypes { // export class JSObjectLiteralToNative { - returnLiteral(): JSObjectLiteralToNativeClass { - return { - propA: 'Hello', - propB: 102 - }; - } + public returnLiteral(): JSObjectLiteralToNativeClass { + return { + propA: 'Hello', + propB: 102, + }; + } } export class JSObjectLiteralToNativeClass { - propA: string = 'A'; - propB: number = 0; + public propA = 'A'; + public propB = 0; } /** * Verify that object references can be passed inside collections. */ export class ObjectRefsInCollections { - /** - * Returns the sum of all values - */ - sumFromArray(values: Value[]) { - let sum = 0; - for (let val of values) { - sum += val.value; - } - return sum; - } + /** + * Returns the sum of all values + */ + public sumFromArray(values: Value[]) { + let sum = 0; + for (const val of values) { + sum += val.value; + } + return sum; + } - /** - * Returns the sum of all values in a map - */ - sumFromMap(values: { [key: string]: Value }) { - let sum = 0; - for (let key of Object.keys(values)) { - sum += values[key].value; - } - return sum; + /** + * Returns the sum of all values in a map + */ + public sumFromMap(values: { [key: string]: Value }) { + let sum = 0; + for (const key of Object.keys(values)) { + sum += values[key].value; } + return sum; + } } export class RuntimeTypeChecking { - /** - * Used to verify verification of number of method arguments. - */ - public methodWithOptionalArguments(arg1: number, arg2: string, arg3?: Date) { - arg1; - arg2; - arg3; - } + /** + * Used to verify verification of number of method arguments. + */ + public methodWithOptionalArguments(arg1: number, arg2: string, arg3?: Date) { + consume(arg1, arg2, arg3); + } - public methodWithDefaultedArguments(arg1: number = 2, arg2?: string, arg3: Date = new Date()) { - arg1; - arg2; - arg3; - } + public methodWithDefaultedArguments( + arg1 = 2, + arg2?: string, + arg3: Date = new Date(), + ) { + consume(arg1, arg2, arg3); + } - public methodWithOptionalAnyArgument(arg?: any) { - arg; - } + public methodWithOptionalAnyArgument(arg?: any) { + consume(arg); + } } export class OptionalConstructorArgument { - public constructor(public readonly arg1: number, - public readonly arg2: string, - public readonly arg3?: Date) { - } + public constructor( + public readonly arg1: number, + public readonly arg2: string, + public readonly arg3?: Date, + ) {} } export class DefaultedConstructorArgument { - public constructor(public readonly arg1: number = 2, - public readonly arg2?: string, - public readonly arg3: Date = new Date()) { - } + public constructor( + public readonly arg1: number = 2, + public readonly arg2?: string, + public readonly arg3: Date = new Date(), + ) {} } export namespace DerivedClassHasNoProperties { + export class Base { + public prop = ''; + } - export class Base { - prop: string = ''; - } - - export class Derived extends Base { - - } - + export class Derived extends Base {} } export class AsyncVirtualMethods { - async callMe() { - return await this.overrideMe(10) + this.dontOverrideMe() + await this.overrideMeToo(); - } + public async callMe() { + return ( + (await this.overrideMe(10)) + + this.dontOverrideMe() + + (await this.overrideMeToo()) + ); + } - async overrideMe(mult: number) { - return 12 * mult; - } + public async overrideMe(mult: number) { + return Promise.resolve(12 * mult); + } - async overrideMeToo() { - return 0; - } + public async overrideMeToo() { + return Promise.resolve(0); + } - /** - * Just calls "overrideMeToo" - */ - callMe2() { - return this.overrideMeToo(); - } + /** + * Just calls "overrideMeToo" + */ + public async callMe2() { + return this.overrideMeToo(); + } - /** - * This method calls the "callMe" async method indirectly, which will then - * invoke a virtual method. This is a "double promise" situation, which - * means that callbacks are not going to be available immediate, but only - * after an "immediates" cycle. - */ - async callMeDoublePromise() { - return new Promise(ok => { - setImmediate(() => { - this.callMe().then(ok); - }); - }); - } + /** + * This method calls the "callMe" async method indirectly, which will then + * invoke a virtual method. This is a "double promise" situation, which + * means that callbacks are not going to be available immediate, but only + * after an "immediates" cycle. + */ + public async callMeDoublePromise() { + return new Promise((ok, ko) => { + setImmediate(() => { + this.callMe().then(ok, ko); + }); + }); + } - dontOverrideMe() { - return 8; - } + public dontOverrideMe() { + return 8; + } } export class SyncVirtualMethods { - callerIsMethod() { - return this.virtualMethod(10); - } + public callerIsMethod() { + return this.virtualMethod(10); + } - get callerIsProperty() { - return this.virtualMethod(10); - } + public get callerIsProperty() { + return this.virtualMethod(10); + } - set callerIsProperty(x: number) { - this.virtualMethod(x); - } + public set callerIsProperty(x: number) { + this.virtualMethod(x); + } - async callerIsAsync() { - return this.virtualMethod(10); - } + public async callerIsAsync() { + return Promise.resolve(this.virtualMethod(10)); + } - virtualMethod(n: number): number { - return n * 2; - } + public virtualMethod(n: number): number { + return n * 2; + } - // read-write property + // read-write property - theProperty: string = 'initial value'; + public theProperty = 'initial value'; - modifyValueOfTheProperty(value: string) { - this.theProperty = value; - } + public modifyValueOfTheProperty(value: string) { + this.theProperty = value; + } - retrieveValueOfTheProperty() { - return this.theProperty; - } + public retrieveValueOfTheProperty() { + return this.theProperty; + } - // read-only property + // read-only property - readonly readonlyProperty: string = 'readonly-property-initial-value'; + public readonly readonlyProperty: string = 'readonly-property-initial-value'; - retrieveReadOnlyProperty() { - return this.readonlyProperty; - } + public retrieveReadOnlyProperty() { + return this.readonlyProperty; + } - // property backed by functions + // property backed by functions - get otherProperty() { - return 'other property'; - } + public get otherProperty() { + return 'other property'; + } - set otherProperty(value: string) { - this.valueOfOtherProperty = value; - } + public set otherProperty(value: string) { + this.valueOfOtherProperty = value; + } - valueOfOtherProperty: string = ''; + public valueOfOtherProperty = ''; - public modifyOtherProperty(value: string) { - this.otherProperty = value; - } - - public retrieveOtherProperty() { - return this.otherProperty; - } + public modifyOtherProperty(value: string) { + this.otherProperty = value; + } - // property with a short name (makes sure for example that java's - // convertion of getA to "a" is not assuming that the length is > 1). + public retrieveOtherProperty() { + return this.otherProperty; + } - a: number = 0; + // property with a short name (makes sure for example that java's + // convertion of getA to "a" is not assuming that the length is > 1). - readA() { - return this.a; - } + public a = 0; - writeA(value: number) { - this.a = value; - } + public readA() { + return this.a; + } + public writeA(value: number) { + this.a = value; + } } export class VirtualMethodPlayground { - async serialSumAsync(count: number) { - let sum = 0; - for (let i = 0; i < count; ++i) { - const result = await this.overrideMeAsync(i); - sum += result; - } - return sum; - } - - async parallelSumAsync(count: number) { - let all = new Array>(); - for (let i = 0; i < count; ++i) { - all.push(this.overrideMeAsync(i)); - } + public async serialSumAsync(count: number) { + return Promise.all( + new Array(count).map((_, idx) => this.overrideMeAsync(idx)), + ).then((promises) => promises.reduce((acc, elt) => acc + elt, 0)); + } - const result = await Promise.all(all); - return result.reduce((x, i) => x + i, 0); + public async parallelSumAsync(count: number) { + const all = new Array>(); + for (let i = 0; i < count; ++i) { + all.push(this.overrideMeAsync(i)); } - sumSync(count: number) { - let sum = 0; - for (let i = 0; i < count; ++i) { - sum += this.overrideMeSync(i); - } - return sum; - } + const result = await Promise.all(all); + return result.reduce((x, i) => x + i, 0); + } - async overrideMeAsync(index: number) { - return 10 * index; + public sumSync(count: number) { + let sum = 0; + for (let i = 0; i < count; ++i) { + sum += this.overrideMeSync(i); } + return sum; + } - overrideMeSync(index: number) { - return 10 * index; - } + public async overrideMeAsync(index: number) { + return Promise.resolve(10 * index); + } + + public overrideMeSync(index: number) { + return 10 * index; + } } export class DoubleTrouble implements IFriendlyRandomGenerator { - next() { - return 12; - } + public next() { + return 12; + } - hello() { - return 'world'; - } + public hello() { + return 'world'; + } } export class Polymorphism { - sayHello(friendly: IFriendly) { - return `oh, ${friendly.hello()}`; - } + public sayHello(friendly: IFriendly) { + return `oh, ${friendly.hello()}`; + } } /** @@ -491,579 +503,693 @@ export class Polymorphism { * implement interfaces. */ export class NumberGenerator { - constructor(public generator: IRandomNumberGenerator) { + public constructor(public generator: IRandomNumberGenerator) {} - } - - nextTimes100() { - return this.generator.next() * 100; - } + public nextTimes100() { + return this.generator.next() * 100; + } - isSameGenerator(gen: IRandomNumberGenerator) { - return this.generator === gen; - } + public isSameGenerator(gen: IRandomNumberGenerator) { + return this.generator === gen; + } } export class JSObjectLiteralForInterface { + public giveMeFriendly(): IFriendly { + return { + hello: () => 'I am literally friendly!', + }; + } - giveMeFriendly(): IFriendly { - return { - hello: () => 'I am literally friendly!' - }; - } - - giveMeFriendlyGenerator(): IFriendlyRandomGenerator { - return { - hello: () => 'giveMeFriendlyGenerator', - next: () => 42 - }; - } - + public giveMeFriendlyGenerator(): IFriendlyRandomGenerator { + return { + hello: () => 'giveMeFriendlyGenerator', + next: () => 42, + }; + } } export class GreetingAugmenter { - betterGreeting(friendly: IFriendly): string { - return friendly.hello() + ' Let me buy you a drink!'; - } + public betterGreeting(friendly: IFriendly): string { + return `${friendly.hello()} Let me buy you a drink!`; + } } /** * A struct which derives from another struct. */ export interface DerivedStruct extends MyFirstStruct { - /** - * An example of a non primitive property. - */ - readonly nonPrimitive: DoubleTrouble - readonly bool: boolean - readonly anotherRequired: Date - readonly optionalArray?: string[] - readonly optionalAny?: any - /** - * This is optional. - */ - readonly anotherOptional?: { [key: string]: Value } + /** + * An example of a non primitive property. + */ + readonly nonPrimitive: DoubleTrouble; + readonly bool: boolean; + readonly anotherRequired: Date; + readonly optionalArray?: string[]; + readonly optionalAny?: any; + /** + * This is optional. + */ + readonly anotherOptional?: { [key: string]: Value }; } export class GiveMeStructs { - /** - * Returns the "anumber" from a MyFirstStruct struct; - */ - readFirstNumber(first: MyFirstStruct) { - return first.anumber; - } + /** + * Returns the "anumber" from a MyFirstStruct struct; + */ + public readFirstNumber(first: MyFirstStruct) { + return first.anumber; + } - /** - * Returns the boolean from a DerivedStruct struct. - */ - readDerivedNonPrimitive(derived: DerivedStruct) { - return derived.nonPrimitive; - } + /** + * Returns the boolean from a DerivedStruct struct. + */ + public readDerivedNonPrimitive(derived: DerivedStruct) { + return derived.nonPrimitive; + } - /** - * Accepts a struct of type DerivedStruct and returns a struct of type FirstStruct. - */ - derivedToFirst(derived: DerivedStruct) { - return derived as MyFirstStruct; - } + /** + * Accepts a struct of type DerivedStruct and returns a struct of type FirstStruct. + */ + public derivedToFirst(derived: DerivedStruct) { + return derived as MyFirstStruct; + } - get structLiteral(): StructWithOnlyOptionals { - return { - optional1: 'optional1FromStructLiteral', - optional3: false - }; - } + public get structLiteral(): StructWithOnlyOptionals { + return { + optional1: 'optional1FromStructLiteral', + optional3: false, + }; + } } export interface IInterfaceWithProperties { - readonly readOnlyString: string; - readWriteString: string; + readonly readOnlyString: string; + readWriteString: string; } -export interface IInterfaceWithPropertiesExtension extends IInterfaceWithProperties { - foo: number; +export interface IInterfaceWithPropertiesExtension + extends IInterfaceWithProperties { + foo: number; } export class UsesInterfaceWithProperties { - constructor(public readonly obj: IInterfaceWithProperties) { + public constructor(public readonly obj: IInterfaceWithProperties) {} - } - - public justRead() { - return this.obj.readOnlyString; - } + public justRead() { + return this.obj.readOnlyString; + } - public writeAndRead(value: string) { - this.obj.readWriteString = value; - return this.obj.readWriteString; - } + public writeAndRead(value: string) { + this.obj.readWriteString = value; + return this.obj.readWriteString; + } - public readStringAndNumber(ext: IInterfaceWithPropertiesExtension) { - return `base=${ext.readOnlyString} child=${ext.foo} keys=[${Object.keys(ext).join(',')}]`; - } + public readStringAndNumber(ext: IInterfaceWithPropertiesExtension) { + return `base=${ext.readOnlyString} child=${ext.foo} keys=[${Object.keys( + ext, + ).join(',')}]`; + } } export class AllowedMethodNames { + /** + * getXxx() is not allowed (see negatives), but getXxx(a, ...) is okay. + */ + public getFoo(withParam: string) { + return withParam; + } - /** - * getXxx() is not allowed (see negatives), but getXxx(a, ...) is okay. - */ - public getFoo(withParam: string) { - return withParam; - } - - public getBar(_p1: string, _p2: number) { - return; - } + public getBar(_p1: string, _p2: number) { + return; + } - /** - * setFoo(x) is not allowed (see negatives), but setXxx(a, b, ...) is okay. - */ - public setFoo(_x: string, _y: number) { - return; - } + /** + * setFoo(x) is not allowed (see negatives), but setXxx(a, b, ...) is okay. + */ + public setFoo(_x: string, _y: number) { + return; + } - public setBar(_x: string, _y: number, _z: boolean) { - return; - } + public setBar(_x: string, _y: number, _z: boolean) { + return; + } } export interface IReturnsNumber { - obtainNumber(): IDoublable; + obtainNumber(): IDoublable; - readonly numberProp: Number; + readonly numberProp: lib.Number; } export class OverrideReturnsObject { - public test(obj: IReturnsNumber) { - return obj.obtainNumber().doubleValue + obj.numberProp.doubleValue; - } + public test(obj: IReturnsNumber) { + return obj.obtainNumber().doubleValue + obj.numberProp.doubleValue; + } } export class Thrower { - public throwError() { - this.doThrowError(); - } + public throwError() { + this.doThrowError(); + } - private doThrowError() { - throw new Error(); - } + private doThrowError() { + throw new Error(); + } } export class VariadicMethod { - private readonly prefix: number[]; + private readonly prefix: number[]; - /** - * @param prefix a prefix that will be use for all values returned by `#asArray`. - */ - constructor(...prefix: number[]) { - this.prefix = prefix; - } + /** + * @param prefix a prefix that will be use for all values returned by `#asArray`. + */ + public constructor(...prefix: number[]) { + this.prefix = prefix; + } - /** - * @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. - */ - public asArray(first: number, ...others: number[]): number[] { - return [...this.prefix, first, ...others]; - } + /** + * @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. + */ + public asArray(first: number, ...others: number[]): number[] { + return [...this.prefix, first, ...others]; + } } export class VariadicInvoker { - public constructor(private readonly method: VariadicMethod) { } + public constructor(private readonly method: VariadicMethod) {} - public asArray(...values: number[]): number[] { - const [first, ...rest] = values; - return this.method.asArray(first, ...rest); - } + public asArray(...values: number[]): number[] { + const [first, ...rest] = values; + return this.method.asArray(first, ...rest); + } } export class Statics { - constructor(public readonly value: string) { - } - - /** - * Jsdocs for static method - * @param name The name of the person to say hello to - */ - public static staticMethod(name: string) { - return `hello ,${name}!`; - } + public constructor(public readonly value: string) {} + + /** + * Jsdocs for static method + * @param name The name of the person to say hello to + */ + public static staticMethod(name: string) { + return `hello ,${name}!`; + } - public justMethod() { - return this.value; - } + public justMethod() { + return this.value; + } - /** - * Jsdocs for static property. - */ - public static readonly Foo = 'hello'; - - /** - * Constants may also use all-caps. - */ - public static readonly BAR = 1234; - - /** - * Constants can also use camelCase. - */ - public static readonly zooBar: { [name: string]: string } = { hello: 'world' }; - - private static _instance?: Statics; - - /** - * Jsdocs for static getter. - */ - public static get instance(): Statics { - if (!this._instance) { - this._instance = new Statics('default'); - } - return this._instance; - } + /** + * Jsdocs for static property. + */ + public static readonly Foo = 'hello'; + + /** + * Constants may also use all-caps. + */ + public static readonly BAR = 1234; + + /** + * Constants can also use camelCase. + */ + public static readonly zooBar: { [name: string]: string } = { + hello: 'world', + }; + + private static _instance?: Statics; + + /** + * Jsdocs for static getter. + */ + public static get instance(): Statics { + if (!this._instance) { + this._instance = new Statics('default'); + } + return this._instance; + } - /** - *Jsdocs for static setter. - */ - public static set instance(val: Statics) { - this._instance = val; - } + /** + *Jsdocs for static setter. + */ + public static set instance(val: Statics) { + this._instance = val; + } - public static nonConstStatic = 100; // this should not be represented as a constant in target languages - public static readonly ConstObj = new DoubleTrouble(); // should be initialized statically + public static nonConstStatic = 100; // this should not be represented as a constant in target languages + public static readonly ConstObj = new DoubleTrouble(); // should be initialized statically } // https://en.wikipedia.org/wiki/List_of_Java_keywords export class JavaReservedWords { - public abstract() { - } + public abstract() { + return; + } - public assert() { - } + public assert() { + return; + } - public boolean() { - } + public boolean() { + return; + } - public break() { - } + public break() { + return; + } - public byte() { - } + public byte() { + return; + } - public case() { - } + public case() { + return; + } - public catch() { - } + public catch() { + return; + } - public char() { - } + public char() { + return; + } - public class() { - } + public class() { + return; + } - public const() { - } + public const() { + return; + } - public continue() { - } + public continue() { + return; + } - public default() { - } + public default() { + return; + } - public double() { - } + public double() { + return; + } - public do() { - } + public do() { + return; + } - public else() { - } + public else() { + return; + } - public enum() { - } + public enum() { + return; + } - public extends() { - } + public extends() { + return; + } - public false() { - } + public false() { + return; + } - public final() { - } + public final() { + return; + } - public finally() { - } + public finally() { + return; + } - public float() { - } + public float() { + return; + } - public for() { - } + public for() { + return; + } - public goto() { - } + public goto() { + return; + } - public if() { - } + public if() { + return; + } - public implements() { - } + public implements() { + return; + } - public import() { - } + public import() { + return; + } - public instanceof() { - } + public instanceof() { + return; + } - public int() { - } + public int() { + return; + } - public interface() { - } + public interface() { + return; + } - public long() { - } + public long() { + return; + } - public native() { - } + public native() { + return; + } - public new() { - } + public new() { + return; + } - public null() { - } + public null() { + return; + } - public package() { - } + public package() { + return; + } - public private() { - } + public private() { + return; + } - public protected() { - } + public protected() { + return; + } - public public() { - } + public public() { + return; + } - public return() { - } + public return() { + return; + } - public short() { - } + public short() { + return; + } - public static() { - } + public static() { + return; + } - public strictfp() { - } + public strictfp() { + return; + } - public super() { - } + public super() { + return; + } - public switch() { - } + public switch() { + return; + } - public synchronized() { - } + public synchronized() { + return; + } - public this() { - } + public this() { + return; + } - public throw() { - } + public throw() { + return; + } - public throws() { - } + public throws() { + return; + } - public transient() { - } + public transient() { + return; + } - public true() { - } + public true() { + return; + } - public try() { - } + public try() { + return; + } - public void() { - } + public void() { + return; + } - public volatile() { - } + public volatile() { + return; + } - public while = 'hello'; + public while = 'hello'; } export class PythonReservedWords { + public and() { + return; + } - public and() {} - - public as() {} + public as() { + return; + } - public assert() {} + public assert() { + return; + } - public async() {} + public async() { + return; + } - public await() {} + public await() { + return; + } - public break() {} + public break() { + return; + } - public class() {} + public class() { + return; + } - public continue() {} + public continue() { + return; + } - public def() {} + public def() { + return; + } - public del() {} + public del() { + return; + } - public elif() {} + public elif() { + return; + } - public else() {} + public else() { + return; + } - public except() {} + public except() { + return; + } - public finally() {} + public finally() { + return; + } - public for() {} + public for() { + return; + } - public from() {} + public from() { + return; + } - public global() {} + public global() { + return; + } - public if() {} + public if() { + return; + } - public import() {} + public import() { + return; + } - public in() {} + public in() { + return; + } - public is() {} + public is() { + return; + } - public lambda() {} + public lambda() { + return; + } - public nonlocal() {} + public nonlocal() { + return; + } - public not() {} + public not() { + return; + } - public or() {} + public or() { + return; + } - public pass() {} + public pass() { + return; + } - public raise() {} + public raise() { + return; + } - public return() {} + public return() { + return; + } - public try() {} + public try() { + return; + } - public while() {} + public while() { + return; + } - public with() {} + public with() { + return; + } - public yield() {} + public yield() { + return; + } } // "self" is technically not a keyword in Python. It's the conventional name of // the "this instance" reference. We can slugify this to our heart's content, // without much impact on the developer experience - but it needs to happen! export namespace PythonSelf { - export class ClassWithSelf { - public constructor(public readonly self: string) { } + export class ClassWithSelf { + public constructor(public readonly self: string) {} - public method(self: number): string { - return self.toString(); - } + public method(self: number): string { + return self.toString(); } + } - export class ClassWithSelfKwarg { - public constructor(public readonly props: StructWithSelf) { } - } + export class ClassWithSelfKwarg { + public constructor(public readonly props: StructWithSelf) {} + } - export interface StructWithSelf { - readonly self: string; - } + export interface StructWithSelf { + readonly self: string; + } - export interface IInterfaceWithSelf { - method(self: number): string; - } + export interface IInterfaceWithSelf { + method(self: number): string; + } } export interface UnionProperties { - readonly foo?: string | number; - readonly bar: AllTypes | string | number; + readonly foo?: string | number; + readonly bar: AllTypes | string | number; } export class UseBundledDependency { - value() { - return bundled; - } + public value() { + return bundled; + } } /** * Test fixture to verify that jsii modules can use the node standard library. */ export class NodeStandardLibrary { - /** - * Reads a local resource file (resource.txt) asynchronously. - * @returns "Hello, resource!" - */ - public async fsReadFile() { - const value = await readFile(path.join(__dirname, 'resource.txt')); - return value.toString(); - } + /** + * Reads a local resource file (resource.txt) asynchronously. + * @returns "Hello, resource!" + */ + public async fsReadFile() { + const value = await readFile(path.join(__dirname, 'resource.txt')); + return value.toString(); + } - /** - * Sync version of fsReadFile. - * @returns "Hello, resource! SYNC!" - */ - public fsReadFileSync() { - return fs.readFileSync(path.join(__dirname, 'resource.txt')).toString() + ' SYNC!'; - } + /** + * Sync version of fsReadFile. + * @returns "Hello, resource! SYNC!" + */ + public fsReadFileSync() { + return `${fs + .readFileSync(path.join(__dirname, 'resource.txt')) + .toString()} SYNC!`; + } - /** - * Returns the current os.platform() from the "os" node module. - */ - public get osPlatform() { - return os.platform(); - } + /** + * Returns the current os.platform() from the "os" node module. + */ + public get osPlatform(): string { + return os.platform(); + } - /** - * Uses node.js "crypto" module to calculate sha256 of a string. - * @returns "6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50" - */ - public cryptoSha256() { - const hash = crypto.createHash('sha256'); + /** + * Uses node.js "crypto" module to calculate sha256 of a string. + * @returns "6a2da20943931e9834fc12cfe5bb47bbd9ae43489a30726962b576f4e3993e50" + */ + public cryptoSha256() { + const hash = crypto.createHash('sha256'); - hash.update('some data to hash'); - return hash.digest('hex'); - } + hash.update('some data to hash'); + return hash.digest('hex'); + } } /** * Depend on a type from jsii-calc-base as a test for awslabs/jsii#128 */ export class UseCalcBase { - public hello(): base.Base { - return { - typeName: () => 'hello' - }; - } + public hello(): base.Base { + return { + typeName: () => 'hello', + }; + } } export interface ImplictBaseOfBase extends base.BaseProps { - readonly goo: Date; + readonly goo: Date; } /** * See awslabs/jsii#138 */ export class ReferenceEnumFromScopedPackage { - public foo?: EnumFromScopedModule = EnumFromScopedModule.VALUE2; + public foo?: EnumFromScopedModule = EnumFromScopedModule.VALUE2; - public loadFoo(): EnumFromScopedModule | undefined { - return this.foo; - } + public loadFoo(): EnumFromScopedModule | undefined { + return this.foo; + } - public saveFoo(value: EnumFromScopedModule) { - this.foo = value; - } + public saveFoo(value: EnumFromScopedModule) { + this.foo = value; + } } /** @@ -1071,23 +1197,20 @@ export class ReferenceEnumFromScopedPackage { * Interface within a namespace */ export namespace InterfaceInNamespaceOnlyInterface { - - // it's a special case when only an interface is exported from a namespace - export interface Hello { - readonly foo: number - } - + // it's a special case when only an interface is exported from a namespace + export interface Hello { + readonly foo: number; + } } export namespace InterfaceInNamespaceIncludesClasses { + export class Foo { + public bar?: string; + } - export class Foo { - public bar?: string; - } - - export interface Hello { - readonly foo: number - } + export interface Hello { + readonly foo: number; + } } /** @@ -1095,18 +1218,20 @@ export namespace InterfaceInNamespaceIncludesClasses { * Interface proxies (and builders) do not respect optional arguments in methods */ export interface IInterfaceWithOptionalMethodArguments { - hello(arg1: string, arg2?: number): void + hello(arg1: string, arg2?: number): void; } export class OptionalArgumentInvoker { - constructor(private readonly delegate: IInterfaceWithOptionalMethodArguments) { } + public constructor( + private readonly delegate: IInterfaceWithOptionalMethodArguments, + ) {} - public invokeWithoutOptional() { - return this.delegate.hello('Howdy'); - } + public invokeWithoutOptional() { + return this.delegate.hello('Howdy'); + } - public invokeWithOptional() { - return this.delegate.hello('Howdy', 1337); - } + public invokeWithOptional() { + return this.delegate.hello('Howdy', 1337); + } } /** @@ -1115,226 +1240,260 @@ export class OptionalArgumentInvoker { */ export interface IInterfaceImplementedByAbstractClass { - readonly propFromInterface: string; + readonly propFromInterface: string; } export abstract class AbstractClassBase { - public abstract readonly abstractProperty: string; + public abstract readonly abstractProperty: string; } -export abstract class AbstractClass extends AbstractClassBase implements IInterfaceImplementedByAbstractClass { - public nonAbstractMethod() { - return 42; - } +export abstract class AbstractClass extends AbstractClassBase + implements IInterfaceImplementedByAbstractClass { + public nonAbstractMethod() { + return 42; + } - public abstract abstractMethod(name: string): string; + public abstract abstractMethod(name: string): string; - public get propFromInterface() { - return 'propFromInterfaceValue'; - } + public get propFromInterface() { + return 'propFromInterfaceValue'; + } } class ConcreteClass extends AbstractClass { - public abstractMethod(name: string) { - return `Hello, ${name}!!`; - } + public abstractMethod(name: string) { + return `Hello, ${name}!!`; + } - public get abstractProperty() { - return 'Hello, dude!'; - } + public get abstractProperty() { + return 'Hello, dude!'; + } } export class AbstractClassReturner { - public giveMeAbstract(): AbstractClass { - return new ConcreteClass(); - } + public giveMeAbstract(): AbstractClass { + return new ConcreteClass(); + } - public giveMeInterface(): IInterfaceImplementedByAbstractClass { - return new ConcreteClass(); - } + public giveMeInterface(): IInterfaceImplementedByAbstractClass { + return new ConcreteClass(); + } - public get returnAbstractFromProperty(): AbstractClassBase { - return { - abstractProperty: 'hello-abstract-property' - }; - } + public get returnAbstractFromProperty(): AbstractClassBase { + return { + abstractProperty: 'hello-abstract-property', + }; + } } export interface IMutableObjectLiteral { - value: string; + value: string; } export class ClassWithMutableObjectLiteralProperty { - public mutableObject: IMutableObjectLiteral = { value: 'default' }; + public mutableObject: IMutableObjectLiteral = { value: 'default' }; } export class DoNotOverridePrivates { - private privateMethod(): string { - return 'privateMethod'; - } + private privateMethod(): string { + return 'privateMethod'; + } - private privateProperty = 'privateProperty'; + private privateProperty = 'privateProperty'; - public privateMethodValue() { - return this.privateMethod(); - } + public privateMethodValue() { + return this.privateMethod(); + } - public privatePropertyValue() { - return this.privateProperty; - } + public privatePropertyValue() { + return this.privateProperty; + } - public changePrivatePropertyValue(newValue: string) { - this.privateProperty = newValue; - } + public changePrivatePropertyValue(newValue: string) { + this.privateProperty = newValue; + } } /** * Class that implements interface properties automatically, but using a private constructor */ -export class ClassWithPrivateConstructorAndAutomaticProperties implements IInterfaceWithProperties { - public static create(readOnlyString: string, readWriteString: string) { - return new ClassWithPrivateConstructorAndAutomaticProperties(readOnlyString, readWriteString); - } +export class ClassWithPrivateConstructorAndAutomaticProperties + implements IInterfaceWithProperties { + public static create(readOnlyString: string, readWriteString: string) { + return new ClassWithPrivateConstructorAndAutomaticProperties( + readOnlyString, + readWriteString, + ); + } - private constructor(public readonly readOnlyString: string, public readWriteString: string) { - } + private constructor( + public readonly readOnlyString: string, + public readWriteString: string, + ) {} } export interface IInterfaceWithMethods { - readonly value: string; + readonly value: string; - doThings(): void; + doThings(): void; } /** * 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. */ -export interface IInterfaceThatShouldNotBeADataType extends IInterfaceWithMethods { - readonly otherValue: string; +export interface IInterfaceThatShouldNotBeADataType + extends IInterfaceWithMethods { + readonly otherValue: string; } /** * jsii#284: do not recognize "any" as an optional argument */ export class DoNotRecognizeAnyAsOptional { - public method(_requiredAny: any, _optionalAny?: any, _optionalString?: string) { - - } + public method( + _requiredAny: any, + _optionalAny?: any, + _optionalString?: string, + ) { + return; + } } /** * jsii#282, aws-cdk#157: null should be treated as "undefined" */ export class NullShouldBeTreatedAsUndefined { - public changeMeToUndefined? = 'hello'; + public changeMeToUndefined? = 'hello'; - constructor(_param1: string, optional?: any) { - if (optional !== undefined) { - throw new Error('Expecting second constructor argument to be "undefined"'); - } + public constructor(_param1: string, optional?: any) { + if (optional !== undefined) { + throw new Error( + 'Expecting second constructor argument to be "undefined"', + ); } + } - public giveMeUndefined(value?: any) { - if (value !== undefined) { - throw new Error('I am disappointed. I expected undefined and got: ' + JSON.stringify(value)); - } + public giveMeUndefined(value?: any) { + if (value !== undefined) { + throw new Error( + `I am disappointed. I expected undefined and got: ${JSON.stringify( + value, + )}`, + ); } + } - public giveMeUndefinedInsideAnObject(input: NullShouldBeTreatedAsUndefinedData) { - if (input.thisShouldBeUndefined !== undefined) { - throw new Error('I am disappointed. I expected undefined in "thisShouldBeUndefined" and got: ' + JSON.stringify(input)); - } - - const array = input.arrayWithThreeElementsAndUndefinedAsSecondArgument; - if (array.length !== 3) { - throw new Error('Expecting "arrayWithThreeElementsAndUndefinedAsSecondArgument" to have three elements: ' + JSON.stringify(input)); - } - - if (array[1] !== undefined) { - throw new Error('Expected arrayWithThreeElementsAndUndefinedAsSecondArgument[1] to be undefined: ' + JSON.stringify(input)); - } + public giveMeUndefinedInsideAnObject( + input: NullShouldBeTreatedAsUndefinedData, + ) { + if (input.thisShouldBeUndefined !== undefined) { + throw new Error( + `I am disappointed. I expected undefined in "thisShouldBeUndefined" and got: ${JSON.stringify( + input, + )}`, + ); + } + + const array = input.arrayWithThreeElementsAndUndefinedAsSecondArgument; + if (array.length !== 3) { + throw new Error( + `Expecting "arrayWithThreeElementsAndUndefinedAsSecondArgument" to have three elements: ${JSON.stringify( + input, + )}`, + ); + } + + if (array[1] !== undefined) { + throw new Error( + `Expected arrayWithThreeElementsAndUndefinedAsSecondArgument[1] to be undefined: ${JSON.stringify( + input, + )}`, + ); } + } - public verifyPropertyIsUndefined() { - if (this.changeMeToUndefined !== undefined) { - throw new Error('Expecting property "changeMeToUndefined" to be undefined, and it is: ' + this.changeMeToUndefined); - } + public verifyPropertyIsUndefined() { + if (this.changeMeToUndefined !== undefined) { + throw new Error( + `Expecting property "changeMeToUndefined" to be undefined, and it is: ${this.changeMeToUndefined}`, + ); } + } } export interface NullShouldBeTreatedAsUndefinedData { - readonly thisShouldBeUndefined?: any; - readonly arrayWithThreeElementsAndUndefinedAsSecondArgument: any[]; + readonly thisShouldBeUndefined?: any; + readonly arrayWithThreeElementsAndUndefinedAsSecondArgument: any[]; } export class DontComplainAboutVariadicAfterOptional { - public optionalAndVariadic(optional?: string, ...things: string[]) { - return `${optional} and ${things.join(',')}`; - } + public optionalAndVariadic(optional?: string, ...things: string[]) { + return `${optional} and ${things.join(',')}`; + } } /** * jsii#298: show default values in sphinx documentation, and respect newlines. **/ export interface LoadBalancedFargateServiceProps { - /** - * 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 - */ - readonly cpu?: string; - - /** - * 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: - * - * 0.5GB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU) - * - * 1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU) - * - * 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU) - * - * Between 4GB and 16GB in 1GB increments - Available cpu values: 2048 (2 vCPU) - * - * Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU) - * - * This default is set in the underlying FargateTaskDefinition construct. - * - * @default 512 - */ - readonly memoryMiB?: string; - - /** - * The container port of the application load balancer attached to your Fargate service. Corresponds to container port mapping. - * - * @default 80 - */ - readonly containerPort?: number; - - /** - * Determines whether the Application Load Balancer will be internet-facing - * - * @default true - */ - readonly publicLoadBalancer?: boolean; - - /** - * Determines whether your Fargate Service will be assigned a public IP address. - * - * @default false - */ - readonly publicTasks?: boolean; + /** + * 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 + */ + readonly cpu?: string; + + /** + * 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: + * + * 0.5GB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU) + * + * 1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU) + * + * 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU) + * + * Between 4GB and 16GB in 1GB increments - Available cpu values: 2048 (2 vCPU) + * + * Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU) + * + * This default is set in the underlying FargateTaskDefinition construct. + * + * @default 512 + */ + readonly memoryMiB?: string; + + /** + * The container port of the application load balancer attached to your Fargate service. Corresponds to container port mapping. + * + * @default 80 + */ + readonly containerPort?: number; + + /** + * Determines whether the Application Load Balancer will be internet-facing + * + * @default true + */ + readonly publicLoadBalancer?: boolean; + + /** + * Determines whether your Fargate Service will be assigned a public IP address. + * + * @default false + */ + readonly publicTasks?: boolean; } /** @@ -1346,44 +1505,45 @@ export interface LoadBalancedFargateServiceProps { * @see https://github.com/aws/jsii/issues/320 */ export class ReturnsPrivateImplementationOfInterface { - public get privateImplementation(): IPrivatelyImplemented { - return new PrivateImplementation(); - } + public get privateImplementation(): IPrivatelyImplemented { + return new PrivateImplementation(); + } } export interface IPrivatelyImplemented { - readonly success: boolean; + readonly success: boolean; } export class ExportedBaseClass { - constructor(public readonly success: boolean) {} + public constructor(public readonly success: boolean) {} } -class PrivateImplementation extends ExportedBaseClass implements IPrivatelyImplemented { - constructor() { - super(true); - } +class PrivateImplementation extends ExportedBaseClass + implements IPrivatelyImplemented { + public constructor() { + super(true); + } } /** * Host runtime version should be set via JSII_AGENT */ export class JsiiAgent { - /** - * Returns the value of the JSII_AGENT environment variable. - */ - public static get jsiiAgent(): string | undefined { - return process.env.JSII_AGENT; - } -}; + /** + * Returns the value of the JSII_AGENT environment variable. + */ + public static get jsiiAgent(): string | undefined { + return process.env.JSII_AGENT; + } +} // To support module augmentation classes must support multiple declaration sites // (the tail of which must be interfaces) export class AugmentableClass { - public methodOne(): void { - console.log('methodOne'); - } + public methodOne(): void { + console.log('methodOne'); + } } export interface AugmentableClass { - methodTwo(): void; + methodTwo(): void; } // Ensure the JSII kernel tags instances with the "most appropriate" FQN type label, so that runtimes are able to @@ -1391,58 +1551,67 @@ export interface AugmentableClass { // needs to up-cast an instance to an incompatible type, which certain runtimes (such as Java) will prevent. // @See https://github.com/aws/jsii/issues/345 export class PublicClass { - public hello(): void {} + public hello(): void { + return; + } } export interface IPublicInterface { - bye(): string; + bye(): string; } export interface IPublicInterface2 { - ciao(): string; + ciao(): string; } export class InbetweenClass extends PublicClass implements IPublicInterface2 { - public ciao(): string { return 'ciao'; } + public ciao(): string { + return 'ciao'; + } } class PrivateClass extends InbetweenClass implements IPublicInterface { - public bye(): string { return 'bye'; } + public bye(): string { + return 'bye'; + } } class HiddenClass implements IPublicInterface, IPublicInterface2 { - public bye(): string { return 'bye'; } - public ciao(): string { return 'ciao'; } + public bye(): string { + return 'bye'; + } + public ciao(): string { + return 'ciao'; + } } -class HiddenSubclass extends HiddenClass { -} +class HiddenSubclass extends HiddenClass {} export class Constructors { - public static makeClass(): PublicClass { - return new PrivateClass(); // Wire type should be InbetweenClass - } + public static makeClass(): PublicClass { + return new PrivateClass(); // Wire type should be InbetweenClass + } - public static makeInterface(): IPublicInterface { - return new PrivateClass(); // Wire type should be IPublicInterface - } + public static makeInterface(): IPublicInterface { + return new PrivateClass(); // Wire type should be IPublicInterface + } - public static makeInterface2(): IPublicInterface2 { - return new PrivateClass(); // Wire type should be InbetweenClass - } + public static makeInterface2(): IPublicInterface2 { + return new PrivateClass(); // Wire type should be InbetweenClass + } - public static makeInterfaces(): IPublicInterface[] { - return [new PrivateClass()]; // Wire type should be IPublicInterface[] - } + public static makeInterfaces(): IPublicInterface[] { + return [new PrivateClass()]; // Wire type should be IPublicInterface[] + } - public static hiddenInterface(): IPublicInterface { - return new HiddenClass(); // Wire type should be IPublicInterface - } + public static hiddenInterface(): IPublicInterface { + return new HiddenClass(); // Wire type should be IPublicInterface + } - public static hiddenInterfaces(): IPublicInterface[] { - return [new HiddenClass()]; // Wire type should be IPublicInterface[] - } + public static hiddenInterfaces(): IPublicInterface[] { + return [new HiddenClass()]; // Wire type should be IPublicInterface[] + } - public static hiddenSubInterfaces(): IPublicInterface[] { - return [new HiddenSubclass()]; // Wire type should be IPublicInterface[] - } + public static hiddenSubInterfaces(): IPublicInterface[] { + return [new HiddenSubclass()]; // Wire type should be IPublicInterface[] + } } /** @@ -1453,115 +1622,126 @@ export class Constructors { * this it would break runtime type checks in the JVM or CLR. */ export class SingleInstanceTwoTypes { - private instance = new PrivateClass(); + private readonly instance = new PrivateClass(); - public interface1(): InbetweenClass { - return this.instance; - } + public interface1(): InbetweenClass { + return this.instance; + } - public interface2(): IPublicInterface { - return this.instance; - } + public interface2(): IPublicInterface { + return this.instance; + } } // fixture to verify that null/undefined values in object hashes are treated // as "unset". see awslabs/aws-cdk#965. export interface EraseUndefinedHashValuesOptions { - readonly option1?: string; - readonly option2?: string; + readonly option1?: string; + readonly option2?: string; } export class EraseUndefinedHashValues { - /** - * 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. - */ - public static doesKeyExist(opts: EraseUndefinedHashValuesOptions, key: string): boolean { - return key in opts; - } + /** + * 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. + */ + public static doesKeyExist( + opts: EraseUndefinedHashValuesOptions, + key: string, + ): boolean { + return key in opts; + } - /** - * We expect "prop2" to be erased - */ - public static prop2IsUndefined(): { [key: string]: any } { - return { - prop1: 'value1', - prop2: undefined - }; - } + /** + * We expect "prop2" to be erased + */ + public static prop2IsUndefined(): { [key: string]: any } { + return { + prop1: 'value1', + prop2: undefined, + }; + } - /** - * We expect "prop1" to be erased - */ - public static prop1IsNull(): { [key: string]: any } { - return { - prop1: null, - prop2: 'value2' - }; - } + /** + * We expect "prop1" to be erased + */ + public static prop1IsNull(): { [key: string]: any } { + return { + prop1: null, + prop2: 'value2', + }; + } } // internal can be used to represent members that can only be accessed from the current module export class StripInternal { - public youSeeMe = 'hello'; + public youSeeMe = 'hello'; - /** - * This is an internal thing - * @internal - */ - public _youDontSeeMeAlthoughIamPublic = 'world' + /** + * This is an internal thing + * @internal + */ + public _youDontSeeMeAlthoughIamPublic = 'world'; } /** * @internal */ export class InternalClass { - public iAmNotHere = 'yes'; + public iAmNotHere = 'yes'; } /** * @internal */ export interface InternalInterface { - readonly prop: string; + readonly prop: string; } /** * @internal */ export enum InternalEnum { - Member1 = 12, - Member2 = 23 + Member1 = 12, + Member2 = 23, } export interface IInterfaceWithInternal { - visible(): void; + visible(): void; - /** @internal */ - _hidden(): void; + /** @internal */ + _hidden(): void; } export class ImplementsInterfaceWithInternal implements IInterfaceWithInternal { - visible() { } + public visible() { + return; + } - /** @internal */ - _hidden() { } + /** @internal */ + public _hidden() { + return; + } - /** @internal */ - _alsoHidden() { } + /** @internal */ + public _alsoHidden() { + return; + } - /** @internal */ - _propertiesToo?: string; + /** @internal */ + public _propertiesToo?: string; } export class ImplementsInterfaceWithInternalSubclass extends ImplementsInterfaceWithInternal { - /** @internal */ - _alsoHidden() { } + /** @internal */ + public _alsoHidden() { + return; + } - /** - * @internal - */ - public _propertiesToo?: string; + /** + * @internal + */ + public _propertiesToo?: string; } // @@ -1571,23 +1751,23 @@ export class ImplementsInterfaceWithInternalSubclass extends ImplementsInterface // interface IPrivateInterface { - private: string; + private: string; } export interface ExtendsInternalInterface extends InternalInterface { - readonly boom: boolean + readonly boom: boolean; } export class ImplementInternalInterface implements InternalInterface { - prop = 'implement me' + public prop = 'implement me'; } export class ImplementsPrivateInterface implements IPrivateInterface { - public private = 'i came from private into the light' + public private = 'i came from private into the light'; } export interface IExtendsPrivateInterface extends IPrivateInterface { - readonly moreThings: string[]; + readonly moreThings: string[]; } // @@ -1596,67 +1776,79 @@ export interface IExtendsPrivateInterface extends IPrivateInterface { // export interface IAnotherPublicInterface { - a: string; - + a: string; } /** @internal */ export interface IAnotherInternalInterface extends IAnotherPublicInterface { - b: string; + b: string; } export interface INonInternalInterface extends IAnotherInternalInterface { - c: string; + c: string; } /** @internal */ -export interface IInternalInterfaceThatExtendsTheNonInternalOne extends INonInternalInterface { - d: string; +export interface IInternalInterfaceThatExtendsTheNonInternalOne + extends INonInternalInterface { + d: string; } -interface IPrivateInterfaceThatExtendsTheNonInternalOne extends INonInternalInterface { - e: string; +interface IPrivateInterfaceThatExtendsTheNonInternalOne + extends INonInternalInterface { + e: string; } -export class ClassThatImplementsTheInternalInterface implements IInternalInterfaceThatExtendsTheNonInternalOne, INonInternalInterface { - public a = 'a'; - public b = 'b'; - public c = 'c'; - public d = 'd'; +export class ClassThatImplementsTheInternalInterface + implements + IInternalInterfaceThatExtendsTheNonInternalOne, + INonInternalInterface { + public a = 'a'; + public b = 'b'; + public c = 'c'; + public d = 'd'; } -export class ClassThatImplementsThePrivateInterface implements IPrivateInterfaceThatExtendsTheNonInternalOne { - public a = 'a'; - public b = 'b'; - public c = 'c'; - public e = 'e'; +export class ClassThatImplementsThePrivateInterface + implements IPrivateInterfaceThatExtendsTheNonInternalOne { + public a = 'a'; + public b = 'b'; + public c = 'c'; + public e = 'e'; } export class ConsumersOfThisCrazyTypeSystem { - public consumeAnotherPublicInterface(obj: IAnotherPublicInterface) { - return obj.a; - } + public consumeAnotherPublicInterface(obj: IAnotherPublicInterface) { + return obj.a; + } - public consumeNonInternalInterface(obj: INonInternalInterface): any { - return { a: obj.a, b: obj.b, c: obj.c }; - } + public consumeNonInternalInterface(obj: INonInternalInterface): any { + return { a: obj.a, b: obj.b, c: obj.c }; + } } - // // Ensure the JSII kernel can pass "this" out to JSII remotes from within the constructor (this is dirty, but possible) // export abstract class PartiallyInitializedThisConsumer { - public abstract consumePartiallyInitializedThis(obj: ConstructorPassesThisOut, dt: Date, ev: AllTypesEnum): string; + public abstract consumePartiallyInitializedThis( + obj: ConstructorPassesThisOut, + dt: Date, + ev: AllTypesEnum, + ): string; } export class ConstructorPassesThisOut { - constructor(consumer: PartiallyInitializedThisConsumer) { - const result = consumer.consumePartiallyInitializedThis(this, new Date(0), AllTypesEnum.THIS_IS_GREAT); - if (result !== 'OK') { - throw new Error(`Expected OK but received ${result}`); - } + public constructor(consumer: PartiallyInitializedThisConsumer) { + const result = consumer.consumePartiallyInitializedThis( + this, + new Date(0), + AllTypesEnum.THIS_IS_GREAT, + ); + if (result !== 'OK') { + throw new Error(`Expected OK but received ${result}`); } + } } // @@ -1664,19 +1856,18 @@ export class ConstructorPassesThisOut { // See: https://github.com/aws/jsii/issues/411 // export class OptionalStructConsumer { - public readonly parameterWasUndefined: boolean; - public readonly fieldValue?: string; + public readonly parameterWasUndefined: boolean; + public readonly fieldValue?: string; - constructor(optionalStruct?: OptionalStruct) { - this.parameterWasUndefined = optionalStruct === undefined; - this.fieldValue = optionalStruct && optionalStruct.field; - } + public constructor(optionalStruct?: OptionalStruct) { + this.parameterWasUndefined = optionalStruct === undefined; + this.fieldValue = optionalStruct && optionalStruct.field; + } } export interface OptionalStruct { - readonly field?: string; + readonly field?: string; } - /** * This class has docs. * @@ -1691,8 +1882,7 @@ export interface OptionalStruct { * @customAttribute hasAValue * @stable */ -export class ClassWithDocs { -} +export class ClassWithDocs {} /** * This is used to validate the ability to use `this` from within a static context. @@ -1700,25 +1890,25 @@ export class ClassWithDocs { * https://github.com/awslabs/aws-cdk/issues/2304 */ export class StaticContext { - private static _staticVariable = true; + private static _staticVariable = true; - public static canAccessStaticContext(): boolean { - return this.staticContextAvailable(); - } + public static canAccessStaticContext(): boolean { + return this.staticContextAvailable(); + } - private static staticContextAvailable() { - return true; - } + private static staticContextAvailable() { + return true; + } - public static get staticVariable() { - return this._staticVariable; - } + public static get staticVariable() { + return this._staticVariable; + } - public static set staticVariable(value: boolean) { - this._staticVariable = value; - } + public static set staticVariable(value: boolean) { + this._staticVariable = value; + } - private constructor() { } + private constructor() {} } /** @@ -1729,26 +1919,26 @@ export class StaticContext { * - Verify that `methodWasCalled` is `true`. */ export abstract class VoidCallback { - private _methodWasCalled = false; - public get methodWasCalled(): boolean { - return this._methodWasCalled; - } - public callMe(): void { - this.overrideMe(); - this._methodWasCalled = true; - } - protected abstract overrideMe(): void; + private _methodWasCalled = false; + public get methodWasCalled(): boolean { + return this._methodWasCalled; + } + public callMe(): void { + this.overrideMe(); + this._methodWasCalled = true; + } + protected abstract overrideMe(): void; } /** * Verifies that private property declarations in constructor arguments are hidden. */ export class WithPrivatePropertyInConstructor { - constructor(private readonly privateField: string = 'Success!') { } + public constructor(private readonly privateField: string = 'Success!') {} - public get success() { - return this.privateField === 'Success!'; - } + public get success() { + return this.privateField === 'Success!'; + } } /** @@ -1757,16 +1947,16 @@ export class WithPrivatePropertyInConstructor { * https://github.com/aws/jsii/issues/231 */ export class SingletonString { - private constructor() { } + private constructor() {} - public isSingletonString(value: string): boolean { - return value === SingletonStringEnum.SINGLETON_STRING; - } + public isSingletonString(value: string): boolean { + return value === SingletonStringEnum.SINGLETON_STRING; + } } /** A singleton string */ export enum SingletonStringEnum { - /** 1337 */ - SINGLETON_STRING = '3L1T3!' + /** 1337 */ + SINGLETON_STRING = '3L1T3!', } /** * Verifies that singleton enums are handled correctly @@ -1774,100 +1964,104 @@ export enum SingletonStringEnum { * https://github.com/aws/jsii/issues/231 */ export class SingletonInt { - private constructor() { } - public isSingletonInt(value: number): boolean { - return value === SingletonIntEnum.SINGLETON_INT; - } + private constructor() {} + public isSingletonInt(value: number): boolean { + return value === SingletonIntEnum.SINGLETON_INT; + } } /** A singleton integer. */ export enum SingletonIntEnum { - /** Elite! */ - SINGLETON_INT = 1337 + /** Elite! */ + SINGLETON_INT = 1337, } /** * Verifies proper type handling through dynamic overrides. */ export class DataRenderer { - constructor() { } - - public render(data: MyFirstStruct = { anumber: 42, astring: 'bazinga!' }): string { - return this.renderMap(data); - } + public render( + data: MyFirstStruct = { anumber: 42, astring: 'bazinga!' }, + ): string { + return this.renderMap(data); + } - public renderArbitrary(data: { [key: string]: any }): string { - return this.renderMap(data); - } + public renderArbitrary(data: { [key: string]: any }): string { + return this.renderMap(data); + } - public renderMap(map: { [key: string]: any }): string { - return JSON.stringify(map, null, 2); - } + public renderMap(map: { [key: string]: any }): string { + return JSON.stringify(map, null, 2); + } } export interface TopLevelStruct { - /** - * This is a required field - */ - readonly required: string; + /** + * This is a required field + */ + readonly required: string; - /** - * You don't have to pass this - */ - readonly optional?: string; + /** + * You don't have to pass this + */ + readonly optional?: string; - /** - * A union to really stress test our serialization - */ - readonly secondLevel: SecondLevelStruct | number; + /** + * A union to really stress test our serialization + */ + readonly secondLevel: SecondLevelStruct | number; } export interface SecondLevelStruct { - /** - * It's long and required - */ - readonly deeperRequiredProp: string; + /** + * It's long and required + */ + readonly deeperRequiredProp: string; - /** - * It's long, but you'll almost never pass it. - */ - readonly deeperOptionalProp?: string; + /** + * It's long, but you'll almost never pass it. + */ + readonly deeperOptionalProp?: string; } export interface DiamondInheritanceBaseLevelStruct { - readonly baseLevelProperty: string; + readonly baseLevelProperty: string; } -export interface DiamondInheritanceFirstMidLevelStruct extends DiamondInheritanceBaseLevelStruct { - readonly firstMidLevelProperty: string; +export interface DiamondInheritanceFirstMidLevelStruct + extends DiamondInheritanceBaseLevelStruct { + readonly firstMidLevelProperty: string; } -export interface DiamondInheritanceSecondMidLevelStruct extends DiamondInheritanceBaseLevelStruct { - readonly secondMidLevelProperty: string; +export interface DiamondInheritanceSecondMidLevelStruct + extends DiamondInheritanceBaseLevelStruct { + readonly secondMidLevelProperty: string; } -export interface DiamondInheritanceTopLevelStruct extends DiamondInheritanceFirstMidLevelStruct, DiamondInheritanceSecondMidLevelStruct { - readonly topLevelProperty: string; +export interface DiamondInheritanceTopLevelStruct + extends DiamondInheritanceFirstMidLevelStruct, + DiamondInheritanceSecondMidLevelStruct { + readonly topLevelProperty: string; } export interface StructWithJavaReservedWords { - readonly default: string; - readonly assert?: string; + readonly default: string; + readonly assert?: string; - // These properties are designed to break the naive implementation of equals() and hashcode() using the standard template - readonly result?: string; - readonly that?: string; + // These properties are designed to break the naive implementation of equals() and hashcode() using the standard template + readonly result?: string; + readonly that?: string; } export class ClassWithJavaReservedWords { - readonly int: string; + public readonly int: string; - public constructor(int: string) { - this.int = int; - } + public constructor(int: string) { + this.int = int; + } - public import(assert: string): string { - return this.int + assert; - } + public import(assert: string): string { + return this.int + assert; + } } /** @@ -1876,17 +2070,23 @@ export class ClassWithJavaReservedWords { * @stability external */ export class StructPassing { - public static roundTrip(_positional: number, input: TopLevelStruct): TopLevelStruct { - return { - required: input.required, - optional: input.optional, - secondLevel: input.secondLevel, - }; - } + public static roundTrip( + _positional: number, + input: TopLevelStruct, + ): TopLevelStruct { + return { + required: input.required, + optional: input.optional, + secondLevel: input.secondLevel, + }; + } - public static howManyVarArgsDidIPass(_positional: number, ...inputs: TopLevelStruct[]): number { - return inputs.length; - } + public static howManyVarArgsDidIPass( + _positional: number, + ...inputs: TopLevelStruct[] + ): number { + return inputs.length; + } } /** @@ -1894,100 +2094,111 @@ export class StructPassing { * See aws/aws-cdk#2362 */ export class InterfacesMaker { - public static makeInterfaces(count: number): IDoublable[] { - const output = new Array(); - for (let i = 0; i < count; i++) { - output.push({ doubleValue: i * 2 }); - } - return output; + public static makeInterfaces(count: number): IDoublable[] { + const output = new Array(); + for (let i = 0; i < count; i++) { + output.push({ doubleValue: i * 2 }); } + return output; + } - private constructor() { } + private constructor() {} } export class ClassWithCollections { - public map: { [key: string]: string }; - public array: string[]; - - public static staticMap:{ [key: string]: string } = {'key1': 'value1', 'key2': 'value2'}; - public static staticArray: string[] = ["one", "two"]; - - constructor(map: { [key: string]: string }, array: string[]) { - this.map = map; - this.array = array; - } + public map: { [key: string]: string }; + public array: string[]; + + public static staticMap: { [key: string]: string } = { + key1: 'value1', + key2: 'value2', + }; + public static staticArray: string[] = ['one', 'two']; + + public constructor(map: { [key: string]: string }, array: string[]) { + this.map = map; + this.array = array; + } - static createAList(): string[] { - return ["one", "two"]; - } + public static createAList(): string[] { + return ['one', 'two']; + } - static createAMap(): { [key: string]: string } { - return {'key1': 'value1', 'key2': 'value2'}; - } + public static createAMap(): { [key: string]: string } { + return { key1: 'value1', key2: 'value2' }; + } } /** * @see https://github.com/aws/jsii/issues/903 */ export class OverridableProtectedMember { - protected readonly overrideReadOnly: string = 'Baz'; - protected overrideReadWrite: string = 'zinga!'; + protected readonly overrideReadOnly: string = 'Baz'; + protected overrideReadWrite = 'zinga!'; - public valueFromProtected(): string { - return this.overrideMe(); - } + public valueFromProtected(): string { + return this.overrideMe(); + } - public switchModes(): void { - this.overrideReadWrite = 'zaar...'; - } + public switchModes(): void { + this.overrideReadWrite = 'zaar...'; + } - protected overrideMe(): string { - return this.overrideReadOnly + this.overrideReadWrite; - } + protected overrideMe(): string { + return this.overrideReadOnly + this.overrideReadWrite; + } } /** * We can generate fancy builders in Java for classes which take a mix of positional & struct parameters */ export class SupportsNiceJavaBuilderWithRequiredProps { - public readonly propId?: string; - public readonly bar: number; - - /** - * @param id some identifier of your choice - * @param props some properties - */ - public constructor(public readonly id: number, props: SupportsNiceJavaBuilderProps) { - this.propId = props.id; - this.bar = props.bar; - } + public readonly propId?: string; + public readonly bar: number; + + /** + * @param id some identifier of your choice + * @param props some properties + */ + public constructor( + public readonly id: number, + props: SupportsNiceJavaBuilderProps, + ) { + this.propId = props.id; + this.bar = props.bar; + } } export class SupportsNiceJavaBuilder extends SupportsNiceJavaBuilderWithRequiredProps { - public readonly rest: string[]; - - /** - * - * @param id some identifier - * @param defaultBar the default value of `bar` - * @param props some props once can provide - * @param rest a variadic continuation - */ - public constructor(public readonly id: number, defaultBar = 1337, props?: SupportsNiceJavaBuilderProps, ...rest: string[]) { - super(id, props ?? { bar: defaultBar }); - this.rest = rest; - } + public readonly rest: string[]; + + /** + * + * @param id some identifier + * @param defaultBar the default value of `bar` + * @param props some props once can provide + * @param rest a variadic continuation + */ + public constructor( + public readonly id: number, + defaultBar = 1337, + props?: SupportsNiceJavaBuilderProps, + ...rest: string[] + ) { + super(id, props ?? { bar: defaultBar }); + this.rest = rest; + } } export interface SupportsNiceJavaBuilderProps { - /** - * 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. - */ - readonly id?: string; + /** + * 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. + */ + readonly id?: string; - /** - * Some number, like 42. - */ - readonly bar: number; + /** + * Some number, like 42. + */ + readonly bar: number; } /** @@ -1995,75 +2206,97 @@ export interface SupportsNiceJavaBuilderProps { * declarations. */ export interface IAnonymousImplementationProvider { - provideAsInterface(): IAnonymouslyImplementMe; - provideAsClass(): Implementation; + provideAsInterface(): IAnonymouslyImplementMe; + provideAsClass(): Implementation; } -export class AnonymousImplementationProvider implements IAnonymousImplementationProvider { - private readonly instance = new PrivateType(); +export class AnonymousImplementationProvider + implements IAnonymousImplementationProvider { + private readonly instance = new PrivateType(); - public provideAsClass(): Implementation { - return this.instance; - } + public provideAsClass(): Implementation { + return this.instance; + } - public provideAsInterface(): IAnonymouslyImplementMe { - return this.instance; - } + public provideAsInterface(): IAnonymouslyImplementMe { + return this.instance; + } } export class Implementation { - readonly value = 1337; + public readonly value = 1337; } export interface IAnonymouslyImplementMe { - readonly value: number; - verb(): string; + readonly value: number; + verb(): string; } class PrivateType extends Implementation implements IAnonymouslyImplementMe { - public verb() { - return 'to implement'; - } + public verb() { + return 'to implement'; + } } /** * We can serialize and deserialize structs without silently ignoring optional fields. */ export interface StructA { - readonly requiredString: string; - readonly optionalString?: string; - readonly optionalNumber?: number; + readonly requiredString: string; + readonly optionalString?: string; + readonly optionalNumber?: number; } /** * This intentionally overlaps with StructA (where only requiredString is provided) to test htat * the kernel properly disambiguates those. */ export interface StructB { - readonly requiredString: string; - readonly optionalBoolean?: boolean; - readonly optionalStructA?: StructA; + readonly requiredString: string; + readonly optionalBoolean?: boolean; + readonly optionalStructA?: StructA; } export class StructUnionConsumer { - public static isStructA(struct: StructA | StructB): struct is StructA { - const keys = new Set(Object.keys(struct)); - switch (keys.size) { - case 1: return keys.has('requiredString'); - case 2: return keys.has('requiredString') && (keys.has('optionalNumber') || keys.has('optionalString')); - case 3: return keys.has('requiredString') && keys.has('optionalNumber') && keys.has('optionalString'); - default: return false; - } + public static isStructA(struct: StructA | StructB): struct is StructA { + const keys = new Set(Object.keys(struct)); + switch (keys.size) { + case 1: + return keys.has('requiredString'); + case 2: + return ( + keys.has('requiredString') && + (keys.has('optionalNumber') || keys.has('optionalString')) + ); + case 3: + return ( + keys.has('requiredString') && + keys.has('optionalNumber') && + keys.has('optionalString') + ); + default: + return false; } + } - public static isStructB(struct: StructA | StructB): struct is StructB { - const keys = new Set(Object.keys(struct)); - switch (keys.size) { - case 1: return keys.has('requiredString'); - case 2: return keys.has('requiredString') && (keys.has('optionalBoolean') || keys.has('optionalStructA')); - case 3: return keys.has('requiredString') && keys.has('optionalBoolean') && keys.has('optionalStructA'); - default: return false; - } + public static isStructB(struct: StructA | StructB): struct is StructB { + const keys = new Set(Object.keys(struct)); + switch (keys.size) { + case 1: + return keys.has('requiredString'); + case 2: + return ( + keys.has('requiredString') && + (keys.has('optionalBoolean') || keys.has('optionalStructA')) + ); + case 3: + return ( + keys.has('requiredString') && + keys.has('optionalBoolean') && + keys.has('optionalStructA') + ); + default: + return false; } + } - private constructor() { } + private constructor() {} } - /** * Test calling back to consumers that implement interfaces * @@ -2071,134 +2304,134 @@ export class StructUnionConsumer { * the method on the argument that they're passed... */ export class ConsumerCanRingBell { - /** - * ...if the interface is implemented using an object literal. - * - * Returns whether the bell was rung. - */ - public static staticImplementedByObjectLiteral(ringer: IBellRinger) { - let rung = false; - ringer.yourTurn({ - ring() { - rung = true; - } - }); - return rung; - } + /** + * ...if the interface is implemented using an object literal. + * + * Returns whether the bell was rung. + */ + public static staticImplementedByObjectLiteral(ringer: IBellRinger) { + let rung = false; + ringer.yourTurn({ + ring() { + rung = true; + }, + }); + return rung; + } - /** - * ...if the interface is implemented using a public class. - * - * Return whether the bell was rung. - */ - public static staticImplementedByPublicClass(ringer: IBellRinger) { - const bell = new Bell(); - ringer.yourTurn(bell); - return bell.rung; - } + /** + * ...if the interface is implemented using a public class. + * + * Return whether the bell was rung. + */ + public static staticImplementedByPublicClass(ringer: IBellRinger) { + const bell = new Bell(); + ringer.yourTurn(bell); + return bell.rung; + } - /** - * ...if the interface is implemented using a private class. - * - * Return whether the bell was rung. - */ - public static staticImplementedByPrivateClass(ringer: IBellRinger) { - const bell = new PrivateBell(); - ringer.yourTurn(bell); - return bell.rung; - } + /** + * ...if the interface is implemented using a private class. + * + * Return whether the bell was rung. + */ + public static staticImplementedByPrivateClass(ringer: IBellRinger) { + const bell = new PrivateBell(); + ringer.yourTurn(bell); + return bell.rung; + } - /** - * If the parameter is a concrete class instead of an interface - * - * Return whether the bell was rung. - */ - public static staticWhenTypedAsClass(ringer: IConcreteBellRinger) { - const bell = new Bell(); - ringer.yourTurn(bell); - return bell.rung; - } - /** - * ...if the interface is implemented using an object literal. - * - * Returns whether the bell was rung. - */ - public implementedByObjectLiteral(ringer: IBellRinger) { - let rung = false; - ringer.yourTurn({ - ring() { - rung = true; - } - }); - return rung; - } + /** + * If the parameter is a concrete class instead of an interface + * + * Return whether the bell was rung. + */ + public static staticWhenTypedAsClass(ringer: IConcreteBellRinger) { + const bell = new Bell(); + ringer.yourTurn(bell); + return bell.rung; + } + /** + * ...if the interface is implemented using an object literal. + * + * Returns whether the bell was rung. + */ + public implementedByObjectLiteral(ringer: IBellRinger) { + let rung = false; + ringer.yourTurn({ + ring() { + rung = true; + }, + }); + return rung; + } - /** - * ...if the interface is implemented using a public class. - * - * Return whether the bell was rung. - */ - public implementedByPublicClass(ringer: IBellRinger) { - const bell = new Bell(); - ringer.yourTurn(bell); - return bell.rung; - } + /** + * ...if the interface is implemented using a public class. + * + * Return whether the bell was rung. + */ + public implementedByPublicClass(ringer: IBellRinger) { + const bell = new Bell(); + ringer.yourTurn(bell); + return bell.rung; + } - /** - * ...if the interface is implemented using a private class. - * - * Return whether the bell was rung. - */ - public implementedByPrivateClass(ringer: IBellRinger) { - const bell = new PrivateBell(); - ringer.yourTurn(bell); - return bell.rung; - } + /** + * ...if the interface is implemented using a private class. + * + * Return whether the bell was rung. + */ + public implementedByPrivateClass(ringer: IBellRinger) { + const bell = new PrivateBell(); + ringer.yourTurn(bell); + return bell.rung; + } - /** - * If the parameter is a concrete class instead of an interface - * - * Return whether the bell was rung. - */ - public whenTypedAsClass(ringer: IConcreteBellRinger) { - const bell = new Bell(); - ringer.yourTurn(bell); - return bell.rung; - } + /** + * If the parameter is a concrete class instead of an interface + * + * Return whether the bell was rung. + */ + public whenTypedAsClass(ringer: IConcreteBellRinger) { + const bell = new Bell(); + ringer.yourTurn(bell); + return bell.rung; + } } /** * Takes the object parameter as an interface */ export interface IBellRinger { - yourTurn(bell: IBell): void; + yourTurn(bell: IBell): void; } /** * Takes the object parameter as a calss */ export interface IConcreteBellRinger { - yourTurn(bell: Bell): void; + yourTurn(bell: Bell): void; } export interface IBell { - ring(): void; + ring(): void; } export class Bell implements IBell { - public rung = false; + public rung = false; - public ring() { - this.rung = true; - } + public ring() { + this.rung = true; + } } class PrivateBell implements IBell { - public rung = false; + public rung = false; - public ring() { - this.rung = true; - } + public ring() { + this.rung = true; + } } /** @@ -2207,89 +2440,86 @@ class PrivateBell implements IBell { * idiomatic" way for Pythonists. */ export interface RootStruct { - /** - * May not be empty. - */ - readonly stringProp: string; - readonly nestedStruct?: NestedStruct; + /** + * May not be empty. + */ + readonly stringProp: string; + readonly nestedStruct?: NestedStruct; } export interface NestedStruct { - /** - * When provided, must be > 0. - */ - readonly numberProp: number; + /** + * When provided, must be > 0. + */ + readonly numberProp: number; } export class RootStructValidator { - public static validate(struct: RootStruct): void { - if (!struct.stringProp) { - throw new Error('Missing required field: stringProp'); - } - if (struct.nestedStruct) { - if (struct.nestedStruct.numberProp <= 0) { - throw new Error('numberProp must be > 0'); - } - } + public static validate(struct: RootStruct): void { + if (!struct.stringProp) { + throw new Error('Missing required field: stringProp'); } + if (struct.nestedStruct) { + if (struct.nestedStruct.numberProp <= 0) { + throw new Error('numberProp must be > 0'); + } + } + } - private constructor() { } + private constructor() {} } /** * Returns a subclass of a known class which implements an interface. */ export interface IReturnJsii976 { - readonly foo: number; + readonly foo: number; } -export class BaseJsii976 { } +export class BaseJsii976 {} export class SomeTypeJsii976 { - - static returnReturn(): IReturnJsii976 { - class Derived extends BaseJsii976 implements IReturnJsii976 { - public readonly foo = 333 - } - - return new Derived(); + public static returnReturn(): IReturnJsii976 { + class Derived extends BaseJsii976 implements IReturnJsii976 { + public readonly foo = 333; } - static returnAnonymous(): any { - class Derived implements IReturnJsii976 { - public readonly foo = 1337; - } + return new Derived(); + } - return new Derived(); + public static returnAnonymous(): any { + class Derived implements IReturnJsii976 { + public readonly foo = 1337; } + + return new Derived(); + } } /** https://github.com/aws/jsii/issues/982 */ export interface ParentStruct982 { - readonly foo: string; + readonly foo: string; } export interface ChildStruct982 extends ParentStruct982 { - readonly bar: number; + readonly bar: number; } /** * 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 */ export class Demonstrate982 { - private static readonly value = { - foo: 'foo', - bar: 1337, - }; - - /** It's dangerous to go alone! */ - public static takeThis(): ChildStruct982 { - return this.value; - } - - /** It's dangerous to go alone! */ - public static takeThisToo(): ParentStruct982 { - return this.value; - } + private static readonly value = { + foo: 'foo', + bar: 1337, + }; + + /** It's dangerous to go alone! */ + public static takeThis(): ChildStruct982 { + return this.value; + } - public constructor() { } + /** It's dangerous to go alone! */ + public static takeThisToo(): ParentStruct982 { + return this.value; + } } /** @@ -2298,41 +2528,43 @@ export class Demonstrate982 { * This source of collections is disappointing - it'll always give you nothing :( */ export class DisappointingCollectionSource { - /** Some List of strings, maybe? (Nah, just a billion dollars mistake!) */ - public static readonly maybeList?: string[] = undefined; - /** Some Map of strings to numbers, maybe? (Nah, just a billion dollars mistake!) */ - public static readonly maybeMap?: { [key: string]: number } = undefined; + /** Some List of strings, maybe? (Nah, just a billion dollars mistake!) */ + public static readonly maybeList?: string[] = undefined; + /** Some Map of strings to numbers, maybe? (Nah, just a billion dollars mistake!) */ + public static readonly maybeMap?: { [key: string]: number } = undefined; - private constructor() { } + private constructor() {} } /** * Make sure that setters are properly called on objects with interfaces */ export interface IObjectWithProperty { - property: string; - wasSet(): boolean; + property: string; + wasSet(): boolean; } export class ObjectWithPropertyProvider { - public static provide(): IObjectWithProperty { - class Impl implements IObjectWithProperty { - private _property: string = ''; - private _wasSet = false; - - public get property() { return this._property; } - public set property(value: string) { - this._property = value; - this._wasSet = true; - } - - public wasSet() { - return this._wasSet; - } - } - return new Impl(); - } + public static provide(): IObjectWithProperty { + class Impl implements IObjectWithProperty { + private _property = ''; + private _wasSet = false; + + public get property() { + return this._property; + } + public set property(value: string) { + this._property = value; + this._wasSet = true; + } + + public wasSet() { + return this._wasSet; + } + } + return new Impl(); + } - private constructor() { } + private constructor() {} } /** @@ -2341,63 +2573,63 @@ export class ObjectWithPropertyProvider { * @see https://github.com/aws/aws-cdk/issues/5066 */ export class JsonFormatter { - public static stringify(value?: any): string | undefined { - return JSON.stringify(value, null, 2); - } + public static stringify(value?: any): string | undefined { + return JSON.stringify(value, null, 2); + } - public static anyNull(): any { - return null; - } + public static anyNull(): any { + return null; + } - public static anyUndefined(): any { - return undefined; - } + public static anyUndefined(): any { + return undefined; + } - public static anyFunction(): any { - return () => 'boom'; - } + public static anyFunction(): any { + return () => 'boom'; + } - public static anyDate(): any { - return new Date('2019-11-18T13:01:20.515Z'); - } + public static anyDate(): any { + return new Date('2019-11-18T13:01:20.515Z'); + } - public static anyNumber(): any { - return 123; - } + public static anyNumber(): any { + return 123; + } - public static anyZero(): any { - return 0; - } + public static anyZero(): any { + return 0; + } - public static anyString(): any { - return 'foo'; - } + public static anyString(): any { + return 'foo'; + } - public static anyEmptyString(): any { - return ''; - } + public static anyEmptyString(): any { + return ''; + } - public static anyBooleanTrue(): any { - return true; - } + public static anyBooleanTrue(): any { + return true; + } - public static anyBooleanFalse(): any { - return false; - } + public static anyBooleanFalse(): any { + return false; + } - public static anyArray(): any { - return [ 1, 2, 3, new Number(123), { foo: 'bar' } ]; - } + public static anyArray(): any { + return [1, 2, 3, new Number(123), { foo: 'bar' }]; + } - public static anyHash(): any { - return { hello: 1234, world: new Number(122) }; - } + public static anyHash(): any { + return { hello: 1234, world: new Number(122) }; + } - public static anyRef(): any { - return new Number(444); - } + public static anyRef(): any { + return new Number(444); + } - private constructor() { } + private constructor() {} } /** @@ -2406,34 +2638,34 @@ export class JsonFormatter { * @see https://github.com/aws/aws-cdk/issues/4080 */ export class ConfusingToJackson { - public static makeInstance(): ConfusingToJackson { - return new ConfusingToJackson(); - } + public static makeInstance(): ConfusingToJackson { + return new ConfusingToJackson(); + } - public static makeStructInstance(): ConfusingToJacksonStruct { - return {}; - } + public static makeStructInstance(): ConfusingToJacksonStruct { + return {}; + } - public unionProperty?: Array | IFriendly; + public unionProperty?: Array | IFriendly; - private constructor() { } + private constructor() {} } export interface ConfusingToJacksonStruct { - readonly unionProperty?: Array | IFriendly; + readonly unionProperty?: Array | IFriendly; } /** * Verifies that a "pure" implementation of an interface works correctly */ export interface IStructReturningDelegate { - returnStruct(): StructB; + returnStruct(): StructB; } export class ConsumePureInterface { - constructor(private readonly delegate: IStructReturningDelegate) { } + public constructor(private readonly delegate: IStructReturningDelegate) {} - public workItBaby() { - return this.delegate.returnStruct(); - } + public workItBaby() { + return this.delegate.returnStruct(); + } } /** @@ -2444,11 +2676,14 @@ export class ConsumePureInterface { * See: https://github.com/aws/aws-cdk/issues/4302 */ export interface StructParameterType { - readonly scope: string; - readonly props?: boolean; + readonly scope: string; + readonly props?: boolean; } export class AmbiguousParameters { - public constructor(public readonly scope: Bell, public readonly props: StructParameterType) { } + public constructor( + public readonly scope: Bell, + public readonly props: StructParameterType, + ) {} } /** @@ -2458,37 +2693,43 @@ export class AmbiguousParameters { */ export class InterfaceCollections { public static listOfStructs(): StructA[] { - return [ - { requiredString: 'Hello, I\'m String!' } - ]; + return [{ requiredString: "Hello, I'm String!" }]; } public static mapOfStructs(): { [name: string]: StructA } { return { - A: { requiredString: 'Hello, I\'m String!' } + A: { requiredString: "Hello, I'm String!" }, }; } public static listOfInterfaces(): IBell[] { return [ - { ring: () => { return; } } + { + ring: () => { + return; + }, + }, ]; } public static mapOfInterfaces(): { [name: string]: IBell } { return { - A: { ring: () => { return; } } + A: { + ring: () => { + return; + }, + }, }; } - private constructor(){ } + private constructor() {} } /** * Checks that optional result from interface method code generates correctly */ export interface IOptionalMethod { - optional(): string | undefined; + optional(): string | undefined; } /** @@ -2498,9 +2739,9 @@ export interface IOptionalMethod { * `this` from within the constructor. */ export abstract class Isomorphism { - public myself(): Isomorphism { - return this; - } + public myself(): Isomorphism { + return this; + } } /** @@ -2509,13 +2750,18 @@ export abstract class Isomorphism { * @see https://github.com/aws/jsii/issues/1765 */ export class UmaskCheck { - /** - * This should return 0o644 (-rw-r--r--) - */ - public static mode(): number { - // The bit-masking is to remove the file type information from .mode - return fs.statSync(__filename).mode & 0o0777; - } + /** + * This should return 0o644 (-rw-r--r--) + */ + public static mode(): number { + // The bit-masking is to remove the file type information from .mode + return fs.statSync(__filename).mode & 0o0777; + } + + private constructor() {} +} - private constructor() {} +/** Does nothing with provided arguments, useful to artifically use parameters */ +function consume(..._args: readonly any[]) { + return; } diff --git a/packages/jsii-calc/lib/documented.ts b/packages/jsii-calc/lib/documented.ts index bc9b3049d8..c4b6d6b0c8 100644 --- a/packages/jsii-calc/lib/documented.ts +++ b/packages/jsii-calc/lib/documented.ts @@ -9,7 +9,6 @@ * @stable */ export class DocumentedClass { - /** * Greet the indicated person. * @@ -19,7 +18,7 @@ export class DocumentedClass { * @param greetee The person to be greeted. * @returns A number that everyone knows very well */ - public greet(greetee: Greetee = {}) { + public greet(greetee: Greetee = {}): number { process.stdout.write(`Hello, ${greetee.name ?? 'world'}\n`); return 42; } @@ -29,7 +28,7 @@ export class DocumentedClass { * * @experimental */ - public hola() { + public hola(): void { process.stdout.write('bonjour'); } } @@ -55,7 +54,7 @@ export class Old { /** * Doo wop that thing */ - public doAThing() { + public doAThing(): void { // Nothing to do } } diff --git a/packages/jsii-calc/lib/erasures.ts b/packages/jsii-calc/lib/erasures.ts index c3fa0e217f..6528fd5e53 100644 --- a/packages/jsii-calc/lib/erasures.ts +++ b/packages/jsii-calc/lib/erasures.ts @@ -7,21 +7,27 @@ class JSII417PrivateRoot { } export class JSII417PublicBaseOfBase extends JSII417PrivateRoot { public static makeInstance(): JSII417PublicBaseOfBase { - return new JSII417PrivateBase("TEST"); + return new JSII417PrivateBase('TEST'); + } + public foo(): void { + return; } - public foo() { return; } } class JSII417PrivateBase extends JSII417PublicBaseOfBase { - constructor(protected readonly property: string) { + public constructor(protected readonly property: string) { super(); } - public bar() { return; } + public bar() { + return; + } } export class JSII417Derived extends JSII417PrivateBase { - public bar() { + public bar(): void { return super.bar(); } - public baz() { return; } + public baz(): void { + return; + } } // Same thing with interfaces interface IJSII417PrivateRoot { @@ -42,15 +48,19 @@ export interface IJSII417Derived extends IJSII417PrivateBase { // Interfaces should be copied from erased classes to public classes // https://github.com/aws/jsii/issues/487 // -export interface IJsii487External { } -export interface IJsii487External2 { } -class Jsii487Internal implements IJsii487External { } -export class Jsii487Derived extends Jsii487Internal implements IJsii487External2 { } +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface IJsii487External {} +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface IJsii487External2 {} +class Jsii487Internal implements IJsii487External {} +export class Jsii487Derived extends Jsii487Internal + implements IJsii487External2 {} // // Deduplicate interfaces that come from different declaration sites // https://github.com/aws/jsii/issues/496 // -export interface IJsii496 { } -class Jsii496Base implements IJsii496 { } -export class Jsii496Derived extends Jsii496Base implements IJsii496 { } +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface IJsii496 {} +class Jsii496Base implements IJsii496 {} +export class Jsii496Derived extends Jsii496Base implements IJsii496 {} diff --git a/packages/jsii-calc/lib/stability.ts b/packages/jsii-calc/lib/stability.ts index a57890356e..efa108f3cf 100644 --- a/packages/jsii-calc/lib/stability.ts +++ b/packages/jsii-calc/lib/stability.ts @@ -19,20 +19,22 @@ export class ExperimentalClass { /** @experimental */ public mutableProperty?: number; /** @experimental */ - constructor(readonlyString: string, mutableNumber?: number) { + public constructor(readonlyString: string, mutableNumber?: number) { this.readonlyProperty = readonlyString; this.mutableProperty = mutableNumber; } /** @experimental */ - public method(): void { return; } + public method(): void { + return; + } } /** @experimental */ export enum ExperimentalEnum { /** @experimental */ OPTION_A, /** @experimental */ - OPTION_B + OPTION_B, } /** @stable */ @@ -54,19 +56,21 @@ export class StableClass { /** @stable */ public mutableProperty?: number; /** @stable */ - constructor(readonlyString: string, mutableNumber?: number) { + public constructor(readonlyString: string, mutableNumber?: number) { this.readonlyProperty = readonlyString; this.mutableProperty = mutableNumber; } /** @stable */ - public method(): void { return; } + public method(): void { + return; + } } /** @stable */ export enum StableEnum { /** @stable */ OPTION_A, /** @stable */ - OPTION_B + OPTION_B, } /** @deprecated it just wraps a string */ @@ -88,19 +92,21 @@ export class DeprecatedClass { /** @deprecated shouldn't have been mutable */ public mutableProperty?: number; /** @deprecated this constructor is "just" okay */ - constructor(readonlyString: string, mutableNumber?: number) { + public constructor(readonlyString: string, mutableNumber?: number) { this.readonlyProperty = readonlyString; this.mutableProperty = mutableNumber; } /** @deprecated it was a bad idea */ - public method(): void { return; } + public method(): void { + return; + } } /** @deprecated your deprecated selection of bad options */ export enum DeprecatedEnum { /** @deprecated option A is not great */ OPTION_A, /** @deprecated option B is kinda bad, too */ - OPTION_B + OPTION_B, } /** @external */ @@ -122,17 +128,19 @@ export class ExternalClass { /** @external */ public mutableProperty?: number; /** @external */ - constructor(readonlyString: string, mutableNumber?: number) { + public constructor(readonlyString: string, mutableNumber?: number) { this.readonlyProperty = readonlyString; this.mutableProperty = mutableNumber; } /** @external */ - public method(): void { return; } + public method(): void { + return; + } } /** @external */ export enum ExternalEnum { /** @external */ OPTION_A, /** @external */ - OPTION_B -} \ No newline at end of file + OPTION_B, +} diff --git a/packages/jsii-calc/lib/submodule/child/index.ts b/packages/jsii-calc/lib/submodule/child/index.ts index bf4e79c179..48fec3fe8d 100644 --- a/packages/jsii-calc/lib/submodule/child/index.ts +++ b/packages/jsii-calc/lib/submodule/child/index.ts @@ -8,13 +8,13 @@ export enum Goodness { /** It's really good */ REALLY_GOOD, /** It's amazingly good */ - AMAZINGLY_GOOD + AMAZINGLY_GOOD, } // There's only one way around these woods... export enum Awesomeness { /** It was awesome! */ - AWESOME + AWESOME, } /** @@ -29,13 +29,11 @@ export class OuterClass { } } export enum SomeEnum { - SOME = 'SOME' + SOME = 'SOME', } export interface SomeStruct { readonly prop: SomeEnum; } export class InnerClass { public static readonly staticProp: SomeStruct = { prop: SomeEnum.SOME }; - - public constructor() { } } diff --git a/packages/jsii-calc/lib/submodule/my-class.ts b/packages/jsii-calc/lib/submodule/my-class.ts index f286717c8f..48d711997a 100644 --- a/packages/jsii-calc/lib/submodule/my-class.ts +++ b/packages/jsii-calc/lib/submodule/my-class.ts @@ -8,5 +8,5 @@ export class MyClass implements nested_submodule.deeplyNested.INamespaced { public readonly awesomeness = Awesomeness.AWESOME; public allTypes?: AllTypes; - public constructor(public readonly props: SomeStruct) { } + public constructor(public readonly props: SomeStruct) {} } diff --git a/packages/jsii-calc/lib/submodule/nested_submodule.ts b/packages/jsii-calc/lib/submodule/nested_submodule.ts index 144e62e904..c9662e1757 100644 --- a/packages/jsii-calc/lib/submodule/nested_submodule.ts +++ b/packages/jsii-calc/lib/submodule/nested_submodule.ts @@ -1,6 +1,8 @@ import { Goodness } from './child'; +// eslint-disable-next-line @typescript-eslint/no-namespace export namespace nested_submodule { + // eslint-disable-next-line @typescript-eslint/no-namespace export namespace deeplyNested { export interface INamespaced { readonly definedAt: string; @@ -11,6 +13,6 @@ export namespace nested_submodule { public readonly definedAt = __filename; public abstract readonly goodness: Goodness; - private constructor() { } + private constructor() {} } } diff --git a/packages/jsii-calc/lib/submodules.ts b/packages/jsii-calc/lib/submodules.ts index c6f4733f2f..e85267b282 100644 --- a/packages/jsii-calc/lib/submodules.ts +++ b/packages/jsii-calc/lib/submodules.ts @@ -6,10 +6,12 @@ import { submodule } from '@scope/jsii-calc-lib'; export class UpcasingReflectable implements submodule.IReflectable { public static readonly reflector = new submodule.Reflector(); - public constructor(private readonly delegate: Record) { } + public constructor(private readonly delegate: Record) {} public get entries(): submodule.ReflectableEntry[] { - return Object.entries(this.delegate) - .map(([key, value]) => ({ key: key.toLocaleUpperCase(), value })); + return Object.entries(this.delegate).map(([key, value]) => ({ + key: key.toLocaleUpperCase(), + value, + })); } } diff --git a/packages/jsii-calc/package.json b/packages/jsii-calc/package.json index ddabec2440..d0f68865c3 100644 --- a/packages/jsii-calc/package.json +++ b/packages/jsii-calc/package.json @@ -30,8 +30,10 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { - "build": "jsii --project-references --silence-warnings reserved-word && jsii-rosetta --compile", + "build": "jsii --project-references --silence-warnings reserved-word && npm run lint && jsii-rosetta --compile", "watch": "jsii --project-references -w", + "lint": "eslint . --ext=.js,.ts --format=codeframe --ignore-path=.gitignore", + "lint:fix": "yarn lint --fix", "test": "node test/test.calc.js && diff-test test/assembly.jsii .jsii", "test:update": "npm run build && UPDATE_DIFF=1 npm run test" }, @@ -48,6 +50,7 @@ }, "devDependencies": { "@types/node": "^10.17.26", + "eslint": "^7.5.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.4", "jsii": "^0.0.0", diff --git a/packages/jsii-calc/test/assembly.jsii b/packages/jsii-calc/test/assembly.jsii index 76cf5bb936..1b78fb697b 100644 --- a/packages/jsii-calc/test/assembly.jsii +++ b/packages/jsii-calc/test/assembly.jsii @@ -166,31 +166,31 @@ "jsii-calc.DerivedClassHasNoProperties": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 309 + "line": 325 } }, "jsii-calc.InterfaceInNamespaceIncludesClasses": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1082 + "line": 1206 } }, "jsii-calc.InterfaceInNamespaceOnlyInterface": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1073 + "line": 1199 } }, "jsii-calc.PythonSelf": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 966 + "line": 1090 } }, "jsii-calc.composition": { "locationInModule": { "filename": "lib/calculator.ts", - "line": 127 + "line": 134 } }, "jsii-calc.submodule": { @@ -214,13 +214,13 @@ "jsii-calc.submodule.nested_submodule": { "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 3 + "line": 4 } }, "jsii-calc.submodule.nested_submodule.deeplyNested": { "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 4 + "line": 6 } } }, @@ -254,14 +254,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.AbstractClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IInterfaceImplementedByAbstractClass" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1125 + "line": 1250 }, "methods": [ { @@ -271,7 +275,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1130 + "line": 1256 }, "name": "abstractMethod", "parameters": [ @@ -294,7 +298,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1126 + "line": 1252 }, "name": "nonAbstractMethod", "returns": { @@ -313,7 +317,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1132 + "line": 1258 }, "name": "propFromInterface", "overrides": "jsii-calc.IInterfaceImplementedByAbstractClass", @@ -330,11 +334,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AbstractClassBase", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1121 + "line": 1246 }, "name": "AbstractClassBase", "properties": [ @@ -346,7 +354,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1122 + "line": 1247 }, "name": "abstractProperty", "type": { @@ -361,11 +369,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AbstractClassReturner", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1147 + "line": 1273 }, "methods": [ { @@ -374,7 +386,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1148 + "line": 1274 }, "name": "giveMeAbstract", "returns": { @@ -389,7 +401,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1152 + "line": 1278 }, "name": "giveMeInterface", "returns": { @@ -408,7 +420,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1156 + "line": 1282 }, "name": "returnAbstractFromProperty", "type": { @@ -425,11 +437,15 @@ "summary": "Ensures abstract members implementations correctly register overrides in various languages." }, "fqn": "jsii-calc.AbstractSuite", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 401 + "line": 411 }, "methods": [ { @@ -439,7 +455,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 403 + "line": 413 }, "name": "someMethod", "parameters": [ @@ -464,7 +480,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 409 + "line": 419 }, "name": "workItAll", "parameters": [ @@ -494,7 +510,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 402 + "line": 412 }, "name": "property", "protected": true, @@ -519,7 +535,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "parameters": [ { @@ -545,7 +561,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 55 + "line": 61 }, "methods": [ { @@ -555,7 +571,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 60 + "line": 66 }, "name": "toString", "overrides": "@scope/jsii-calc-lib.Operation", @@ -576,7 +592,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 56 + "line": 62 }, "name": "value", "overrides": "@scope/jsii-calc-lib.Value", @@ -594,11 +610,15 @@ "summary": "This class includes property for all types supported by jsii." }, "fqn": "jsii-calc.AllTypes", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 52 + "line": 63 }, "methods": [ { @@ -607,7 +627,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 220 + "line": 232 }, "name": "anyIn", "parameters": [ @@ -625,7 +645,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 212 + "line": 224 }, "name": "anyOut", "returns": { @@ -640,7 +660,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 207 + "line": 220 }, "name": "enumMethod", "parameters": [ @@ -667,7 +687,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 203 + "line": 216 }, "name": "enumPropertyValue", "type": { @@ -680,7 +700,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 167 + "line": 180 }, "name": "anyArrayProperty", "type": { @@ -698,7 +718,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 168 + "line": 181 }, "name": "anyMapProperty", "type": { @@ -716,7 +736,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 166 + "line": 179 }, "name": "anyProperty", "type": { @@ -729,7 +749,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 152 + "line": 165 }, "name": "arrayProperty", "type": { @@ -747,7 +767,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 58 + "line": 68 }, "name": "booleanProperty", "type": { @@ -760,7 +780,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 104 + "line": 114 }, "name": "dateProperty", "type": { @@ -773,7 +793,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 187 + "line": 200 }, "name": "enumProperty", "type": { @@ -786,7 +806,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 121 + "line": 133 }, "name": "jsonProperty", "type": { @@ -799,7 +819,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 137 + "line": 150 }, "name": "mapProperty", "type": { @@ -817,7 +837,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 89 + "line": 99 }, "name": "numberProperty", "type": { @@ -830,7 +850,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 73 + "line": 83 }, "name": "stringProperty", "type": { @@ -843,7 +863,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 179 + "line": 192 }, "name": "unionArrayProperty", "type": { @@ -870,7 +890,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 180 + "line": 193 }, "name": "unionMapProperty", "type": { @@ -900,7 +920,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 178 + "line": 191 }, "name": "unionProperty", "type": { @@ -928,7 +948,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 173 + "line": 186 }, "name": "unknownArrayProperty", "type": { @@ -946,7 +966,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 174 + "line": 187 }, "name": "unknownMapProperty", "type": { @@ -964,7 +984,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 172 + "line": 185 }, "name": "unknownProperty", "type": { @@ -977,7 +997,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 184 + "line": 197 }, "name": "optionalEnumValue", "optional": true, @@ -996,7 +1016,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 22 + "line": 33 }, "members": [ { @@ -1026,11 +1046,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AllowedMethodNames", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 606 + "line": 615 }, "methods": [ { @@ -1039,7 +1063,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 615 + "line": 623 }, "name": "getBar", "parameters": [ @@ -1064,7 +1088,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 611 + "line": 619 }, "name": "getFoo", "parameters": [ @@ -1087,7 +1111,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 626 + "line": 634 }, "name": "setBar", "parameters": [ @@ -1118,7 +1142,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 622 + "line": 630 }, "name": "setFoo", "parameters": [ @@ -1151,7 +1175,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2451 + "line": 2683 }, "parameters": [ { @@ -1171,7 +1195,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2450 + "line": 2682 }, "name": "AmbiguousParameters", "properties": [ @@ -1182,7 +1206,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2451 + "line": 2685 }, "name": "props", "type": { @@ -1196,7 +1220,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2451 + "line": 2684 }, "name": "scope", "type": { @@ -1211,14 +1235,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.AnonymousImplementationProvider", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IAnonymousImplementationProvider" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2001 + "line": 2212 }, "methods": [ { @@ -1227,7 +1255,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2004 + "line": 2216 }, "name": "provideAsClass", "overrides": "jsii-calc.IAnonymousImplementationProvider", @@ -1243,7 +1271,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2008 + "line": 2220 }, "name": "provideAsInterface", "overrides": "jsii-calc.IAnonymousImplementationProvider", @@ -1262,11 +1290,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AsyncVirtualMethods", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 321 + "line": 333 }, "methods": [ { @@ -1276,7 +1308,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 322 + "line": 334 }, "name": "callMe", "returns": { @@ -1293,7 +1325,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 337 + "line": 353 }, "name": "callMe2", "returns": { @@ -1311,7 +1343,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 347 + "line": 363 }, "name": "callMeDoublePromise", "returns": { @@ -1326,7 +1358,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 355 + "line": 371 }, "name": "dontOverrideMe", "returns": { @@ -1342,7 +1374,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 326 + "line": 342 }, "name": "overrideMe", "parameters": [ @@ -1366,7 +1398,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 330 + "line": 346 }, "name": "overrideMeToo", "returns": { @@ -1384,11 +1416,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AugmentableClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1379 + "line": 1539 }, "methods": [ { @@ -1397,7 +1433,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1380 + "line": 1540 }, "name": "methodOne" }, @@ -1407,7 +1443,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1386 + "line": 1546 }, "name": "methodTwo" } @@ -1420,11 +1456,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.BaseJsii976", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2244 + "line": 2477 }, "name": "BaseJsii976" }, @@ -1434,14 +1474,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.Bell", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IBell" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2188 + "line": 2421 }, "methods": [ { @@ -1450,7 +1494,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2191 + "line": 2424 }, "name": "ring", "overrides": "jsii-calc.IBell" @@ -1464,7 +1508,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2189 + "line": 2422 }, "name": "rung", "type": { @@ -1489,7 +1533,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "parameters": [ { @@ -1518,7 +1562,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 37 + "line": 43 }, "methods": [ { @@ -1528,7 +1572,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 47 + "line": 53 }, "name": "hello", "overrides": "@scope/jsii-calc-lib.IFriendly", @@ -1549,7 +1593,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "name": "lhs", "type": { @@ -1564,7 +1608,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "name": "rhs", "type": { @@ -1590,7 +1634,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 279 + "line": 287 }, "parameters": [ { @@ -1608,7 +1652,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 273 + "line": 282 }, "methods": [ { @@ -1618,7 +1662,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 312 + "line": 320 }, "name": "add", "parameters": [ @@ -1637,7 +1681,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 319 + "line": 327 }, "name": "mul", "parameters": [ @@ -1656,7 +1700,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 333 + "line": 341 }, "name": "neg" }, @@ -1667,7 +1711,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 326 + "line": 334 }, "name": "pow", "parameters": [ @@ -1686,7 +1730,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 352 + "line": 360 }, "name": "readUnionValue", "returns": { @@ -1706,7 +1750,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 340 + "line": 348 }, "name": "expression", "overrides": "jsii-calc.composition.CompositeOperation", @@ -1722,7 +1766,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 302 + "line": 310 }, "name": "operationsLog", "type": { @@ -1742,7 +1786,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 297 + "line": 305 }, "name": "operationsMap", "type": { @@ -1766,7 +1810,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 292 + "line": 300 }, "name": "curr", "type": { @@ -1780,7 +1824,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 307 + "line": 315 }, "name": "maxValue", "optional": true, @@ -1795,7 +1839,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 347 + "line": 355 }, "name": "unionProperty", "optional": true, @@ -1828,7 +1872,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 234 + "line": 243 }, "name": "CalculatorProps", "properties": [ @@ -1843,7 +1887,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 242 + "line": 251 }, "name": "initialValue", "optional": true, @@ -1861,7 +1905,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 249 + "line": 258 }, "name": "maximumValue", "optional": true, @@ -1884,7 +1928,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2269 + "line": 2501 }, "name": "ChildStruct982", "properties": [ @@ -1896,7 +1940,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2270 + "line": 2502 }, "name": "bar", "type": { @@ -1911,14 +1955,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.ClassThatImplementsTheInternalInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.INonInternalInterface" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1621 + "line": 1802 }, "name": "ClassThatImplementsTheInternalInterface", "properties": [ @@ -1928,7 +1976,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1622 + "line": 1806 }, "name": "a", "overrides": "jsii-calc.IAnotherPublicInterface", @@ -1942,7 +1990,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1623 + "line": 1807 }, "name": "b", "overrides": "jsii-calc.INonInternalInterface", @@ -1956,7 +2004,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1624 + "line": 1808 }, "name": "c", "overrides": "jsii-calc.INonInternalInterface", @@ -1970,7 +2018,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1625 + "line": 1809 }, "name": "d", "type": { @@ -1985,14 +2033,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.ClassThatImplementsThePrivateInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.INonInternalInterface" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1628 + "line": 1812 }, "name": "ClassThatImplementsThePrivateInterface", "properties": [ @@ -2002,7 +2054,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1629 + "line": 1814 }, "name": "a", "overrides": "jsii-calc.IAnotherPublicInterface", @@ -2016,7 +2068,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1630 + "line": 1815 }, "name": "b", "overrides": "jsii-calc.INonInternalInterface", @@ -2030,7 +2082,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1631 + "line": 1816 }, "name": "c", "overrides": "jsii-calc.INonInternalInterface", @@ -2044,7 +2096,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1632 + "line": 1817 }, "name": "e", "type": { @@ -2065,7 +2117,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1915 + "line": 2118 }, "parameters": [ { @@ -2095,7 +2147,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1908 + "line": 2108 }, "methods": [ { @@ -2104,7 +2156,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1920 + "line": 2123 }, "name": "createAList", "returns": { @@ -2125,7 +2177,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1924 + "line": 2127 }, "name": "createAMap", "returns": { @@ -2149,7 +2201,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1913 + "line": 2116 }, "name": "staticArray", "static": true, @@ -2168,7 +2220,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1912 + "line": 2112 }, "name": "staticMap", "static": true, @@ -2187,7 +2239,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1910 + "line": 2110 }, "name": "array", "type": { @@ -2205,7 +2257,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1909 + "line": 2109 }, "name": "map", "type": { @@ -2232,11 +2284,15 @@ "summary": "This class has docs." }, "fqn": "jsii-calc.ClassWithDocs", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1694 + "line": 1885 }, "name": "ClassWithDocs" }, @@ -2252,7 +2308,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1864 + "line": 2058 }, "parameters": [ { @@ -2266,7 +2322,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1861 + "line": 2055 }, "methods": [ { @@ -2275,7 +2331,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1868 + "line": 2062 }, "name": "import", "parameters": [ @@ -2302,7 +2358,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1862 + "line": 2056 }, "name": "int", "type": { @@ -2317,11 +2373,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ClassWithMutableObjectLiteralProperty", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1167 + "line": 1293 }, "name": "ClassWithMutableObjectLiteralProperty", "properties": [ @@ -2331,7 +2391,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1168 + "line": 1294 }, "name": "mutableObject", "type": { @@ -2353,7 +2413,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1194 + "line": 1320 }, "methods": [ { @@ -2362,7 +2422,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1195 + "line": 1322 }, "name": "create", "parameters": [ @@ -2396,7 +2456,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1199 + "line": 1330 }, "name": "readOnlyString", "overrides": "jsii-calc.IInterfaceWithProperties", @@ -2410,7 +2470,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1199 + "line": 1331 }, "name": "readWriteString", "overrides": "jsii-calc.IInterfaceWithProperties", @@ -2431,7 +2491,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2408 + "line": 2640 }, "methods": [ { @@ -2440,7 +2500,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2409 + "line": 2641 }, "name": "makeInstance", "returns": { @@ -2456,7 +2516,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2413 + "line": 2645 }, "name": "makeStructInstance", "returns": { @@ -2475,7 +2535,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2417 + "line": 2649 }, "name": "unionProperty", "optional": true, @@ -2518,7 +2578,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2421 + "line": 2653 }, "name": "ConfusingToJacksonStruct", "properties": [ @@ -2530,7 +2590,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2422 + "line": 2654 }, "name": "unionProperty", "optional": true, @@ -2575,7 +2635,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1654 + "line": 1842 }, "parameters": [ { @@ -2589,7 +2649,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1653 + "line": 1841 }, "name": "ConstructorPassesThisOut" }, @@ -2599,11 +2659,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.Constructors", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1418 + "line": 1587 }, "methods": [ { @@ -2612,7 +2676,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1435 + "line": 1604 }, "name": "hiddenInterface", "returns": { @@ -2628,7 +2692,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1439 + "line": 1608 }, "name": "hiddenInterfaces", "returns": { @@ -2649,7 +2713,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1443 + "line": 1612 }, "name": "hiddenSubInterfaces", "returns": { @@ -2670,7 +2734,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1419 + "line": 1588 }, "name": "makeClass", "returns": { @@ -2686,7 +2750,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1423 + "line": 1592 }, "name": "makeInterface", "returns": { @@ -2702,7 +2766,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1427 + "line": 1596 }, "name": "makeInterface2", "returns": { @@ -2718,7 +2782,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1431 + "line": 1600 }, "name": "makeInterfaces", "returns": { @@ -2748,7 +2812,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2432 + "line": 2664 }, "parameters": [ { @@ -2762,7 +2826,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2431 + "line": 2663 }, "methods": [ { @@ -2771,7 +2835,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2434 + "line": 2666 }, "name": "workItBaby", "returns": { @@ -2791,11 +2855,15 @@ "summary": "Test calling back to consumers that implement interfaces." }, "fqn": "jsii-calc.ConsumerCanRingBell", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2073 + "line": 2306 }, "methods": [ { @@ -2806,7 +2874,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2079 + "line": 2312 }, "name": "staticImplementedByObjectLiteral", "parameters": [ @@ -2832,7 +2900,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2105 + "line": 2338 }, "name": "staticImplementedByPrivateClass", "parameters": [ @@ -2858,7 +2926,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2094 + "line": 2327 }, "name": "staticImplementedByPublicClass", "parameters": [ @@ -2884,7 +2952,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2116 + "line": 2349 }, "name": "staticWhenTypedAsClass", "parameters": [ @@ -2910,7 +2978,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2126 + "line": 2359 }, "name": "implementedByObjectLiteral", "parameters": [ @@ -2935,7 +3003,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2152 + "line": 2385 }, "name": "implementedByPrivateClass", "parameters": [ @@ -2960,7 +3028,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2141 + "line": 2374 }, "name": "implementedByPublicClass", "parameters": [ @@ -2985,7 +3053,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2163 + "line": 2396 }, "name": "whenTypedAsClass", "parameters": [ @@ -3011,11 +3079,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ConsumersOfThisCrazyTypeSystem", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1635 + "line": 1820 }, "methods": [ { @@ -3024,7 +3096,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1636 + "line": 1821 }, "name": "consumeAnotherPublicInterface", "parameters": [ @@ -3047,7 +3119,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1640 + "line": 1825 }, "name": "consumeNonInternalInterface", "parameters": [ @@ -3077,16 +3149,12 @@ "initializer": { "docs": { "stability": "experimental" - }, - "locationInModule": { - "filename": "lib/compliance.ts", - "line": 1792 } }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1791 + "line": 1981 }, "methods": [ { @@ -3095,7 +3163,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1794 + "line": 1982 }, "name": "render", "parameters": [ @@ -3119,7 +3187,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1798 + "line": 1988 }, "name": "renderArbitrary", "parameters": [ @@ -3147,7 +3215,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1802 + "line": 1992 }, "name": "renderMap", "parameters": [ @@ -3184,7 +3252,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 303 + "line": 318 }, "parameters": [ { @@ -3213,7 +3281,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 302 + "line": 317 }, "name": "DefaultedConstructorArgument", "properties": [ @@ -3224,7 +3292,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 303 + "line": 319 }, "name": "arg1", "type": { @@ -3238,7 +3306,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 305 + "line": 321 }, "name": "arg3", "type": { @@ -3252,7 +3320,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 304 + "line": 320 }, "name": "arg2", "optional": true, @@ -3273,16 +3341,12 @@ "initializer": { "docs": { "stability": "experimental" - }, - "locationInModule": { - "filename": "lib/compliance.ts", - "line": 2292 } }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2276 + "line": 2508 }, "methods": [ { @@ -3292,7 +3356,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2283 + "line": 2515 }, "name": "takeThis", "returns": { @@ -3309,7 +3373,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2288 + "line": 2520 }, "name": "takeThisToo", "returns": { @@ -3336,7 +3400,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 91 + "line": 95 }, "parameters": [ { @@ -3357,7 +3421,7 @@ "kind": "class", "locationInModule": { "filename": "lib/stability.ts", - "line": 85 + "line": 89 }, "methods": [ { @@ -3367,7 +3431,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 96 + "line": 100 }, "name": "method" } @@ -3382,7 +3446,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 87 + "line": 91 }, "name": "readonlyProperty", "type": { @@ -3396,7 +3460,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 89 + "line": 93 }, "name": "mutableProperty", "optional": true, @@ -3416,7 +3480,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/stability.ts", - "line": 99 + "line": 105 }, "members": [ { @@ -3447,7 +3511,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 73 + "line": 77 }, "name": "DeprecatedStruct", "properties": [ @@ -3460,7 +3524,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 75 + "line": 79 }, "name": "readonlyProperty", "type": { @@ -3475,11 +3539,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.DerivedClassHasNoProperties.Base", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 311 + "line": 326 }, "name": "Base", "namespace": "DerivedClassHasNoProperties", @@ -3490,7 +3558,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 312 + "line": 327 }, "name": "prop", "type": { @@ -3506,11 +3574,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.DerivedClassHasNoProperties.Derived", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 315 + "line": 330 }, "name": "Derived", "namespace": "DerivedClassHasNoProperties" @@ -3529,7 +3601,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 533 + "line": 541 }, "name": "DerivedStruct", "properties": [ @@ -3541,7 +3613,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 539 + "line": 547 }, "name": "anotherRequired", "type": { @@ -3556,7 +3628,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 538 + "line": 546 }, "name": "bool", "type": { @@ -3572,7 +3644,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 537 + "line": 545 }, "name": "nonPrimitive", "type": { @@ -3588,7 +3660,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 545 + "line": 553 }, "name": "anotherOptional", "optional": true, @@ -3609,7 +3681,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 541 + "line": 549 }, "name": "optionalAny", "optional": true, @@ -3625,7 +3697,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 540 + "line": 548 }, "name": "optionalArray", "optional": true, @@ -3650,7 +3722,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1836 + "line": 2026 }, "name": "DiamondInheritanceBaseLevelStruct", "properties": [ @@ -3662,7 +3734,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1837 + "line": 2027 }, "name": "baseLevelProperty", "type": { @@ -3684,7 +3756,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1840 + "line": 2030 }, "name": "DiamondInheritanceFirstMidLevelStruct", "properties": [ @@ -3696,7 +3768,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1841 + "line": 2032 }, "name": "firstMidLevelProperty", "type": { @@ -3718,7 +3790,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1844 + "line": 2035 }, "name": "DiamondInheritanceSecondMidLevelStruct", "properties": [ @@ -3730,7 +3802,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1845 + "line": 2037 }, "name": "secondMidLevelProperty", "type": { @@ -3753,7 +3825,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1848 + "line": 2040 }, "name": "DiamondInheritanceTopLevelStruct", "properties": [ @@ -3765,7 +3837,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1849 + "line": 2043 }, "name": "topLevelProperty", "type": { @@ -3785,7 +3857,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2300 + "line": 2530 }, "name": "DisappointingCollectionSource", "properties": [ @@ -3799,7 +3871,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2302 + "line": 2532 }, "name": "maybeList", "optional": true, @@ -3823,7 +3895,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2304 + "line": 2534 }, "name": "maybeMap", "optional": true, @@ -3845,11 +3917,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.DoNotOverridePrivates", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1171 + "line": 1297 }, "methods": [ { @@ -3858,7 +3934,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1186 + "line": 1312 }, "name": "changePrivatePropertyValue", "parameters": [ @@ -3876,7 +3952,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1178 + "line": 1304 }, "name": "privateMethodValue", "returns": { @@ -3891,7 +3967,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1182 + "line": 1308 }, "name": "privatePropertyValue", "returns": { @@ -3910,11 +3986,15 @@ "summary": "jsii#284: do not recognize \"any\" as an optional argument." }, "fqn": "jsii-calc.DoNotRecognizeAnyAsOptional", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1220 + "line": 1353 }, "methods": [ { @@ -3923,7 +4003,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1221 + "line": 1354 }, "name": "method", "parameters": [ @@ -3960,7 +4040,11 @@ "summary": "Here's the first line of the TSDoc comment." }, "fqn": "jsii-calc.DocumentedClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/documented.ts", @@ -3976,7 +4060,7 @@ }, "locationInModule": { "filename": "lib/documented.ts", - "line": 22 + "line": 21 }, "name": "greet", "parameters": [ @@ -4004,7 +4088,7 @@ }, "locationInModule": { "filename": "lib/documented.ts", - "line": 32 + "line": 31 }, "name": "hola" } @@ -4017,11 +4101,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.DontComplainAboutVariadicAfterOptional", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1271 + "line": 1430 }, "methods": [ { @@ -4030,7 +4118,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1272 + "line": 1431 }, "name": "optionalAndVariadic", "parameters": [ @@ -4065,14 +4153,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.DoubleTrouble", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IFriendlyRandomGenerator" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 473 + "line": 485 }, "methods": [ { @@ -4082,7 +4174,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 478 + "line": 490 }, "name": "hello", "overrides": "@scope/jsii-calc-lib.IFriendly", @@ -4099,7 +4191,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 474 + "line": 486 }, "name": "next", "overrides": "jsii-calc.IRandomNumberGenerator", @@ -4121,7 +4213,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 34 + "line": 45 }, "methods": [ { @@ -4130,7 +4222,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 40 + "line": 51 }, "name": "randomIntegerLikeEnum", "returns": { @@ -4146,7 +4238,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 35 + "line": 46 }, "name": "randomStringLikeEnum", "returns": { @@ -4165,11 +4257,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.EraseUndefinedHashValues", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1474 + "line": 1643 }, "methods": [ { @@ -4180,7 +4276,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1479 + "line": 1648 }, "name": "doesKeyExist", "parameters": [ @@ -4211,7 +4307,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1496 + "line": 1668 }, "name": "prop1IsNull", "returns": { @@ -4233,7 +4329,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1486 + "line": 1658 }, "name": "prop2IsUndefined", "returns": { @@ -4261,7 +4357,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1469 + "line": 1638 }, "name": "EraseUndefinedHashValuesOptions", "properties": [ @@ -4273,7 +4369,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1470 + "line": 1639 }, "name": "option1", "optional": true, @@ -4289,7 +4385,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1471 + "line": 1640 }, "name": "option2", "optional": true, @@ -4387,7 +4483,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/stability.ts", - "line": 31 + "line": 33 }, "members": [ { @@ -4448,7 +4544,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1357 + "line": 1516 }, "parameters": [ { @@ -4462,7 +4558,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1356 + "line": 1515 }, "name": "ExportedBaseClass", "properties": [ @@ -4473,7 +4569,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1357 + "line": 1516 }, "name": "success", "type": { @@ -4492,7 +4588,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1577 + "line": 1757 }, "name": "ExtendsInternalInterface", "properties": [ @@ -4504,7 +4600,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1578 + "line": 1758 }, "name": "boom", "type": { @@ -4519,7 +4615,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1526 + "line": 1698 }, "name": "prop", "type": { @@ -4546,7 +4642,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 125 + "line": 131 }, "parameters": [ { @@ -4567,7 +4663,7 @@ "kind": "class", "locationInModule": { "filename": "lib/stability.ts", - "line": 119 + "line": 125 }, "methods": [ { @@ -4579,7 +4675,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 130 + "line": 136 }, "name": "method" } @@ -4596,7 +4692,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 121 + "line": 127 }, "name": "readonlyProperty", "type": { @@ -4612,7 +4708,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 123 + "line": 129 }, "name": "mutableProperty", "optional": true, @@ -4634,7 +4730,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/stability.ts", - "line": 133 + "line": 141 }, "members": [ { @@ -4671,7 +4767,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 107 + "line": 113 }, "name": "ExternalStruct", "properties": [ @@ -4686,7 +4782,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 109 + "line": 115 }, "name": "readonlyProperty", "type": { @@ -4701,11 +4797,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.GiveMeStructs", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 548 + "line": 556 }, "methods": [ { @@ -4715,7 +4815,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 566 + "line": 574 }, "name": "derivedToFirst", "parameters": [ @@ -4739,7 +4839,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 559 + "line": 567 }, "name": "readDerivedNonPrimitive", "parameters": [ @@ -4763,7 +4863,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 552 + "line": 560 }, "name": "readFirstNumber", "parameters": [ @@ -4790,7 +4890,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 570 + "line": 578 }, "name": "structLiteral", "type": { @@ -4810,7 +4910,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/documented.ts", - "line": 40 + "line": 39 }, "name": "Greetee", "properties": [ @@ -4824,7 +4924,7 @@ "immutable": true, "locationInModule": { "filename": "lib/documented.ts", - "line": 46 + "line": 45 }, "name": "name", "optional": true, @@ -4840,11 +4940,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.GreetingAugmenter", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 524 + "line": 532 }, "methods": [ { @@ -4853,7 +4957,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 525 + "line": 533 }, "name": "betterGreeting", "parameters": [ @@ -4883,7 +4987,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1997 + "line": 2208 }, "methods": [ { @@ -4893,7 +4997,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1999 + "line": 2210 }, "name": "provideAsClass", "returns": { @@ -4909,7 +5013,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1998 + "line": 2209 }, "name": "provideAsInterface", "returns": { @@ -4930,7 +5034,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2015 + "line": 2227 }, "methods": [ { @@ -4940,7 +5044,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2017 + "line": 2229 }, "name": "verb", "returns": { @@ -4960,7 +5064,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2016 + "line": 2228 }, "name": "value", "type": { @@ -4978,7 +5082,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1598 + "line": 1778 }, "name": "IAnotherPublicInterface", "properties": [ @@ -4989,7 +5093,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1599 + "line": 1779 }, "name": "a", "type": { @@ -5007,7 +5111,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2184 + "line": 2417 }, "methods": [ { @@ -5017,7 +5121,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2185 + "line": 2418 }, "name": "ring" } @@ -5034,7 +5138,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2173 + "line": 2406 }, "methods": [ { @@ -5044,7 +5148,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2174 + "line": 2407 }, "name": "yourTurn", "parameters": [ @@ -5069,7 +5173,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2180 + "line": 2413 }, "methods": [ { @@ -5079,7 +5183,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2181 + "line": 2414 }, "name": "yourTurn", "parameters": [ @@ -5104,7 +5208,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 78 + "line": 82 }, "methods": [ { @@ -5115,7 +5219,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 82 + "line": 86 }, "name": "method" } @@ -5130,7 +5234,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 80 + "line": 84 }, "name": "mutableProperty", "optional": true, @@ -5192,7 +5296,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1589 + "line": 1769 }, "name": "IExtendsPrivateInterface", "properties": [ @@ -5204,7 +5308,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1590 + "line": 1770 }, "name": "moreThings", "type": { @@ -5223,7 +5327,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1574 + "line": 1754 }, "name": "private", "type": { @@ -5244,7 +5348,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 112 + "line": 118 }, "methods": [ { @@ -5257,7 +5361,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 116 + "line": 122 }, "name": "method" } @@ -5274,7 +5378,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 114 + "line": 120 }, "name": "mutableProperty", "optional": true, @@ -5297,7 +5401,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 6 + "line": 12 }, "methods": [ { @@ -5308,7 +5412,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 16 + "line": 22 }, "name": "farewell", "returns": { @@ -5326,7 +5430,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 11 + "line": 17 }, "name": "goodbye", "returns": { @@ -5351,7 +5455,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 30 + "line": 36 }, "name": "IFriendlyRandomGenerator" }, @@ -5365,7 +5469,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1117 + "line": 1242 }, "name": "IInterfaceImplementedByAbstractClass", "properties": [ @@ -5377,7 +5481,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1118 + "line": 1243 }, "name": "propFromInterface", "type": { @@ -5399,7 +5503,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1213 + "line": 1345 }, "name": "IInterfaceThatShouldNotBeADataType", "properties": [ @@ -5411,7 +5515,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1214 + "line": 1347 }, "name": "otherValue", "type": { @@ -5429,7 +5533,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1537 + "line": 1709 }, "methods": [ { @@ -5439,7 +5543,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1538 + "line": 1710 }, "name": "visible" } @@ -5455,7 +5559,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1203 + "line": 1335 }, "methods": [ { @@ -5465,7 +5569,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1206 + "line": 1338 }, "name": "doThings" } @@ -5480,7 +5584,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1204 + "line": 1336 }, "name": "value", "type": { @@ -5499,7 +5603,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1097 + "line": 1220 }, "methods": [ { @@ -5509,7 +5613,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1098 + "line": 1221 }, "name": "hello", "parameters": [ @@ -5540,7 +5644,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 578 + "line": 586 }, "name": "IInterfaceWithProperties", "properties": [ @@ -5552,7 +5656,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 579 + "line": 587 }, "name": "readOnlyString", "type": { @@ -5566,7 +5670,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 580 + "line": 588 }, "name": "readWriteString", "type": { @@ -5587,7 +5691,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 583 + "line": 591 }, "name": "IInterfaceWithPropertiesExtension", "properties": [ @@ -5598,7 +5702,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 584 + "line": 593 }, "name": "foo", "type": { @@ -5619,7 +5723,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 37 + "line": 43 }, "methods": [ { @@ -5629,7 +5733,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 35 + "line": 41 }, "name": "bar" }, @@ -5640,7 +5744,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 38 + "line": 44 }, "name": "baz" } @@ -5655,7 +5759,7 @@ "immutable": true, "locationInModule": { "filename": "lib/erasures.ts", - "line": 34 + "line": 40 }, "name": "property", "type": { @@ -5673,7 +5777,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 30 + "line": 36 }, "methods": [ { @@ -5683,7 +5787,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 31 + "line": 37 }, "name": "foo" } @@ -5698,7 +5802,7 @@ "immutable": true, "locationInModule": { "filename": "lib/erasures.ts", - "line": 28 + "line": 34 }, "name": "hasRoot", "type": { @@ -5716,7 +5820,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 45 + "line": 52 }, "name": "IJsii487External" }, @@ -5729,7 +5833,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 46 + "line": 54 }, "name": "IJsii487External2" }, @@ -5742,7 +5846,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 54 + "line": 64 }, "name": "IJsii496" }, @@ -5755,7 +5859,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1163 + "line": 1289 }, "name": "IMutableObjectLiteral", "properties": [ @@ -5766,7 +5870,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1164 + "line": 1290 }, "name": "value", "type": { @@ -5787,7 +5891,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1608 + "line": 1787 }, "name": "INonInternalInterface", "properties": [ @@ -5798,7 +5902,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1605 + "line": 1784 }, "name": "b", "type": { @@ -5812,7 +5916,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1609 + "line": 1788 }, "name": "c", "type": { @@ -5831,7 +5935,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2312 + "line": 2542 }, "methods": [ { @@ -5841,7 +5945,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2314 + "line": 2544 }, "name": "wasSet", "returns": { @@ -5860,7 +5964,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2313 + "line": 2543 }, "name": "property", "type": { @@ -5879,7 +5983,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2490 + "line": 2731 }, "methods": [ { @@ -5889,7 +5993,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2491 + "line": 2732 }, "name": "optional", "returns": { @@ -5911,7 +6015,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1353 + "line": 1512 }, "name": "IPrivatelyImplemented", "properties": [ @@ -5923,7 +6027,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1354 + "line": 1513 }, "name": "success", "type": { @@ -5941,7 +6045,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1396 + "line": 1558 }, "methods": [ { @@ -5951,7 +6055,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1397 + "line": 1559 }, "name": "bye", "returns": { @@ -5972,7 +6076,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1400 + "line": 1562 }, "methods": [ { @@ -5982,7 +6086,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1401 + "line": 1563 }, "name": "ciao", "returns": { @@ -6004,7 +6108,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 22 + "line": 28 }, "methods": [ { @@ -6016,7 +6120,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 27 + "line": 33 }, "name": "next", "returns": { @@ -6038,7 +6142,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2240 + "line": 2473 }, "name": "IReturnJsii976", "properties": [ @@ -6050,7 +6154,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2241 + "line": 2474 }, "name": "foo", "type": { @@ -6068,7 +6172,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 631 + "line": 639 }, "methods": [ { @@ -6078,7 +6182,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 632 + "line": 640 }, "name": "obtainNumber", "returns": { @@ -6098,7 +6202,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 634 + "line": 642 }, "name": "numberProp", "type": { @@ -6116,7 +6220,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 44 + "line": 46 }, "methods": [ { @@ -6126,7 +6230,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 48 + "line": 50 }, "name": "method" } @@ -6140,7 +6244,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 46 + "line": 48 }, "name": "mutableProperty", "optional": true, @@ -6160,7 +6264,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2428 + "line": 2660 }, "methods": [ { @@ -6170,7 +6274,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2429 + "line": 2661 }, "name": "returnStruct", "returns": { @@ -6188,11 +6292,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ImplementInternalInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1581 + "line": 1761 }, "name": "ImplementInternalInterface", "properties": [ @@ -6202,7 +6310,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1582 + "line": 1762 }, "name": "prop", "type": { @@ -6217,11 +6325,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.Implementation", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2012 + "line": 2224 }, "name": "Implementation", "properties": [ @@ -6232,7 +6344,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2013 + "line": 2225 }, "name": "value", "type": { @@ -6247,14 +6359,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.ImplementsInterfaceWithInternal", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IInterfaceWithInternal" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1544 + "line": 1716 }, "methods": [ { @@ -6263,7 +6379,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1545 + "line": 1717 }, "name": "visible", "overrides": "jsii-calc.IInterfaceWithInternal" @@ -6278,11 +6394,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ImplementsInterfaceWithInternalSubclass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1557 + "line": 1735 }, "name": "ImplementsInterfaceWithInternalSubclass" }, @@ -6292,11 +6412,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ImplementsPrivateInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1585 + "line": 1765 }, "name": "ImplementsPrivateInterface", "properties": [ @@ -6306,7 +6430,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1586 + "line": 1766 }, "name": "private", "type": { @@ -6328,7 +6452,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1050 + "line": 1176 }, "name": "ImplictBaseOfBase", "properties": [ @@ -6340,7 +6464,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1051 + "line": 1177 }, "name": "goo", "type": { @@ -6356,14 +6480,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.InbetweenClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IPublicInterface2" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1403 + "line": 1565 }, "methods": [ { @@ -6372,7 +6500,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1404 + "line": 1566 }, "name": "ciao", "overrides": "jsii-calc.IPublicInterface2", @@ -6396,7 +6524,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2459 + "line": 2694 }, "methods": [ { @@ -6405,7 +6533,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2472 + "line": 2705 }, "name": "listOfInterfaces", "returns": { @@ -6426,7 +6554,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2460 + "line": 2695 }, "name": "listOfStructs", "returns": { @@ -6447,7 +6575,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2478 + "line": 2715 }, "name": "mapOfInterfaces", "returns": { @@ -6468,7 +6596,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2466 + "line": 2699 }, "name": "mapOfStructs", "returns": { @@ -6492,11 +6620,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.InterfaceInNamespaceIncludesClasses.Foo", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1084 + "line": 1207 }, "name": "Foo", "namespace": "InterfaceInNamespaceIncludesClasses", @@ -6507,7 +6639,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1085 + "line": 1208 }, "name": "bar", "optional": true, @@ -6527,7 +6659,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1088 + "line": 1211 }, "name": "Hello", "namespace": "InterfaceInNamespaceIncludesClasses", @@ -6540,7 +6672,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1089 + "line": 1212 }, "name": "foo", "type": { @@ -6559,7 +6691,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1076 + "line": 1201 }, "name": "Hello", "namespace": "InterfaceInNamespaceOnlyInterface", @@ -6572,7 +6704,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1077 + "line": 1202 }, "name": "foo", "type": { @@ -6591,7 +6723,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1896 + "line": 2096 }, "methods": [ { @@ -6600,7 +6732,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1897 + "line": 2097 }, "name": "makeInterfaces", "parameters": [ @@ -6635,11 +6767,15 @@ "summary": "Checks the \"same instance\" isomorphism is preserved within the constructor." }, "fqn": "jsii-calc.Isomorphism", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2500 + "line": 2741 }, "methods": [ { @@ -6648,7 +6784,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2501 + "line": 2742 }, "name": "myself", "returns": { @@ -6673,7 +6809,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 15 + "line": 17 }, "parameters": [ { @@ -6687,7 +6823,7 @@ "kind": "class", "locationInModule": { "filename": "lib/erasures.ts", - "line": 20 + "line": 24 }, "methods": [ { @@ -6696,7 +6832,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 21 + "line": 25 }, "name": "bar" }, @@ -6706,7 +6842,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 24 + "line": 28 }, "name": "baz" } @@ -6720,7 +6856,7 @@ "immutable": true, "locationInModule": { "filename": "lib/erasures.ts", - "line": 15 + "line": 17 }, "name": "property", "protected": true, @@ -6736,7 +6872,11 @@ "stability": "experimental" }, "fqn": "jsii-calc.JSII417PublicBaseOfBase", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/erasures.ts", @@ -6794,11 +6934,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.JSObjectLiteralForInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 507 + "line": 517 }, "methods": [ { @@ -6807,7 +6951,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 509 + "line": 518 }, "name": "giveMeFriendly", "returns": { @@ -6822,7 +6966,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 515 + "line": 524 }, "name": "giveMeFriendlyGenerator", "returns": { @@ -6840,11 +6984,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.JSObjectLiteralToNative", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 233 + "line": 247 }, "methods": [ { @@ -6853,7 +7001,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 234 + "line": 248 }, "name": "returnLiteral", "returns": { @@ -6871,11 +7019,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.JSObjectLiteralToNativeClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 242 + "line": 256 }, "name": "JSObjectLiteralToNativeClass", "properties": [ @@ -6885,7 +7037,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 243 + "line": 257 }, "name": "propA", "type": { @@ -6898,7 +7050,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 244 + "line": 258 }, "name": "propB", "type": { @@ -6913,11 +7065,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.JavaReservedWords", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 736 + "line": 745 }, "methods": [ { @@ -6926,7 +7082,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 737 + "line": 746 }, "name": "abstract" }, @@ -6936,7 +7092,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 740 + "line": 750 }, "name": "assert" }, @@ -6946,7 +7102,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 743 + "line": 754 }, "name": "boolean" }, @@ -6956,7 +7112,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 746 + "line": 758 }, "name": "break" }, @@ -6966,7 +7122,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 749 + "line": 762 }, "name": "byte" }, @@ -6976,7 +7132,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 752 + "line": 766 }, "name": "case" }, @@ -6986,7 +7142,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 755 + "line": 770 }, "name": "catch" }, @@ -6996,7 +7152,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 758 + "line": 774 }, "name": "char" }, @@ -7006,7 +7162,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 761 + "line": 778 }, "name": "class" }, @@ -7016,7 +7172,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 764 + "line": 782 }, "name": "const" }, @@ -7026,7 +7182,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 767 + "line": 786 }, "name": "continue" }, @@ -7036,7 +7192,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 770 + "line": 790 }, "name": "default" }, @@ -7046,7 +7202,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 776 + "line": 798 }, "name": "do" }, @@ -7056,7 +7212,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 773 + "line": 794 }, "name": "double" }, @@ -7066,7 +7222,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 779 + "line": 802 }, "name": "else" }, @@ -7076,7 +7232,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 782 + "line": 806 }, "name": "enum" }, @@ -7086,7 +7242,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 785 + "line": 810 }, "name": "extends" }, @@ -7096,7 +7252,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 788 + "line": 814 }, "name": "false" }, @@ -7106,7 +7262,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 791 + "line": 818 }, "name": "final" }, @@ -7116,7 +7272,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 794 + "line": 822 }, "name": "finally" }, @@ -7126,7 +7282,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 797 + "line": 826 }, "name": "float" }, @@ -7136,7 +7292,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 800 + "line": 830 }, "name": "for" }, @@ -7146,7 +7302,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 803 + "line": 834 }, "name": "goto" }, @@ -7156,7 +7312,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 806 + "line": 838 }, "name": "if" }, @@ -7166,7 +7322,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 809 + "line": 842 }, "name": "implements" }, @@ -7176,7 +7332,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 812 + "line": 846 }, "name": "import" }, @@ -7186,7 +7342,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 815 + "line": 850 }, "name": "instanceof" }, @@ -7196,7 +7352,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 818 + "line": 854 }, "name": "int" }, @@ -7206,7 +7362,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 821 + "line": 858 }, "name": "interface" }, @@ -7216,7 +7372,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 824 + "line": 862 }, "name": "long" }, @@ -7226,7 +7382,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 827 + "line": 866 }, "name": "native" }, @@ -7236,7 +7392,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 830 + "line": 870 }, "name": "new" }, @@ -7246,7 +7402,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 833 + "line": 874 }, "name": "null" }, @@ -7256,7 +7412,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 836 + "line": 878 }, "name": "package" }, @@ -7266,7 +7422,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 839 + "line": 882 }, "name": "private" }, @@ -7276,7 +7432,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 842 + "line": 886 }, "name": "protected" }, @@ -7286,7 +7442,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 845 + "line": 890 }, "name": "public" }, @@ -7296,7 +7452,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 848 + "line": 894 }, "name": "return" }, @@ -7306,7 +7462,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 851 + "line": 898 }, "name": "short" }, @@ -7316,7 +7472,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 854 + "line": 902 }, "name": "static" }, @@ -7326,7 +7482,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 857 + "line": 906 }, "name": "strictfp" }, @@ -7336,7 +7492,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 860 + "line": 910 }, "name": "super" }, @@ -7346,7 +7502,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 863 + "line": 914 }, "name": "switch" }, @@ -7356,7 +7512,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 866 + "line": 918 }, "name": "synchronized" }, @@ -7366,7 +7522,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 869 + "line": 922 }, "name": "this" }, @@ -7376,7 +7532,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 872 + "line": 926 }, "name": "throw" }, @@ -7386,7 +7542,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 875 + "line": 930 }, "name": "throws" }, @@ -7396,7 +7552,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 878 + "line": 934 }, "name": "transient" }, @@ -7406,7 +7562,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 881 + "line": 938 }, "name": "true" }, @@ -7416,7 +7572,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 884 + "line": 942 }, "name": "try" }, @@ -7426,7 +7582,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 887 + "line": 946 }, "name": "void" }, @@ -7436,7 +7592,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 890 + "line": 950 }, "name": "volatile" } @@ -7449,7 +7605,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 893 + "line": 954 }, "name": "while", "type": { @@ -7464,7 +7620,11 @@ "stability": "experimental" }, "fqn": "jsii-calc.Jsii487Derived", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IJsii487External2", "jsii-calc.IJsii487External" @@ -7472,7 +7632,7 @@ "kind": "class", "locationInModule": { "filename": "lib/erasures.ts", - "line": 48 + "line": 56 }, "name": "Jsii487Derived" }, @@ -7481,15 +7641,19 @@ "docs": { "stability": "experimental" }, - "fqn": "jsii-calc.Jsii496Derived", - "initializer": {}, + "fqn": "jsii-calc.Jsii496Derived", + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IJsii496" ], "kind": "class", "locationInModule": { "filename": "lib/erasures.ts", - "line": 56 + "line": 66 }, "name": "Jsii496Derived" }, @@ -7500,11 +7664,15 @@ "summary": "Host runtime version should be set via JSII_AGENT." }, "fqn": "jsii-calc.JsiiAgent", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1368 + "line": 1528 }, "name": "JsiiAgent", "properties": [ @@ -7516,7 +7684,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1372 + "line": 1532 }, "name": "jsiiAgent", "optional": true, @@ -7538,7 +7706,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2343 + "line": 2575 }, "methods": [ { @@ -7547,7 +7715,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2388 + "line": 2620 }, "name": "anyArray", "returns": { @@ -7563,7 +7731,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2384 + "line": 2616 }, "name": "anyBooleanFalse", "returns": { @@ -7579,7 +7747,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2380 + "line": 2612 }, "name": "anyBooleanTrue", "returns": { @@ -7595,7 +7763,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2360 + "line": 2592 }, "name": "anyDate", "returns": { @@ -7611,7 +7779,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2376 + "line": 2608 }, "name": "anyEmptyString", "returns": { @@ -7627,7 +7795,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2356 + "line": 2588 }, "name": "anyFunction", "returns": { @@ -7643,7 +7811,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2392 + "line": 2624 }, "name": "anyHash", "returns": { @@ -7659,7 +7827,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2348 + "line": 2580 }, "name": "anyNull", "returns": { @@ -7675,7 +7843,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2364 + "line": 2596 }, "name": "anyNumber", "returns": { @@ -7691,7 +7859,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2396 + "line": 2628 }, "name": "anyRef", "returns": { @@ -7707,7 +7875,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2372 + "line": 2604 }, "name": "anyString", "returns": { @@ -7723,7 +7891,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2352 + "line": 2584 }, "name": "anyUndefined", "returns": { @@ -7739,7 +7907,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2368 + "line": 2600 }, "name": "anyZero", "returns": { @@ -7755,7 +7923,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2344 + "line": 2576 }, "name": "stringify", "parameters": [ @@ -7789,7 +7957,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1280 + "line": 1439 }, "name": "LoadBalancedFargateServiceProps", "properties": [ @@ -7804,7 +7972,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1323 + "line": 1482 }, "name": "containerPort", "optional": true, @@ -7823,7 +7991,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1294 + "line": 1453 }, "name": "cpu", "optional": true, @@ -7842,7 +8010,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1316 + "line": 1475 }, "name": "memoryMiB", "optional": true, @@ -7860,7 +8028,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1330 + "line": 1489 }, "name": "publicLoadBalancer", "optional": true, @@ -7878,7 +8046,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1337 + "line": 1496 }, "name": "publicTasks", "optional": true, @@ -7894,11 +8062,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.MethodNamedProperty", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 386 + "line": 396 }, "methods": [ { @@ -7907,7 +8079,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 387 + "line": 397 }, "name": "property", "returns": { @@ -7926,7 +8098,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 391 + "line": 401 }, "name": "elite", "type": { @@ -7950,7 +8122,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "parameters": [ { @@ -7980,7 +8152,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 68 + "line": 74 }, "methods": [ { @@ -7990,7 +8162,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 81 + "line": 88 }, "name": "farewell", "overrides": "jsii-calc.IFriendlier", @@ -8007,7 +8179,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 77 + "line": 84 }, "name": "goodbye", "overrides": "jsii-calc.IFriendlier", @@ -8024,7 +8196,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 85 + "line": 92 }, "name": "next", "overrides": "jsii-calc.IRandomNumberGenerator", @@ -8041,7 +8213,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 73 + "line": 80 }, "name": "toString", "overrides": "@scope/jsii-calc-lib.Operation", @@ -8062,7 +8234,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 69 + "line": 76 }, "name": "value", "overrides": "@scope/jsii-calc-lib.Value", @@ -8086,7 +8258,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 94 + "line": 101 }, "parameters": [ { @@ -8103,7 +8275,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 102 + "line": 109 }, "methods": [ { @@ -8113,7 +8285,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 119 + "line": 126 }, "name": "farewell", "overrides": "jsii-calc.IFriendlier", @@ -8130,7 +8302,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 115 + "line": 122 }, "name": "goodbye", "overrides": "jsii-calc.IFriendlier", @@ -8147,7 +8319,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 111 + "line": 118 }, "name": "hello", "overrides": "@scope/jsii-calc-lib.IFriendly", @@ -8164,7 +8336,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 107 + "line": 114 }, "name": "toString", "overrides": "@scope/jsii-calc-lib.Operation", @@ -8185,7 +8357,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 103 + "line": 110 }, "name": "value", "overrides": "@scope/jsii-calc-lib.Value", @@ -8205,7 +8377,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2216 + "line": 2449 }, "name": "NestedStruct", "properties": [ @@ -8218,7 +8390,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2220 + "line": 2453 }, "name": "numberProp", "type": { @@ -8234,11 +8406,15 @@ "summary": "Test fixture to verify that jsii modules can use the node standard library." }, "fqn": "jsii-calc.NodeStandardLibrary", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1002 + "line": 1126 }, "methods": [ { @@ -8249,7 +8425,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1031 + "line": 1157 }, "name": "cryptoSha256", "returns": { @@ -8267,7 +8443,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1007 + "line": 1131 }, "name": "fsReadFile", "returns": { @@ -8284,7 +8460,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1016 + "line": 1140 }, "name": "fsReadFileSync", "returns": { @@ -8304,7 +8480,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1023 + "line": 1149 }, "name": "osPlatform", "type": { @@ -8326,7 +8502,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1232 + "line": 1369 }, "parameters": [ { @@ -8347,7 +8523,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1229 + "line": 1366 }, "methods": [ { @@ -8356,7 +8532,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1238 + "line": 1377 }, "name": "giveMeUndefined", "parameters": [ @@ -8375,7 +8551,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1244 + "line": 1387 }, "name": "giveMeUndefinedInsideAnObject", "parameters": [ @@ -8393,7 +8569,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1259 + "line": 1416 }, "name": "verifyPropertyIsUndefined" } @@ -8406,7 +8582,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1230 + "line": 1367 }, "name": "changeMeToUndefined", "optional": true, @@ -8426,7 +8602,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1266 + "line": 1425 }, "name": "NullShouldBeTreatedAsUndefinedData", "properties": [ @@ -8438,7 +8614,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1268 + "line": 1427 }, "name": "arrayWithThreeElementsAndUndefinedAsSecondArgument", "type": { @@ -8458,7 +8634,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1267 + "line": 1426 }, "name": "thisShouldBeUndefined", "optional": true, @@ -8481,7 +8657,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 494 + "line": 506 }, "parameters": [ { @@ -8495,7 +8671,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 493 + "line": 505 }, "methods": [ { @@ -8504,7 +8680,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 502 + "line": 512 }, "name": "isSameGenerator", "parameters": [ @@ -8527,7 +8703,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 498 + "line": 508 }, "name": "nextTimes100", "returns": { @@ -8545,7 +8721,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 494 + "line": 506 }, "name": "generator", "type": { @@ -8561,11 +8737,15 @@ "summary": "Verify that object references can be passed inside collections." }, "fqn": "jsii-calc.ObjectRefsInCollections", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 250 + "line": 264 }, "methods": [ { @@ -8575,7 +8755,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 254 + "line": 268 }, "name": "sumFromArray", "parameters": [ @@ -8604,7 +8784,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 265 + "line": 279 }, "name": "sumFromMap", "parameters": [ @@ -8638,7 +8818,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2316 + "line": 2546 }, "methods": [ { @@ -8647,7 +8827,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2317 + "line": 2547 }, "name": "provide", "returns": { @@ -8668,11 +8848,15 @@ "summary": "Old class." }, "fqn": "jsii-calc.Old", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/documented.ts", - "line": 54 + "line": 53 }, "methods": [ { @@ -8682,7 +8866,7 @@ }, "locationInModule": { "filename": "lib/documented.ts", - "line": 58 + "line": 57 }, "name": "doAThing" } @@ -8701,7 +8885,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1101 + "line": 1224 }, "parameters": [ { @@ -8715,7 +8899,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1100 + "line": 1223 }, "methods": [ { @@ -8724,7 +8908,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1107 + "line": 1232 }, "name": "invokeWithOptional" }, @@ -8734,7 +8918,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1103 + "line": 1228 }, "name": "invokeWithoutOptional" } @@ -8753,7 +8937,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 296 + "line": 310 }, "parameters": [ { @@ -8780,7 +8964,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 295 + "line": 309 }, "name": "OptionalConstructorArgument", "properties": [ @@ -8791,7 +8975,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 296 + "line": 311 }, "name": "arg1", "type": { @@ -8805,7 +8989,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 297 + "line": 312 }, "name": "arg2", "type": { @@ -8819,7 +9003,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 298 + "line": 313 }, "name": "arg3", "optional": true, @@ -8839,7 +9023,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1675 + "line": 1867 }, "name": "OptionalStruct", "properties": [ @@ -8851,7 +9035,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1676 + "line": 1868 }, "name": "field", "optional": true, @@ -8873,7 +9057,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1670 + "line": 1862 }, "parameters": [ { @@ -8888,7 +9072,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1666 + "line": 1858 }, "name": "OptionalStructConsumer", "properties": [ @@ -8899,7 +9083,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1667 + "line": 1859 }, "name": "parameterWasUndefined", "type": { @@ -8913,7 +9097,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1668 + "line": 1860 }, "name": "fieldValue", "optional": true, @@ -8930,11 +9114,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.OverridableProtectedMember", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1932 + "line": 2135 }, "methods": [ { @@ -8943,7 +9131,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1944 + "line": 2147 }, "name": "overrideMe", "protected": true, @@ -8959,7 +9147,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1940 + "line": 2143 }, "name": "switchModes" }, @@ -8969,7 +9157,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1936 + "line": 2139 }, "name": "valueFromProtected", "returns": { @@ -8988,7 +9176,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1933 + "line": 2136 }, "name": "overrideReadOnly", "protected": true, @@ -9002,7 +9190,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1934 + "line": 2137 }, "name": "overrideReadWrite", "protected": true, @@ -9018,11 +9206,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.OverrideReturnsObject", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 637 + "line": 645 }, "methods": [ { @@ -9031,7 +9223,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 638 + "line": 646 }, "name": "test", "parameters": [ @@ -9062,7 +9254,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2266 + "line": 2498 }, "name": "ParentStruct982", "properties": [ @@ -9074,7 +9266,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2267 + "line": 2499 }, "name": "foo", "type": { @@ -9090,11 +9282,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.PartiallyInitializedThisConsumer", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1649 + "line": 1833 }, "methods": [ { @@ -9104,7 +9300,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1650 + "line": 1834 }, "name": "consumePartiallyInitializedThis", "parameters": [ @@ -9142,11 +9338,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.Polymorphism", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 483 + "line": 495 }, "methods": [ { @@ -9155,7 +9355,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 484 + "line": 496 }, "name": "sayHello", "parameters": [ @@ -9190,7 +9390,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 218 + "line": 227 }, "parameters": [ { @@ -9216,7 +9416,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 211 + "line": 221 }, "name": "Power", "properties": [ @@ -9228,7 +9428,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 218 + "line": 227 }, "name": "base", "type": { @@ -9244,7 +9444,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 222 + "line": 231 }, "name": "expression", "overrides": "jsii-calc.composition.CompositeOperation", @@ -9260,7 +9460,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 218 + "line": 227 }, "name": "pow", "type": { @@ -9276,11 +9476,15 @@ "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": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 382 + "line": 392 }, "name": "PropertyNamedProperty", "properties": [ @@ -9291,7 +9495,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 383 + "line": 393 }, "name": "property", "type": { @@ -9305,7 +9509,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 384 + "line": 394 }, "name": "yetAnoterOne", "type": { @@ -9320,11 +9524,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.PublicClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1393 + "line": 1553 }, "methods": [ { @@ -9333,7 +9541,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1394 + "line": 1554 }, "name": "hello" } @@ -9346,11 +9554,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.PythonReservedWords", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 896 + "line": 957 }, "methods": [ { @@ -9359,7 +9571,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 898 + "line": 958 }, "name": "and" }, @@ -9369,7 +9581,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 900 + "line": 962 }, "name": "as" }, @@ -9379,7 +9591,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 902 + "line": 966 }, "name": "assert" }, @@ -9389,7 +9601,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 904 + "line": 970 }, "name": "async" }, @@ -9399,7 +9611,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 906 + "line": 974 }, "name": "await" }, @@ -9409,7 +9621,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 908 + "line": 978 }, "name": "break" }, @@ -9419,7 +9631,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 910 + "line": 982 }, "name": "class" }, @@ -9429,7 +9641,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 912 + "line": 986 }, "name": "continue" }, @@ -9439,7 +9651,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 914 + "line": 990 }, "name": "def" }, @@ -9449,7 +9661,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 916 + "line": 994 }, "name": "del" }, @@ -9459,7 +9671,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 918 + "line": 998 }, "name": "elif" }, @@ -9469,7 +9681,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 920 + "line": 1002 }, "name": "else" }, @@ -9479,7 +9691,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 922 + "line": 1006 }, "name": "except" }, @@ -9489,7 +9701,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 924 + "line": 1010 }, "name": "finally" }, @@ -9499,7 +9711,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 926 + "line": 1014 }, "name": "for" }, @@ -9509,7 +9721,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 928 + "line": 1018 }, "name": "from" }, @@ -9519,7 +9731,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 930 + "line": 1022 }, "name": "global" }, @@ -9529,7 +9741,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 932 + "line": 1026 }, "name": "if" }, @@ -9539,7 +9751,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 934 + "line": 1030 }, "name": "import" }, @@ -9549,7 +9761,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 936 + "line": 1034 }, "name": "in" }, @@ -9559,7 +9771,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 938 + "line": 1038 }, "name": "is" }, @@ -9569,7 +9781,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 940 + "line": 1042 }, "name": "lambda" }, @@ -9579,7 +9791,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 942 + "line": 1046 }, "name": "nonlocal" }, @@ -9589,7 +9801,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 944 + "line": 1050 }, "name": "not" }, @@ -9599,7 +9811,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 946 + "line": 1054 }, "name": "or" }, @@ -9609,7 +9821,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 948 + "line": 1058 }, "name": "pass" }, @@ -9619,7 +9831,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 950 + "line": 1062 }, "name": "raise" }, @@ -9629,7 +9841,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 952 + "line": 1066 }, "name": "return" }, @@ -9639,7 +9851,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 954 + "line": 1070 }, "name": "try" }, @@ -9649,7 +9861,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 956 + "line": 1074 }, "name": "while" }, @@ -9659,7 +9871,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 958 + "line": 1078 }, "name": "with" }, @@ -9669,7 +9881,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 960 + "line": 1082 }, "name": "yield" } @@ -9688,7 +9900,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 968 + "line": 1092 }, "parameters": [ { @@ -9702,7 +9914,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 967 + "line": 1091 }, "methods": [ { @@ -9711,7 +9923,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 970 + "line": 1094 }, "name": "method", "parameters": [ @@ -9739,7 +9951,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 968 + "line": 1092 }, "name": "self", "type": { @@ -9760,7 +9972,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 976 + "line": 1100 }, "parameters": [ { @@ -9774,7 +9986,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 975 + "line": 1099 }, "name": "ClassWithSelfKwarg", "namespace": "PythonSelf", @@ -9786,7 +9998,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 976 + "line": 1100 }, "name": "props", "type": { @@ -9804,7 +10016,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 983 + "line": 1107 }, "methods": [ { @@ -9814,7 +10026,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 984 + "line": 1108 }, "name": "method", "parameters": [ @@ -9845,7 +10057,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 979 + "line": 1103 }, "name": "StructWithSelf", "namespace": "PythonSelf", @@ -9858,7 +10070,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 980 + "line": 1104 }, "name": "self", "type": { @@ -9874,11 +10086,15 @@ "summary": "See awslabs/jsii#138." }, "fqn": "jsii-calc.ReferenceEnumFromScopedPackage", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1057 + "line": 1183 }, "methods": [ { @@ -9887,7 +10103,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1060 + "line": 1186 }, "name": "loadFoo", "returns": { @@ -9903,7 +10119,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1064 + "line": 1190 }, "name": "saveFoo", "parameters": [ @@ -9924,7 +10140,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1058 + "line": 1184 }, "name": "foo", "optional": true, @@ -9943,11 +10159,15 @@ "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": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1348 + "line": 1507 }, "name": "ReturnsPrivateImplementationOfInterface", "properties": [ @@ -9958,7 +10178,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1349 + "line": 1508 }, "name": "privateImplementation", "type": { @@ -9979,7 +10199,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2209 + "line": 2442 }, "name": "RootStruct", "properties": [ @@ -9992,7 +10212,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2213 + "line": 2446 }, "name": "stringProp", "type": { @@ -10007,7 +10227,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2214 + "line": 2447 }, "name": "nestedStruct", "optional": true, @@ -10026,7 +10246,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2222 + "line": 2455 }, "methods": [ { @@ -10035,7 +10255,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2223 + "line": 2456 }, "name": "validate", "parameters": [ @@ -10057,11 +10277,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.RuntimeTypeChecking", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 274 + "line": 288 }, "methods": [ { @@ -10070,7 +10294,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 284 + "line": 296 }, "name": "methodWithDefaultedArguments", "parameters": [ @@ -10103,7 +10327,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 290 + "line": 304 }, "name": "methodWithOptionalAnyArgument", "parameters": [ @@ -10123,7 +10347,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 278 + "line": 292 }, "name": "methodWithOptionalArguments", "parameters": [ @@ -10161,7 +10385,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1824 + "line": 2014 }, "name": "SecondLevelStruct", "properties": [ @@ -10174,7 +10398,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1828 + "line": 2018 }, "name": "deeperRequiredProp", "type": { @@ -10190,7 +10414,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1833 + "line": 2023 }, "name": "deeperOptionalProp", "optional": true, @@ -10208,11 +10432,15 @@ "summary": "Test that a single instance can be returned under two different FQNs." }, "fqn": "jsii-calc.SingleInstanceTwoTypes", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1455 + "line": 1624 }, "methods": [ { @@ -10221,7 +10449,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1458 + "line": 1627 }, "name": "interface1", "returns": { @@ -10236,7 +10464,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1462 + "line": 1631 }, "name": "interface2", "returns": { @@ -10259,7 +10487,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1776 + "line": 1966 }, "methods": [ { @@ -10268,7 +10496,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1778 + "line": 1968 }, "name": "isSingletonInt", "parameters": [ @@ -10298,7 +10526,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1783 + "line": 1973 }, "members": [ { @@ -10322,7 +10550,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1759 + "line": 1949 }, "methods": [ { @@ -10331,7 +10559,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1762 + "line": 1952 }, "name": "isSingletonString", "parameters": [ @@ -10361,7 +10589,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1767 + "line": 1957 }, "members": [ { @@ -10384,7 +10612,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 393 + "line": 403 }, "name": "SmellyStruct", "properties": [ @@ -10396,7 +10624,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 394 + "line": 404 }, "name": "property", "type": { @@ -10411,7 +10639,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 395 + "line": 405 }, "name": "yetAnoterOne", "type": { @@ -10426,11 +10654,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.SomeTypeJsii976", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2246 + "line": 2479 }, "methods": [ { @@ -10439,7 +10671,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2256 + "line": 2488 }, "name": "returnAnonymous", "returns": { @@ -10455,7 +10687,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2248 + "line": 2480 }, "name": "returnReturn", "returns": { @@ -10480,7 +10712,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 57 + "line": 59 }, "parameters": [ { @@ -10501,7 +10733,7 @@ "kind": "class", "locationInModule": { "filename": "lib/stability.ts", - "line": 51 + "line": 53 }, "methods": [ { @@ -10510,7 +10742,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 62 + "line": 64 }, "name": "method" } @@ -10524,7 +10756,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 53 + "line": 55 }, "name": "readonlyProperty", "type": { @@ -10537,7 +10769,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 55 + "line": 57 }, "name": "mutableProperty", "optional": true, @@ -10556,7 +10788,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/stability.ts", - "line": 65 + "line": 69 }, "members": [ { @@ -10584,7 +10816,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 39 + "line": 41 }, "name": "StableStruct", "properties": [ @@ -10596,7 +10828,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 41 + "line": 43 }, "name": "readonlyProperty", "type": { @@ -10616,7 +10848,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1702 + "line": 1892 }, "methods": [ { @@ -10625,7 +10857,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1705 + "line": 1895 }, "name": "canAccessStaticContext", "returns": { @@ -10644,7 +10876,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1713 + "line": 1903 }, "name": "staticVariable", "static": true, @@ -10666,7 +10898,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 682 + "line": 690 }, "parameters": [ { @@ -10680,7 +10912,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 681 + "line": 689 }, "methods": [ { @@ -10690,7 +10922,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 689 + "line": 696 }, "name": "staticMethod", "parameters": [ @@ -10717,7 +10949,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 693 + "line": 700 }, "name": "justMethod", "returns": { @@ -10738,7 +10970,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 705 + "line": 712 }, "name": "BAR", "static": true, @@ -10754,7 +10986,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 732 + "line": 741 }, "name": "ConstObj", "static": true, @@ -10771,7 +11003,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 700 + "line": 707 }, "name": "Foo", "static": true, @@ -10788,7 +11020,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 710 + "line": 717 }, "name": "zooBar", "static": true, @@ -10809,7 +11041,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 717 + "line": 726 }, "name": "instance", "static": true, @@ -10823,7 +11055,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 731 + "line": 740 }, "name": "nonConstStatic", "static": true, @@ -10838,7 +11070,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 682 + "line": 690 }, "name": "value", "type": { @@ -10856,7 +11088,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 28 + "line": 39 }, "members": [ { @@ -10886,11 +11118,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.StripInternal", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1505 + "line": 1677 }, "name": "StripInternal", "properties": [ @@ -10900,7 +11136,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1506 + "line": 1678 }, "name": "youSeeMe", "type": { @@ -10920,7 +11156,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2028 + "line": 2240 }, "name": "StructA", "properties": [ @@ -10932,7 +11168,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2029 + "line": 2241 }, "name": "requiredString", "type": { @@ -10947,7 +11183,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2031 + "line": 2243 }, "name": "optionalNumber", "optional": true, @@ -10963,7 +11199,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2030 + "line": 2242 }, "name": "optionalString", "optional": true, @@ -10984,7 +11220,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2037 + "line": 2249 }, "name": "StructB", "properties": [ @@ -10996,7 +11232,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2038 + "line": 2250 }, "name": "requiredString", "type": { @@ -11011,7 +11247,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2039 + "line": 2251 }, "name": "optionalBoolean", "optional": true, @@ -11027,7 +11263,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2040 + "line": 2252 }, "name": "optionalStructA", "optional": true, @@ -11049,7 +11285,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2446 + "line": 2678 }, "name": "StructParameterType", "properties": [ @@ -11061,7 +11297,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2447 + "line": 2679 }, "name": "scope", "type": { @@ -11076,7 +11312,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2448 + "line": 2680 }, "name": "props", "optional": true, @@ -11093,11 +11329,15 @@ "summary": "Just because we can." }, "fqn": "jsii-calc.StructPassing", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1878 + "line": 2072 }, "methods": [ { @@ -11106,7 +11346,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1887 + "line": 2084 }, "name": "howManyVarArgsDidIPass", "parameters": [ @@ -11138,7 +11378,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1879 + "line": 2073 }, "name": "roundTrip", "parameters": [ @@ -11174,7 +11414,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2042 + "line": 2254 }, "methods": [ { @@ -11183,7 +11423,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2043 + "line": 2255 }, "name": "isStructA", "parameters": [ @@ -11216,7 +11456,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2053 + "line": 2276 }, "name": "isStructB", "parameters": [ @@ -11256,7 +11496,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1852 + "line": 2046 }, "name": "StructWithJavaReservedWords", "properties": [ @@ -11268,7 +11508,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1853 + "line": 2047 }, "name": "default", "type": { @@ -11283,7 +11523,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1854 + "line": 2048 }, "name": "assert", "optional": true, @@ -11299,7 +11539,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1857 + "line": 2051 }, "name": "result", "optional": true, @@ -11315,7 +11555,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1858 + "line": 2052 }, "name": "that", "optional": true, @@ -11339,13 +11579,13 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 195 + "line": 205 } }, "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 186 + "line": 197 }, "name": "Sum", "properties": [ @@ -11358,7 +11598,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 199 + "line": 209 }, "name": "expression", "overrides": "jsii-calc.composition.CompositeOperation", @@ -11373,7 +11613,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 191 + "line": 201 }, "name": "parts", "type": { @@ -11400,7 +11640,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1975 + "line": 2181 }, "parameters": [ { @@ -11448,7 +11688,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1965 + "line": 2171 }, "name": "SupportsNiceJavaBuilder", "properties": [ @@ -11460,7 +11700,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1975 + "line": 2182 }, "name": "id", "overrides": "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", @@ -11475,7 +11715,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1966 + "line": 2172 }, "name": "rest", "type": { @@ -11499,7 +11739,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1980 + "line": 2191 }, "name": "SupportsNiceJavaBuilderProps", "properties": [ @@ -11512,7 +11752,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1990 + "line": 2201 }, "name": "bar", "type": { @@ -11529,7 +11769,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1985 + "line": 2196 }, "name": "id", "optional": true, @@ -11552,7 +11792,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1960 + "line": 2163 }, "parameters": [ { @@ -11578,7 +11818,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1952 + "line": 2155 }, "name": "SupportsNiceJavaBuilderWithRequiredProps", "properties": [ @@ -11589,7 +11829,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1954 + "line": 2157 }, "name": "bar", "type": { @@ -11604,7 +11844,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1960 + "line": 2164 }, "name": "id", "type": { @@ -11618,7 +11858,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1953 + "line": 2156 }, "name": "propId", "optional": true, @@ -11634,11 +11874,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.SyncVirtualMethods", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 360 + "line": 376 }, "methods": [ { @@ -11648,7 +11892,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 373 + "line": 389 }, "name": "callerIsAsync", "returns": { @@ -11663,7 +11907,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 361 + "line": 377 }, "name": "callerIsMethod", "returns": { @@ -11678,7 +11922,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 413 + "line": 429 }, "name": "modifyOtherProperty", "parameters": [ @@ -11696,7 +11940,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 385 + "line": 401 }, "name": "modifyValueOfTheProperty", "parameters": [ @@ -11714,7 +11958,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 426 + "line": 442 }, "name": "readA", "returns": { @@ -11729,7 +11973,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 417 + "line": 433 }, "name": "retrieveOtherProperty", "returns": { @@ -11744,7 +11988,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 397 + "line": 413 }, "name": "retrieveReadOnlyProperty", "returns": { @@ -11759,7 +12003,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 389 + "line": 405 }, "name": "retrieveValueOfTheProperty", "returns": { @@ -11774,7 +12018,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 377 + "line": 393 }, "name": "virtualMethod", "parameters": [ @@ -11797,7 +12041,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 430 + "line": 446 }, "name": "writeA", "parameters": [ @@ -11819,7 +12063,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 395 + "line": 411 }, "name": "readonlyProperty", "type": { @@ -11832,7 +12076,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 424 + "line": 440 }, "name": "a", "type": { @@ -11845,7 +12089,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 365 + "line": 381 }, "name": "callerIsProperty", "type": { @@ -11858,7 +12102,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 403 + "line": 419 }, "name": "otherProperty", "type": { @@ -11871,7 +12115,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 383 + "line": 399 }, "name": "theProperty", "type": { @@ -11884,7 +12128,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 411 + "line": 427 }, "name": "valueOfOtherProperty", "type": { @@ -11899,11 +12143,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.Thrower", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 643 + "line": 651 }, "methods": [ { @@ -11912,7 +12160,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 644 + "line": 652 }, "name": "throwError" } @@ -11929,7 +12177,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1807 + "line": 1997 }, "name": "TopLevelStruct", "properties": [ @@ -11942,7 +12190,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1811 + "line": 2001 }, "name": "required", "type": { @@ -11958,7 +12206,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1821 + "line": 2011 }, "name": "secondLevel", "type": { @@ -11983,7 +12231,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1816 + "line": 2006 }, "name": "optional", "optional": true, @@ -12004,7 +12252,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2511 + "line": 2752 }, "methods": [ { @@ -12014,7 +12262,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2515 + "line": 2756 }, "name": "mode", "returns": { @@ -12042,7 +12290,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 94 + "line": 101 }, "parameters": [ { @@ -12056,7 +12304,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 93 + "line": 100 }, "name": "UnaryOperation", "properties": [ @@ -12067,7 +12315,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 94 + "line": 101 }, "name": "operand", "type": { @@ -12086,7 +12334,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 988 + "line": 1112 }, "name": "UnionProperties", "properties": [ @@ -12098,7 +12346,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 990 + "line": 1114 }, "name": "bar", "type": { @@ -12125,7 +12373,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 989 + "line": 1113 }, "name": "foo", "optional": true, @@ -12227,11 +12475,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.UseBundledDependency", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 993 + "line": 1117 }, "methods": [ { @@ -12240,7 +12492,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 994 + "line": 1118 }, "name": "value", "returns": { @@ -12259,11 +12511,15 @@ "summary": "Depend on a type from jsii-calc-base as a test for awslabs/jsii#128." }, "fqn": "jsii-calc.UseCalcBase", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1042 + "line": 1168 }, "methods": [ { @@ -12272,7 +12528,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1043 + "line": 1169 }, "name": "hello", "returns": { @@ -12296,7 +12552,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 588 + "line": 597 }, "parameters": [ { @@ -12310,7 +12566,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 587 + "line": 596 }, "methods": [ { @@ -12319,7 +12575,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 592 + "line": 599 }, "name": "justRead", "returns": { @@ -12334,7 +12590,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 601 + "line": 608 }, "name": "readStringAndNumber", "parameters": [ @@ -12357,7 +12613,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 596 + "line": 603 }, "name": "writeAndRead", "parameters": [ @@ -12384,7 +12640,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 588 + "line": 597 }, "name": "obj", "type": { @@ -12405,7 +12661,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 673 + "line": 681 }, "parameters": [ { @@ -12419,7 +12675,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 672 + "line": 680 }, "methods": [ { @@ -12428,7 +12684,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 675 + "line": 683 }, "name": "asArray", "parameters": [ @@ -12467,7 +12723,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 659 + "line": 667 }, "parameters": [ { @@ -12486,7 +12742,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 653 + "line": 661 }, "methods": [ { @@ -12495,7 +12751,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 667 + "line": 675 }, "name": "asArray", "parameters": [ @@ -12540,11 +12796,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.VirtualMethodPlayground", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 436 + "line": 451 }, "methods": [ { @@ -12554,7 +12814,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 464 + "line": 476 }, "name": "overrideMeAsync", "parameters": [ @@ -12577,7 +12837,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 468 + "line": 480 }, "name": "overrideMeSync", "parameters": [ @@ -12601,7 +12861,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 446 + "line": 458 }, "name": "parallelSumAsync", "parameters": [ @@ -12625,7 +12885,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 437 + "line": 452 }, "name": "serialSumAsync", "parameters": [ @@ -12648,7 +12908,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 456 + "line": 468 }, "name": "sumSync", "parameters": [ @@ -12677,11 +12937,15 @@ "summary": "This test is used to validate the runtimes can return correctly from a void callback." }, "fqn": "jsii-calc.VoidCallback", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1731 + "line": 1921 }, "methods": [ { @@ -12690,7 +12954,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1736 + "line": 1926 }, "name": "callMe" }, @@ -12701,7 +12965,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1740 + "line": 1930 }, "name": "overrideMe", "protected": true @@ -12716,7 +12980,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1733 + "line": 1923 }, "name": "methodWasCalled", "type": { @@ -12738,7 +13002,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1747 + "line": 1937 }, "parameters": [ { @@ -12753,7 +13017,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1746 + "line": 1936 }, "name": "WithPrivatePropertyInConstructor", "properties": [ @@ -12764,7 +13028,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1749 + "line": 1939 }, "name": "success", "type": { @@ -12786,7 +13050,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 131 + "line": 138 }, "methods": [ { @@ -12796,7 +13060,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 157 + "line": 164 }, "name": "toString", "overrides": "@scope/jsii-calc-lib.Operation", @@ -12820,7 +13084,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 155 + "line": 162 }, "name": "expression", "type": { @@ -12835,7 +13099,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 147 + "line": 154 }, "name": "value", "overrides": "@scope/jsii-calc-lib.Value", @@ -12850,7 +13114,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 145 + "line": 152 }, "name": "decorationPostfixes", "type": { @@ -12869,7 +13133,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 140 + "line": 147 }, "name": "decorationPrefixes", "type": { @@ -12888,7 +13152,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 135 + "line": 142 }, "name": "stringStyle", "type": { @@ -12907,7 +13171,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/calculator.ts", - "line": 173 + "line": 184 }, "members": [ { @@ -13136,10 +13400,6 @@ "initializer": { "docs": { "stability": "experimental" - }, - "locationInModule": { - "filename": "lib/submodule/child/index.ts", - "line": 40 } }, "kind": "class", @@ -13308,7 +13568,7 @@ "kind": "class", "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 10 + "line": 12 }, "name": "Namespaced", "namespace": "submodule.nested_submodule", @@ -13320,7 +13580,7 @@ "immutable": true, "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 11 + "line": 13 }, "name": "definedAt", "overrides": "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced", @@ -13336,7 +13596,7 @@ "immutable": true, "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 12 + "line": 14 }, "name": "goodness", "type": { @@ -13354,7 +13614,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 5 + "line": 7 }, "name": "INamespaced", "namespace": "submodule.nested_submodule.deeplyNested", @@ -13367,7 +13627,7 @@ "immutable": true, "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 6 + "line": 8 }, "name": "definedAt", "type": { @@ -13378,5 +13638,5 @@ } }, "version": "0.0.0", - "fingerprint": "KrxhHrcWUKwxL1npAlOFVhDgFnYyrYUdmZw4cPNNAw0=" + "fingerprint": "c3/b9lGca4/F/AIsgaPF6iXNmRYOS7eOQHcQv3EsIDM=" } diff --git a/packages/jsii-calc/test/test.calc.ts b/packages/jsii-calc/test/test.calc.ts index 5781b66ea6..887c10f2e3 100644 --- a/packages/jsii-calc/test/test.calc.ts +++ b/packages/jsii-calc/test/test.calc.ts @@ -8,21 +8,43 @@ import { composition } from '../lib'; // * Primitive Getters // -assert.equal(new Negate(new Add(new calcLib.Number(20), new calcLib.Number(10))).value, -30); -assert.equal(new Multiply(new Add(new calcLib.Number(5), new calcLib.Number(5)), new calcLib.Number(2)).value, 20); -assert.equal(3 * 3 * 3 * 3, new Power(new calcLib.Number(3), new calcLib.Number(4)).value); -assert.equal(999, new Power(new calcLib.Number(999), new calcLib.Number(1)).value); -assert.equal(1, new Power(new calcLib.Number(999), new calcLib.Number(0)).value); +assert.equal( + new Negate(new Add(new calcLib.Number(20), new calcLib.Number(10))).value, + -30, +); +assert.equal( + new Multiply( + new Add(new calcLib.Number(5), new calcLib.Number(5)), + new calcLib.Number(2), + ).value, + 20, +); +assert.equal( + 3 * 3 * 3 * 3, + new Power(new calcLib.Number(3), new calcLib.Number(4)).value, +); +assert.equal( + 999, + new Power(new calcLib.Number(999), new calcLib.Number(1)).value, +); +assert.equal( + 1, + new Power(new calcLib.Number(999), new calcLib.Number(0)).value, +); // // * Methods // const calc = new Calculator(); -calc.add(10); assert.equal(10, calc.value); -calc.mul(2); assert.equal(20, calc.value); -calc.pow(5); assert.equal(20 * 20 * 20 * 20 * 20, calc.value); -calc.neg(); assert.equal(-3200000, calc.value); +calc.add(10); +assert.equal(10, calc.value); +calc.mul(2); +assert.equal(20, calc.value); +calc.pow(5); +assert.equal(20 * 20 * 20 * 20 * 20, calc.value); +calc.neg(); +assert.equal(-3200000, calc.value); // // Setters @@ -30,9 +52,12 @@ calc.neg(); assert.equal(-3200000, calc.value); calc.curr = new Multiply(new calcLib.Number(2), calc.curr); assert.equal(-6400000, calc.value); -calc.stringStyle = composition.CompositeOperation.CompositionStringStyle.DECORATED; -assert.equal(calc.toString(), - '<<[[{{(2 * -(((((1 * ((0 + 10) * 2)) * ((0 + 10) * 2)) * ((0 + 10) * 2)) * ((0 + 10) * 2)) * ((0 + 10) * 2)))}}]]>>'); +calc.stringStyle = + composition.CompositeOperation.CompositionStringStyle.DECORATED; +assert.equal( + calc.toString(), + '<<[[{{(2 * -(((((1 * ((0 + 10) * 2)) * ((0 + 10) * 2)) * ((0 + 10) * 2)) * ((0 + 10) * 2)) * ((0 + 10) * 2)))}}]]>>', +); // // Non-primitive Array @@ -40,11 +65,15 @@ assert.equal(calc.toString(), const sum = new Sum(); assert.equal(sum.parts.length, 0); -sum.parts = [ new calcLib.Number(5), new calcLib.Number(10), new Multiply(new calcLib.Number(2), new calcLib.Number(3)) ]; -assert.equal(10 + 5 + (2 * 3), sum.value); +sum.parts = [ + new calcLib.Number(5), + new calcLib.Number(10), + new Multiply(new calcLib.Number(2), new calcLib.Number(3)), +]; +assert.equal(10 + 5 + 2 * 3, sum.value); assert.equal(sum.parts[0].value, 5); assert.equal(sum.parts[2].value, 6); -assert.equal(sum.toString(), "(((0 + 5) + 10) + (2 * 3))"); +assert.equal(sum.toString(), '(((0 + 5) + 10) + (2 * 3))'); // // Maps @@ -54,9 +83,9 @@ const calc2 = new Calculator(); // Initializer overload (props is optional) calc2.add(10); calc2.add(20); calc2.mul(2); -assert.equal(calc2.operationsMap['add'].length, 2); -assert.equal(calc2.operationsMap['mul'].length, 1); -assert.equal(calc2.operationsMap['add'][1].value, 30); +assert.equal(calc2.operationsMap.add.length, 2); +assert.equal(calc2.operationsMap.mul.length, 1); +assert.equal(calc2.operationsMap.add[1].value, 30); // // Initializer overloads @@ -77,7 +106,10 @@ assert.equal(calc3.value, 33.0); // Union properties // -calc3.unionProperty = new Multiply(new calcLib.Number(9), new calcLib.Number(3)); +calc3.unionProperty = new Multiply( + new calcLib.Number(9), + new calcLib.Number(3), +); assert.equal(calc3.readUnionValue(), 9 * 3); // diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/.jsii b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/.jsii index 76cf5bb936..1b78fb697b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/.jsii +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/.jsii @@ -166,31 +166,31 @@ "jsii-calc.DerivedClassHasNoProperties": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 309 + "line": 325 } }, "jsii-calc.InterfaceInNamespaceIncludesClasses": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1082 + "line": 1206 } }, "jsii-calc.InterfaceInNamespaceOnlyInterface": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1073 + "line": 1199 } }, "jsii-calc.PythonSelf": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 966 + "line": 1090 } }, "jsii-calc.composition": { "locationInModule": { "filename": "lib/calculator.ts", - "line": 127 + "line": 134 } }, "jsii-calc.submodule": { @@ -214,13 +214,13 @@ "jsii-calc.submodule.nested_submodule": { "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 3 + "line": 4 } }, "jsii-calc.submodule.nested_submodule.deeplyNested": { "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 4 + "line": 6 } } }, @@ -254,14 +254,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.AbstractClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IInterfaceImplementedByAbstractClass" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1125 + "line": 1250 }, "methods": [ { @@ -271,7 +275,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1130 + "line": 1256 }, "name": "abstractMethod", "parameters": [ @@ -294,7 +298,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1126 + "line": 1252 }, "name": "nonAbstractMethod", "returns": { @@ -313,7 +317,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1132 + "line": 1258 }, "name": "propFromInterface", "overrides": "jsii-calc.IInterfaceImplementedByAbstractClass", @@ -330,11 +334,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AbstractClassBase", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1121 + "line": 1246 }, "name": "AbstractClassBase", "properties": [ @@ -346,7 +354,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1122 + "line": 1247 }, "name": "abstractProperty", "type": { @@ -361,11 +369,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AbstractClassReturner", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1147 + "line": 1273 }, "methods": [ { @@ -374,7 +386,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1148 + "line": 1274 }, "name": "giveMeAbstract", "returns": { @@ -389,7 +401,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1152 + "line": 1278 }, "name": "giveMeInterface", "returns": { @@ -408,7 +420,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1156 + "line": 1282 }, "name": "returnAbstractFromProperty", "type": { @@ -425,11 +437,15 @@ "summary": "Ensures abstract members implementations correctly register overrides in various languages." }, "fqn": "jsii-calc.AbstractSuite", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 401 + "line": 411 }, "methods": [ { @@ -439,7 +455,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 403 + "line": 413 }, "name": "someMethod", "parameters": [ @@ -464,7 +480,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 409 + "line": 419 }, "name": "workItAll", "parameters": [ @@ -494,7 +510,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 402 + "line": 412 }, "name": "property", "protected": true, @@ -519,7 +535,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "parameters": [ { @@ -545,7 +561,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 55 + "line": 61 }, "methods": [ { @@ -555,7 +571,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 60 + "line": 66 }, "name": "toString", "overrides": "@scope/jsii-calc-lib.Operation", @@ -576,7 +592,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 56 + "line": 62 }, "name": "value", "overrides": "@scope/jsii-calc-lib.Value", @@ -594,11 +610,15 @@ "summary": "This class includes property for all types supported by jsii." }, "fqn": "jsii-calc.AllTypes", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 52 + "line": 63 }, "methods": [ { @@ -607,7 +627,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 220 + "line": 232 }, "name": "anyIn", "parameters": [ @@ -625,7 +645,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 212 + "line": 224 }, "name": "anyOut", "returns": { @@ -640,7 +660,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 207 + "line": 220 }, "name": "enumMethod", "parameters": [ @@ -667,7 +687,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 203 + "line": 216 }, "name": "enumPropertyValue", "type": { @@ -680,7 +700,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 167 + "line": 180 }, "name": "anyArrayProperty", "type": { @@ -698,7 +718,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 168 + "line": 181 }, "name": "anyMapProperty", "type": { @@ -716,7 +736,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 166 + "line": 179 }, "name": "anyProperty", "type": { @@ -729,7 +749,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 152 + "line": 165 }, "name": "arrayProperty", "type": { @@ -747,7 +767,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 58 + "line": 68 }, "name": "booleanProperty", "type": { @@ -760,7 +780,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 104 + "line": 114 }, "name": "dateProperty", "type": { @@ -773,7 +793,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 187 + "line": 200 }, "name": "enumProperty", "type": { @@ -786,7 +806,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 121 + "line": 133 }, "name": "jsonProperty", "type": { @@ -799,7 +819,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 137 + "line": 150 }, "name": "mapProperty", "type": { @@ -817,7 +837,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 89 + "line": 99 }, "name": "numberProperty", "type": { @@ -830,7 +850,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 73 + "line": 83 }, "name": "stringProperty", "type": { @@ -843,7 +863,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 179 + "line": 192 }, "name": "unionArrayProperty", "type": { @@ -870,7 +890,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 180 + "line": 193 }, "name": "unionMapProperty", "type": { @@ -900,7 +920,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 178 + "line": 191 }, "name": "unionProperty", "type": { @@ -928,7 +948,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 173 + "line": 186 }, "name": "unknownArrayProperty", "type": { @@ -946,7 +966,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 174 + "line": 187 }, "name": "unknownMapProperty", "type": { @@ -964,7 +984,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 172 + "line": 185 }, "name": "unknownProperty", "type": { @@ -977,7 +997,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 184 + "line": 197 }, "name": "optionalEnumValue", "optional": true, @@ -996,7 +1016,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 22 + "line": 33 }, "members": [ { @@ -1026,11 +1046,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AllowedMethodNames", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 606 + "line": 615 }, "methods": [ { @@ -1039,7 +1063,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 615 + "line": 623 }, "name": "getBar", "parameters": [ @@ -1064,7 +1088,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 611 + "line": 619 }, "name": "getFoo", "parameters": [ @@ -1087,7 +1111,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 626 + "line": 634 }, "name": "setBar", "parameters": [ @@ -1118,7 +1142,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 622 + "line": 630 }, "name": "setFoo", "parameters": [ @@ -1151,7 +1175,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2451 + "line": 2683 }, "parameters": [ { @@ -1171,7 +1195,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2450 + "line": 2682 }, "name": "AmbiguousParameters", "properties": [ @@ -1182,7 +1206,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2451 + "line": 2685 }, "name": "props", "type": { @@ -1196,7 +1220,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2451 + "line": 2684 }, "name": "scope", "type": { @@ -1211,14 +1235,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.AnonymousImplementationProvider", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IAnonymousImplementationProvider" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2001 + "line": 2212 }, "methods": [ { @@ -1227,7 +1255,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2004 + "line": 2216 }, "name": "provideAsClass", "overrides": "jsii-calc.IAnonymousImplementationProvider", @@ -1243,7 +1271,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2008 + "line": 2220 }, "name": "provideAsInterface", "overrides": "jsii-calc.IAnonymousImplementationProvider", @@ -1262,11 +1290,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AsyncVirtualMethods", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 321 + "line": 333 }, "methods": [ { @@ -1276,7 +1308,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 322 + "line": 334 }, "name": "callMe", "returns": { @@ -1293,7 +1325,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 337 + "line": 353 }, "name": "callMe2", "returns": { @@ -1311,7 +1343,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 347 + "line": 363 }, "name": "callMeDoublePromise", "returns": { @@ -1326,7 +1358,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 355 + "line": 371 }, "name": "dontOverrideMe", "returns": { @@ -1342,7 +1374,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 326 + "line": 342 }, "name": "overrideMe", "parameters": [ @@ -1366,7 +1398,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 330 + "line": 346 }, "name": "overrideMeToo", "returns": { @@ -1384,11 +1416,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.AugmentableClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1379 + "line": 1539 }, "methods": [ { @@ -1397,7 +1433,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1380 + "line": 1540 }, "name": "methodOne" }, @@ -1407,7 +1443,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1386 + "line": 1546 }, "name": "methodTwo" } @@ -1420,11 +1456,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.BaseJsii976", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2244 + "line": 2477 }, "name": "BaseJsii976" }, @@ -1434,14 +1474,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.Bell", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IBell" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2188 + "line": 2421 }, "methods": [ { @@ -1450,7 +1494,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2191 + "line": 2424 }, "name": "ring", "overrides": "jsii-calc.IBell" @@ -1464,7 +1508,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2189 + "line": 2422 }, "name": "rung", "type": { @@ -1489,7 +1533,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "parameters": [ { @@ -1518,7 +1562,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 37 + "line": 43 }, "methods": [ { @@ -1528,7 +1572,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 47 + "line": 53 }, "name": "hello", "overrides": "@scope/jsii-calc-lib.IFriendly", @@ -1549,7 +1593,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "name": "lhs", "type": { @@ -1564,7 +1608,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "name": "rhs", "type": { @@ -1590,7 +1634,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 279 + "line": 287 }, "parameters": [ { @@ -1608,7 +1652,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 273 + "line": 282 }, "methods": [ { @@ -1618,7 +1662,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 312 + "line": 320 }, "name": "add", "parameters": [ @@ -1637,7 +1681,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 319 + "line": 327 }, "name": "mul", "parameters": [ @@ -1656,7 +1700,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 333 + "line": 341 }, "name": "neg" }, @@ -1667,7 +1711,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 326 + "line": 334 }, "name": "pow", "parameters": [ @@ -1686,7 +1730,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 352 + "line": 360 }, "name": "readUnionValue", "returns": { @@ -1706,7 +1750,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 340 + "line": 348 }, "name": "expression", "overrides": "jsii-calc.composition.CompositeOperation", @@ -1722,7 +1766,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 302 + "line": 310 }, "name": "operationsLog", "type": { @@ -1742,7 +1786,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 297 + "line": 305 }, "name": "operationsMap", "type": { @@ -1766,7 +1810,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 292 + "line": 300 }, "name": "curr", "type": { @@ -1780,7 +1824,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 307 + "line": 315 }, "name": "maxValue", "optional": true, @@ -1795,7 +1839,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 347 + "line": 355 }, "name": "unionProperty", "optional": true, @@ -1828,7 +1872,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 234 + "line": 243 }, "name": "CalculatorProps", "properties": [ @@ -1843,7 +1887,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 242 + "line": 251 }, "name": "initialValue", "optional": true, @@ -1861,7 +1905,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 249 + "line": 258 }, "name": "maximumValue", "optional": true, @@ -1884,7 +1928,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2269 + "line": 2501 }, "name": "ChildStruct982", "properties": [ @@ -1896,7 +1940,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2270 + "line": 2502 }, "name": "bar", "type": { @@ -1911,14 +1955,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.ClassThatImplementsTheInternalInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.INonInternalInterface" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1621 + "line": 1802 }, "name": "ClassThatImplementsTheInternalInterface", "properties": [ @@ -1928,7 +1976,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1622 + "line": 1806 }, "name": "a", "overrides": "jsii-calc.IAnotherPublicInterface", @@ -1942,7 +1990,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1623 + "line": 1807 }, "name": "b", "overrides": "jsii-calc.INonInternalInterface", @@ -1956,7 +2004,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1624 + "line": 1808 }, "name": "c", "overrides": "jsii-calc.INonInternalInterface", @@ -1970,7 +2018,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1625 + "line": 1809 }, "name": "d", "type": { @@ -1985,14 +2033,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.ClassThatImplementsThePrivateInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.INonInternalInterface" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1628 + "line": 1812 }, "name": "ClassThatImplementsThePrivateInterface", "properties": [ @@ -2002,7 +2054,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1629 + "line": 1814 }, "name": "a", "overrides": "jsii-calc.IAnotherPublicInterface", @@ -2016,7 +2068,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1630 + "line": 1815 }, "name": "b", "overrides": "jsii-calc.INonInternalInterface", @@ -2030,7 +2082,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1631 + "line": 1816 }, "name": "c", "overrides": "jsii-calc.INonInternalInterface", @@ -2044,7 +2096,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1632 + "line": 1817 }, "name": "e", "type": { @@ -2065,7 +2117,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1915 + "line": 2118 }, "parameters": [ { @@ -2095,7 +2147,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1908 + "line": 2108 }, "methods": [ { @@ -2104,7 +2156,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1920 + "line": 2123 }, "name": "createAList", "returns": { @@ -2125,7 +2177,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1924 + "line": 2127 }, "name": "createAMap", "returns": { @@ -2149,7 +2201,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1913 + "line": 2116 }, "name": "staticArray", "static": true, @@ -2168,7 +2220,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1912 + "line": 2112 }, "name": "staticMap", "static": true, @@ -2187,7 +2239,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1910 + "line": 2110 }, "name": "array", "type": { @@ -2205,7 +2257,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1909 + "line": 2109 }, "name": "map", "type": { @@ -2232,11 +2284,15 @@ "summary": "This class has docs." }, "fqn": "jsii-calc.ClassWithDocs", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1694 + "line": 1885 }, "name": "ClassWithDocs" }, @@ -2252,7 +2308,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1864 + "line": 2058 }, "parameters": [ { @@ -2266,7 +2322,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1861 + "line": 2055 }, "methods": [ { @@ -2275,7 +2331,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1868 + "line": 2062 }, "name": "import", "parameters": [ @@ -2302,7 +2358,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1862 + "line": 2056 }, "name": "int", "type": { @@ -2317,11 +2373,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ClassWithMutableObjectLiteralProperty", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1167 + "line": 1293 }, "name": "ClassWithMutableObjectLiteralProperty", "properties": [ @@ -2331,7 +2391,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1168 + "line": 1294 }, "name": "mutableObject", "type": { @@ -2353,7 +2413,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1194 + "line": 1320 }, "methods": [ { @@ -2362,7 +2422,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1195 + "line": 1322 }, "name": "create", "parameters": [ @@ -2396,7 +2456,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1199 + "line": 1330 }, "name": "readOnlyString", "overrides": "jsii-calc.IInterfaceWithProperties", @@ -2410,7 +2470,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1199 + "line": 1331 }, "name": "readWriteString", "overrides": "jsii-calc.IInterfaceWithProperties", @@ -2431,7 +2491,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2408 + "line": 2640 }, "methods": [ { @@ -2440,7 +2500,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2409 + "line": 2641 }, "name": "makeInstance", "returns": { @@ -2456,7 +2516,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2413 + "line": 2645 }, "name": "makeStructInstance", "returns": { @@ -2475,7 +2535,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2417 + "line": 2649 }, "name": "unionProperty", "optional": true, @@ -2518,7 +2578,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2421 + "line": 2653 }, "name": "ConfusingToJacksonStruct", "properties": [ @@ -2530,7 +2590,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2422 + "line": 2654 }, "name": "unionProperty", "optional": true, @@ -2575,7 +2635,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1654 + "line": 1842 }, "parameters": [ { @@ -2589,7 +2649,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1653 + "line": 1841 }, "name": "ConstructorPassesThisOut" }, @@ -2599,11 +2659,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.Constructors", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1418 + "line": 1587 }, "methods": [ { @@ -2612,7 +2676,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1435 + "line": 1604 }, "name": "hiddenInterface", "returns": { @@ -2628,7 +2692,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1439 + "line": 1608 }, "name": "hiddenInterfaces", "returns": { @@ -2649,7 +2713,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1443 + "line": 1612 }, "name": "hiddenSubInterfaces", "returns": { @@ -2670,7 +2734,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1419 + "line": 1588 }, "name": "makeClass", "returns": { @@ -2686,7 +2750,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1423 + "line": 1592 }, "name": "makeInterface", "returns": { @@ -2702,7 +2766,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1427 + "line": 1596 }, "name": "makeInterface2", "returns": { @@ -2718,7 +2782,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1431 + "line": 1600 }, "name": "makeInterfaces", "returns": { @@ -2748,7 +2812,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2432 + "line": 2664 }, "parameters": [ { @@ -2762,7 +2826,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2431 + "line": 2663 }, "methods": [ { @@ -2771,7 +2835,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2434 + "line": 2666 }, "name": "workItBaby", "returns": { @@ -2791,11 +2855,15 @@ "summary": "Test calling back to consumers that implement interfaces." }, "fqn": "jsii-calc.ConsumerCanRingBell", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2073 + "line": 2306 }, "methods": [ { @@ -2806,7 +2874,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2079 + "line": 2312 }, "name": "staticImplementedByObjectLiteral", "parameters": [ @@ -2832,7 +2900,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2105 + "line": 2338 }, "name": "staticImplementedByPrivateClass", "parameters": [ @@ -2858,7 +2926,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2094 + "line": 2327 }, "name": "staticImplementedByPublicClass", "parameters": [ @@ -2884,7 +2952,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2116 + "line": 2349 }, "name": "staticWhenTypedAsClass", "parameters": [ @@ -2910,7 +2978,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2126 + "line": 2359 }, "name": "implementedByObjectLiteral", "parameters": [ @@ -2935,7 +3003,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2152 + "line": 2385 }, "name": "implementedByPrivateClass", "parameters": [ @@ -2960,7 +3028,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2141 + "line": 2374 }, "name": "implementedByPublicClass", "parameters": [ @@ -2985,7 +3053,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2163 + "line": 2396 }, "name": "whenTypedAsClass", "parameters": [ @@ -3011,11 +3079,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ConsumersOfThisCrazyTypeSystem", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1635 + "line": 1820 }, "methods": [ { @@ -3024,7 +3096,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1636 + "line": 1821 }, "name": "consumeAnotherPublicInterface", "parameters": [ @@ -3047,7 +3119,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1640 + "line": 1825 }, "name": "consumeNonInternalInterface", "parameters": [ @@ -3077,16 +3149,12 @@ "initializer": { "docs": { "stability": "experimental" - }, - "locationInModule": { - "filename": "lib/compliance.ts", - "line": 1792 } }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1791 + "line": 1981 }, "methods": [ { @@ -3095,7 +3163,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1794 + "line": 1982 }, "name": "render", "parameters": [ @@ -3119,7 +3187,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1798 + "line": 1988 }, "name": "renderArbitrary", "parameters": [ @@ -3147,7 +3215,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1802 + "line": 1992 }, "name": "renderMap", "parameters": [ @@ -3184,7 +3252,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 303 + "line": 318 }, "parameters": [ { @@ -3213,7 +3281,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 302 + "line": 317 }, "name": "DefaultedConstructorArgument", "properties": [ @@ -3224,7 +3292,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 303 + "line": 319 }, "name": "arg1", "type": { @@ -3238,7 +3306,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 305 + "line": 321 }, "name": "arg3", "type": { @@ -3252,7 +3320,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 304 + "line": 320 }, "name": "arg2", "optional": true, @@ -3273,16 +3341,12 @@ "initializer": { "docs": { "stability": "experimental" - }, - "locationInModule": { - "filename": "lib/compliance.ts", - "line": 2292 } }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2276 + "line": 2508 }, "methods": [ { @@ -3292,7 +3356,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2283 + "line": 2515 }, "name": "takeThis", "returns": { @@ -3309,7 +3373,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2288 + "line": 2520 }, "name": "takeThisToo", "returns": { @@ -3336,7 +3400,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 91 + "line": 95 }, "parameters": [ { @@ -3357,7 +3421,7 @@ "kind": "class", "locationInModule": { "filename": "lib/stability.ts", - "line": 85 + "line": 89 }, "methods": [ { @@ -3367,7 +3431,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 96 + "line": 100 }, "name": "method" } @@ -3382,7 +3446,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 87 + "line": 91 }, "name": "readonlyProperty", "type": { @@ -3396,7 +3460,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 89 + "line": 93 }, "name": "mutableProperty", "optional": true, @@ -3416,7 +3480,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/stability.ts", - "line": 99 + "line": 105 }, "members": [ { @@ -3447,7 +3511,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 73 + "line": 77 }, "name": "DeprecatedStruct", "properties": [ @@ -3460,7 +3524,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 75 + "line": 79 }, "name": "readonlyProperty", "type": { @@ -3475,11 +3539,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.DerivedClassHasNoProperties.Base", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 311 + "line": 326 }, "name": "Base", "namespace": "DerivedClassHasNoProperties", @@ -3490,7 +3558,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 312 + "line": 327 }, "name": "prop", "type": { @@ -3506,11 +3574,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.DerivedClassHasNoProperties.Derived", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 315 + "line": 330 }, "name": "Derived", "namespace": "DerivedClassHasNoProperties" @@ -3529,7 +3601,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 533 + "line": 541 }, "name": "DerivedStruct", "properties": [ @@ -3541,7 +3613,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 539 + "line": 547 }, "name": "anotherRequired", "type": { @@ -3556,7 +3628,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 538 + "line": 546 }, "name": "bool", "type": { @@ -3572,7 +3644,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 537 + "line": 545 }, "name": "nonPrimitive", "type": { @@ -3588,7 +3660,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 545 + "line": 553 }, "name": "anotherOptional", "optional": true, @@ -3609,7 +3681,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 541 + "line": 549 }, "name": "optionalAny", "optional": true, @@ -3625,7 +3697,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 540 + "line": 548 }, "name": "optionalArray", "optional": true, @@ -3650,7 +3722,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1836 + "line": 2026 }, "name": "DiamondInheritanceBaseLevelStruct", "properties": [ @@ -3662,7 +3734,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1837 + "line": 2027 }, "name": "baseLevelProperty", "type": { @@ -3684,7 +3756,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1840 + "line": 2030 }, "name": "DiamondInheritanceFirstMidLevelStruct", "properties": [ @@ -3696,7 +3768,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1841 + "line": 2032 }, "name": "firstMidLevelProperty", "type": { @@ -3718,7 +3790,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1844 + "line": 2035 }, "name": "DiamondInheritanceSecondMidLevelStruct", "properties": [ @@ -3730,7 +3802,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1845 + "line": 2037 }, "name": "secondMidLevelProperty", "type": { @@ -3753,7 +3825,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1848 + "line": 2040 }, "name": "DiamondInheritanceTopLevelStruct", "properties": [ @@ -3765,7 +3837,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1849 + "line": 2043 }, "name": "topLevelProperty", "type": { @@ -3785,7 +3857,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2300 + "line": 2530 }, "name": "DisappointingCollectionSource", "properties": [ @@ -3799,7 +3871,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2302 + "line": 2532 }, "name": "maybeList", "optional": true, @@ -3823,7 +3895,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2304 + "line": 2534 }, "name": "maybeMap", "optional": true, @@ -3845,11 +3917,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.DoNotOverridePrivates", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1171 + "line": 1297 }, "methods": [ { @@ -3858,7 +3934,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1186 + "line": 1312 }, "name": "changePrivatePropertyValue", "parameters": [ @@ -3876,7 +3952,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1178 + "line": 1304 }, "name": "privateMethodValue", "returns": { @@ -3891,7 +3967,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1182 + "line": 1308 }, "name": "privatePropertyValue", "returns": { @@ -3910,11 +3986,15 @@ "summary": "jsii#284: do not recognize \"any\" as an optional argument." }, "fqn": "jsii-calc.DoNotRecognizeAnyAsOptional", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1220 + "line": 1353 }, "methods": [ { @@ -3923,7 +4003,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1221 + "line": 1354 }, "name": "method", "parameters": [ @@ -3960,7 +4040,11 @@ "summary": "Here's the first line of the TSDoc comment." }, "fqn": "jsii-calc.DocumentedClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/documented.ts", @@ -3976,7 +4060,7 @@ }, "locationInModule": { "filename": "lib/documented.ts", - "line": 22 + "line": 21 }, "name": "greet", "parameters": [ @@ -4004,7 +4088,7 @@ }, "locationInModule": { "filename": "lib/documented.ts", - "line": 32 + "line": 31 }, "name": "hola" } @@ -4017,11 +4101,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.DontComplainAboutVariadicAfterOptional", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1271 + "line": 1430 }, "methods": [ { @@ -4030,7 +4118,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1272 + "line": 1431 }, "name": "optionalAndVariadic", "parameters": [ @@ -4065,14 +4153,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.DoubleTrouble", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IFriendlyRandomGenerator" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 473 + "line": 485 }, "methods": [ { @@ -4082,7 +4174,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 478 + "line": 490 }, "name": "hello", "overrides": "@scope/jsii-calc-lib.IFriendly", @@ -4099,7 +4191,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 474 + "line": 486 }, "name": "next", "overrides": "jsii-calc.IRandomNumberGenerator", @@ -4121,7 +4213,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 34 + "line": 45 }, "methods": [ { @@ -4130,7 +4222,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 40 + "line": 51 }, "name": "randomIntegerLikeEnum", "returns": { @@ -4146,7 +4238,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 35 + "line": 46 }, "name": "randomStringLikeEnum", "returns": { @@ -4165,11 +4257,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.EraseUndefinedHashValues", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1474 + "line": 1643 }, "methods": [ { @@ -4180,7 +4276,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1479 + "line": 1648 }, "name": "doesKeyExist", "parameters": [ @@ -4211,7 +4307,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1496 + "line": 1668 }, "name": "prop1IsNull", "returns": { @@ -4233,7 +4329,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1486 + "line": 1658 }, "name": "prop2IsUndefined", "returns": { @@ -4261,7 +4357,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1469 + "line": 1638 }, "name": "EraseUndefinedHashValuesOptions", "properties": [ @@ -4273,7 +4369,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1470 + "line": 1639 }, "name": "option1", "optional": true, @@ -4289,7 +4385,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1471 + "line": 1640 }, "name": "option2", "optional": true, @@ -4387,7 +4483,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/stability.ts", - "line": 31 + "line": 33 }, "members": [ { @@ -4448,7 +4544,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1357 + "line": 1516 }, "parameters": [ { @@ -4462,7 +4558,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1356 + "line": 1515 }, "name": "ExportedBaseClass", "properties": [ @@ -4473,7 +4569,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1357 + "line": 1516 }, "name": "success", "type": { @@ -4492,7 +4588,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1577 + "line": 1757 }, "name": "ExtendsInternalInterface", "properties": [ @@ -4504,7 +4600,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1578 + "line": 1758 }, "name": "boom", "type": { @@ -4519,7 +4615,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1526 + "line": 1698 }, "name": "prop", "type": { @@ -4546,7 +4642,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 125 + "line": 131 }, "parameters": [ { @@ -4567,7 +4663,7 @@ "kind": "class", "locationInModule": { "filename": "lib/stability.ts", - "line": 119 + "line": 125 }, "methods": [ { @@ -4579,7 +4675,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 130 + "line": 136 }, "name": "method" } @@ -4596,7 +4692,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 121 + "line": 127 }, "name": "readonlyProperty", "type": { @@ -4612,7 +4708,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 123 + "line": 129 }, "name": "mutableProperty", "optional": true, @@ -4634,7 +4730,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/stability.ts", - "line": 133 + "line": 141 }, "members": [ { @@ -4671,7 +4767,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 107 + "line": 113 }, "name": "ExternalStruct", "properties": [ @@ -4686,7 +4782,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 109 + "line": 115 }, "name": "readonlyProperty", "type": { @@ -4701,11 +4797,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.GiveMeStructs", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 548 + "line": 556 }, "methods": [ { @@ -4715,7 +4815,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 566 + "line": 574 }, "name": "derivedToFirst", "parameters": [ @@ -4739,7 +4839,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 559 + "line": 567 }, "name": "readDerivedNonPrimitive", "parameters": [ @@ -4763,7 +4863,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 552 + "line": 560 }, "name": "readFirstNumber", "parameters": [ @@ -4790,7 +4890,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 570 + "line": 578 }, "name": "structLiteral", "type": { @@ -4810,7 +4910,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/documented.ts", - "line": 40 + "line": 39 }, "name": "Greetee", "properties": [ @@ -4824,7 +4924,7 @@ "immutable": true, "locationInModule": { "filename": "lib/documented.ts", - "line": 46 + "line": 45 }, "name": "name", "optional": true, @@ -4840,11 +4940,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.GreetingAugmenter", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 524 + "line": 532 }, "methods": [ { @@ -4853,7 +4957,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 525 + "line": 533 }, "name": "betterGreeting", "parameters": [ @@ -4883,7 +4987,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1997 + "line": 2208 }, "methods": [ { @@ -4893,7 +4997,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1999 + "line": 2210 }, "name": "provideAsClass", "returns": { @@ -4909,7 +5013,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1998 + "line": 2209 }, "name": "provideAsInterface", "returns": { @@ -4930,7 +5034,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2015 + "line": 2227 }, "methods": [ { @@ -4940,7 +5044,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2017 + "line": 2229 }, "name": "verb", "returns": { @@ -4960,7 +5064,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2016 + "line": 2228 }, "name": "value", "type": { @@ -4978,7 +5082,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1598 + "line": 1778 }, "name": "IAnotherPublicInterface", "properties": [ @@ -4989,7 +5093,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1599 + "line": 1779 }, "name": "a", "type": { @@ -5007,7 +5111,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2184 + "line": 2417 }, "methods": [ { @@ -5017,7 +5121,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2185 + "line": 2418 }, "name": "ring" } @@ -5034,7 +5138,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2173 + "line": 2406 }, "methods": [ { @@ -5044,7 +5148,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2174 + "line": 2407 }, "name": "yourTurn", "parameters": [ @@ -5069,7 +5173,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2180 + "line": 2413 }, "methods": [ { @@ -5079,7 +5183,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2181 + "line": 2414 }, "name": "yourTurn", "parameters": [ @@ -5104,7 +5208,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 78 + "line": 82 }, "methods": [ { @@ -5115,7 +5219,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 82 + "line": 86 }, "name": "method" } @@ -5130,7 +5234,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 80 + "line": 84 }, "name": "mutableProperty", "optional": true, @@ -5192,7 +5296,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1589 + "line": 1769 }, "name": "IExtendsPrivateInterface", "properties": [ @@ -5204,7 +5308,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1590 + "line": 1770 }, "name": "moreThings", "type": { @@ -5223,7 +5327,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1574 + "line": 1754 }, "name": "private", "type": { @@ -5244,7 +5348,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 112 + "line": 118 }, "methods": [ { @@ -5257,7 +5361,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 116 + "line": 122 }, "name": "method" } @@ -5274,7 +5378,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 114 + "line": 120 }, "name": "mutableProperty", "optional": true, @@ -5297,7 +5401,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 6 + "line": 12 }, "methods": [ { @@ -5308,7 +5412,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 16 + "line": 22 }, "name": "farewell", "returns": { @@ -5326,7 +5430,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 11 + "line": 17 }, "name": "goodbye", "returns": { @@ -5351,7 +5455,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 30 + "line": 36 }, "name": "IFriendlyRandomGenerator" }, @@ -5365,7 +5469,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1117 + "line": 1242 }, "name": "IInterfaceImplementedByAbstractClass", "properties": [ @@ -5377,7 +5481,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1118 + "line": 1243 }, "name": "propFromInterface", "type": { @@ -5399,7 +5503,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1213 + "line": 1345 }, "name": "IInterfaceThatShouldNotBeADataType", "properties": [ @@ -5411,7 +5515,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1214 + "line": 1347 }, "name": "otherValue", "type": { @@ -5429,7 +5533,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1537 + "line": 1709 }, "methods": [ { @@ -5439,7 +5543,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1538 + "line": 1710 }, "name": "visible" } @@ -5455,7 +5559,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1203 + "line": 1335 }, "methods": [ { @@ -5465,7 +5569,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1206 + "line": 1338 }, "name": "doThings" } @@ -5480,7 +5584,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1204 + "line": 1336 }, "name": "value", "type": { @@ -5499,7 +5603,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1097 + "line": 1220 }, "methods": [ { @@ -5509,7 +5613,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1098 + "line": 1221 }, "name": "hello", "parameters": [ @@ -5540,7 +5644,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 578 + "line": 586 }, "name": "IInterfaceWithProperties", "properties": [ @@ -5552,7 +5656,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 579 + "line": 587 }, "name": "readOnlyString", "type": { @@ -5566,7 +5670,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 580 + "line": 588 }, "name": "readWriteString", "type": { @@ -5587,7 +5691,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 583 + "line": 591 }, "name": "IInterfaceWithPropertiesExtension", "properties": [ @@ -5598,7 +5702,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 584 + "line": 593 }, "name": "foo", "type": { @@ -5619,7 +5723,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 37 + "line": 43 }, "methods": [ { @@ -5629,7 +5733,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 35 + "line": 41 }, "name": "bar" }, @@ -5640,7 +5744,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 38 + "line": 44 }, "name": "baz" } @@ -5655,7 +5759,7 @@ "immutable": true, "locationInModule": { "filename": "lib/erasures.ts", - "line": 34 + "line": 40 }, "name": "property", "type": { @@ -5673,7 +5777,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 30 + "line": 36 }, "methods": [ { @@ -5683,7 +5787,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 31 + "line": 37 }, "name": "foo" } @@ -5698,7 +5802,7 @@ "immutable": true, "locationInModule": { "filename": "lib/erasures.ts", - "line": 28 + "line": 34 }, "name": "hasRoot", "type": { @@ -5716,7 +5820,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 45 + "line": 52 }, "name": "IJsii487External" }, @@ -5729,7 +5833,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 46 + "line": 54 }, "name": "IJsii487External2" }, @@ -5742,7 +5846,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/erasures.ts", - "line": 54 + "line": 64 }, "name": "IJsii496" }, @@ -5755,7 +5859,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1163 + "line": 1289 }, "name": "IMutableObjectLiteral", "properties": [ @@ -5766,7 +5870,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1164 + "line": 1290 }, "name": "value", "type": { @@ -5787,7 +5891,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1608 + "line": 1787 }, "name": "INonInternalInterface", "properties": [ @@ -5798,7 +5902,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1605 + "line": 1784 }, "name": "b", "type": { @@ -5812,7 +5916,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1609 + "line": 1788 }, "name": "c", "type": { @@ -5831,7 +5935,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2312 + "line": 2542 }, "methods": [ { @@ -5841,7 +5945,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2314 + "line": 2544 }, "name": "wasSet", "returns": { @@ -5860,7 +5964,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2313 + "line": 2543 }, "name": "property", "type": { @@ -5879,7 +5983,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2490 + "line": 2731 }, "methods": [ { @@ -5889,7 +5993,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2491 + "line": 2732 }, "name": "optional", "returns": { @@ -5911,7 +6015,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1353 + "line": 1512 }, "name": "IPrivatelyImplemented", "properties": [ @@ -5923,7 +6027,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1354 + "line": 1513 }, "name": "success", "type": { @@ -5941,7 +6045,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1396 + "line": 1558 }, "methods": [ { @@ -5951,7 +6055,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1397 + "line": 1559 }, "name": "bye", "returns": { @@ -5972,7 +6076,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1400 + "line": 1562 }, "methods": [ { @@ -5982,7 +6086,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1401 + "line": 1563 }, "name": "ciao", "returns": { @@ -6004,7 +6108,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 22 + "line": 28 }, "methods": [ { @@ -6016,7 +6120,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 27 + "line": 33 }, "name": "next", "returns": { @@ -6038,7 +6142,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2240 + "line": 2473 }, "name": "IReturnJsii976", "properties": [ @@ -6050,7 +6154,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2241 + "line": 2474 }, "name": "foo", "type": { @@ -6068,7 +6172,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 631 + "line": 639 }, "methods": [ { @@ -6078,7 +6182,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 632 + "line": 640 }, "name": "obtainNumber", "returns": { @@ -6098,7 +6202,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 634 + "line": 642 }, "name": "numberProp", "type": { @@ -6116,7 +6220,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 44 + "line": 46 }, "methods": [ { @@ -6126,7 +6230,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 48 + "line": 50 }, "name": "method" } @@ -6140,7 +6244,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 46 + "line": 48 }, "name": "mutableProperty", "optional": true, @@ -6160,7 +6264,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2428 + "line": 2660 }, "methods": [ { @@ -6170,7 +6274,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2429 + "line": 2661 }, "name": "returnStruct", "returns": { @@ -6188,11 +6292,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ImplementInternalInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1581 + "line": 1761 }, "name": "ImplementInternalInterface", "properties": [ @@ -6202,7 +6310,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1582 + "line": 1762 }, "name": "prop", "type": { @@ -6217,11 +6325,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.Implementation", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2012 + "line": 2224 }, "name": "Implementation", "properties": [ @@ -6232,7 +6344,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2013 + "line": 2225 }, "name": "value", "type": { @@ -6247,14 +6359,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.ImplementsInterfaceWithInternal", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IInterfaceWithInternal" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1544 + "line": 1716 }, "methods": [ { @@ -6263,7 +6379,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1545 + "line": 1717 }, "name": "visible", "overrides": "jsii-calc.IInterfaceWithInternal" @@ -6278,11 +6394,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ImplementsInterfaceWithInternalSubclass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1557 + "line": 1735 }, "name": "ImplementsInterfaceWithInternalSubclass" }, @@ -6292,11 +6412,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.ImplementsPrivateInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1585 + "line": 1765 }, "name": "ImplementsPrivateInterface", "properties": [ @@ -6306,7 +6430,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1586 + "line": 1766 }, "name": "private", "type": { @@ -6328,7 +6452,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1050 + "line": 1176 }, "name": "ImplictBaseOfBase", "properties": [ @@ -6340,7 +6464,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1051 + "line": 1177 }, "name": "goo", "type": { @@ -6356,14 +6480,18 @@ "stability": "experimental" }, "fqn": "jsii-calc.InbetweenClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IPublicInterface2" ], "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1403 + "line": 1565 }, "methods": [ { @@ -6372,7 +6500,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1404 + "line": 1566 }, "name": "ciao", "overrides": "jsii-calc.IPublicInterface2", @@ -6396,7 +6524,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2459 + "line": 2694 }, "methods": [ { @@ -6405,7 +6533,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2472 + "line": 2705 }, "name": "listOfInterfaces", "returns": { @@ -6426,7 +6554,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2460 + "line": 2695 }, "name": "listOfStructs", "returns": { @@ -6447,7 +6575,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2478 + "line": 2715 }, "name": "mapOfInterfaces", "returns": { @@ -6468,7 +6596,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2466 + "line": 2699 }, "name": "mapOfStructs", "returns": { @@ -6492,11 +6620,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.InterfaceInNamespaceIncludesClasses.Foo", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1084 + "line": 1207 }, "name": "Foo", "namespace": "InterfaceInNamespaceIncludesClasses", @@ -6507,7 +6639,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1085 + "line": 1208 }, "name": "bar", "optional": true, @@ -6527,7 +6659,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1088 + "line": 1211 }, "name": "Hello", "namespace": "InterfaceInNamespaceIncludesClasses", @@ -6540,7 +6672,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1089 + "line": 1212 }, "name": "foo", "type": { @@ -6559,7 +6691,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1076 + "line": 1201 }, "name": "Hello", "namespace": "InterfaceInNamespaceOnlyInterface", @@ -6572,7 +6704,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1077 + "line": 1202 }, "name": "foo", "type": { @@ -6591,7 +6723,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1896 + "line": 2096 }, "methods": [ { @@ -6600,7 +6732,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1897 + "line": 2097 }, "name": "makeInterfaces", "parameters": [ @@ -6635,11 +6767,15 @@ "summary": "Checks the \"same instance\" isomorphism is preserved within the constructor." }, "fqn": "jsii-calc.Isomorphism", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2500 + "line": 2741 }, "methods": [ { @@ -6648,7 +6784,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2501 + "line": 2742 }, "name": "myself", "returns": { @@ -6673,7 +6809,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 15 + "line": 17 }, "parameters": [ { @@ -6687,7 +6823,7 @@ "kind": "class", "locationInModule": { "filename": "lib/erasures.ts", - "line": 20 + "line": 24 }, "methods": [ { @@ -6696,7 +6832,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 21 + "line": 25 }, "name": "bar" }, @@ -6706,7 +6842,7 @@ }, "locationInModule": { "filename": "lib/erasures.ts", - "line": 24 + "line": 28 }, "name": "baz" } @@ -6720,7 +6856,7 @@ "immutable": true, "locationInModule": { "filename": "lib/erasures.ts", - "line": 15 + "line": 17 }, "name": "property", "protected": true, @@ -6736,7 +6872,11 @@ "stability": "experimental" }, "fqn": "jsii-calc.JSII417PublicBaseOfBase", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/erasures.ts", @@ -6794,11 +6934,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.JSObjectLiteralForInterface", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 507 + "line": 517 }, "methods": [ { @@ -6807,7 +6951,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 509 + "line": 518 }, "name": "giveMeFriendly", "returns": { @@ -6822,7 +6966,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 515 + "line": 524 }, "name": "giveMeFriendlyGenerator", "returns": { @@ -6840,11 +6984,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.JSObjectLiteralToNative", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 233 + "line": 247 }, "methods": [ { @@ -6853,7 +7001,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 234 + "line": 248 }, "name": "returnLiteral", "returns": { @@ -6871,11 +7019,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.JSObjectLiteralToNativeClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 242 + "line": 256 }, "name": "JSObjectLiteralToNativeClass", "properties": [ @@ -6885,7 +7037,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 243 + "line": 257 }, "name": "propA", "type": { @@ -6898,7 +7050,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 244 + "line": 258 }, "name": "propB", "type": { @@ -6913,11 +7065,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.JavaReservedWords", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 736 + "line": 745 }, "methods": [ { @@ -6926,7 +7082,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 737 + "line": 746 }, "name": "abstract" }, @@ -6936,7 +7092,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 740 + "line": 750 }, "name": "assert" }, @@ -6946,7 +7102,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 743 + "line": 754 }, "name": "boolean" }, @@ -6956,7 +7112,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 746 + "line": 758 }, "name": "break" }, @@ -6966,7 +7122,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 749 + "line": 762 }, "name": "byte" }, @@ -6976,7 +7132,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 752 + "line": 766 }, "name": "case" }, @@ -6986,7 +7142,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 755 + "line": 770 }, "name": "catch" }, @@ -6996,7 +7152,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 758 + "line": 774 }, "name": "char" }, @@ -7006,7 +7162,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 761 + "line": 778 }, "name": "class" }, @@ -7016,7 +7172,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 764 + "line": 782 }, "name": "const" }, @@ -7026,7 +7182,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 767 + "line": 786 }, "name": "continue" }, @@ -7036,7 +7192,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 770 + "line": 790 }, "name": "default" }, @@ -7046,7 +7202,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 776 + "line": 798 }, "name": "do" }, @@ -7056,7 +7212,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 773 + "line": 794 }, "name": "double" }, @@ -7066,7 +7222,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 779 + "line": 802 }, "name": "else" }, @@ -7076,7 +7232,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 782 + "line": 806 }, "name": "enum" }, @@ -7086,7 +7242,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 785 + "line": 810 }, "name": "extends" }, @@ -7096,7 +7252,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 788 + "line": 814 }, "name": "false" }, @@ -7106,7 +7262,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 791 + "line": 818 }, "name": "final" }, @@ -7116,7 +7272,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 794 + "line": 822 }, "name": "finally" }, @@ -7126,7 +7282,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 797 + "line": 826 }, "name": "float" }, @@ -7136,7 +7292,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 800 + "line": 830 }, "name": "for" }, @@ -7146,7 +7302,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 803 + "line": 834 }, "name": "goto" }, @@ -7156,7 +7312,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 806 + "line": 838 }, "name": "if" }, @@ -7166,7 +7322,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 809 + "line": 842 }, "name": "implements" }, @@ -7176,7 +7332,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 812 + "line": 846 }, "name": "import" }, @@ -7186,7 +7342,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 815 + "line": 850 }, "name": "instanceof" }, @@ -7196,7 +7352,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 818 + "line": 854 }, "name": "int" }, @@ -7206,7 +7362,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 821 + "line": 858 }, "name": "interface" }, @@ -7216,7 +7372,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 824 + "line": 862 }, "name": "long" }, @@ -7226,7 +7382,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 827 + "line": 866 }, "name": "native" }, @@ -7236,7 +7392,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 830 + "line": 870 }, "name": "new" }, @@ -7246,7 +7402,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 833 + "line": 874 }, "name": "null" }, @@ -7256,7 +7412,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 836 + "line": 878 }, "name": "package" }, @@ -7266,7 +7422,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 839 + "line": 882 }, "name": "private" }, @@ -7276,7 +7432,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 842 + "line": 886 }, "name": "protected" }, @@ -7286,7 +7442,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 845 + "line": 890 }, "name": "public" }, @@ -7296,7 +7452,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 848 + "line": 894 }, "name": "return" }, @@ -7306,7 +7462,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 851 + "line": 898 }, "name": "short" }, @@ -7316,7 +7472,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 854 + "line": 902 }, "name": "static" }, @@ -7326,7 +7482,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 857 + "line": 906 }, "name": "strictfp" }, @@ -7336,7 +7492,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 860 + "line": 910 }, "name": "super" }, @@ -7346,7 +7502,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 863 + "line": 914 }, "name": "switch" }, @@ -7356,7 +7512,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 866 + "line": 918 }, "name": "synchronized" }, @@ -7366,7 +7522,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 869 + "line": 922 }, "name": "this" }, @@ -7376,7 +7532,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 872 + "line": 926 }, "name": "throw" }, @@ -7386,7 +7542,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 875 + "line": 930 }, "name": "throws" }, @@ -7396,7 +7552,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 878 + "line": 934 }, "name": "transient" }, @@ -7406,7 +7562,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 881 + "line": 938 }, "name": "true" }, @@ -7416,7 +7572,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 884 + "line": 942 }, "name": "try" }, @@ -7426,7 +7582,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 887 + "line": 946 }, "name": "void" }, @@ -7436,7 +7592,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 890 + "line": 950 }, "name": "volatile" } @@ -7449,7 +7605,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 893 + "line": 954 }, "name": "while", "type": { @@ -7464,7 +7620,11 @@ "stability": "experimental" }, "fqn": "jsii-calc.Jsii487Derived", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IJsii487External2", "jsii-calc.IJsii487External" @@ -7472,7 +7632,7 @@ "kind": "class", "locationInModule": { "filename": "lib/erasures.ts", - "line": 48 + "line": 56 }, "name": "Jsii487Derived" }, @@ -7481,15 +7641,19 @@ "docs": { "stability": "experimental" }, - "fqn": "jsii-calc.Jsii496Derived", - "initializer": {}, + "fqn": "jsii-calc.Jsii496Derived", + "initializer": { + "docs": { + "stability": "experimental" + } + }, "interfaces": [ "jsii-calc.IJsii496" ], "kind": "class", "locationInModule": { "filename": "lib/erasures.ts", - "line": 56 + "line": 66 }, "name": "Jsii496Derived" }, @@ -7500,11 +7664,15 @@ "summary": "Host runtime version should be set via JSII_AGENT." }, "fqn": "jsii-calc.JsiiAgent", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1368 + "line": 1528 }, "name": "JsiiAgent", "properties": [ @@ -7516,7 +7684,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1372 + "line": 1532 }, "name": "jsiiAgent", "optional": true, @@ -7538,7 +7706,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2343 + "line": 2575 }, "methods": [ { @@ -7547,7 +7715,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2388 + "line": 2620 }, "name": "anyArray", "returns": { @@ -7563,7 +7731,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2384 + "line": 2616 }, "name": "anyBooleanFalse", "returns": { @@ -7579,7 +7747,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2380 + "line": 2612 }, "name": "anyBooleanTrue", "returns": { @@ -7595,7 +7763,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2360 + "line": 2592 }, "name": "anyDate", "returns": { @@ -7611,7 +7779,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2376 + "line": 2608 }, "name": "anyEmptyString", "returns": { @@ -7627,7 +7795,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2356 + "line": 2588 }, "name": "anyFunction", "returns": { @@ -7643,7 +7811,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2392 + "line": 2624 }, "name": "anyHash", "returns": { @@ -7659,7 +7827,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2348 + "line": 2580 }, "name": "anyNull", "returns": { @@ -7675,7 +7843,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2364 + "line": 2596 }, "name": "anyNumber", "returns": { @@ -7691,7 +7859,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2396 + "line": 2628 }, "name": "anyRef", "returns": { @@ -7707,7 +7875,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2372 + "line": 2604 }, "name": "anyString", "returns": { @@ -7723,7 +7891,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2352 + "line": 2584 }, "name": "anyUndefined", "returns": { @@ -7739,7 +7907,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2368 + "line": 2600 }, "name": "anyZero", "returns": { @@ -7755,7 +7923,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2344 + "line": 2576 }, "name": "stringify", "parameters": [ @@ -7789,7 +7957,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1280 + "line": 1439 }, "name": "LoadBalancedFargateServiceProps", "properties": [ @@ -7804,7 +7972,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1323 + "line": 1482 }, "name": "containerPort", "optional": true, @@ -7823,7 +7991,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1294 + "line": 1453 }, "name": "cpu", "optional": true, @@ -7842,7 +8010,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1316 + "line": 1475 }, "name": "memoryMiB", "optional": true, @@ -7860,7 +8028,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1330 + "line": 1489 }, "name": "publicLoadBalancer", "optional": true, @@ -7878,7 +8046,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1337 + "line": 1496 }, "name": "publicTasks", "optional": true, @@ -7894,11 +8062,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.MethodNamedProperty", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 386 + "line": 396 }, "methods": [ { @@ -7907,7 +8079,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 387 + "line": 397 }, "name": "property", "returns": { @@ -7926,7 +8098,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 391 + "line": 401 }, "name": "elite", "type": { @@ -7950,7 +8122,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 43 + "line": 49 }, "parameters": [ { @@ -7980,7 +8152,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 68 + "line": 74 }, "methods": [ { @@ -7990,7 +8162,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 81 + "line": 88 }, "name": "farewell", "overrides": "jsii-calc.IFriendlier", @@ -8007,7 +8179,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 77 + "line": 84 }, "name": "goodbye", "overrides": "jsii-calc.IFriendlier", @@ -8024,7 +8196,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 85 + "line": 92 }, "name": "next", "overrides": "jsii-calc.IRandomNumberGenerator", @@ -8041,7 +8213,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 73 + "line": 80 }, "name": "toString", "overrides": "@scope/jsii-calc-lib.Operation", @@ -8062,7 +8234,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 69 + "line": 76 }, "name": "value", "overrides": "@scope/jsii-calc-lib.Value", @@ -8086,7 +8258,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 94 + "line": 101 }, "parameters": [ { @@ -8103,7 +8275,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 102 + "line": 109 }, "methods": [ { @@ -8113,7 +8285,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 119 + "line": 126 }, "name": "farewell", "overrides": "jsii-calc.IFriendlier", @@ -8130,7 +8302,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 115 + "line": 122 }, "name": "goodbye", "overrides": "jsii-calc.IFriendlier", @@ -8147,7 +8319,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 111 + "line": 118 }, "name": "hello", "overrides": "@scope/jsii-calc-lib.IFriendly", @@ -8164,7 +8336,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 107 + "line": 114 }, "name": "toString", "overrides": "@scope/jsii-calc-lib.Operation", @@ -8185,7 +8357,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 103 + "line": 110 }, "name": "value", "overrides": "@scope/jsii-calc-lib.Value", @@ -8205,7 +8377,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2216 + "line": 2449 }, "name": "NestedStruct", "properties": [ @@ -8218,7 +8390,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2220 + "line": 2453 }, "name": "numberProp", "type": { @@ -8234,11 +8406,15 @@ "summary": "Test fixture to verify that jsii modules can use the node standard library." }, "fqn": "jsii-calc.NodeStandardLibrary", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1002 + "line": 1126 }, "methods": [ { @@ -8249,7 +8425,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1031 + "line": 1157 }, "name": "cryptoSha256", "returns": { @@ -8267,7 +8443,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1007 + "line": 1131 }, "name": "fsReadFile", "returns": { @@ -8284,7 +8460,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1016 + "line": 1140 }, "name": "fsReadFileSync", "returns": { @@ -8304,7 +8480,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1023 + "line": 1149 }, "name": "osPlatform", "type": { @@ -8326,7 +8502,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1232 + "line": 1369 }, "parameters": [ { @@ -8347,7 +8523,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1229 + "line": 1366 }, "methods": [ { @@ -8356,7 +8532,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1238 + "line": 1377 }, "name": "giveMeUndefined", "parameters": [ @@ -8375,7 +8551,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1244 + "line": 1387 }, "name": "giveMeUndefinedInsideAnObject", "parameters": [ @@ -8393,7 +8569,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1259 + "line": 1416 }, "name": "verifyPropertyIsUndefined" } @@ -8406,7 +8582,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1230 + "line": 1367 }, "name": "changeMeToUndefined", "optional": true, @@ -8426,7 +8602,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1266 + "line": 1425 }, "name": "NullShouldBeTreatedAsUndefinedData", "properties": [ @@ -8438,7 +8614,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1268 + "line": 1427 }, "name": "arrayWithThreeElementsAndUndefinedAsSecondArgument", "type": { @@ -8458,7 +8634,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1267 + "line": 1426 }, "name": "thisShouldBeUndefined", "optional": true, @@ -8481,7 +8657,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 494 + "line": 506 }, "parameters": [ { @@ -8495,7 +8671,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 493 + "line": 505 }, "methods": [ { @@ -8504,7 +8680,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 502 + "line": 512 }, "name": "isSameGenerator", "parameters": [ @@ -8527,7 +8703,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 498 + "line": 508 }, "name": "nextTimes100", "returns": { @@ -8545,7 +8721,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 494 + "line": 506 }, "name": "generator", "type": { @@ -8561,11 +8737,15 @@ "summary": "Verify that object references can be passed inside collections." }, "fqn": "jsii-calc.ObjectRefsInCollections", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 250 + "line": 264 }, "methods": [ { @@ -8575,7 +8755,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 254 + "line": 268 }, "name": "sumFromArray", "parameters": [ @@ -8604,7 +8784,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 265 + "line": 279 }, "name": "sumFromMap", "parameters": [ @@ -8638,7 +8818,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2316 + "line": 2546 }, "methods": [ { @@ -8647,7 +8827,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2317 + "line": 2547 }, "name": "provide", "returns": { @@ -8668,11 +8848,15 @@ "summary": "Old class." }, "fqn": "jsii-calc.Old", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/documented.ts", - "line": 54 + "line": 53 }, "methods": [ { @@ -8682,7 +8866,7 @@ }, "locationInModule": { "filename": "lib/documented.ts", - "line": 58 + "line": 57 }, "name": "doAThing" } @@ -8701,7 +8885,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1101 + "line": 1224 }, "parameters": [ { @@ -8715,7 +8899,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1100 + "line": 1223 }, "methods": [ { @@ -8724,7 +8908,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1107 + "line": 1232 }, "name": "invokeWithOptional" }, @@ -8734,7 +8918,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1103 + "line": 1228 }, "name": "invokeWithoutOptional" } @@ -8753,7 +8937,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 296 + "line": 310 }, "parameters": [ { @@ -8780,7 +8964,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 295 + "line": 309 }, "name": "OptionalConstructorArgument", "properties": [ @@ -8791,7 +8975,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 296 + "line": 311 }, "name": "arg1", "type": { @@ -8805,7 +8989,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 297 + "line": 312 }, "name": "arg2", "type": { @@ -8819,7 +9003,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 298 + "line": 313 }, "name": "arg3", "optional": true, @@ -8839,7 +9023,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1675 + "line": 1867 }, "name": "OptionalStruct", "properties": [ @@ -8851,7 +9035,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1676 + "line": 1868 }, "name": "field", "optional": true, @@ -8873,7 +9057,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1670 + "line": 1862 }, "parameters": [ { @@ -8888,7 +9072,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1666 + "line": 1858 }, "name": "OptionalStructConsumer", "properties": [ @@ -8899,7 +9083,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1667 + "line": 1859 }, "name": "parameterWasUndefined", "type": { @@ -8913,7 +9097,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1668 + "line": 1860 }, "name": "fieldValue", "optional": true, @@ -8930,11 +9114,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.OverridableProtectedMember", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1932 + "line": 2135 }, "methods": [ { @@ -8943,7 +9131,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1944 + "line": 2147 }, "name": "overrideMe", "protected": true, @@ -8959,7 +9147,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1940 + "line": 2143 }, "name": "switchModes" }, @@ -8969,7 +9157,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1936 + "line": 2139 }, "name": "valueFromProtected", "returns": { @@ -8988,7 +9176,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1933 + "line": 2136 }, "name": "overrideReadOnly", "protected": true, @@ -9002,7 +9190,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1934 + "line": 2137 }, "name": "overrideReadWrite", "protected": true, @@ -9018,11 +9206,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.OverrideReturnsObject", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 637 + "line": 645 }, "methods": [ { @@ -9031,7 +9223,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 638 + "line": 646 }, "name": "test", "parameters": [ @@ -9062,7 +9254,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2266 + "line": 2498 }, "name": "ParentStruct982", "properties": [ @@ -9074,7 +9266,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2267 + "line": 2499 }, "name": "foo", "type": { @@ -9090,11 +9282,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.PartiallyInitializedThisConsumer", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1649 + "line": 1833 }, "methods": [ { @@ -9104,7 +9300,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1650 + "line": 1834 }, "name": "consumePartiallyInitializedThis", "parameters": [ @@ -9142,11 +9338,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.Polymorphism", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 483 + "line": 495 }, "methods": [ { @@ -9155,7 +9355,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 484 + "line": 496 }, "name": "sayHello", "parameters": [ @@ -9190,7 +9390,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 218 + "line": 227 }, "parameters": [ { @@ -9216,7 +9416,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 211 + "line": 221 }, "name": "Power", "properties": [ @@ -9228,7 +9428,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 218 + "line": 227 }, "name": "base", "type": { @@ -9244,7 +9444,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 222 + "line": 231 }, "name": "expression", "overrides": "jsii-calc.composition.CompositeOperation", @@ -9260,7 +9460,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 218 + "line": 227 }, "name": "pow", "type": { @@ -9276,11 +9476,15 @@ "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": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 382 + "line": 392 }, "name": "PropertyNamedProperty", "properties": [ @@ -9291,7 +9495,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 383 + "line": 393 }, "name": "property", "type": { @@ -9305,7 +9509,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 384 + "line": 394 }, "name": "yetAnoterOne", "type": { @@ -9320,11 +9524,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.PublicClass", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1393 + "line": 1553 }, "methods": [ { @@ -9333,7 +9541,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1394 + "line": 1554 }, "name": "hello" } @@ -9346,11 +9554,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.PythonReservedWords", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 896 + "line": 957 }, "methods": [ { @@ -9359,7 +9571,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 898 + "line": 958 }, "name": "and" }, @@ -9369,7 +9581,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 900 + "line": 962 }, "name": "as" }, @@ -9379,7 +9591,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 902 + "line": 966 }, "name": "assert" }, @@ -9389,7 +9601,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 904 + "line": 970 }, "name": "async" }, @@ -9399,7 +9611,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 906 + "line": 974 }, "name": "await" }, @@ -9409,7 +9621,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 908 + "line": 978 }, "name": "break" }, @@ -9419,7 +9631,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 910 + "line": 982 }, "name": "class" }, @@ -9429,7 +9641,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 912 + "line": 986 }, "name": "continue" }, @@ -9439,7 +9651,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 914 + "line": 990 }, "name": "def" }, @@ -9449,7 +9661,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 916 + "line": 994 }, "name": "del" }, @@ -9459,7 +9671,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 918 + "line": 998 }, "name": "elif" }, @@ -9469,7 +9681,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 920 + "line": 1002 }, "name": "else" }, @@ -9479,7 +9691,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 922 + "line": 1006 }, "name": "except" }, @@ -9489,7 +9701,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 924 + "line": 1010 }, "name": "finally" }, @@ -9499,7 +9711,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 926 + "line": 1014 }, "name": "for" }, @@ -9509,7 +9721,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 928 + "line": 1018 }, "name": "from" }, @@ -9519,7 +9731,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 930 + "line": 1022 }, "name": "global" }, @@ -9529,7 +9741,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 932 + "line": 1026 }, "name": "if" }, @@ -9539,7 +9751,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 934 + "line": 1030 }, "name": "import" }, @@ -9549,7 +9761,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 936 + "line": 1034 }, "name": "in" }, @@ -9559,7 +9771,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 938 + "line": 1038 }, "name": "is" }, @@ -9569,7 +9781,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 940 + "line": 1042 }, "name": "lambda" }, @@ -9579,7 +9791,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 942 + "line": 1046 }, "name": "nonlocal" }, @@ -9589,7 +9801,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 944 + "line": 1050 }, "name": "not" }, @@ -9599,7 +9811,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 946 + "line": 1054 }, "name": "or" }, @@ -9609,7 +9821,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 948 + "line": 1058 }, "name": "pass" }, @@ -9619,7 +9831,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 950 + "line": 1062 }, "name": "raise" }, @@ -9629,7 +9841,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 952 + "line": 1066 }, "name": "return" }, @@ -9639,7 +9851,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 954 + "line": 1070 }, "name": "try" }, @@ -9649,7 +9861,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 956 + "line": 1074 }, "name": "while" }, @@ -9659,7 +9871,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 958 + "line": 1078 }, "name": "with" }, @@ -9669,7 +9881,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 960 + "line": 1082 }, "name": "yield" } @@ -9688,7 +9900,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 968 + "line": 1092 }, "parameters": [ { @@ -9702,7 +9914,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 967 + "line": 1091 }, "methods": [ { @@ -9711,7 +9923,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 970 + "line": 1094 }, "name": "method", "parameters": [ @@ -9739,7 +9951,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 968 + "line": 1092 }, "name": "self", "type": { @@ -9760,7 +9972,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 976 + "line": 1100 }, "parameters": [ { @@ -9774,7 +9986,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 975 + "line": 1099 }, "name": "ClassWithSelfKwarg", "namespace": "PythonSelf", @@ -9786,7 +9998,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 976 + "line": 1100 }, "name": "props", "type": { @@ -9804,7 +10016,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 983 + "line": 1107 }, "methods": [ { @@ -9814,7 +10026,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 984 + "line": 1108 }, "name": "method", "parameters": [ @@ -9845,7 +10057,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 979 + "line": 1103 }, "name": "StructWithSelf", "namespace": "PythonSelf", @@ -9858,7 +10070,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 980 + "line": 1104 }, "name": "self", "type": { @@ -9874,11 +10086,15 @@ "summary": "See awslabs/jsii#138." }, "fqn": "jsii-calc.ReferenceEnumFromScopedPackage", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1057 + "line": 1183 }, "methods": [ { @@ -9887,7 +10103,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1060 + "line": 1186 }, "name": "loadFoo", "returns": { @@ -9903,7 +10119,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1064 + "line": 1190 }, "name": "saveFoo", "parameters": [ @@ -9924,7 +10140,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1058 + "line": 1184 }, "name": "foo", "optional": true, @@ -9943,11 +10159,15 @@ "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": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1348 + "line": 1507 }, "name": "ReturnsPrivateImplementationOfInterface", "properties": [ @@ -9958,7 +10178,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1349 + "line": 1508 }, "name": "privateImplementation", "type": { @@ -9979,7 +10199,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2209 + "line": 2442 }, "name": "RootStruct", "properties": [ @@ -9992,7 +10212,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2213 + "line": 2446 }, "name": "stringProp", "type": { @@ -10007,7 +10227,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2214 + "line": 2447 }, "name": "nestedStruct", "optional": true, @@ -10026,7 +10246,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2222 + "line": 2455 }, "methods": [ { @@ -10035,7 +10255,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2223 + "line": 2456 }, "name": "validate", "parameters": [ @@ -10057,11 +10277,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.RuntimeTypeChecking", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 274 + "line": 288 }, "methods": [ { @@ -10070,7 +10294,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 284 + "line": 296 }, "name": "methodWithDefaultedArguments", "parameters": [ @@ -10103,7 +10327,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 290 + "line": 304 }, "name": "methodWithOptionalAnyArgument", "parameters": [ @@ -10123,7 +10347,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 278 + "line": 292 }, "name": "methodWithOptionalArguments", "parameters": [ @@ -10161,7 +10385,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1824 + "line": 2014 }, "name": "SecondLevelStruct", "properties": [ @@ -10174,7 +10398,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1828 + "line": 2018 }, "name": "deeperRequiredProp", "type": { @@ -10190,7 +10414,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1833 + "line": 2023 }, "name": "deeperOptionalProp", "optional": true, @@ -10208,11 +10432,15 @@ "summary": "Test that a single instance can be returned under two different FQNs." }, "fqn": "jsii-calc.SingleInstanceTwoTypes", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1455 + "line": 1624 }, "methods": [ { @@ -10221,7 +10449,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1458 + "line": 1627 }, "name": "interface1", "returns": { @@ -10236,7 +10464,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1462 + "line": 1631 }, "name": "interface2", "returns": { @@ -10259,7 +10487,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1776 + "line": 1966 }, "methods": [ { @@ -10268,7 +10496,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1778 + "line": 1968 }, "name": "isSingletonInt", "parameters": [ @@ -10298,7 +10526,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1783 + "line": 1973 }, "members": [ { @@ -10322,7 +10550,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1759 + "line": 1949 }, "methods": [ { @@ -10331,7 +10559,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1762 + "line": 1952 }, "name": "isSingletonString", "parameters": [ @@ -10361,7 +10589,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1767 + "line": 1957 }, "members": [ { @@ -10384,7 +10612,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/calculator.ts", - "line": 393 + "line": 403 }, "name": "SmellyStruct", "properties": [ @@ -10396,7 +10624,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 394 + "line": 404 }, "name": "property", "type": { @@ -10411,7 +10639,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 395 + "line": 405 }, "name": "yetAnoterOne", "type": { @@ -10426,11 +10654,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.SomeTypeJsii976", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2246 + "line": 2479 }, "methods": [ { @@ -10439,7 +10671,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2256 + "line": 2488 }, "name": "returnAnonymous", "returns": { @@ -10455,7 +10687,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2248 + "line": 2480 }, "name": "returnReturn", "returns": { @@ -10480,7 +10712,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 57 + "line": 59 }, "parameters": [ { @@ -10501,7 +10733,7 @@ "kind": "class", "locationInModule": { "filename": "lib/stability.ts", - "line": 51 + "line": 53 }, "methods": [ { @@ -10510,7 +10742,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 62 + "line": 64 }, "name": "method" } @@ -10524,7 +10756,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 53 + "line": 55 }, "name": "readonlyProperty", "type": { @@ -10537,7 +10769,7 @@ }, "locationInModule": { "filename": "lib/stability.ts", - "line": 55 + "line": 57 }, "name": "mutableProperty", "optional": true, @@ -10556,7 +10788,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/stability.ts", - "line": 65 + "line": 69 }, "members": [ { @@ -10584,7 +10816,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/stability.ts", - "line": 39 + "line": 41 }, "name": "StableStruct", "properties": [ @@ -10596,7 +10828,7 @@ "immutable": true, "locationInModule": { "filename": "lib/stability.ts", - "line": 41 + "line": 43 }, "name": "readonlyProperty", "type": { @@ -10616,7 +10848,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1702 + "line": 1892 }, "methods": [ { @@ -10625,7 +10857,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1705 + "line": 1895 }, "name": "canAccessStaticContext", "returns": { @@ -10644,7 +10876,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1713 + "line": 1903 }, "name": "staticVariable", "static": true, @@ -10666,7 +10898,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 682 + "line": 690 }, "parameters": [ { @@ -10680,7 +10912,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 681 + "line": 689 }, "methods": [ { @@ -10690,7 +10922,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 689 + "line": 696 }, "name": "staticMethod", "parameters": [ @@ -10717,7 +10949,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 693 + "line": 700 }, "name": "justMethod", "returns": { @@ -10738,7 +10970,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 705 + "line": 712 }, "name": "BAR", "static": true, @@ -10754,7 +10986,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 732 + "line": 741 }, "name": "ConstObj", "static": true, @@ -10771,7 +11003,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 700 + "line": 707 }, "name": "Foo", "static": true, @@ -10788,7 +11020,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 710 + "line": 717 }, "name": "zooBar", "static": true, @@ -10809,7 +11041,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 717 + "line": 726 }, "name": "instance", "static": true, @@ -10823,7 +11055,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 731 + "line": 740 }, "name": "nonConstStatic", "static": true, @@ -10838,7 +11070,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 682 + "line": 690 }, "name": "value", "type": { @@ -10856,7 +11088,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 28 + "line": 39 }, "members": [ { @@ -10886,11 +11118,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.StripInternal", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1505 + "line": 1677 }, "name": "StripInternal", "properties": [ @@ -10900,7 +11136,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1506 + "line": 1678 }, "name": "youSeeMe", "type": { @@ -10920,7 +11156,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2028 + "line": 2240 }, "name": "StructA", "properties": [ @@ -10932,7 +11168,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2029 + "line": 2241 }, "name": "requiredString", "type": { @@ -10947,7 +11183,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2031 + "line": 2243 }, "name": "optionalNumber", "optional": true, @@ -10963,7 +11199,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2030 + "line": 2242 }, "name": "optionalString", "optional": true, @@ -10984,7 +11220,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2037 + "line": 2249 }, "name": "StructB", "properties": [ @@ -10996,7 +11232,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2038 + "line": 2250 }, "name": "requiredString", "type": { @@ -11011,7 +11247,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2039 + "line": 2251 }, "name": "optionalBoolean", "optional": true, @@ -11027,7 +11263,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2040 + "line": 2252 }, "name": "optionalStructA", "optional": true, @@ -11049,7 +11285,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2446 + "line": 2678 }, "name": "StructParameterType", "properties": [ @@ -11061,7 +11297,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2447 + "line": 2679 }, "name": "scope", "type": { @@ -11076,7 +11312,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2448 + "line": 2680 }, "name": "props", "optional": true, @@ -11093,11 +11329,15 @@ "summary": "Just because we can." }, "fqn": "jsii-calc.StructPassing", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1878 + "line": 2072 }, "methods": [ { @@ -11106,7 +11346,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1887 + "line": 2084 }, "name": "howManyVarArgsDidIPass", "parameters": [ @@ -11138,7 +11378,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1879 + "line": 2073 }, "name": "roundTrip", "parameters": [ @@ -11174,7 +11414,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2042 + "line": 2254 }, "methods": [ { @@ -11183,7 +11423,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2043 + "line": 2255 }, "name": "isStructA", "parameters": [ @@ -11216,7 +11456,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2053 + "line": 2276 }, "name": "isStructB", "parameters": [ @@ -11256,7 +11496,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1852 + "line": 2046 }, "name": "StructWithJavaReservedWords", "properties": [ @@ -11268,7 +11508,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1853 + "line": 2047 }, "name": "default", "type": { @@ -11283,7 +11523,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1854 + "line": 2048 }, "name": "assert", "optional": true, @@ -11299,7 +11539,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1857 + "line": 2051 }, "name": "result", "optional": true, @@ -11315,7 +11555,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1858 + "line": 2052 }, "name": "that", "optional": true, @@ -11339,13 +11579,13 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 195 + "line": 205 } }, "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 186 + "line": 197 }, "name": "Sum", "properties": [ @@ -11358,7 +11598,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 199 + "line": 209 }, "name": "expression", "overrides": "jsii-calc.composition.CompositeOperation", @@ -11373,7 +11613,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 191 + "line": 201 }, "name": "parts", "type": { @@ -11400,7 +11640,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1975 + "line": 2181 }, "parameters": [ { @@ -11448,7 +11688,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1965 + "line": 2171 }, "name": "SupportsNiceJavaBuilder", "properties": [ @@ -11460,7 +11700,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1975 + "line": 2182 }, "name": "id", "overrides": "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", @@ -11475,7 +11715,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1966 + "line": 2172 }, "name": "rest", "type": { @@ -11499,7 +11739,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1980 + "line": 2191 }, "name": "SupportsNiceJavaBuilderProps", "properties": [ @@ -11512,7 +11752,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1990 + "line": 2201 }, "name": "bar", "type": { @@ -11529,7 +11769,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1985 + "line": 2196 }, "name": "id", "optional": true, @@ -11552,7 +11792,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1960 + "line": 2163 }, "parameters": [ { @@ -11578,7 +11818,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1952 + "line": 2155 }, "name": "SupportsNiceJavaBuilderWithRequiredProps", "properties": [ @@ -11589,7 +11829,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1954 + "line": 2157 }, "name": "bar", "type": { @@ -11604,7 +11844,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1960 + "line": 2164 }, "name": "id", "type": { @@ -11618,7 +11858,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1953 + "line": 2156 }, "name": "propId", "optional": true, @@ -11634,11 +11874,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.SyncVirtualMethods", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 360 + "line": 376 }, "methods": [ { @@ -11648,7 +11892,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 373 + "line": 389 }, "name": "callerIsAsync", "returns": { @@ -11663,7 +11907,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 361 + "line": 377 }, "name": "callerIsMethod", "returns": { @@ -11678,7 +11922,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 413 + "line": 429 }, "name": "modifyOtherProperty", "parameters": [ @@ -11696,7 +11940,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 385 + "line": 401 }, "name": "modifyValueOfTheProperty", "parameters": [ @@ -11714,7 +11958,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 426 + "line": 442 }, "name": "readA", "returns": { @@ -11729,7 +11973,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 417 + "line": 433 }, "name": "retrieveOtherProperty", "returns": { @@ -11744,7 +11988,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 397 + "line": 413 }, "name": "retrieveReadOnlyProperty", "returns": { @@ -11759,7 +12003,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 389 + "line": 405 }, "name": "retrieveValueOfTheProperty", "returns": { @@ -11774,7 +12018,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 377 + "line": 393 }, "name": "virtualMethod", "parameters": [ @@ -11797,7 +12041,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 430 + "line": 446 }, "name": "writeA", "parameters": [ @@ -11819,7 +12063,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 395 + "line": 411 }, "name": "readonlyProperty", "type": { @@ -11832,7 +12076,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 424 + "line": 440 }, "name": "a", "type": { @@ -11845,7 +12089,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 365 + "line": 381 }, "name": "callerIsProperty", "type": { @@ -11858,7 +12102,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 403 + "line": 419 }, "name": "otherProperty", "type": { @@ -11871,7 +12115,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 383 + "line": 399 }, "name": "theProperty", "type": { @@ -11884,7 +12128,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 411 + "line": 427 }, "name": "valueOfOtherProperty", "type": { @@ -11899,11 +12143,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.Thrower", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 643 + "line": 651 }, "methods": [ { @@ -11912,7 +12160,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 644 + "line": 652 }, "name": "throwError" } @@ -11929,7 +12177,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1807 + "line": 1997 }, "name": "TopLevelStruct", "properties": [ @@ -11942,7 +12190,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1811 + "line": 2001 }, "name": "required", "type": { @@ -11958,7 +12206,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1821 + "line": 2011 }, "name": "secondLevel", "type": { @@ -11983,7 +12231,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1816 + "line": 2006 }, "name": "optional", "optional": true, @@ -12004,7 +12252,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2511 + "line": 2752 }, "methods": [ { @@ -12014,7 +12262,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2515 + "line": 2756 }, "name": "mode", "returns": { @@ -12042,7 +12290,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 94 + "line": 101 }, "parameters": [ { @@ -12056,7 +12304,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 93 + "line": 100 }, "name": "UnaryOperation", "properties": [ @@ -12067,7 +12315,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 94 + "line": 101 }, "name": "operand", "type": { @@ -12086,7 +12334,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 988 + "line": 1112 }, "name": "UnionProperties", "properties": [ @@ -12098,7 +12346,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 990 + "line": 1114 }, "name": "bar", "type": { @@ -12125,7 +12373,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 989 + "line": 1113 }, "name": "foo", "optional": true, @@ -12227,11 +12475,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.UseBundledDependency", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 993 + "line": 1117 }, "methods": [ { @@ -12240,7 +12492,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 994 + "line": 1118 }, "name": "value", "returns": { @@ -12259,11 +12511,15 @@ "summary": "Depend on a type from jsii-calc-base as a test for awslabs/jsii#128." }, "fqn": "jsii-calc.UseCalcBase", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1042 + "line": 1168 }, "methods": [ { @@ -12272,7 +12528,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1043 + "line": 1169 }, "name": "hello", "returns": { @@ -12296,7 +12552,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 588 + "line": 597 }, "parameters": [ { @@ -12310,7 +12566,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 587 + "line": 596 }, "methods": [ { @@ -12319,7 +12575,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 592 + "line": 599 }, "name": "justRead", "returns": { @@ -12334,7 +12590,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 601 + "line": 608 }, "name": "readStringAndNumber", "parameters": [ @@ -12357,7 +12613,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 596 + "line": 603 }, "name": "writeAndRead", "parameters": [ @@ -12384,7 +12640,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 588 + "line": 597 }, "name": "obj", "type": { @@ -12405,7 +12661,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 673 + "line": 681 }, "parameters": [ { @@ -12419,7 +12675,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 672 + "line": 680 }, "methods": [ { @@ -12428,7 +12684,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 675 + "line": 683 }, "name": "asArray", "parameters": [ @@ -12467,7 +12723,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 659 + "line": 667 }, "parameters": [ { @@ -12486,7 +12742,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 653 + "line": 661 }, "methods": [ { @@ -12495,7 +12751,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 667 + "line": 675 }, "name": "asArray", "parameters": [ @@ -12540,11 +12796,15 @@ "stability": "experimental" }, "fqn": "jsii-calc.VirtualMethodPlayground", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 436 + "line": 451 }, "methods": [ { @@ -12554,7 +12814,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 464 + "line": 476 }, "name": "overrideMeAsync", "parameters": [ @@ -12577,7 +12837,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 468 + "line": 480 }, "name": "overrideMeSync", "parameters": [ @@ -12601,7 +12861,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 446 + "line": 458 }, "name": "parallelSumAsync", "parameters": [ @@ -12625,7 +12885,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 437 + "line": 452 }, "name": "serialSumAsync", "parameters": [ @@ -12648,7 +12908,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 456 + "line": 468 }, "name": "sumSync", "parameters": [ @@ -12677,11 +12937,15 @@ "summary": "This test is used to validate the runtimes can return correctly from a void callback." }, "fqn": "jsii-calc.VoidCallback", - "initializer": {}, + "initializer": { + "docs": { + "stability": "experimental" + } + }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1731 + "line": 1921 }, "methods": [ { @@ -12690,7 +12954,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1736 + "line": 1926 }, "name": "callMe" }, @@ -12701,7 +12965,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1740 + "line": 1930 }, "name": "overrideMe", "protected": true @@ -12716,7 +12980,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1733 + "line": 1923 }, "name": "methodWasCalled", "type": { @@ -12738,7 +13002,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1747 + "line": 1937 }, "parameters": [ { @@ -12753,7 +13017,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1746 + "line": 1936 }, "name": "WithPrivatePropertyInConstructor", "properties": [ @@ -12764,7 +13028,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1749 + "line": 1939 }, "name": "success", "type": { @@ -12786,7 +13050,7 @@ "kind": "class", "locationInModule": { "filename": "lib/calculator.ts", - "line": 131 + "line": 138 }, "methods": [ { @@ -12796,7 +13060,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 157 + "line": 164 }, "name": "toString", "overrides": "@scope/jsii-calc-lib.Operation", @@ -12820,7 +13084,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 155 + "line": 162 }, "name": "expression", "type": { @@ -12835,7 +13099,7 @@ "immutable": true, "locationInModule": { "filename": "lib/calculator.ts", - "line": 147 + "line": 154 }, "name": "value", "overrides": "@scope/jsii-calc-lib.Value", @@ -12850,7 +13114,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 145 + "line": 152 }, "name": "decorationPostfixes", "type": { @@ -12869,7 +13133,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 140 + "line": 147 }, "name": "decorationPrefixes", "type": { @@ -12888,7 +13152,7 @@ }, "locationInModule": { "filename": "lib/calculator.ts", - "line": 135 + "line": 142 }, "name": "stringStyle", "type": { @@ -12907,7 +13171,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/calculator.ts", - "line": 173 + "line": 184 }, "members": [ { @@ -13136,10 +13400,6 @@ "initializer": { "docs": { "stability": "experimental" - }, - "locationInModule": { - "filename": "lib/submodule/child/index.ts", - "line": 40 } }, "kind": "class", @@ -13308,7 +13568,7 @@ "kind": "class", "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 10 + "line": 12 }, "name": "Namespaced", "namespace": "submodule.nested_submodule", @@ -13320,7 +13580,7 @@ "immutable": true, "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 11 + "line": 13 }, "name": "definedAt", "overrides": "jsii-calc.submodule.nested_submodule.deeplyNested.INamespaced", @@ -13336,7 +13596,7 @@ "immutable": true, "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 12 + "line": 14 }, "name": "goodness", "type": { @@ -13354,7 +13614,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 5 + "line": 7 }, "name": "INamespaced", "namespace": "submodule.nested_submodule.deeplyNested", @@ -13367,7 +13627,7 @@ "immutable": true, "locationInModule": { "filename": "lib/submodule/nested_submodule.ts", - "line": 6 + "line": 8 }, "name": "definedAt", "type": { @@ -13378,5 +13638,5 @@ } }, "version": "0.0.0", - "fingerprint": "KrxhHrcWUKwxL1npAlOFVhDgFnYyrYUdmZw4cPNNAw0=" + "fingerprint": "c3/b9lGca4/F/AIsgaPF6iXNmRYOS7eOQHcQv3EsIDM=" } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClass.cs index 674cac8f98..c5f430d3f6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClass.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [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 { + /// + /// Stability: Experimental + /// protected AbstractClass(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBase.cs index 04bb8920c1..c018bf6110 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassBase.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassBase), fullyQualifiedName: "jsii-calc.AbstractClassBase")] public abstract class AbstractClassBase : DeputyBase { + /// + /// Stability: Experimental + /// protected AbstractClassBase(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassReturner.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassReturner.cs index c6b090cfca..26f008a08c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassReturner.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractClassReturner.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractClassReturner), fullyQualifiedName: "jsii-calc.AbstractClassReturner")] public class AbstractClassReturner : DeputyBase { + /// + /// Stability: Experimental + /// public AbstractClassReturner(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractSuite.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractSuite.cs index 265cc49202..905378a031 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractSuite.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AbstractSuite.cs @@ -11,6 +11,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AbstractSuite), fullyQualifiedName: "jsii-calc.AbstractSuite")] public abstract class AbstractSuite : DeputyBase { + /// + /// Stability: Experimental + /// protected AbstractSuite(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypes.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypes.cs index 2c19f2ae0f..ca35fc950d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypes.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllTypes.cs @@ -14,6 +14,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AllTypes), fullyQualifiedName: "jsii-calc.AllTypes")] public class AllTypes : DeputyBase { + /// + /// Stability: Experimental + /// public AllTypes(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllowedMethodNames.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllowedMethodNames.cs index bc997d179b..248de255a9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllowedMethodNames.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AllowedMethodNames.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AllowedMethodNames), fullyQualifiedName: "jsii-calc.AllowedMethodNames")] public class AllowedMethodNames : DeputyBase { + /// + /// Stability: Experimental + /// public AllowedMethodNames(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AnonymousImplementationProvider.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AnonymousImplementationProvider.cs index 30b741eff4..e34b931772 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AnonymousImplementationProvider.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AnonymousImplementationProvider.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AnonymousImplementationProvider), fullyQualifiedName: "jsii-calc.AnonymousImplementationProvider")] public class AnonymousImplementationProvider : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IAnonymousImplementationProvider { + /// + /// Stability: Experimental + /// public AnonymousImplementationProvider(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AsyncVirtualMethods.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AsyncVirtualMethods.cs index 111842b88f..caad1fc9ce 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AsyncVirtualMethods.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AsyncVirtualMethods.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AsyncVirtualMethods), fullyQualifiedName: "jsii-calc.AsyncVirtualMethods")] public class AsyncVirtualMethods : DeputyBase { + /// + /// Stability: Experimental + /// public AsyncVirtualMethods(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AugmentableClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AugmentableClass.cs index 8014391671..1216d19347 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AugmentableClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/AugmentableClass.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.AugmentableClass), fullyQualifiedName: "jsii-calc.AugmentableClass")] public class AugmentableClass : DeputyBase { + /// + /// Stability: Experimental + /// public AugmentableClass(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseJsii976.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseJsii976.cs index ddab3c0b59..b9509631d8 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseJsii976.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/BaseJsii976.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.BaseJsii976), fullyQualifiedName: "jsii-calc.BaseJsii976")] public class BaseJsii976 : DeputyBase { + /// + /// Stability: Experimental + /// public BaseJsii976(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Bell.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Bell.cs index 1422b6b179..91b7ceb145 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Bell.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Bell.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Bell), fullyQualifiedName: "jsii-calc.Bell")] public class Bell : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IBell { + /// + /// Stability: Experimental + /// public Bell(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsTheInternalInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsTheInternalInterface.cs index 1e95857ca2..7d810d48a8 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsTheInternalInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsTheInternalInterface.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassThatImplementsTheInternalInterface), fullyQualifiedName: "jsii-calc.ClassThatImplementsTheInternalInterface")] public class ClassThatImplementsTheInternalInterface : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.INonInternalInterface { + /// + /// Stability: Experimental + /// public ClassThatImplementsTheInternalInterface(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsThePrivateInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsThePrivateInterface.cs index d96eeb2564..c5aa4f8be2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsThePrivateInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassThatImplementsThePrivateInterface.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassThatImplementsThePrivateInterface), fullyQualifiedName: "jsii-calc.ClassThatImplementsThePrivateInterface")] public class ClassThatImplementsThePrivateInterface : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.INonInternalInterface { + /// + /// Stability: Experimental + /// public ClassThatImplementsThePrivateInterface(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithDocs.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithDocs.cs index b87ec598b3..b7fb921f50 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithDocs.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithDocs.cs @@ -21,6 +21,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithDocs), fullyQualifiedName: "jsii-calc.ClassWithDocs")] public class ClassWithDocs : DeputyBase { + /// + /// Stability: Experimental + /// public ClassWithDocs(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithMutableObjectLiteralProperty.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithMutableObjectLiteralProperty.cs index 75655eff04..65f58f1820 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithMutableObjectLiteralProperty.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ClassWithMutableObjectLiteralProperty.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ClassWithMutableObjectLiteralProperty), fullyQualifiedName: "jsii-calc.ClassWithMutableObjectLiteralProperty")] public class ClassWithMutableObjectLiteralProperty : DeputyBase { + /// + /// Stability: Experimental + /// public ClassWithMutableObjectLiteralProperty(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Constructors.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Constructors.cs index 55e7618385..a5ca9c72ac 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Constructors.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Constructors.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Constructors), fullyQualifiedName: "jsii-calc.Constructors")] public class Constructors : DeputyBase { + /// + /// Stability: Experimental + /// public Constructors(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumerCanRingBell.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumerCanRingBell.cs index 693e45d5e3..e03c2b5e9e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumerCanRingBell.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumerCanRingBell.cs @@ -14,6 +14,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumerCanRingBell), fullyQualifiedName: "jsii-calc.ConsumerCanRingBell")] public class ConsumerCanRingBell : DeputyBase { + /// + /// Stability: Experimental + /// public ConsumerCanRingBell(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumersOfThisCrazyTypeSystem.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumersOfThisCrazyTypeSystem.cs index ce7c6630f5..fd66628be6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumersOfThisCrazyTypeSystem.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ConsumersOfThisCrazyTypeSystem.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ConsumersOfThisCrazyTypeSystem), fullyQualifiedName: "jsii-calc.ConsumersOfThisCrazyTypeSystem")] public class ConsumersOfThisCrazyTypeSystem : DeputyBase { + /// + /// Stability: Experimental + /// public ConsumersOfThisCrazyTypeSystem(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Base.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Base.cs index a4bdb00ecd..7284d5cef7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Base.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Base.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Base), fullyQualifiedName: "jsii-calc.DerivedClassHasNoProperties.Base")] public class Base : DeputyBase { + /// + /// Stability: Experimental + /// public Base(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Derived.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Derived.cs index a15eaf9776..8ea464cb59 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Derived.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DerivedClassHasNoProperties/Derived.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Derived), fullyQualifiedName: "jsii-calc.DerivedClassHasNoProperties.Derived")] public class Derived : Amazon.JSII.Tests.CalculatorNamespace.DerivedClassHasNoProperties.Base { + /// + /// Stability: Experimental + /// public Derived(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotOverridePrivates.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotOverridePrivates.cs index 84599175cf..b570e42df0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotOverridePrivates.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotOverridePrivates.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoNotOverridePrivates), fullyQualifiedName: "jsii-calc.DoNotOverridePrivates")] public class DoNotOverridePrivates : DeputyBase { + /// + /// Stability: Experimental + /// public DoNotOverridePrivates(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotRecognizeAnyAsOptional.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotRecognizeAnyAsOptional.cs index bd4f50f852..94fe3bd38d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotRecognizeAnyAsOptional.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoNotRecognizeAnyAsOptional.cs @@ -11,6 +11,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoNotRecognizeAnyAsOptional), fullyQualifiedName: "jsii-calc.DoNotRecognizeAnyAsOptional")] public class DoNotRecognizeAnyAsOptional : DeputyBase { + /// + /// Stability: Experimental + /// public DoNotRecognizeAnyAsOptional(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DocumentedClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DocumentedClass.cs index 42b250dafd..172c01753e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DocumentedClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DocumentedClass.cs @@ -14,6 +14,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DocumentedClass), fullyQualifiedName: "jsii-calc.DocumentedClass")] public class DocumentedClass : DeputyBase { + /// + /// Stability: Experimental + /// public DocumentedClass(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DontComplainAboutVariadicAfterOptional.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DontComplainAboutVariadicAfterOptional.cs index 5255be3e1a..92f970d0ea 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DontComplainAboutVariadicAfterOptional.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DontComplainAboutVariadicAfterOptional.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DontComplainAboutVariadicAfterOptional), fullyQualifiedName: "jsii-calc.DontComplainAboutVariadicAfterOptional")] public class DontComplainAboutVariadicAfterOptional : DeputyBase { + /// + /// Stability: Experimental + /// public DontComplainAboutVariadicAfterOptional(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs index 1e53d66e69..f8510f064a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/DoubleTrouble.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.DoubleTrouble), fullyQualifiedName: "jsii-calc.DoubleTrouble")] public class DoubleTrouble : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IFriendlyRandomGenerator { + /// + /// Stability: Experimental + /// public DoubleTrouble(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValues.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValues.cs index 247f3df086..f5ae370708 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValues.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/EraseUndefinedHashValues.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.EraseUndefinedHashValues), fullyQualifiedName: "jsii-calc.EraseUndefinedHashValues")] public class EraseUndefinedHashValues : DeputyBase { + /// + /// Stability: Experimental + /// public EraseUndefinedHashValues(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GiveMeStructs.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GiveMeStructs.cs index 9eac9f7240..0f664d062b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GiveMeStructs.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GiveMeStructs.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.GiveMeStructs), fullyQualifiedName: "jsii-calc.GiveMeStructs")] public class GiveMeStructs : DeputyBase { + /// + /// Stability: Experimental + /// public GiveMeStructs(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreetingAugmenter.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreetingAugmenter.cs index 27f15e61fc..6b9c1dcb9f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreetingAugmenter.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/GreetingAugmenter.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.GreetingAugmenter), fullyQualifiedName: "jsii-calc.GreetingAugmenter")] public class GreetingAugmenter : DeputyBase { + /// + /// Stability: Experimental + /// public GreetingAugmenter(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementInternalInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementInternalInterface.cs index 6598fd1979..dc8c649851 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementInternalInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementInternalInterface.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementInternalInterface), fullyQualifiedName: "jsii-calc.ImplementInternalInterface")] public class ImplementInternalInterface : DeputyBase { + /// + /// Stability: Experimental + /// public ImplementInternalInterface(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Implementation.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Implementation.cs index 2af0448b4f..b2fa9be35f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Implementation.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Implementation.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Implementation), fullyQualifiedName: "jsii-calc.Implementation")] public class Implementation : DeputyBase { + /// + /// Stability: Experimental + /// public Implementation(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternal.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternal.cs index e0c9d93e4d..900f7143f6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternal.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternal.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternal), fullyQualifiedName: "jsii-calc.ImplementsInterfaceWithInternal")] public class ImplementsInterfaceWithInternal : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IInterfaceWithInternal { + /// + /// Stability: Experimental + /// public ImplementsInterfaceWithInternal(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternalSubclass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternalSubclass.cs index 530305ecb8..27d41f6e2d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternalSubclass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsInterfaceWithInternalSubclass.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternalSubclass), fullyQualifiedName: "jsii-calc.ImplementsInterfaceWithInternalSubclass")] public class ImplementsInterfaceWithInternalSubclass : Amazon.JSII.Tests.CalculatorNamespace.ImplementsInterfaceWithInternal { + /// + /// Stability: Experimental + /// public ImplementsInterfaceWithInternalSubclass(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsPrivateInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsPrivateInterface.cs index c8363c6b4d..ad0ea72586 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsPrivateInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ImplementsPrivateInterface.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ImplementsPrivateInterface), fullyQualifiedName: "jsii-calc.ImplementsPrivateInterface")] public class ImplementsPrivateInterface : DeputyBase { + /// + /// Stability: Experimental + /// public ImplementsPrivateInterface(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InbetweenClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InbetweenClass.cs index 754b6b065b..129a255c29 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InbetweenClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InbetweenClass.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [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 { + /// + /// Stability: Experimental + /// public InbetweenClass(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Foo.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Foo.cs index 3e34aa2f00..dd4327c1cc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Foo.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/InterfaceInNamespaceIncludesClasses/Foo.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClas [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.InterfaceInNamespaceIncludesClasses.Foo), fullyQualifiedName: "jsii-calc.InterfaceInNamespaceIncludesClasses.Foo")] public class Foo : DeputyBase { + /// + /// Stability: Experimental + /// public Foo(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Isomorphism.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Isomorphism.cs index 5be3c23b28..985fead738 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Isomorphism.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Isomorphism.cs @@ -14,6 +14,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Isomorphism), fullyQualifiedName: "jsii-calc.Isomorphism")] public abstract class Isomorphism : DeputyBase { + /// + /// Stability: Experimental + /// protected Isomorphism(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417PublicBaseOfBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417PublicBaseOfBase.cs index bb7a64cdb0..f4b8941b0e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417PublicBaseOfBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSII417PublicBaseOfBase.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSII417PublicBaseOfBase), fullyQualifiedName: "jsii-calc.JSII417PublicBaseOfBase")] public class JSII417PublicBaseOfBase : DeputyBase { + /// + /// Stability: Experimental + /// public JSII417PublicBaseOfBase(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralForInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralForInterface.cs index 5d89e6b9b0..489c1c4e21 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralForInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralForInterface.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralForInterface), fullyQualifiedName: "jsii-calc.JSObjectLiteralForInterface")] public class JSObjectLiteralForInterface : DeputyBase { + /// + /// Stability: Experimental + /// public JSObjectLiteralForInterface(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNative.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNative.cs index ab79a78349..1d17272ec0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNative.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNative.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralToNative), fullyQualifiedName: "jsii-calc.JSObjectLiteralToNative")] public class JSObjectLiteralToNative : DeputyBase { + /// + /// Stability: Experimental + /// public JSObjectLiteralToNative(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNativeClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNativeClass.cs index c263a06802..62bde74073 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNativeClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JSObjectLiteralToNativeClass.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JSObjectLiteralToNativeClass), fullyQualifiedName: "jsii-calc.JSObjectLiteralToNativeClass")] public class JSObjectLiteralToNativeClass : DeputyBase { + /// + /// Stability: Experimental + /// public JSObjectLiteralToNativeClass(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JavaReservedWords.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JavaReservedWords.cs index df59a2e6a9..a07de7bc82 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JavaReservedWords.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JavaReservedWords.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JavaReservedWords), fullyQualifiedName: "jsii-calc.JavaReservedWords")] public class JavaReservedWords : DeputyBase { + /// + /// Stability: Experimental + /// public JavaReservedWords(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii487Derived.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii487Derived.cs index aa7d3d8b0b..5628f2e5c4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii487Derived.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii487Derived.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [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 { + /// + /// Stability: Experimental + /// public Jsii487Derived(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii496Derived.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii496Derived.cs index 416f9ac50e..4bf8a4288b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii496Derived.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Jsii496Derived.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Jsii496Derived), fullyQualifiedName: "jsii-calc.Jsii496Derived")] public class Jsii496Derived : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJsii496 { + /// + /// Stability: Experimental + /// public Jsii496Derived(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsiiAgent_.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsiiAgent_.cs index d01b95db87..e6d82e4503 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsiiAgent_.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/JsiiAgent_.cs @@ -11,6 +11,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.JsiiAgent_), fullyQualifiedName: "jsii-calc.JsiiAgent")] public class JsiiAgent_ : DeputyBase { + /// + /// Stability: Experimental + /// public JsiiAgent_(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/MethodNamedProperty.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/MethodNamedProperty.cs index cd995d1ad8..b065a949ec 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/MethodNamedProperty.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/MethodNamedProperty.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.MethodNamedProperty), fullyQualifiedName: "jsii-calc.MethodNamedProperty")] public class MethodNamedProperty : DeputyBase { + /// + /// Stability: Experimental + /// public MethodNamedProperty(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NodeStandardLibrary.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NodeStandardLibrary.cs index 2c6addda10..999ccde9bb 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NodeStandardLibrary.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/NodeStandardLibrary.cs @@ -11,6 +11,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.NodeStandardLibrary), fullyQualifiedName: "jsii-calc.NodeStandardLibrary")] public class NodeStandardLibrary : DeputyBase { + /// + /// Stability: Experimental + /// public NodeStandardLibrary(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectRefsInCollections.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectRefsInCollections.cs index 7e08cf4e69..6b45df883b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectRefsInCollections.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ObjectRefsInCollections.cs @@ -11,6 +11,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ObjectRefsInCollections), fullyQualifiedName: "jsii-calc.ObjectRefsInCollections")] public class ObjectRefsInCollections : DeputyBase { + /// + /// Stability: Experimental + /// public ObjectRefsInCollections(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Old.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Old.cs index a1b2d15a4b..bc24fc60e7 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Old.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Old.cs @@ -12,6 +12,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [System.Obsolete("Use the new class")] public class Old : DeputyBase { + /// + /// Stability: Experimental + /// public Old(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverridableProtectedMember.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverridableProtectedMember.cs index e86b9610d5..b864d3f9dd 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverridableProtectedMember.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverridableProtectedMember.cs @@ -12,6 +12,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OverridableProtectedMember), fullyQualifiedName: "jsii-calc.OverridableProtectedMember")] public class OverridableProtectedMember : DeputyBase { + /// + /// Stability: Experimental + /// public OverridableProtectedMember(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverrideReturnsObject.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverrideReturnsObject.cs index 35434cc6d5..c7b5cf1dd4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverrideReturnsObject.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/OverrideReturnsObject.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.OverrideReturnsObject), fullyQualifiedName: "jsii-calc.OverrideReturnsObject")] public class OverrideReturnsObject : DeputyBase { + /// + /// Stability: Experimental + /// public OverrideReturnsObject(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumer.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumer.cs index 87ede7b7a4..ae3b00b828 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumer.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PartiallyInitializedThisConsumer.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PartiallyInitializedThisConsumer), fullyQualifiedName: "jsii-calc.PartiallyInitializedThisConsumer")] public abstract class PartiallyInitializedThisConsumer : DeputyBase { + /// + /// Stability: Experimental + /// protected PartiallyInitializedThisConsumer(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Polymorphism.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Polymorphism.cs index 566aaa57e6..883f7593e4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Polymorphism.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Polymorphism.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Polymorphism), fullyQualifiedName: "jsii-calc.Polymorphism")] public class Polymorphism : DeputyBase { + /// + /// Stability: Experimental + /// public Polymorphism(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs index bd5f0b289f..7eb3cf1be2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs @@ -11,6 +11,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PropertyNamedProperty), fullyQualifiedName: "jsii-calc.PropertyNamedProperty")] public class PropertyNamedProperty : DeputyBase { + /// + /// Stability: Experimental + /// public PropertyNamedProperty(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PublicClass.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PublicClass.cs index 93eba8a103..240d05b3a3 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PublicClass.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PublicClass.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PublicClass), fullyQualifiedName: "jsii-calc.PublicClass")] public class PublicClass : DeputyBase { + /// + /// Stability: Experimental + /// public PublicClass(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonReservedWords.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonReservedWords.cs index ac65bd5f4c..0b9dfc10ca 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonReservedWords.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PythonReservedWords.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PythonReservedWords), fullyQualifiedName: "jsii-calc.PythonReservedWords")] public class PythonReservedWords : DeputyBase { + /// + /// Stability: Experimental + /// public PythonReservedWords(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReferenceEnumFromScopedPackage.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReferenceEnumFromScopedPackage.cs index 6ad440ee3c..8a39a76371 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReferenceEnumFromScopedPackage.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReferenceEnumFromScopedPackage.cs @@ -11,6 +11,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ReferenceEnumFromScopedPackage), fullyQualifiedName: "jsii-calc.ReferenceEnumFromScopedPackage")] public class ReferenceEnumFromScopedPackage : DeputyBase { + /// + /// Stability: Experimental + /// public ReferenceEnumFromScopedPackage(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReturnsPrivateImplementationOfInterface.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReturnsPrivateImplementationOfInterface.cs index 2dcb05a14e..728333deb5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReturnsPrivateImplementationOfInterface.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/ReturnsPrivateImplementationOfInterface.cs @@ -14,6 +14,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.ReturnsPrivateImplementationOfInterface), fullyQualifiedName: "jsii-calc.ReturnsPrivateImplementationOfInterface")] public class ReturnsPrivateImplementationOfInterface : DeputyBase { + /// + /// Stability: Experimental + /// public ReturnsPrivateImplementationOfInterface(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RuntimeTypeChecking.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RuntimeTypeChecking.cs index cbc8ad3849..10976ffd8c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RuntimeTypeChecking.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/RuntimeTypeChecking.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.RuntimeTypeChecking), fullyQualifiedName: "jsii-calc.RuntimeTypeChecking")] public class RuntimeTypeChecking : DeputyBase { + /// + /// Stability: Experimental + /// public RuntimeTypeChecking(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingleInstanceTwoTypes.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingleInstanceTwoTypes.cs index 0cbbc600a7..cc0b51ae4e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingleInstanceTwoTypes.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SingleInstanceTwoTypes.cs @@ -15,6 +15,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SingleInstanceTwoTypes), fullyQualifiedName: "jsii-calc.SingleInstanceTwoTypes")] public class SingleInstanceTwoTypes : DeputyBase { + /// + /// Stability: Experimental + /// public SingleInstanceTwoTypes(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SomeTypeJsii976.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SomeTypeJsii976.cs index c9c17b6804..ee1042de51 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SomeTypeJsii976.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SomeTypeJsii976.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SomeTypeJsii976), fullyQualifiedName: "jsii-calc.SomeTypeJsii976")] public class SomeTypeJsii976 : DeputyBase { + /// + /// Stability: Experimental + /// public SomeTypeJsii976(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StripInternal.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StripInternal.cs index e1b17595e7..813b037735 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StripInternal.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StripInternal.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StripInternal), fullyQualifiedName: "jsii-calc.StripInternal")] public class StripInternal : DeputyBase { + /// + /// Stability: Experimental + /// public StripInternal(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructPassing.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructPassing.cs index 9582b37757..d10b5fb52a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructPassing.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/StructPassing.cs @@ -8,6 +8,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.StructPassing), fullyQualifiedName: "jsii-calc.StructPassing")] public class StructPassing : DeputyBase { + /// + /// Stability: Experimental + /// public StructPassing(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SyncVirtualMethods.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SyncVirtualMethods.cs index 130db1db59..b464ae172d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SyncVirtualMethods.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/SyncVirtualMethods.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.SyncVirtualMethods), fullyQualifiedName: "jsii-calc.SyncVirtualMethods")] public class SyncVirtualMethods : DeputyBase { + /// + /// Stability: Experimental + /// public SyncVirtualMethods(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Thrower.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Thrower.cs index 16df088228..2cdd78c71c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Thrower.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/Thrower.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.Thrower), fullyQualifiedName: "jsii-calc.Thrower")] public class Thrower : DeputyBase { + /// + /// Stability: Experimental + /// public Thrower(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseBundledDependency.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseBundledDependency.cs index cbf27fedd2..1f197e160d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseBundledDependency.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseBundledDependency.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UseBundledDependency), fullyQualifiedName: "jsii-calc.UseBundledDependency")] public class UseBundledDependency : DeputyBase { + /// + /// Stability: Experimental + /// public UseBundledDependency(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseCalcBase.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseCalcBase.cs index ef9929be49..d9345aa926 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseCalcBase.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/UseCalcBase.cs @@ -11,6 +11,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.UseCalcBase), fullyQualifiedName: "jsii-calc.UseCalcBase")] public class UseCalcBase : DeputyBase { + /// + /// Stability: Experimental + /// public UseCalcBase(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VirtualMethodPlayground.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VirtualMethodPlayground.cs index e55286686c..62c46abfc1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VirtualMethodPlayground.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VirtualMethodPlayground.cs @@ -10,6 +10,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VirtualMethodPlayground), fullyQualifiedName: "jsii-calc.VirtualMethodPlayground")] public class VirtualMethodPlayground : DeputyBase { + /// + /// Stability: Experimental + /// public VirtualMethodPlayground(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallback.cs b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallback.cs index 0b71fc3d26..f1e4dcf79b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallback.cs +++ b/packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/VoidCallback.cs @@ -17,6 +17,9 @@ namespace Amazon.JSII.Tests.CalculatorNamespace [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.VoidCallback), fullyQualifiedName: "jsii-calc.VoidCallback")] public abstract class VoidCallback : DeputyBase { + /// + /// Stability: Experimental + /// protected VoidCallback(): base(new DeputyProps(new object[]{})) { } diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClass.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClass.java index 0e86f59872..6254fd7922 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClass.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClass.java @@ -16,6 +16,10 @@ protected AbstractClass(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected AbstractClass() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassBase.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassBase.java index 7f34db48e9..9e0799861a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassBase.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassBase.java @@ -16,6 +16,10 @@ protected AbstractClassBase(final software.amazon.jsii.JsiiObject.Initialization super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected AbstractClassBase() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassReturner.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassReturner.java index 35e26e2596..425c3035bc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassReturner.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractClassReturner.java @@ -16,6 +16,10 @@ protected AbstractClassReturner(final software.amazon.jsii.JsiiObject.Initializa super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public AbstractClassReturner() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractSuite.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractSuite.java index 1660a34ff8..28c94f7129 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractSuite.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AbstractSuite.java @@ -18,6 +18,10 @@ protected AbstractSuite(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected AbstractSuite() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AllTypes.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AllTypes.java index 6a7ab2d088..1e2ba42994 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AllTypes.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AllTypes.java @@ -21,6 +21,10 @@ protected AllTypes(final software.amazon.jsii.JsiiObject.InitializationMode init super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public AllTypes() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AllowedMethodNames.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AllowedMethodNames.java index ae4d22996b..255bf24728 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AllowedMethodNames.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AllowedMethodNames.java @@ -16,6 +16,10 @@ protected AllowedMethodNames(final software.amazon.jsii.JsiiObject.Initializatio super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public AllowedMethodNames() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AnonymousImplementationProvider.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AnonymousImplementationProvider.java index b319f7377c..bf6d35a613 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AnonymousImplementationProvider.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AnonymousImplementationProvider.java @@ -16,6 +16,10 @@ protected AnonymousImplementationProvider(final software.amazon.jsii.JsiiObject. super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public AnonymousImplementationProvider() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AsyncVirtualMethods.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AsyncVirtualMethods.java index 2b07f84373..110e076e5a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AsyncVirtualMethods.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AsyncVirtualMethods.java @@ -16,6 +16,10 @@ protected AsyncVirtualMethods(final software.amazon.jsii.JsiiObject.Initializati super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public AsyncVirtualMethods() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AugmentableClass.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AugmentableClass.java index 065961928e..f17f3da582 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AugmentableClass.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/AugmentableClass.java @@ -16,6 +16,10 @@ protected AugmentableClass(final software.amazon.jsii.JsiiObject.InitializationM super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public AugmentableClass() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/BaseJsii976.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/BaseJsii976.java index 7f5c012371..65b77a885a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/BaseJsii976.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/BaseJsii976.java @@ -16,6 +16,10 @@ protected BaseJsii976(final software.amazon.jsii.JsiiObject.InitializationMode i super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public BaseJsii976() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Bell.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Bell.java index 9d95cd9112..1bd3b04f6e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Bell.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Bell.java @@ -16,6 +16,10 @@ protected Bell(final software.amazon.jsii.JsiiObject.InitializationMode initiali super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Bell() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsTheInternalInterface.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsTheInternalInterface.java index 852647d59e..0c4b70ea07 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsTheInternalInterface.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsTheInternalInterface.java @@ -16,6 +16,10 @@ protected ClassThatImplementsTheInternalInterface(final software.amazon.jsii.Jsi super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ClassThatImplementsTheInternalInterface() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsThePrivateInterface.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsThePrivateInterface.java index bf11210c1a..3dc953ff91 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsThePrivateInterface.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassThatImplementsThePrivateInterface.java @@ -16,6 +16,10 @@ protected ClassThatImplementsThePrivateInterface(final software.amazon.jsii.Jsii super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ClassThatImplementsThePrivateInterface() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithDocs.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithDocs.java index 8490328692..8d92529c0e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithDocs.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithDocs.java @@ -27,6 +27,10 @@ protected ClassWithDocs(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ClassWithDocs() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithMutableObjectLiteralProperty.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithMutableObjectLiteralProperty.java index b8b547dacb..e94f7f7044 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithMutableObjectLiteralProperty.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ClassWithMutableObjectLiteralProperty.java @@ -16,6 +16,10 @@ protected ClassWithMutableObjectLiteralProperty(final software.amazon.jsii.JsiiO super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ClassWithMutableObjectLiteralProperty() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Constructors.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Constructors.java index 584a444da5..c74757871c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Constructors.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Constructors.java @@ -16,6 +16,10 @@ protected Constructors(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Constructors() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ConsumerCanRingBell.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ConsumerCanRingBell.java index cd44105f27..2af7cf73dd 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ConsumerCanRingBell.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ConsumerCanRingBell.java @@ -21,6 +21,10 @@ protected ConsumerCanRingBell(final software.amazon.jsii.JsiiObject.Initializati super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ConsumerCanRingBell() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ConsumersOfThisCrazyTypeSystem.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ConsumersOfThisCrazyTypeSystem.java index b3e29f27df..9089d5d47b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ConsumersOfThisCrazyTypeSystem.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ConsumersOfThisCrazyTypeSystem.java @@ -16,6 +16,10 @@ protected ConsumersOfThisCrazyTypeSystem(final software.amazon.jsii.JsiiObject.I super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ConsumersOfThisCrazyTypeSystem() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoNotOverridePrivates.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoNotOverridePrivates.java index a75a7ce0f7..838f73066f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoNotOverridePrivates.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoNotOverridePrivates.java @@ -16,6 +16,10 @@ protected DoNotOverridePrivates(final software.amazon.jsii.JsiiObject.Initializa super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public DoNotOverridePrivates() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoNotRecognizeAnyAsOptional.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoNotRecognizeAnyAsOptional.java index f2e9e59f05..e9613a9a82 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoNotRecognizeAnyAsOptional.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoNotRecognizeAnyAsOptional.java @@ -18,6 +18,10 @@ protected DoNotRecognizeAnyAsOptional(final software.amazon.jsii.JsiiObject.Init super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public DoNotRecognizeAnyAsOptional() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DocumentedClass.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DocumentedClass.java index 0a7bee5b6c..86667dd0f6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DocumentedClass.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DocumentedClass.java @@ -21,6 +21,10 @@ protected DocumentedClass(final software.amazon.jsii.JsiiObject.InitializationMo super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public DocumentedClass() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DontComplainAboutVariadicAfterOptional.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DontComplainAboutVariadicAfterOptional.java index 981ccf313b..4a299e71ec 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DontComplainAboutVariadicAfterOptional.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DontComplainAboutVariadicAfterOptional.java @@ -16,6 +16,10 @@ protected DontComplainAboutVariadicAfterOptional(final software.amazon.jsii.Jsii super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public DontComplainAboutVariadicAfterOptional() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoubleTrouble.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoubleTrouble.java index 3c3b16d8cc..5eb49d952a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoubleTrouble.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/DoubleTrouble.java @@ -16,6 +16,10 @@ protected DoubleTrouble(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public DoubleTrouble() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/EraseUndefinedHashValues.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/EraseUndefinedHashValues.java index 84ead405b7..cc4714b2ee 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/EraseUndefinedHashValues.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/EraseUndefinedHashValues.java @@ -16,6 +16,10 @@ protected EraseUndefinedHashValues(final software.amazon.jsii.JsiiObject.Initial super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public EraseUndefinedHashValues() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/GiveMeStructs.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/GiveMeStructs.java index 8284547a08..6b075dc043 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/GiveMeStructs.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/GiveMeStructs.java @@ -16,6 +16,10 @@ protected GiveMeStructs(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public GiveMeStructs() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/GreetingAugmenter.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/GreetingAugmenter.java index e98a50372b..0c33bf9431 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/GreetingAugmenter.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/GreetingAugmenter.java @@ -16,6 +16,10 @@ protected GreetingAugmenter(final software.amazon.jsii.JsiiObject.Initialization super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public GreetingAugmenter() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementInternalInterface.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementInternalInterface.java index cff9447725..b18386649b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementInternalInterface.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementInternalInterface.java @@ -16,6 +16,10 @@ protected ImplementInternalInterface(final software.amazon.jsii.JsiiObject.Initi super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ImplementInternalInterface() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Implementation.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Implementation.java index efcf61a699..81e89c590a 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Implementation.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Implementation.java @@ -16,6 +16,10 @@ protected Implementation(final software.amazon.jsii.JsiiObject.InitializationMod super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Implementation() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternal.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternal.java index 109cc2474c..51368d83cc 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternal.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternal.java @@ -16,6 +16,10 @@ protected ImplementsInterfaceWithInternal(final software.amazon.jsii.JsiiObject. super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ImplementsInterfaceWithInternal() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternalSubclass.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternalSubclass.java index 10f483d926..820b94f353 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternalSubclass.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsInterfaceWithInternalSubclass.java @@ -16,6 +16,10 @@ protected ImplementsInterfaceWithInternalSubclass(final software.amazon.jsii.Jsi super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ImplementsInterfaceWithInternalSubclass() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsPrivateInterface.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsPrivateInterface.java index 85c7b17af8..f31397a1d5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsPrivateInterface.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ImplementsPrivateInterface.java @@ -16,6 +16,10 @@ protected ImplementsPrivateInterface(final software.amazon.jsii.JsiiObject.Initi super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ImplementsPrivateInterface() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/InbetweenClass.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/InbetweenClass.java index 5faf132294..bc2e542475 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/InbetweenClass.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/InbetweenClass.java @@ -16,6 +16,10 @@ protected InbetweenClass(final software.amazon.jsii.JsiiObject.InitializationMod super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public InbetweenClass() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Isomorphism.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Isomorphism.java index 2a8085a638..1d04590907 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Isomorphism.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Isomorphism.java @@ -21,6 +21,10 @@ protected Isomorphism(final software.amazon.jsii.JsiiObject.InitializationMode i super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected Isomorphism() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSII417PublicBaseOfBase.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSII417PublicBaseOfBase.java index 91652bcb91..d80ec72727 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSII417PublicBaseOfBase.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSII417PublicBaseOfBase.java @@ -16,6 +16,10 @@ protected JSII417PublicBaseOfBase(final software.amazon.jsii.JsiiObject.Initiali super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public JSII417PublicBaseOfBase() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralForInterface.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralForInterface.java index f2668b54b7..101b922b97 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralForInterface.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralForInterface.java @@ -16,6 +16,10 @@ protected JSObjectLiteralForInterface(final software.amazon.jsii.JsiiObject.Init super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public JSObjectLiteralForInterface() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNative.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNative.java index 065c6834e1..5b37017973 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNative.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNative.java @@ -16,6 +16,10 @@ protected JSObjectLiteralToNative(final software.amazon.jsii.JsiiObject.Initiali super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public JSObjectLiteralToNative() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNativeClass.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNativeClass.java index d6030d18b3..6d61c5f9ac 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNativeClass.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JSObjectLiteralToNativeClass.java @@ -16,6 +16,10 @@ protected JSObjectLiteralToNativeClass(final software.amazon.jsii.JsiiObject.Ini super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public JSObjectLiteralToNativeClass() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JavaReservedWords.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JavaReservedWords.java index fbf2ae995a..9040983e12 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JavaReservedWords.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JavaReservedWords.java @@ -16,6 +16,10 @@ protected JavaReservedWords(final software.amazon.jsii.JsiiObject.Initialization super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public JavaReservedWords() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Jsii487Derived.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Jsii487Derived.java index 98c9df4237..5abeef747b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Jsii487Derived.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Jsii487Derived.java @@ -16,6 +16,10 @@ protected Jsii487Derived(final software.amazon.jsii.JsiiObject.InitializationMod super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Jsii487Derived() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Jsii496Derived.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Jsii496Derived.java index ab0d7145d6..dc5436476e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Jsii496Derived.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Jsii496Derived.java @@ -16,6 +16,10 @@ protected Jsii496Derived(final software.amazon.jsii.JsiiObject.InitializationMod super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Jsii496Derived() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JsiiAgent.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JsiiAgent.java index cb76cd3a65..02cc724de9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JsiiAgent.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/JsiiAgent.java @@ -18,6 +18,10 @@ protected JsiiAgent(final software.amazon.jsii.JsiiObject.InitializationMode ini super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public JsiiAgent() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/MethodNamedProperty.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/MethodNamedProperty.java index f93f0b7a6e..76b18e7eb3 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/MethodNamedProperty.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/MethodNamedProperty.java @@ -16,6 +16,10 @@ protected MethodNamedProperty(final software.amazon.jsii.JsiiObject.Initializati super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public MethodNamedProperty() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/NodeStandardLibrary.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/NodeStandardLibrary.java index 23eaffccc8..e5e8af9567 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/NodeStandardLibrary.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/NodeStandardLibrary.java @@ -18,6 +18,10 @@ protected NodeStandardLibrary(final software.amazon.jsii.JsiiObject.Initializati super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public NodeStandardLibrary() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ObjectRefsInCollections.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ObjectRefsInCollections.java index 00a10b6936..b8ab47023d 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ObjectRefsInCollections.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ObjectRefsInCollections.java @@ -18,6 +18,10 @@ protected ObjectRefsInCollections(final software.amazon.jsii.JsiiObject.Initiali super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ObjectRefsInCollections() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Old.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Old.java index ef6e2e728c..d2178a8128 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Old.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Old.java @@ -19,6 +19,10 @@ protected Old(final software.amazon.jsii.JsiiObject.InitializationMode initializ super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Old() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/OverridableProtectedMember.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/OverridableProtectedMember.java index c3cf0a2f5a..27d55139f6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/OverridableProtectedMember.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/OverridableProtectedMember.java @@ -18,6 +18,10 @@ protected OverridableProtectedMember(final software.amazon.jsii.JsiiObject.Initi super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public OverridableProtectedMember() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/OverrideReturnsObject.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/OverrideReturnsObject.java index d0a12cc6d8..fb4dee8ba1 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/OverrideReturnsObject.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/OverrideReturnsObject.java @@ -16,6 +16,10 @@ protected OverrideReturnsObject(final software.amazon.jsii.JsiiObject.Initializa super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public OverrideReturnsObject() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PartiallyInitializedThisConsumer.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PartiallyInitializedThisConsumer.java index 3dde64f3d0..7387686e8e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PartiallyInitializedThisConsumer.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PartiallyInitializedThisConsumer.java @@ -16,6 +16,10 @@ protected PartiallyInitializedThisConsumer(final software.amazon.jsii.JsiiObject super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected PartiallyInitializedThisConsumer() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Polymorphism.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Polymorphism.java index f19e13b1d0..968b03e0b0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Polymorphism.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Polymorphism.java @@ -16,6 +16,10 @@ protected Polymorphism(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Polymorphism() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PropertyNamedProperty.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PropertyNamedProperty.java index 48390a4dfb..e4210bec4f 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PropertyNamedProperty.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PropertyNamedProperty.java @@ -18,6 +18,10 @@ protected PropertyNamedProperty(final software.amazon.jsii.JsiiObject.Initializa super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public PropertyNamedProperty() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PublicClass.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PublicClass.java index 512802e367..4e79c5b2ba 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PublicClass.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PublicClass.java @@ -16,6 +16,10 @@ protected PublicClass(final software.amazon.jsii.JsiiObject.InitializationMode i super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public PublicClass() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PythonReservedWords.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PythonReservedWords.java index 3f2eec1838..02ce7b23bb 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PythonReservedWords.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/PythonReservedWords.java @@ -16,6 +16,10 @@ protected PythonReservedWords(final software.amazon.jsii.JsiiObject.Initializati super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public PythonReservedWords() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ReferenceEnumFromScopedPackage.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ReferenceEnumFromScopedPackage.java index 5ad21d50b0..b8e7d32ab4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ReferenceEnumFromScopedPackage.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ReferenceEnumFromScopedPackage.java @@ -18,6 +18,10 @@ protected ReferenceEnumFromScopedPackage(final software.amazon.jsii.JsiiObject.I super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ReferenceEnumFromScopedPackage() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ReturnsPrivateImplementationOfInterface.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ReturnsPrivateImplementationOfInterface.java index e8beb1b973..e889414de9 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ReturnsPrivateImplementationOfInterface.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/ReturnsPrivateImplementationOfInterface.java @@ -21,6 +21,10 @@ protected ReturnsPrivateImplementationOfInterface(final software.amazon.jsii.Jsi super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public ReturnsPrivateImplementationOfInterface() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/RuntimeTypeChecking.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/RuntimeTypeChecking.java index 9bb1c91fe7..1b238c8ab0 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/RuntimeTypeChecking.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/RuntimeTypeChecking.java @@ -16,6 +16,10 @@ protected RuntimeTypeChecking(final software.amazon.jsii.JsiiObject.Initializati super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public RuntimeTypeChecking() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SingleInstanceTwoTypes.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SingleInstanceTwoTypes.java index 5e5a37deab..2f4069aa26 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SingleInstanceTwoTypes.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SingleInstanceTwoTypes.java @@ -22,6 +22,10 @@ protected SingleInstanceTwoTypes(final software.amazon.jsii.JsiiObject.Initializ super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public SingleInstanceTwoTypes() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SomeTypeJsii976.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SomeTypeJsii976.java index dcca957771..71c82d8d9c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SomeTypeJsii976.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SomeTypeJsii976.java @@ -16,6 +16,10 @@ protected SomeTypeJsii976(final software.amazon.jsii.JsiiObject.InitializationMo super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public SomeTypeJsii976() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/StripInternal.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/StripInternal.java index 64ac68fabe..4bcd0cf330 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/StripInternal.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/StripInternal.java @@ -16,6 +16,10 @@ protected StripInternal(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public StripInternal() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/StructPassing.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/StructPassing.java index 445ef1d997..9ef8213c0e 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/StructPassing.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/StructPassing.java @@ -16,6 +16,10 @@ protected StructPassing(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public StructPassing() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SyncVirtualMethods.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SyncVirtualMethods.java index e63bcab0bf..e1d2e15c7b 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SyncVirtualMethods.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/SyncVirtualMethods.java @@ -16,6 +16,10 @@ protected SyncVirtualMethods(final software.amazon.jsii.JsiiObject.Initializatio super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public SyncVirtualMethods() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Thrower.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Thrower.java index cb11bafd06..d38325ce53 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Thrower.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/Thrower.java @@ -16,6 +16,10 @@ protected Thrower(final software.amazon.jsii.JsiiObject.InitializationMode initi super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Thrower() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/UseBundledDependency.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/UseBundledDependency.java index 31377964d5..38e81822d2 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/UseBundledDependency.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/UseBundledDependency.java @@ -16,6 +16,10 @@ protected UseBundledDependency(final software.amazon.jsii.JsiiObject.Initializat super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public UseBundledDependency() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/UseCalcBase.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/UseCalcBase.java index eff7d25cdc..4506598b85 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/UseCalcBase.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/UseCalcBase.java @@ -18,6 +18,10 @@ protected UseCalcBase(final software.amazon.jsii.JsiiObject.InitializationMode i super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public UseCalcBase() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/VirtualMethodPlayground.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/VirtualMethodPlayground.java index af2db09e1b..000deed0cd 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/VirtualMethodPlayground.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/VirtualMethodPlayground.java @@ -16,6 +16,10 @@ protected VirtualMethodPlayground(final software.amazon.jsii.JsiiObject.Initiali super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public VirtualMethodPlayground() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/VoidCallback.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/VoidCallback.java index e666e38fec..1fefe83028 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/VoidCallback.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/VoidCallback.java @@ -24,6 +24,10 @@ protected VoidCallback(final software.amazon.jsii.JsiiObject.InitializationMode super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected VoidCallback() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Base.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Base.java index 351ad6515a..1bded472f4 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Base.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Base.java @@ -16,6 +16,10 @@ protected Base(final software.amazon.jsii.JsiiObject.InitializationMode initiali super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Base() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Derived.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Derived.java index 2544874c3a..2d8d09c700 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Derived.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/derived_class_has_no_properties/Derived.java @@ -16,6 +16,10 @@ protected Derived(final software.amazon.jsii.JsiiObject.InitializationMode initi super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Derived() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/interface_in_namespace_includes_classes/Foo.java b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/interface_in_namespace_includes_classes/Foo.java index 1c4a652e4f..7cd7e3a71c 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/interface_in_namespace_includes_classes/Foo.java +++ b/packages/jsii-pacmak/test/expected.jsii-calc/java/src/main/java/software/amazon/jsii/tests/calculator/interface_in_namespace_includes_classes/Foo.java @@ -16,6 +16,10 @@ protected Foo(final software.amazon.jsii.JsiiObject.InitializationMode initializ super(initializationMode); } + /** + * EXPERIMENTAL + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Foo() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/__init__.py b/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/__init__.py index b076a707cb..f6b8ee36e5 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/__init__.py +++ b/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/__init__.py @@ -59,6 +59,10 @@ def __jsii_proxy_class__(): return _AbstractClassBaseProxy def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(AbstractClassBase, self, []) @builtins.property @@ -92,6 +96,10 @@ class AbstractClassReturner( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(AbstractClassReturner, self, []) @jsii.member(jsii_name="giveMeAbstract") @@ -134,6 +142,10 @@ def __jsii_proxy_class__(): return _AbstractSuiteProxy def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(AbstractSuite, self, []) @jsii.member(jsii_name="someMethod") @@ -210,6 +222,10 @@ class AllTypes(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.AllTypes"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(AllTypes, self, []) @jsii.member(jsii_name="anyIn") @@ -537,6 +553,10 @@ class AllowedMethodNames( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(AllowedMethodNames, self, []) @jsii.member(jsii_name="getBar") @@ -637,6 +657,10 @@ class AsyncVirtualMethods( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(AsyncVirtualMethods, self, []) @jsii.member(jsii_name="callMe") @@ -703,6 +727,10 @@ class AugmentableClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Augmentable """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(AugmentableClass, self, []) @jsii.member(jsii_name="methodOne") @@ -729,6 +757,10 @@ class BaseJsii976(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.BaseJsii976"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(BaseJsii976, self, []) @@ -1147,6 +1179,10 @@ def an_example(): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ClassWithDocs, self, []) @@ -1196,6 +1232,10 @@ class ClassWithMutableObjectLiteralProperty( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ClassWithMutableObjectLiteralProperty, self, []) @builtins.property @@ -1352,6 +1392,10 @@ class Constructors(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Constructors"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Constructors, self, []) @jsii.member(jsii_name="hiddenInterface") @@ -1457,6 +1501,10 @@ class ConsumerCanRingBell( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ConsumerCanRingBell, self, []) @jsii.member(jsii_name="staticImplementedByObjectLiteral") @@ -1577,6 +1625,10 @@ class ConsumersOfThisCrazyTypeSystem( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ConsumersOfThisCrazyTypeSystem, self, []) @jsii.member(jsii_name="consumeAnotherPublicInterface") @@ -2306,6 +2358,10 @@ class DoNotOverridePrivates( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(DoNotOverridePrivates, self, []) @jsii.member(jsii_name="changePrivatePropertyValue") @@ -2345,6 +2401,10 @@ class DoNotRecognizeAnyAsOptional( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(DoNotRecognizeAnyAsOptional, self, []) @jsii.member(jsii_name="method") @@ -2377,6 +2437,10 @@ class DocumentedClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DocumentedCl """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(DocumentedClass, self, []) @jsii.member(jsii_name="greet") @@ -2415,6 +2479,10 @@ class DontComplainAboutVariadicAfterOptional( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(DontComplainAboutVariadicAfterOptional, self, []) @jsii.member(jsii_name="optionalAndVariadic") @@ -2465,6 +2533,10 @@ class EraseUndefinedHashValues( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(EraseUndefinedHashValues, self, []) @jsii.member(jsii_name="doesKeyExist") @@ -2870,6 +2942,10 @@ class GiveMeStructs(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.GiveMeStructs" """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(GiveMeStructs, self, []) @jsii.member(jsii_name="derivedToFirst") @@ -3044,6 +3120,10 @@ class GreetingAugmenter( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(GreetingAugmenter, self, []) @jsii.member(jsii_name="betterGreeting") @@ -4668,6 +4748,10 @@ class ImplementInternalInterface( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ImplementInternalInterface, self, []) @builtins.property @@ -4691,6 +4775,10 @@ class Implementation(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Implementatio """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Implementation, self, []) @builtins.property @@ -4713,6 +4801,10 @@ class ImplementsInterfaceWithInternal( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ImplementsInterfaceWithInternal, self, []) @jsii.member(jsii_name="visible") @@ -4735,6 +4827,10 @@ class ImplementsInterfaceWithInternalSubclass( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ImplementsInterfaceWithInternalSubclass, self, []) @@ -4747,6 +4843,10 @@ class ImplementsPrivateInterface( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ImplementsPrivateInterface, self, []) @builtins.property @@ -4902,6 +5002,10 @@ def __jsii_proxy_class__(): return _IsomorphismProxy def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Isomorphism, self, []) @jsii.member(jsii_name="myself") @@ -4926,6 +5030,10 @@ class JSII417PublicBaseOfBase( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(JSII417PublicBaseOfBase, self, []) @jsii.member(jsii_name="makeInstance") @@ -4964,6 +5072,10 @@ class JSObjectLiteralForInterface( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(JSObjectLiteralForInterface, self, []) @jsii.member(jsii_name="giveMeFriendly") @@ -4992,6 +5104,10 @@ class JSObjectLiteralToNative( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(JSObjectLiteralToNative, self, []) @jsii.member(jsii_name="returnLiteral") @@ -5012,6 +5128,10 @@ class JSObjectLiteralToNativeClass( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(JSObjectLiteralToNativeClass, self, []) @builtins.property @@ -5050,6 +5170,10 @@ class JavaReservedWords( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(JavaReservedWords, self, []) @jsii.member(jsii_name="abstract") @@ -5490,6 +5614,10 @@ class Jsii487Derived(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Jsii487Derive """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Jsii487Derived, self, []) @@ -5501,6 +5629,10 @@ class Jsii496Derived(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Jsii496Derive """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Jsii496Derived, self, []) @@ -5512,6 +5644,10 @@ class JsiiAgent(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.JsiiAgent"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(JsiiAgent, self, []) @jsii.python.classproperty @@ -5814,6 +5950,10 @@ class MethodNamedProperty( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(MethodNamedProperty, self, []) @jsii.member(jsii_name="property") @@ -5952,6 +6092,10 @@ class NodeStandardLibrary( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(NodeStandardLibrary, self, []) @jsii.member(jsii_name="cryptoSha256") @@ -6195,6 +6339,10 @@ class ObjectRefsInCollections( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ObjectRefsInCollections, self, []) @jsii.member(jsii_name="sumFromArray") @@ -6253,6 +6401,10 @@ class Old(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Old"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Old, self, []) @jsii.member(jsii_name="doAThing") @@ -6437,6 +6589,10 @@ class OverridableProtectedMember( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(OverridableProtectedMember, self, []) @jsii.member(jsii_name="overrideMe") @@ -6495,6 +6651,10 @@ class OverrideReturnsObject( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(OverrideReturnsObject, self, []) @jsii.member(jsii_name="test") @@ -6560,6 +6720,10 @@ def __jsii_proxy_class__(): return _PartiallyInitializedThisConsumerProxy def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(PartiallyInitializedThisConsumer, self, []) @jsii.member(jsii_name="consumePartiallyInitializedThis") @@ -6601,6 +6765,10 @@ class Polymorphism(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Polymorphism"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Polymorphism, self, []) @jsii.member(jsii_name="sayHello") @@ -6679,6 +6847,10 @@ class PropertyNamedProperty( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(PropertyNamedProperty, self, []) @builtins.property @@ -6707,6 +6879,10 @@ class PublicClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.PublicClass"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(PublicClass, self, []) @jsii.member(jsii_name="hello") @@ -6727,6 +6903,10 @@ class PythonReservedWords( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(PythonReservedWords, self, []) @jsii.member(jsii_name="and") @@ -6996,6 +7176,10 @@ class ReferenceEnumFromScopedPackage( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ReferenceEnumFromScopedPackage, self, []) @jsii.member(jsii_name="loadFoo") @@ -7048,6 +7232,10 @@ class ReturnsPrivateImplementationOfInterface( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ReturnsPrivateImplementationOfInterface, self, []) @builtins.property @@ -7151,6 +7339,10 @@ class RuntimeTypeChecking( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(RuntimeTypeChecking, self, []) @jsii.member(jsii_name="methodWithDefaultedArguments") @@ -7271,6 +7463,10 @@ class SingleInstanceTwoTypes( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(SingleInstanceTwoTypes, self, []) @jsii.member(jsii_name="interface1") @@ -7416,6 +7612,10 @@ class SomeTypeJsii976(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.SomeTypeJsii """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(SomeTypeJsii976, self, []) @jsii.member(jsii_name="returnAnonymous") @@ -7678,6 +7878,10 @@ class StripInternal(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.StripInternal" """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(StripInternal, self, []) @builtins.property @@ -7891,6 +8095,10 @@ 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") @@ -8198,6 +8406,10 @@ class SyncVirtualMethods( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(SyncVirtualMethods, self, []) @jsii.member(jsii_name="callerIsAsync") @@ -8370,6 +8582,10 @@ class Thrower(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Thrower"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Thrower, self, []) @jsii.member(jsii_name="throwError") @@ -8614,6 +8830,10 @@ class UseBundledDependency( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(UseBundledDependency, self, []) @jsii.member(jsii_name="value") @@ -8633,6 +8853,10 @@ class UseCalcBase(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.UseCalcBase"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(UseCalcBase, self, []) @jsii.member(jsii_name="hello") @@ -8763,6 +8987,10 @@ class VirtualMethodPlayground( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(VirtualMethodPlayground, self, []) @jsii.member(jsii_name="overrideMeAsync") @@ -8834,6 +9062,10 @@ def __jsii_proxy_class__(): return _VoidCallbackProxy def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(VoidCallback, self, []) @jsii.member(jsii_name="callMe") @@ -8917,6 +9149,10 @@ def __jsii_proxy_class__(): return _AbstractClassProxy def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(AbstractClass, self, []) @jsii.member(jsii_name="abstractMethod") @@ -9010,6 +9246,10 @@ class AnonymousImplementationProvider( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(AnonymousImplementationProvider, self, []) @jsii.member(jsii_name="provideAsClass") @@ -9037,6 +9277,10 @@ class Bell(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Bell"): """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Bell, self, []) @jsii.member(jsii_name="ring") @@ -9119,6 +9363,10 @@ class ClassThatImplementsTheInternalInterface( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ClassThatImplementsTheInternalInterface, self, []) @builtins.property @@ -9185,6 +9433,10 @@ class ClassThatImplementsThePrivateInterface( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(ClassThatImplementsThePrivateInterface, self, []) @builtins.property @@ -9439,6 +9691,10 @@ class InbetweenClass( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(InbetweenClass, self, []) @jsii.member(jsii_name="ciao") @@ -9615,6 +9871,10 @@ class DoubleTrouble(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DoubleTrouble" """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(DoubleTrouble, self, []) @jsii.member(jsii_name="hello") diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/derived_class_has_no_properties/__init__.py b/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/derived_class_has_no_properties/__init__.py index 19c60636d5..e381c602d6 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/derived_class_has_no_properties/__init__.py +++ b/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/derived_class_has_no_properties/__init__.py @@ -20,6 +20,10 @@ class Base( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Base, self, []) @builtins.property @@ -47,6 +51,10 @@ class Derived( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Derived, self, []) diff --git a/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py b/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py index 1c9f355178..5ffe5884aa 100644 --- a/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py +++ b/packages/jsii-pacmak/test/expected.jsii-calc/python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py @@ -21,6 +21,10 @@ class Foo( """ def __init__(self) -> None: + """ + stability + :stability: experimental + """ jsii.create(Foo, self, []) @builtins.property 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 9cf59a43d5..c0ed8e9902 100644 --- a/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap +++ b/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap @@ -511,7 +511,7 @@ exports[`jsii-tree --all 1`] = ` │ │ └── type: Map string> │ ├─┬ class ClassWithDocs (stable) │ │ └─┬ members - │ │ └── () initializer (stable) + │ │ └── () initializer (experimental) │ ├─┬ class ClassWithJavaReservedWords (experimental) │ │ └─┬ members │ │ ├─┬ (int) initializer (experimental) @@ -754,7 +754,7 @@ exports[`jsii-tree --all 1`] = ` │ │ └── returns: void │ ├─┬ class DocumentedClass (stable) │ │ └─┬ members - │ │ ├── () initializer (stable) + │ │ ├── () initializer (experimental) │ │ ├─┬ greet(greetee) method (stable) │ │ │ ├─┬ parameters │ │ │ │ └─┬ greetee @@ -1612,7 +1612,7 @@ exports[`jsii-tree --all 1`] = ` │ │ └── type: string │ ├─┬ class StructPassing │ │ └─┬ members - │ │ ├── () initializer + │ │ ├── () initializer (experimental) │ │ ├─┬ static howManyVarArgsDidIPass(_positional,inputs) method │ │ │ ├── static │ │ │ ├── variadic diff --git a/packages/jsii/lib/assembler.ts b/packages/jsii/lib/assembler.ts index dc46056ddf..cfe72dbb8b 100644 --- a/packages/jsii/lib/assembler.ts +++ b/packages/jsii/lib/assembler.ts @@ -1333,7 +1333,9 @@ export class Assembler implements Emitter { }, ); } else { - jsiiType.initializer = {}; + jsiiType.initializer = { + docs: ctx.stability && { stability: ctx.stability }, + }; } this._verifyNoStaticMixing(jsiiType, type.symbol.valueDeclaration);