diff --git a/packages/jsii-calc/lib/compliance.ts b/packages/jsii-calc/lib/compliance.ts index 5e38fbc856..69ac7daa09 100644 --- a/packages/jsii-calc/lib/compliance.ts +++ b/packages/jsii-calc/lib/compliance.ts @@ -954,6 +954,62 @@ export class JavaReservedWords { public while = 'hello'; } +// https://en.wikipedia.org/wiki/List_of_Java_keywords +export interface IJavaReservedWordsInAnInterface { + abstract(): void; + assert(): void; + boolean(): void; + break(): void; + byte(): void; + case(): void; + catch(): void; + char(): void; + class(): void; + const(): void; + continue(): void; + default(): void; + double(): void; + do(): void; + else(): void; + enum(): void; + extends(): void; + false(): void; + final(): void; + finally(): void; + float(): void; + for(): void; + goto(): void; + if(): void; + implements(): void; + import(): void; + instanceof(): void; + int(): void; + interface(): void; + long(): void; + native(): void; + null(): void; + package(): void; + private(): void; + protected(): void; + public(): void; + return(): void; + short(): void; + static(): void; + strictfp(): void; + super(): void; + switch(): void; + synchronized(): void; + this(): void; + throw(): void; + throws(): void; + transient(): void; + true(): void; + try(): void; + void(): void; + volatile(): void; + readonly while: string; +} + export class PythonReservedWords { public and() { return; diff --git a/packages/jsii-calc/test/assembly.jsii b/packages/jsii-calc/test/assembly.jsii index dd1e6075af..cfe8f39d46 100644 --- a/packages/jsii-calc/test/assembly.jsii +++ b/packages/jsii-calc/test/assembly.jsii @@ -187,21 +187,21 @@ "jsii-calc.InterfaceInNamespaceIncludesClasses": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1206 + "line": 1262 }, "symbolId": "lib/compliance:InterfaceInNamespaceIncludesClasses" }, "jsii-calc.InterfaceInNamespaceOnlyInterface": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1199 + "line": 1255 }, "symbolId": "lib/compliance:InterfaceInNamespaceOnlyInterface" }, "jsii-calc.PythonSelf": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1090 + "line": 1146 }, "symbolId": "lib/compliance:PythonSelf" }, @@ -455,7 +455,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1250 + "line": 1306 }, "methods": [ { @@ -465,7 +465,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1258 + "line": 1314 }, "name": "abstractMethod", "parameters": [ @@ -488,7 +488,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1254 + "line": 1310 }, "name": "nonAbstractMethod", "returns": { @@ -507,7 +507,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1260 + "line": 1316 }, "name": "propFromInterface", "overrides": "jsii-calc.IInterfaceImplementedByAbstractClass", @@ -533,7 +533,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1246 + "line": 1302 }, "name": "AbstractClassBase", "properties": [ @@ -545,7 +545,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1247 + "line": 1303 }, "name": "abstractProperty", "type": { @@ -569,7 +569,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1275 + "line": 1331 }, "methods": [ { @@ -578,7 +578,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1276 + "line": 1332 }, "name": "giveMeAbstract", "returns": { @@ -593,7 +593,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1280 + "line": 1336 }, "name": "giveMeInterface", "returns": { @@ -612,7 +612,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1284 + "line": 1340 }, "name": "returnAbstractFromProperty", "type": { @@ -1373,7 +1373,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2691 + "line": 2747 }, "parameters": [ { @@ -1393,7 +1393,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2690 + "line": 2746 }, "name": "AmbiguousParameters", "properties": [ @@ -1404,7 +1404,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2693 + "line": 2749 }, "name": "props", "type": { @@ -1418,7 +1418,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2692 + "line": 2748 }, "name": "scope", "type": { @@ -1445,7 +1445,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2219 + "line": 2275 }, "methods": [ { @@ -1454,7 +1454,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2224 + "line": 2280 }, "name": "provideAsClass", "overrides": "jsii-calc.IAnonymousImplementationProvider", @@ -1470,7 +1470,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2228 + "line": 2284 }, "name": "provideAsInterface", "overrides": "jsii-calc.IAnonymousImplementationProvider", @@ -1625,7 +1625,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1544 + "line": 1600 }, "methods": [ { @@ -1634,7 +1634,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1545 + "line": 1601 }, "name": "methodOne" }, @@ -1644,7 +1644,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1551 + "line": 1607 }, "name": "methodTwo" } @@ -1723,7 +1723,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2485 + "line": 2541 }, "name": "BaseJsii976", "symbolId": "lib/compliance:BaseJsii976" @@ -1745,7 +1745,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2429 + "line": 2485 }, "methods": [ { @@ -1754,7 +1754,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2432 + "line": 2488 }, "name": "ring", "overrides": "jsii-calc.IBell" @@ -1768,7 +1768,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2430 + "line": 2486 }, "name": "rung", "type": { @@ -1895,7 +1895,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2775 + "line": 2831 }, "methods": [ { @@ -1904,7 +1904,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2776 + "line": 2832 }, "name": "check", "returns": { @@ -1922,7 +1922,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2793 + "line": 2849 }, "name": "giveItBack", "parameters": [ @@ -2259,7 +2259,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2509 + "line": 2565 }, "name": "ChildStruct982", "properties": [ @@ -2271,7 +2271,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2510 + "line": 2566 }, "name": "bar", "type": { @@ -2298,7 +2298,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1807 + "line": 1863 }, "name": "ClassThatImplementsTheInternalInterface", "properties": [ @@ -2308,7 +2308,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1812 + "line": 1868 }, "name": "a", "overrides": "jsii-calc.IAnotherPublicInterface", @@ -2322,7 +2322,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1813 + "line": 1869 }, "name": "b", "overrides": "jsii-calc.INonInternalInterface", @@ -2336,7 +2336,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1814 + "line": 1870 }, "name": "c", "overrides": "jsii-calc.INonInternalInterface", @@ -2350,7 +2350,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1815 + "line": 1871 }, "name": "d", "type": { @@ -2377,7 +2377,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1818 + "line": 1874 }, "name": "ClassThatImplementsThePrivateInterface", "properties": [ @@ -2387,7 +2387,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1821 + "line": 1877 }, "name": "a", "overrides": "jsii-calc.IAnotherPublicInterface", @@ -2401,7 +2401,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1822 + "line": 1878 }, "name": "b", "overrides": "jsii-calc.INonInternalInterface", @@ -2415,7 +2415,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1823 + "line": 1879 }, "name": "c", "overrides": "jsii-calc.INonInternalInterface", @@ -2429,7 +2429,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1824 + "line": 1880 }, "name": "e", "type": { @@ -2451,7 +2451,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2125 + "line": 2181 }, "parameters": [ { @@ -2481,7 +2481,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2115 + "line": 2171 }, "methods": [ { @@ -2490,7 +2490,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2130 + "line": 2186 }, "name": "createAList", "returns": { @@ -2511,7 +2511,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2134 + "line": 2190 }, "name": "createAMap", "returns": { @@ -2535,7 +2535,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2123 + "line": 2179 }, "name": "staticArray", "static": true, @@ -2554,7 +2554,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2119 + "line": 2175 }, "name": "staticMap", "static": true, @@ -2573,7 +2573,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2117 + "line": 2173 }, "name": "array", "type": { @@ -2591,7 +2591,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2116 + "line": 2172 }, "name": "map", "type": { @@ -2766,7 +2766,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1892 + "line": 1948 }, "name": "ClassWithDocs", "symbolId": "lib/compliance:ClassWithDocs" @@ -2783,7 +2783,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2065 + "line": 2121 }, "parameters": [ { @@ -2797,7 +2797,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2062 + "line": 2118 }, "methods": [ { @@ -2806,7 +2806,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2069 + "line": 2125 }, "name": "import", "parameters": [ @@ -2833,7 +2833,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2063 + "line": 2119 }, "name": "int", "type": { @@ -2857,7 +2857,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1295 + "line": 1351 }, "name": "ClassWithMutableObjectLiteralProperty", "properties": [ @@ -2867,7 +2867,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1296 + "line": 1352 }, "name": "mutableObject", "type": { @@ -2890,7 +2890,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1322 + "line": 1378 }, "methods": [ { @@ -2899,7 +2899,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1325 + "line": 1381 }, "name": "create", "parameters": [ @@ -2933,7 +2933,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1333 + "line": 1389 }, "name": "readOnlyString", "overrides": "jsii-calc.IInterfaceWithProperties", @@ -2947,7 +2947,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1334 + "line": 1390 }, "name": "readWriteString", "overrides": "jsii-calc.IInterfaceWithProperties", @@ -2969,7 +2969,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2648 + "line": 2704 }, "methods": [ { @@ -2978,7 +2978,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2649 + "line": 2705 }, "name": "makeInstance", "returns": { @@ -2994,7 +2994,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2653 + "line": 2709 }, "name": "makeStructInstance", "returns": { @@ -3013,7 +3013,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2657 + "line": 2713 }, "name": "unionProperty", "optional": true, @@ -3057,7 +3057,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2661 + "line": 2717 }, "name": "ConfusingToJacksonStruct", "properties": [ @@ -3069,7 +3069,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2662 + "line": 2718 }, "name": "unionProperty", "optional": true, @@ -3115,7 +3115,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1849 + "line": 1905 }, "parameters": [ { @@ -3129,7 +3129,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1848 + "line": 1904 }, "name": "ConstructorPassesThisOut", "symbolId": "lib/compliance:ConstructorPassesThisOut" @@ -3148,7 +3148,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1592 + "line": 1648 }, "methods": [ { @@ -3157,7 +3157,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1609 + "line": 1665 }, "name": "hiddenInterface", "returns": { @@ -3173,7 +3173,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1613 + "line": 1669 }, "name": "hiddenInterfaces", "returns": { @@ -3194,7 +3194,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1617 + "line": 1673 }, "name": "hiddenSubInterfaces", "returns": { @@ -3215,7 +3215,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1593 + "line": 1649 }, "name": "makeClass", "returns": { @@ -3231,7 +3231,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1597 + "line": 1653 }, "name": "makeInterface", "returns": { @@ -3247,7 +3247,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1601 + "line": 1657 }, "name": "makeInterface2", "returns": { @@ -3263,7 +3263,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1605 + "line": 1661 }, "name": "makeInterfaces", "returns": { @@ -3294,7 +3294,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2672 + "line": 2728 }, "parameters": [ { @@ -3308,7 +3308,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2671 + "line": 2727 }, "methods": [ { @@ -3317,7 +3317,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2674 + "line": 2730 }, "name": "workItBaby", "returns": { @@ -3346,7 +3346,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2314 + "line": 2370 }, "methods": [ { @@ -3357,7 +3357,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2320 + "line": 2376 }, "name": "staticImplementedByObjectLiteral", "parameters": [ @@ -3383,7 +3383,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2346 + "line": 2402 }, "name": "staticImplementedByPrivateClass", "parameters": [ @@ -3409,7 +3409,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2335 + "line": 2391 }, "name": "staticImplementedByPublicClass", "parameters": [ @@ -3435,7 +3435,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2357 + "line": 2413 }, "name": "staticWhenTypedAsClass", "parameters": [ @@ -3461,7 +3461,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2367 + "line": 2423 }, "name": "implementedByObjectLiteral", "parameters": [ @@ -3486,7 +3486,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2393 + "line": 2449 }, "name": "implementedByPrivateClass", "parameters": [ @@ -3511,7 +3511,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2382 + "line": 2438 }, "name": "implementedByPublicClass", "parameters": [ @@ -3536,7 +3536,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2404 + "line": 2460 }, "name": "whenTypedAsClass", "parameters": [ @@ -3571,7 +3571,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1827 + "line": 1883 }, "methods": [ { @@ -3580,7 +3580,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1828 + "line": 1884 }, "name": "consumeAnotherPublicInterface", "parameters": [ @@ -3603,7 +3603,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1832 + "line": 1888 }, "name": "consumeNonInternalInterface", "parameters": [ @@ -3716,7 +3716,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1988 + "line": 2044 }, "methods": [ { @@ -3725,7 +3725,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1989 + "line": 2045 }, "name": "render", "parameters": [ @@ -3749,7 +3749,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1995 + "line": 2051 }, "name": "renderArbitrary", "parameters": [ @@ -3777,7 +3777,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1999 + "line": 2055 }, "name": "renderMap", "parameters": [ @@ -3819,7 +3819,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2959 + "line": 3015 }, "methods": [ { @@ -3828,7 +3828,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2960 + "line": 3016 }, "name": "pleaseCompile" } @@ -3943,7 +3943,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2516 + "line": 2572 }, "methods": [ { @@ -3953,7 +3953,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2523 + "line": 2579 }, "name": "takeThis", "returns": { @@ -3970,7 +3970,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2528 + "line": 2584 }, "name": "takeThisToo", "returns": { @@ -4363,7 +4363,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2033 + "line": 2089 }, "name": "DiamondInheritanceBaseLevelStruct", "properties": [ @@ -4375,7 +4375,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2034 + "line": 2090 }, "name": "baseLevelProperty", "type": { @@ -4398,7 +4398,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2037 + "line": 2093 }, "name": "DiamondInheritanceFirstMidLevelStruct", "properties": [ @@ -4410,7 +4410,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2039 + "line": 2095 }, "name": "firstMidLevelProperty", "type": { @@ -4433,7 +4433,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2042 + "line": 2098 }, "name": "DiamondInheritanceSecondMidLevelStruct", "properties": [ @@ -4445,7 +4445,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2044 + "line": 2100 }, "name": "secondMidLevelProperty", "type": { @@ -4469,7 +4469,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2047 + "line": 2103 }, "name": "DiamondInheritanceTopLevelStruct", "properties": [ @@ -4481,7 +4481,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2050 + "line": 2106 }, "name": "topLevelProperty", "type": { @@ -4502,7 +4502,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2538 + "line": 2594 }, "name": "DisappointingCollectionSource", "properties": [ @@ -4516,7 +4516,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2540 + "line": 2596 }, "name": "maybeList", "optional": true, @@ -4540,7 +4540,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2542 + "line": 2598 }, "name": "maybeMap", "optional": true, @@ -4571,7 +4571,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1299 + "line": 1355 }, "methods": [ { @@ -4580,7 +4580,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1314 + "line": 1370 }, "name": "changePrivatePropertyValue", "parameters": [ @@ -4598,7 +4598,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1306 + "line": 1362 }, "name": "privateMethodValue", "returns": { @@ -4613,7 +4613,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1310 + "line": 1366 }, "name": "privatePropertyValue", "returns": { @@ -4641,7 +4641,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1356 + "line": 1412 }, "methods": [ { @@ -4650,7 +4650,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1357 + "line": 1413 }, "name": "method", "parameters": [ @@ -4759,7 +4759,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1433 + "line": 1489 }, "methods": [ { @@ -4768,7 +4768,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1434 + "line": 1490 }, "name": "optionalAndVariadic", "parameters": [ @@ -4901,7 +4901,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2800 + "line": 2856 }, "parameters": [ { @@ -4915,7 +4915,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2799 + "line": 2855 }, "name": "DynamicPropertyBearer", "properties": [ @@ -4925,7 +4925,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2802 + "line": 2858 }, "name": "dynamicProperty", "type": { @@ -4938,7 +4938,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2800 + "line": 2856 }, "name": "valueStore", "type": { @@ -4961,7 +4961,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2811 + "line": 2867 }, "parameters": [ { @@ -4975,7 +4975,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2810 + "line": 2866 }, "methods": [ { @@ -4986,7 +4986,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2822 + "line": 2878 }, "name": "overrideValue", "parameters": [ @@ -5016,7 +5016,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2811 + "line": 2867 }, "name": "originalValue", "type": { @@ -5173,7 +5173,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1648 + "line": 1704 }, "methods": [ { @@ -5184,7 +5184,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1653 + "line": 1709 }, "name": "doesKeyExist", "parameters": [ @@ -5215,7 +5215,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1673 + "line": 1729 }, "name": "prop1IsNull", "returns": { @@ -5237,7 +5237,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1663 + "line": 1719 }, "name": "prop2IsUndefined", "returns": { @@ -5266,7 +5266,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1643 + "line": 1699 }, "name": "EraseUndefinedHashValuesOptions", "properties": [ @@ -5278,7 +5278,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1644 + "line": 1700 }, "name": "option1", "optional": true, @@ -5294,7 +5294,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1645 + "line": 1701 }, "name": "option2", "optional": true, @@ -5457,7 +5457,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1519 + "line": 1575 }, "parameters": [ { @@ -5471,7 +5471,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1518 + "line": 1574 }, "name": "ExportedBaseClass", "properties": [ @@ -5482,7 +5482,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1519 + "line": 1575 }, "name": "success", "type": { @@ -5502,7 +5502,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1762 + "line": 1818 }, "name": "ExtendsInternalInterface", "properties": [ @@ -5514,7 +5514,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1763 + "line": 1819 }, "name": "boom", "type": { @@ -5529,7 +5529,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1703 + "line": 1759 }, "name": "prop", "type": { @@ -5926,7 +5926,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2215 + "line": 2271 }, "methods": [ { @@ -5936,7 +5936,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2217 + "line": 2273 }, "name": "provideAsClass", "returns": { @@ -5952,7 +5952,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2216 + "line": 2272 }, "name": "provideAsInterface", "returns": { @@ -5974,7 +5974,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2235 + "line": 2291 }, "methods": [ { @@ -5984,7 +5984,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2237 + "line": 2293 }, "name": "verb", "returns": { @@ -6004,7 +6004,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2236 + "line": 2292 }, "name": "value", "type": { @@ -6023,7 +6023,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1783 + "line": 1839 }, "name": "IAnotherPublicInterface", "properties": [ @@ -6034,7 +6034,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1784 + "line": 1840 }, "name": "a", "type": { @@ -6053,7 +6053,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2425 + "line": 2481 }, "methods": [ { @@ -6063,7 +6063,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2426 + "line": 2482 }, "name": "ring" } @@ -6081,7 +6081,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2414 + "line": 2470 }, "methods": [ { @@ -6091,7 +6091,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2415 + "line": 2471 }, "name": "yourTurn", "parameters": [ @@ -6117,7 +6117,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2421 + "line": 2477 }, "methods": [ { @@ -6127,7 +6127,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2422 + "line": 2478 }, "name": "yourTurn", "parameters": [ @@ -6243,7 +6243,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1774 + "line": 1830 }, "name": "IExtendsPrivateInterface", "properties": [ @@ -6255,7 +6255,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1775 + "line": 1831 }, "name": "moreThings", "type": { @@ -6274,7 +6274,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1759 + "line": 1815 }, "name": "private", "type": { @@ -6469,7 +6469,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1242 + "line": 1298 }, "name": "IInterfaceImplementedByAbstractClass", "properties": [ @@ -6481,7 +6481,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1243 + "line": 1299 }, "name": "propFromInterface", "type": { @@ -6504,7 +6504,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1348 + "line": 1404 }, "name": "IInterfaceThatShouldNotBeADataType", "properties": [ @@ -6516,7 +6516,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1350 + "line": 1406 }, "name": "otherValue", "type": { @@ -6535,7 +6535,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1714 + "line": 1770 }, "methods": [ { @@ -6545,7 +6545,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1715 + "line": 1771 }, "name": "visible" } @@ -6562,7 +6562,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1338 + "line": 1394 }, "methods": [ { @@ -6572,7 +6572,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1341 + "line": 1397 }, "name": "doThings" } @@ -6587,7 +6587,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1339 + "line": 1395 }, "name": "value", "type": { @@ -6607,9 +6607,704 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1220 + "line": 1276 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1277 + }, + "name": "hello", + "parameters": [ + { + "name": "arg1", + "type": { + "primitive": "string" + } + }, + { + "name": "arg2", + "optional": true, + "type": { + "primitive": "number" + } + } + ] + } + ], + "name": "IInterfaceWithOptionalMethodArguments", + "symbolId": "lib/compliance:IInterfaceWithOptionalMethodArguments" + }, + "jsii-calc.IInterfaceWithProperties": { + "assembly": "jsii-calc", + "docs": { + "stability": "stable" + }, + "fqn": "jsii-calc.IInterfaceWithProperties", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 586 + }, + "name": "IInterfaceWithProperties", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 587 + }, + "name": "readOnlyString", + "type": { + "primitive": "string" + } + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 588 + }, + "name": "readWriteString", + "type": { + "primitive": "string" + } + } + ], + "symbolId": "lib/compliance:IInterfaceWithProperties" + }, + "jsii-calc.IInterfaceWithPropertiesExtension": { + "assembly": "jsii-calc", + "docs": { + "stability": "stable" + }, + "fqn": "jsii-calc.IInterfaceWithPropertiesExtension", + "interfaces": [ + "jsii-calc.IInterfaceWithProperties" + ], + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 591 + }, + "name": "IInterfaceWithPropertiesExtension", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 593 + }, + "name": "foo", + "type": { + "primitive": "number" + } + } + ], + "symbolId": "lib/compliance:IInterfaceWithPropertiesExtension" + }, + "jsii-calc.IJSII417Derived": { + "assembly": "jsii-calc", + "docs": { + "stability": "stable" + }, + "fqn": "jsii-calc.IJSII417Derived", + "interfaces": [ + "jsii-calc.IJSII417PublicBaseOfBase" + ], + "kind": "interface", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 43 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 41 + }, + "name": "bar" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 44 + }, + "name": "baz" + } + ], + "name": "IJSII417Derived", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 40 + }, + "name": "property", + "type": { + "primitive": "string" + } + } + ], + "symbolId": "lib/erasures:IJSII417Derived" + }, + "jsii-calc.IJSII417PublicBaseOfBase": { + "assembly": "jsii-calc", + "docs": { + "stability": "stable" + }, + "fqn": "jsii-calc.IJSII417PublicBaseOfBase", + "kind": "interface", + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 36 }, "methods": [ + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 37 + }, + "name": "foo" + } + ], + "name": "IJSII417PublicBaseOfBase", + "properties": [ + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "immutable": true, + "locationInModule": { + "filename": "lib/erasures.ts", + "line": 34 + }, + "name": "hasRoot", + "type": { + "primitive": "boolean" + } + } + ], + "symbolId": "lib/erasures:IJSII417PublicBaseOfBase" + }, + "jsii-calc.IJavaReservedWordsInAnInterface": { + "assembly": "jsii-calc", + "docs": { + "stability": "stable" + }, + "fqn": "jsii-calc.IJavaReservedWordsInAnInterface", + "kind": "interface", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 958 + }, + "methods": [ + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 959 + }, + "name": "abstract" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 960 + }, + "name": "assert" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 961 + }, + "name": "boolean" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 962 + }, + "name": "break" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 963 + }, + "name": "byte" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 964 + }, + "name": "case" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 965 + }, + "name": "catch" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 966 + }, + "name": "char" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 967 + }, + "name": "class" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 968 + }, + "name": "const" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 969 + }, + "name": "continue" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 970 + }, + "name": "default" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 972 + }, + "name": "do" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 971 + }, + "name": "double" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 973 + }, + "name": "else" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 974 + }, + "name": "enum" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 975 + }, + "name": "extends" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 976 + }, + "name": "false" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 977 + }, + "name": "final" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 978 + }, + "name": "finally" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 979 + }, + "name": "float" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 980 + }, + "name": "for" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 981 + }, + "name": "goto" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 982 + }, + "name": "if" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 983 + }, + "name": "implements" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 984 + }, + "name": "import" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 985 + }, + "name": "instanceof" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 986 + }, + "name": "int" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 987 + }, + "name": "interface" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 988 + }, + "name": "long" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 989 + }, + "name": "native" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 990 + }, + "name": "null" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 991 + }, + "name": "package" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 992 + }, + "name": "private" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 993 + }, + "name": "protected" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 994 + }, + "name": "public" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 995 + }, + "name": "return" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 996 + }, + "name": "short" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 997 + }, + "name": "static" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 998 + }, + "name": "strictfp" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 999 + }, + "name": "super" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1000 + }, + "name": "switch" + }, + { + "abstract": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 1001 + }, + "name": "synchronized" + }, { "abstract": true, "docs": { @@ -6617,56 +7312,20 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1221 + "line": 1002 }, - "name": "hello", - "parameters": [ - { - "name": "arg1", - "type": { - "primitive": "string" - } - }, - { - "name": "arg2", - "optional": true, - "type": { - "primitive": "number" - } - } - ] - } - ], - "name": "IInterfaceWithOptionalMethodArguments", - "symbolId": "lib/compliance:IInterfaceWithOptionalMethodArguments" - }, - "jsii-calc.IInterfaceWithProperties": { - "assembly": "jsii-calc", - "docs": { - "stability": "stable" - }, - "fqn": "jsii-calc.IInterfaceWithProperties", - "kind": "interface", - "locationInModule": { - "filename": "lib/compliance.ts", - "line": 586 - }, - "name": "IInterfaceWithProperties", - "properties": [ + "name": "this" + }, { "abstract": true, "docs": { "stability": "stable" }, - "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 587 + "line": 1003 }, - "name": "readOnlyString", - "type": { - "primitive": "string" - } + "name": "throw" }, { "abstract": true, @@ -6675,32 +7334,10 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 588 + "line": 1004 }, - "name": "readWriteString", - "type": { - "primitive": "string" - } - } - ], - "symbolId": "lib/compliance:IInterfaceWithProperties" - }, - "jsii-calc.IInterfaceWithPropertiesExtension": { - "assembly": "jsii-calc", - "docs": { - "stability": "stable" - }, - "fqn": "jsii-calc.IInterfaceWithPropertiesExtension", - "interfaces": [ - "jsii-calc.IInterfaceWithProperties" - ], - "kind": "interface", - "locationInModule": { - "filename": "lib/compliance.ts", - "line": 591 - }, - "name": "IInterfaceWithPropertiesExtension", - "properties": [ + "name": "throws" + }, { "abstract": true, "docs": { @@ -6708,41 +7345,20 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 593 + "line": 1005 }, - "name": "foo", - "type": { - "primitive": "number" - } - } - ], - "symbolId": "lib/compliance:IInterfaceWithPropertiesExtension" - }, - "jsii-calc.IJSII417Derived": { - "assembly": "jsii-calc", - "docs": { - "stability": "stable" - }, - "fqn": "jsii-calc.IJSII417Derived", - "interfaces": [ - "jsii-calc.IJSII417PublicBaseOfBase" - ], - "kind": "interface", - "locationInModule": { - "filename": "lib/erasures.ts", - "line": 43 - }, - "methods": [ + "name": "transient" + }, { "abstract": true, "docs": { "stability": "stable" }, "locationInModule": { - "filename": "lib/erasures.ts", - "line": 41 + "filename": "lib/compliance.ts", + "line": 1006 }, - "name": "bar" + "name": "true" }, { "abstract": true, @@ -6750,57 +7366,35 @@ "stability": "stable" }, "locationInModule": { - "filename": "lib/erasures.ts", - "line": 44 + "filename": "lib/compliance.ts", + "line": 1007 }, - "name": "baz" - } - ], - "name": "IJSII417Derived", - "properties": [ + "name": "try" + }, { "abstract": true, "docs": { "stability": "stable" }, - "immutable": true, "locationInModule": { - "filename": "lib/erasures.ts", - "line": 40 + "filename": "lib/compliance.ts", + "line": 1008 }, - "name": "property", - "type": { - "primitive": "string" - } - } - ], - "symbolId": "lib/erasures:IJSII417Derived" - }, - "jsii-calc.IJSII417PublicBaseOfBase": { - "assembly": "jsii-calc", - "docs": { - "stability": "stable" - }, - "fqn": "jsii-calc.IJSII417PublicBaseOfBase", - "kind": "interface", - "locationInModule": { - "filename": "lib/erasures.ts", - "line": 36 - }, - "methods": [ + "name": "void" + }, { "abstract": true, "docs": { "stability": "stable" }, "locationInModule": { - "filename": "lib/erasures.ts", - "line": 37 + "filename": "lib/compliance.ts", + "line": 1009 }, - "name": "foo" + "name": "volatile" } ], - "name": "IJSII417PublicBaseOfBase", + "name": "IJavaReservedWordsInAnInterface", "properties": [ { "abstract": true, @@ -6809,16 +7403,16 @@ }, "immutable": true, "locationInModule": { - "filename": "lib/erasures.ts", - "line": 34 + "filename": "lib/compliance.ts", + "line": 1010 }, - "name": "hasRoot", + "name": "while", "type": { - "primitive": "boolean" + "primitive": "string" } } ], - "symbolId": "lib/erasures:IJSII417PublicBaseOfBase" + "symbolId": "lib/compliance:IJavaReservedWordsInAnInterface" }, "jsii-calc.IJsii487External": { "assembly": "jsii-calc", @@ -6871,7 +7465,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1291 + "line": 1347 }, "name": "IMutableObjectLiteral", "properties": [ @@ -6882,7 +7476,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1292 + "line": 1348 }, "name": "value", "type": { @@ -6904,7 +7498,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1792 + "line": 1848 }, "name": "INonInternalInterface", "properties": [ @@ -6915,7 +7509,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1789 + "line": 1845 }, "name": "b", "type": { @@ -6929,7 +7523,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1793 + "line": 1849 }, "name": "c", "type": { @@ -6949,7 +7543,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2550 + "line": 2606 }, "methods": [ { @@ -6959,7 +7553,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2552 + "line": 2608 }, "name": "wasSet", "returns": { @@ -6978,7 +7572,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2551 + "line": 2607 }, "name": "property", "type": { @@ -6998,7 +7592,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2739 + "line": 2795 }, "methods": [ { @@ -7008,7 +7602,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2740 + "line": 2796 }, "name": "optional", "returns": { @@ -7031,7 +7625,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1515 + "line": 1571 }, "name": "IPrivatelyImplemented", "properties": [ @@ -7043,7 +7637,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1516 + "line": 1572 }, "name": "success", "type": { @@ -7062,7 +7656,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1563 + "line": 1619 }, "methods": [ { @@ -7072,7 +7666,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1564 + "line": 1620 }, "name": "bye", "returns": { @@ -7094,7 +7688,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1567 + "line": 1623 }, "methods": [ { @@ -7104,7 +7698,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1568 + "line": 1624 }, "name": "ciao", "returns": { @@ -7162,7 +7756,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2481 + "line": 2537 }, "name": "IReturnJsii976", "properties": [ @@ -7174,7 +7768,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2482 + "line": 2538 }, "name": "foo", "type": { @@ -7287,7 +7881,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2668 + "line": 2724 }, "methods": [ { @@ -7297,7 +7891,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2669 + "line": 2725 }, "name": "returnStruct", "returns": { @@ -7358,7 +7952,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1766 + "line": 1822 }, "name": "ImplementInternalInterface", "properties": [ @@ -7368,7 +7962,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1767 + "line": 1823 }, "name": "prop", "type": { @@ -7392,7 +7986,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2232 + "line": 2288 }, "name": "Implementation", "properties": [ @@ -7403,7 +7997,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2233 + "line": 2289 }, "name": "value", "type": { @@ -7430,7 +8024,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1721 + "line": 1777 }, "methods": [ { @@ -7439,7 +8033,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1722 + "line": 1778 }, "name": "visible", "overrides": "jsii-calc.IInterfaceWithInternal" @@ -7463,7 +8057,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1740 + "line": 1796 }, "name": "ImplementsInterfaceWithInternalSubclass", "symbolId": "lib/compliance:ImplementsInterfaceWithInternalSubclass" @@ -7482,7 +8076,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1770 + "line": 1826 }, "name": "ImplementsPrivateInterface", "properties": [ @@ -7492,7 +8086,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1771 + "line": 1827 }, "name": "private", "type": { @@ -7515,7 +8109,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1176 + "line": 1232 }, "name": "ImplictBaseOfBase", "properties": [ @@ -7527,7 +8121,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1177 + "line": 1233 }, "name": "goo", "type": { @@ -7555,7 +8149,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1570 + "line": 1626 }, "methods": [ { @@ -7564,7 +8158,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1571 + "line": 1627 }, "name": "ciao", "overrides": "jsii-calc.IPublicInterface2", @@ -7589,7 +8183,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2702 + "line": 2758 }, "methods": [ { @@ -7598,7 +8192,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2713 + "line": 2769 }, "name": "listOfInterfaces", "returns": { @@ -7619,7 +8213,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2703 + "line": 2759 }, "name": "listOfStructs", "returns": { @@ -7640,7 +8234,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2723 + "line": 2779 }, "name": "mapOfInterfaces", "returns": { @@ -7661,7 +8255,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2707 + "line": 2763 }, "name": "mapOfStructs", "returns": { @@ -7694,7 +8288,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1207 + "line": 1263 }, "name": "Foo", "namespace": "InterfaceInNamespaceIncludesClasses", @@ -7705,7 +8299,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1208 + "line": 1264 }, "name": "bar", "optional": true, @@ -7726,7 +8320,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1211 + "line": 1267 }, "name": "Hello", "namespace": "InterfaceInNamespaceIncludesClasses", @@ -7739,7 +8333,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1212 + "line": 1268 }, "name": "foo", "type": { @@ -7759,7 +8353,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1201 + "line": 1257 }, "name": "Hello", "namespace": "InterfaceInNamespaceOnlyInterface", @@ -7772,7 +8366,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1202 + "line": 1258 }, "name": "foo", "type": { @@ -7792,7 +8386,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2103 + "line": 2159 }, "methods": [ { @@ -7801,7 +8395,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2104 + "line": 2160 }, "name": "makeInterfaces", "parameters": [ @@ -7845,7 +8439,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2749 + "line": 2805 }, "methods": [ { @@ -7854,7 +8448,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2750 + "line": 2806 }, "name": "myself", "returns": { @@ -7883,13 +8477,13 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2943 + "line": 2999 } }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2939 + "line": 2995 }, "name": "Issue2638", "symbolId": "lib/compliance:Issue2638" @@ -7906,13 +8500,13 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2949 + "line": 3005 } }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2948 + "line": 3004 }, "name": "Issue2638B", "symbolId": "lib/compliance:Issue2638B" @@ -8801,7 +9395,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1533 + "line": 1589 }, "name": "JsiiAgent", "properties": [ @@ -8813,7 +9407,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1537 + "line": 1593 }, "name": "value", "optional": true, @@ -8836,7 +9430,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2583 + "line": 2639 }, "methods": [ { @@ -8845,7 +9439,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2628 + "line": 2684 }, "name": "anyArray", "returns": { @@ -8861,7 +9455,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2624 + "line": 2680 }, "name": "anyBooleanFalse", "returns": { @@ -8877,7 +9471,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2620 + "line": 2676 }, "name": "anyBooleanTrue", "returns": { @@ -8893,7 +9487,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2600 + "line": 2656 }, "name": "anyDate", "returns": { @@ -8909,7 +9503,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2616 + "line": 2672 }, "name": "anyEmptyString", "returns": { @@ -8925,7 +9519,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2596 + "line": 2652 }, "name": "anyFunction", "returns": { @@ -8941,7 +9535,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2632 + "line": 2688 }, "name": "anyHash", "returns": { @@ -8957,7 +9551,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2588 + "line": 2644 }, "name": "anyNull", "returns": { @@ -8973,7 +9567,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2604 + "line": 2660 }, "name": "anyNumber", "returns": { @@ -8989,7 +9583,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2636 + "line": 2692 }, "name": "anyRef", "returns": { @@ -9005,7 +9599,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2612 + "line": 2668 }, "name": "anyString", "returns": { @@ -9021,7 +9615,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2592 + "line": 2648 }, "name": "anyUndefined", "returns": { @@ -9037,7 +9631,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2608 + "line": 2664 }, "name": "anyZero", "returns": { @@ -9053,7 +9647,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2584 + "line": 2640 }, "name": "stringify", "parameters": [ @@ -9090,7 +9684,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2834 + "line": 2890 }, "parameters": [ { @@ -9104,7 +9698,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2833 + "line": 2889 }, "name": "LevelOne", "properties": [ @@ -9115,7 +9709,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2834 + "line": 2890 }, "name": "props", "type": { @@ -9135,7 +9729,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2844 + "line": 2900 }, "name": "PropBooleanValue", "namespace": "LevelOne", @@ -9148,7 +9742,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2845 + "line": 2901 }, "name": "value", "type": { @@ -9168,7 +9762,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2840 + "line": 2896 }, "name": "PropProperty", "namespace": "LevelOne", @@ -9181,7 +9775,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2841 + "line": 2897 }, "name": "prop", "type": { @@ -9201,7 +9795,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2836 + "line": 2892 }, "name": "LevelOneProps", "properties": [ @@ -9213,7 +9807,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2837 + "line": 2893 }, "name": "prop", "type": { @@ -9234,7 +9828,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1442 + "line": 1498 }, "name": "LoadBalancedFargateServiceProps", "properties": [ @@ -9249,7 +9843,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1485 + "line": 1541 }, "name": "containerPort", "optional": true, @@ -9268,7 +9862,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1456 + "line": 1512 }, "name": "cpu", "optional": true, @@ -9287,7 +9881,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1478 + "line": 1534 }, "name": "memoryMiB", "optional": true, @@ -9305,7 +9899,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1492 + "line": 1548 }, "name": "publicLoadBalancer", "optional": true, @@ -9323,7 +9917,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1499 + "line": 1555 }, "name": "publicTasks", "optional": true, @@ -9690,7 +10284,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2457 + "line": 2513 }, "name": "NestedStruct", "properties": [ @@ -9703,7 +10297,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2461 + "line": 2517 }, "name": "numberProp", "type": { @@ -9728,7 +10322,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1126 + "line": 1182 }, "methods": [ { @@ -9739,7 +10333,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1157 + "line": 1213 }, "name": "cryptoSha256", "returns": { @@ -9757,7 +10351,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1131 + "line": 1187 }, "name": "fsReadFile", "returns": { @@ -9774,7 +10368,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1140 + "line": 1196 }, "name": "fsReadFileSync", "returns": { @@ -9794,7 +10388,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1149 + "line": 1205 }, "name": "osPlatform", "type": { @@ -9817,7 +10411,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1372 + "line": 1428 }, "parameters": [ { @@ -9838,7 +10432,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1369 + "line": 1425 }, "methods": [ { @@ -9847,7 +10441,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1380 + "line": 1436 }, "name": "giveMeUndefined", "parameters": [ @@ -9866,7 +10460,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1390 + "line": 1446 }, "name": "giveMeUndefinedInsideAnObject", "parameters": [ @@ -9884,7 +10478,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1419 + "line": 1475 }, "name": "verifyPropertyIsUndefined" } @@ -9897,7 +10491,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1370 + "line": 1426 }, "name": "changeMeToUndefined", "optional": true, @@ -9918,7 +10512,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1428 + "line": 1484 }, "name": "NullShouldBeTreatedAsUndefinedData", "properties": [ @@ -9930,7 +10524,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1430 + "line": 1486 }, "name": "arrayWithThreeElementsAndUndefinedAsSecondArgument", "type": { @@ -9950,7 +10544,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1429 + "line": 1485 }, "name": "thisShouldBeUndefined", "optional": true, @@ -10137,7 +10731,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2554 + "line": 2610 }, "methods": [ { @@ -10146,7 +10740,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2555 + "line": 2611 }, "name": "provide", "returns": { @@ -10206,7 +10800,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1224 + "line": 1280 }, "parameters": [ { @@ -10220,7 +10814,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1223 + "line": 1279 }, "methods": [ { @@ -10229,7 +10823,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1232 + "line": 1288 }, "name": "invokeWithOptional" }, @@ -10239,7 +10833,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1228 + "line": 1284 }, "name": "invokeWithoutOptional" } @@ -10346,7 +10940,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1874 + "line": 1930 }, "name": "OptionalStruct", "properties": [ @@ -10358,7 +10952,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1875 + "line": 1931 }, "name": "field", "optional": true, @@ -10381,7 +10975,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1869 + "line": 1925 }, "parameters": [ { @@ -10396,7 +10990,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1865 + "line": 1921 }, "name": "OptionalStructConsumer", "properties": [ @@ -10407,7 +11001,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1866 + "line": 1922 }, "name": "parameterWasUndefined", "type": { @@ -10421,7 +11015,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1867 + "line": 1923 }, "name": "fieldValue", "optional": true, @@ -10447,7 +11041,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2142 + "line": 2198 }, "methods": [ { @@ -10456,7 +11050,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2154 + "line": 2210 }, "name": "overrideMe", "protected": true, @@ -10472,7 +11066,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2150 + "line": 2206 }, "name": "switchModes" }, @@ -10482,7 +11076,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2146 + "line": 2202 }, "name": "valueFromProtected", "returns": { @@ -10501,7 +11095,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2143 + "line": 2199 }, "name": "overrideReadOnly", "protected": true, @@ -10515,7 +11109,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2144 + "line": 2200 }, "name": "overrideReadWrite", "protected": true, @@ -10581,7 +11175,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2506 + "line": 2562 }, "name": "ParentStruct982", "properties": [ @@ -10593,7 +11187,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2507 + "line": 2563 }, "name": "foo", "type": { @@ -10618,7 +11212,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1840 + "line": 1896 }, "methods": [ { @@ -10628,7 +11222,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1841 + "line": 1897 }, "name": "consumePartiallyInitializedThis", "parameters": [ @@ -10864,7 +11458,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1558 + "line": 1614 }, "methods": [ { @@ -10873,7 +11467,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1559 + "line": 1615 }, "name": "hello" } @@ -10895,7 +11489,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 957 + "line": 1013 }, "methods": [ { @@ -10904,7 +11498,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 958 + "line": 1014 }, "name": "and" }, @@ -10914,7 +11508,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 962 + "line": 1018 }, "name": "as" }, @@ -10924,7 +11518,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 966 + "line": 1022 }, "name": "assert" }, @@ -10934,7 +11528,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 970 + "line": 1026 }, "name": "async" }, @@ -10944,7 +11538,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 974 + "line": 1030 }, "name": "await" }, @@ -10954,7 +11548,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 978 + "line": 1034 }, "name": "break" }, @@ -10964,7 +11558,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 982 + "line": 1038 }, "name": "class" }, @@ -10974,7 +11568,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 986 + "line": 1042 }, "name": "continue" }, @@ -10984,7 +11578,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 990 + "line": 1046 }, "name": "def" }, @@ -10994,7 +11588,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 994 + "line": 1050 }, "name": "del" }, @@ -11004,7 +11598,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 998 + "line": 1054 }, "name": "elif" }, @@ -11014,7 +11608,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1002 + "line": 1058 }, "name": "else" }, @@ -11024,7 +11618,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1006 + "line": 1062 }, "name": "except" }, @@ -11034,7 +11628,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1010 + "line": 1066 }, "name": "finally" }, @@ -11044,7 +11638,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1014 + "line": 1070 }, "name": "for" }, @@ -11054,7 +11648,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1018 + "line": 1074 }, "name": "from" }, @@ -11064,7 +11658,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1022 + "line": 1078 }, "name": "global" }, @@ -11074,7 +11668,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1026 + "line": 1082 }, "name": "if" }, @@ -11084,7 +11678,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1030 + "line": 1086 }, "name": "import" }, @@ -11094,7 +11688,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1034 + "line": 1090 }, "name": "in" }, @@ -11104,7 +11698,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1038 + "line": 1094 }, "name": "is" }, @@ -11114,7 +11708,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1042 + "line": 1098 }, "name": "lambda" }, @@ -11124,7 +11718,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1046 + "line": 1102 }, "name": "nonlocal" }, @@ -11134,7 +11728,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1050 + "line": 1106 }, "name": "not" }, @@ -11144,7 +11738,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1054 + "line": 1110 }, "name": "or" }, @@ -11154,7 +11748,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1058 + "line": 1114 }, "name": "pass" }, @@ -11164,7 +11758,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1062 + "line": 1118 }, "name": "raise" }, @@ -11174,7 +11768,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1066 + "line": 1122 }, "name": "return" }, @@ -11184,7 +11778,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1070 + "line": 1126 }, "name": "try" }, @@ -11194,7 +11788,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1074 + "line": 1130 }, "name": "while" }, @@ -11204,7 +11798,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1078 + "line": 1134 }, "name": "with" }, @@ -11214,7 +11808,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1082 + "line": 1138 }, "name": "yield" } @@ -11234,7 +11828,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1092 + "line": 1148 }, "parameters": [ { @@ -11248,7 +11842,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1091 + "line": 1147 }, "methods": [ { @@ -11257,7 +11851,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1094 + "line": 1150 }, "name": "method", "parameters": [ @@ -11285,7 +11879,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1092 + "line": 1148 }, "name": "self", "type": { @@ -11307,7 +11901,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1100 + "line": 1156 }, "parameters": [ { @@ -11321,7 +11915,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1099 + "line": 1155 }, "name": "ClassWithSelfKwarg", "namespace": "PythonSelf", @@ -11333,7 +11927,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1100 + "line": 1156 }, "name": "props", "type": { @@ -11352,7 +11946,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1107 + "line": 1163 }, "methods": [ { @@ -11362,7 +11956,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1108 + "line": 1164 }, "name": "method", "parameters": [ @@ -11394,7 +11988,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1103 + "line": 1159 }, "name": "StructWithSelf", "namespace": "PythonSelf", @@ -11407,7 +12001,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1104 + "line": 1160 }, "name": "self", "type": { @@ -11432,7 +12026,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1183 + "line": 1239 }, "methods": [ { @@ -11441,7 +12035,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1186 + "line": 1242 }, "name": "loadFoo", "returns": { @@ -11457,7 +12051,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1190 + "line": 1246 }, "name": "saveFoo", "parameters": [ @@ -11478,7 +12072,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1184 + "line": 1240 }, "name": "foo", "optional": true, @@ -11506,7 +12100,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1510 + "line": 1566 }, "name": "ReturnsPrivateImplementationOfInterface", "properties": [ @@ -11517,7 +12111,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1511 + "line": 1567 }, "name": "privateImplementation", "type": { @@ -11539,7 +12133,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2450 + "line": 2506 }, "name": "RootStruct", "properties": [ @@ -11552,7 +12146,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2454 + "line": 2510 }, "name": "stringProp", "type": { @@ -11567,7 +12161,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2455 + "line": 2511 }, "name": "nestedStruct", "optional": true, @@ -11587,7 +12181,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2463 + "line": 2519 }, "methods": [ { @@ -11596,7 +12190,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2464 + "line": 2520 }, "name": "validate", "parameters": [ @@ -11728,7 +12322,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2021 + "line": 2077 }, "name": "SecondLevelStruct", "properties": [ @@ -11741,7 +12335,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2025 + "line": 2081 }, "name": "deeperRequiredProp", "type": { @@ -11757,7 +12351,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2030 + "line": 2086 }, "name": "deeperOptionalProp", "optional": true, @@ -11784,7 +12378,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1629 + "line": 1685 }, "methods": [ { @@ -11793,7 +12387,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1632 + "line": 1688 }, "name": "interface1", "returns": { @@ -11808,7 +12402,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1636 + "line": 1692 }, "name": "interface2", "returns": { @@ -11832,7 +12426,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1973 + "line": 2029 }, "methods": [ { @@ -11841,7 +12435,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1975 + "line": 2031 }, "name": "isSingletonInt", "parameters": [ @@ -11872,7 +12466,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1980 + "line": 2036 }, "members": [ { @@ -11897,7 +12491,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1956 + "line": 2012 }, "methods": [ { @@ -11906,7 +12500,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1959 + "line": 2015 }, "name": "isSingletonString", "parameters": [ @@ -11937,7 +12531,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1964 + "line": 2020 }, "members": [ { @@ -12012,7 +12606,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2487 + "line": 2543 }, "methods": [ { @@ -12021,7 +12615,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2496 + "line": 2552 }, "name": "returnAnonymous", "returns": { @@ -12037,7 +12631,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2488 + "line": 2544 }, "name": "returnReturn", "returns": { @@ -12202,7 +12796,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1899 + "line": 1955 }, "methods": [ { @@ -12211,7 +12805,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1902 + "line": 1958 }, "name": "canAccessStaticContext", "returns": { @@ -12230,7 +12824,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1910 + "line": 1966 }, "name": "staticVariable", "static": true, @@ -12251,7 +12845,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2868 + "line": 2924 }, "methods": [ { @@ -12260,7 +12854,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2873 + "line": 2929 }, "name": "method", "overrides": "jsii-calc.StaticHelloParent", @@ -12276,7 +12870,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2869 + "line": 2925 }, "name": "property", "overrides": "jsii-calc.StaticHelloParent", @@ -12304,7 +12898,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2859 + "line": 2915 }, "methods": [ { @@ -12313,7 +12907,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2864 + "line": 2920 }, "name": "method", "static": true @@ -12328,7 +12922,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2860 + "line": 2916 }, "name": "property", "static": true, @@ -12581,7 +13175,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1682 + "line": 1738 }, "name": "StripInternal", "properties": [ @@ -12591,7 +13185,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1683 + "line": 1739 }, "name": "youSeeMe", "type": { @@ -12612,7 +13206,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2248 + "line": 2304 }, "name": "StructA", "properties": [ @@ -12624,7 +13218,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2249 + "line": 2305 }, "name": "requiredString", "type": { @@ -12639,7 +13233,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2251 + "line": 2307 }, "name": "optionalNumber", "optional": true, @@ -12655,7 +13249,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2250 + "line": 2306 }, "name": "optionalString", "optional": true, @@ -12677,7 +13271,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2257 + "line": 2313 }, "name": "StructB", "properties": [ @@ -12689,7 +13283,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2258 + "line": 2314 }, "name": "requiredString", "type": { @@ -12704,7 +13298,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2259 + "line": 2315 }, "name": "optionalBoolean", "optional": true, @@ -12720,7 +13314,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2260 + "line": 2316 }, "name": "optionalStructA", "optional": true, @@ -12743,7 +13337,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2686 + "line": 2742 }, "name": "StructParameterType", "properties": [ @@ -12755,7 +13349,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2687 + "line": 2743 }, "name": "scope", "type": { @@ -12770,7 +13364,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2688 + "line": 2744 }, "name": "props", "optional": true, @@ -12796,7 +13390,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2079 + "line": 2135 }, "methods": [ { @@ -12805,7 +13399,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2091 + "line": 2147 }, "name": "howManyVarArgsDidIPass", "parameters": [ @@ -12837,7 +13431,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2080 + "line": 2136 }, "name": "roundTrip", "parameters": [ @@ -12874,7 +13468,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2262 + "line": 2318 }, "methods": [ { @@ -12883,7 +13477,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2263 + "line": 2319 }, "name": "isStructA", "parameters": [ @@ -12916,7 +13510,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2284 + "line": 2340 }, "name": "isStructB", "parameters": [ @@ -12957,7 +13551,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2885 + "line": 2941 }, "name": "StructWithEnum", "properties": [ @@ -12970,7 +13564,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2889 + "line": 2945 }, "name": "foo", "type": { @@ -12987,7 +13581,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2895 + "line": 2951 }, "name": "bar", "optional": true, @@ -13008,7 +13602,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2053 + "line": 2109 }, "name": "StructWithJavaReservedWords", "properties": [ @@ -13020,7 +13614,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2054 + "line": 2110 }, "name": "default", "type": { @@ -13035,7 +13629,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2055 + "line": 2111 }, "name": "assert", "optional": true, @@ -13051,7 +13645,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2058 + "line": 2114 }, "name": "result", "optional": true, @@ -13067,7 +13661,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2059 + "line": 2115 }, "name": "that", "optional": true, @@ -13154,7 +13748,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2188 + "line": 2244 }, "parameters": [ { @@ -13202,7 +13796,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2178 + "line": 2234 }, "name": "SupportsNiceJavaBuilder", "properties": [ @@ -13214,7 +13808,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2189 + "line": 2245 }, "name": "id", "overrides": "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", @@ -13229,7 +13823,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2179 + "line": 2235 }, "name": "rest", "type": { @@ -13254,7 +13848,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2198 + "line": 2254 }, "name": "SupportsNiceJavaBuilderProps", "properties": [ @@ -13267,7 +13861,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2208 + "line": 2264 }, "name": "bar", "type": { @@ -13284,7 +13878,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2203 + "line": 2259 }, "name": "id", "optional": true, @@ -13308,7 +13902,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2170 + "line": 2226 }, "parameters": [ { @@ -13334,7 +13928,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2162 + "line": 2218 }, "name": "SupportsNiceJavaBuilderWithRequiredProps", "properties": [ @@ -13345,7 +13939,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2164 + "line": 2220 }, "name": "bar", "type": { @@ -13360,7 +13954,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2171 + "line": 2227 }, "name": "id", "type": { @@ -13374,7 +13968,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2163 + "line": 2219 }, "name": "propId", "optional": true, @@ -13669,7 +14263,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2898 + "line": 2954 }, "methods": [ { @@ -13679,7 +14273,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2902 + "line": 2958 }, "name": "isStringEnumA", "parameters": [ @@ -13703,7 +14297,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2909 + "line": 2965 }, "name": "isStringEnumB", "parameters": [ @@ -13731,7 +14325,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2928 + "line": 2984 }, "name": "structWithFoo", "type": { @@ -13746,7 +14340,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2918 + "line": 2974 }, "name": "structWithFooBar", "type": { @@ -13797,7 +14391,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2004 + "line": 2060 }, "name": "TopLevelStruct", "properties": [ @@ -13810,7 +14404,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2008 + "line": 2064 }, "name": "required", "type": { @@ -13826,7 +14420,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2018 + "line": 2074 }, "name": "secondLevel", "type": { @@ -13851,7 +14445,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2013 + "line": 2069 }, "name": "optional", "optional": true, @@ -13878,7 +14472,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2971 + "line": 3027 }, "methods": [ { @@ -13887,7 +14481,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2972 + "line": 3028 }, "name": "toIsoString", "returns": { @@ -13903,7 +14497,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2986 + "line": 3042 }, "name": "toIsOString", "returns": { @@ -13919,7 +14513,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2979 + "line": 3035 }, "name": "toISOString", "returns": { @@ -13938,7 +14532,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2990 + "line": 3046 }, "name": "fooBar", "type": { @@ -13953,7 +14547,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2995 + "line": 3051 }, "name": "fooBAR", "type": { @@ -13974,7 +14568,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2760 + "line": 2816 }, "methods": [ { @@ -13984,7 +14578,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2764 + "line": 2820 }, "name": "mode", "returns": { @@ -14058,7 +14652,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1112 + "line": 1168 }, "name": "UnionProperties", "properties": [ @@ -14070,7 +14664,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1114 + "line": 1170 }, "name": "bar", "type": { @@ -14097,7 +14691,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1113 + "line": 1169 }, "name": "foo", "optional": true, @@ -14209,7 +14803,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1117 + "line": 1173 }, "methods": [ { @@ -14218,7 +14812,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1118 + "line": 1174 }, "name": "value", "returns": { @@ -14246,7 +14840,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1168 + "line": 1224 }, "methods": [ { @@ -14255,7 +14849,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1169 + "line": 1225 }, "name": "hello", "returns": { @@ -14677,7 +15271,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1928 + "line": 1984 }, "methods": [ { @@ -14686,7 +15280,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1933 + "line": 1989 }, "name": "callMe" }, @@ -14697,7 +15291,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1937 + "line": 1993 }, "name": "overrideMe", "protected": true @@ -14712,7 +15306,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1930 + "line": 1986 }, "name": "methodWasCalled", "type": { @@ -14735,7 +15329,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1944 + "line": 2000 }, "parameters": [ { @@ -14750,7 +15344,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1943 + "line": 1999 }, "name": "WithPrivatePropertyInConstructor", "properties": [ @@ -14761,7 +15355,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1946 + "line": 2002 }, "name": "success", "type": { @@ -16931,5 +17525,5 @@ } }, "version": "3.20.120", - "fingerprint": "x8U5PHtkMg1Me8BU5rwy98qvqY6p+AhernFr4narjHc=" + "fingerprint": "V1EIg5zjHYsZARPmK+3FUV/k1Jp/oN+y3WOnwLEkNJ8=" } diff --git a/packages/jsii-pacmak/lib/targets/java.ts b/packages/jsii-pacmak/lib/targets/java.ts index da935cd0c3..b512d40d4f 100644 --- a/packages/jsii-pacmak/lib/targets/java.ts +++ b/packages/jsii-pacmak/lib/targets/java.ts @@ -870,14 +870,15 @@ class JavaGenerator extends Generator { const returnType = method.returns ? this.toDecoratedJavaType(method.returns) : 'void'; + const methodName = JavaGenerator.safeJavaMethodName(method.name); this.addJavaDocs(method, { api: 'member', fqn: ifc.fqn, - memberName: method.name, + memberName: methodName, }); this.emitStabilityAnnotations(method); this.code.line( - `${returnType} ${method.name}(${this.renderMethodParameters(method)});`, + `${returnType} ${methodName}(${this.renderMethodParameters(method)});`, ); } diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-dotnet.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-dotnet.test.js.snap index 8e3462db3f..cb520d5bff 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-dotnet.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-dotnet.test.js.snap @@ -2852,6 +2852,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` ┃ ┣━ 📄 IInterfaceWithOptionalMethodArguments.cs ┃ ┣━ 📄 IInterfaceWithProperties.cs ┃ ┣━ 📄 IInterfaceWithPropertiesExtension.cs + ┃ ┣━ 📄 IJavaReservedWordsInAnInterface.cs ┃ ┣━ 📄 IJSII417Derived.cs ┃ ┣━ 📄 IJSII417PublicBaseOfBase.cs ┃ ┣━ 📄 IJsii487External.cs @@ -9210,6 +9211,448 @@ namespace Amazon.JSII.Tests.CalculatorNamespace `; +exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJavaReservedWordsInAnInterface.cs 1`] = ` +using Amazon.JSII.Runtime.Deputy; + +#pragma warning disable CS0672,CS0809,CS1591 + +namespace Amazon.JSII.Tests.CalculatorNamespace +{ + [JsiiInterface(nativeType: typeof(IJavaReservedWordsInAnInterface), fullyQualifiedName: "jsii-calc.IJavaReservedWordsInAnInterface")] + public interface IJavaReservedWordsInAnInterface + { + [JsiiProperty(name: "while", typeJson: "{\\"primitive\\":\\"string\\"}")] + string While + { + get; + } + [JsiiMethod(name: "abstract")] + void Abstract(); + [JsiiMethod(name: "assert")] + void Assert(); + [JsiiMethod(name: "boolean")] + void Boolean(); + [JsiiMethod(name: "break")] + void Break(); + [JsiiMethod(name: "byte")] + void Byte(); + [JsiiMethod(name: "case")] + void Case(); + [JsiiMethod(name: "catch")] + void Catch(); + [JsiiMethod(name: "char")] + void Char(); + [JsiiMethod(name: "class")] + void Class(); + [JsiiMethod(name: "const")] + void Const(); + [JsiiMethod(name: "continue")] + void Continue(); + [JsiiMethod(name: "default")] + void Default(); + [JsiiMethod(name: "do")] + void Do(); + [JsiiMethod(name: "double")] + void Double(); + [JsiiMethod(name: "else")] + void Else(); + [JsiiMethod(name: "enum")] + void Enum(); + [JsiiMethod(name: "extends")] + void Extends(); + [JsiiMethod(name: "false")] + void False(); + [JsiiMethod(name: "final")] + void Final(); + [JsiiMethod(name: "finally")] + void Finally(); + [JsiiMethod(name: "float")] + void Float(); + [JsiiMethod(name: "for")] + void For(); + [JsiiMethod(name: "goto")] + void Goto(); + [JsiiMethod(name: "if")] + void If(); + [JsiiMethod(name: "implements")] + void Implements(); + [JsiiMethod(name: "import")] + void Import(); + [JsiiMethod(name: "instanceof")] + void Instanceof(); + [JsiiMethod(name: "int")] + void Int(); + [JsiiMethod(name: "interface")] + void Interface(); + [JsiiMethod(name: "long")] + void Long(); + [JsiiMethod(name: "native")] + void Native(); + [JsiiMethod(name: "null")] + void Null(); + [JsiiMethod(name: "package")] + void Package(); + [JsiiMethod(name: "private")] + void Private(); + [JsiiMethod(name: "protected")] + void Protected(); + [JsiiMethod(name: "public")] + void Public(); + [JsiiMethod(name: "return")] + void Return(); + [JsiiMethod(name: "short")] + void Short(); + [JsiiMethod(name: "static")] + void Static(); + [JsiiMethod(name: "strictfp")] + void Strictfp(); + [JsiiMethod(name: "super")] + void Super(); + [JsiiMethod(name: "switch")] + void Switch(); + [JsiiMethod(name: "synchronized")] + void Synchronized(); + [JsiiMethod(name: "this")] + void This(); + [JsiiMethod(name: "throw")] + void Throw(); + [JsiiMethod(name: "throws")] + void Throws(); + [JsiiMethod(name: "transient")] + void Transient(); + [JsiiMethod(name: "true")] + void True(); + [JsiiMethod(name: "try")] + void Try(); + [JsiiMethod(name: "void")] + void Void(); + [JsiiMethod(name: "volatile")] + void Volatile(); + + [JsiiTypeProxy(nativeType: typeof(IJavaReservedWordsInAnInterface), fullyQualifiedName: "jsii-calc.IJavaReservedWordsInAnInterface")] + internal sealed class _Proxy : DeputyBase, Amazon.JSII.Tests.CalculatorNamespace.IJavaReservedWordsInAnInterface + { + private _Proxy(ByRefValue reference): base(reference) + { + } + + [JsiiProperty(name: "while", typeJson: "{\\"primitive\\":\\"string\\"}")] + public string While + { + get => GetInstanceProperty()!; + } + + [JsiiMethod(name: "abstract")] + public void Abstract() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "assert")] + public void Assert() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "boolean")] + public void Boolean() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "break")] + public void Break() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "byte")] + public void Byte() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "case")] + public void Case() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "catch")] + public void Catch() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "char")] + public void Char() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "class")] + public void Class() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "const")] + public void Const() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "continue")] + public void Continue() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "default")] + public void Default() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "do")] + public void Do() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "double")] + public void Double() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "else")] + public void Else() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "enum")] + public void Enum() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "extends")] + public void Extends() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "false")] + public void False() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "final")] + public void Final() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "finally")] + public void Finally() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "float")] + public void Float() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "for")] + public void For() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "goto")] + public void Goto() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "if")] + public void If() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "implements")] + public void Implements() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "import")] + public void Import() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "instanceof")] + public void Instanceof() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "int")] + public void Int() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "interface")] + public void Interface() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "long")] + public void Long() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "native")] + public void Native() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "null")] + public void Null() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "package")] + public void Package() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "private")] + public void Private() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "protected")] + public void Protected() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "public")] + public void Public() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "return")] + public void Return() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "short")] + public void Short() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "static")] + public void Static() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "strictfp")] + public void Strictfp() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "super")] + public void Super() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "switch")] + public void Switch() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "synchronized")] + public void Synchronized() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "this")] + public void This() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "throw")] + public void Throw() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "throws")] + public void Throws() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "transient")] + public void Transient() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "true")] + public void True() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "try")] + public void Try() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "void")] + public void Void() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "volatile")] + public void Volatile() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + } + } +} + +`; + exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/IJsii487External.cs 1`] = ` using Amazon.JSII.Runtime.Deputy; diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap index 634e7178da..61c6223e1b 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap @@ -8221,6 +8221,484 @@ func (j *jsiiProxy_IJSII417PublicBaseOfBase) HasRoot() *bool { return returns } +type IJavaReservedWordsInAnInterface interface { + Abstract() + Assert() + Boolean() + Break() + Byte() + Case() + Catch() + Char() + Class() + Const() + Continue() + Default() + Do() + Double() + Else() + Enum() + Extends() + False() + Final() + Finally() + Float() + For() + Goto() + If() + Implements() + Import() + Instanceof() + Int() + Interface() + Long() + Native() + Null() + Package() + Private() + Protected() + Public() + Return() + Short() + Static() + Strictfp() + Super() + Switch() + Synchronized() + This() + Throw() + Throws() + Transient() + True() + Try() + Void() + Volatile() + While() *string +} + +// The jsii proxy for IJavaReservedWordsInAnInterface +type jsiiProxy_IJavaReservedWordsInAnInterface struct { + _ byte // padding +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Abstract() { + _jsii_.InvokeVoid( + i, + "abstract", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Assert() { + _jsii_.InvokeVoid( + i, + "assert", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Boolean() { + _jsii_.InvokeVoid( + i, + "boolean", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Break() { + _jsii_.InvokeVoid( + i, + "break", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Byte() { + _jsii_.InvokeVoid( + i, + "byte", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Case() { + _jsii_.InvokeVoid( + i, + "case", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Catch() { + _jsii_.InvokeVoid( + i, + "catch", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Char() { + _jsii_.InvokeVoid( + i, + "char", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Class() { + _jsii_.InvokeVoid( + i, + "class", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Const() { + _jsii_.InvokeVoid( + i, + "const", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Continue() { + _jsii_.InvokeVoid( + i, + "continue", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Default() { + _jsii_.InvokeVoid( + i, + "default", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Do() { + _jsii_.InvokeVoid( + i, + "do", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Double() { + _jsii_.InvokeVoid( + i, + "double", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Else() { + _jsii_.InvokeVoid( + i, + "else", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Enum() { + _jsii_.InvokeVoid( + i, + "enum", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Extends() { + _jsii_.InvokeVoid( + i, + "extends", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) False() { + _jsii_.InvokeVoid( + i, + "false", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Final() { + _jsii_.InvokeVoid( + i, + "final", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Finally() { + _jsii_.InvokeVoid( + i, + "finally", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Float() { + _jsii_.InvokeVoid( + i, + "float", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) For() { + _jsii_.InvokeVoid( + i, + "for", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Goto() { + _jsii_.InvokeVoid( + i, + "goto", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) If() { + _jsii_.InvokeVoid( + i, + "if", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Implements() { + _jsii_.InvokeVoid( + i, + "implements", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Import() { + _jsii_.InvokeVoid( + i, + "import", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Instanceof() { + _jsii_.InvokeVoid( + i, + "instanceof", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Int() { + _jsii_.InvokeVoid( + i, + "int", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Interface() { + _jsii_.InvokeVoid( + i, + "interface", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Long() { + _jsii_.InvokeVoid( + i, + "long", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Native() { + _jsii_.InvokeVoid( + i, + "native", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Null() { + _jsii_.InvokeVoid( + i, + "null", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Package() { + _jsii_.InvokeVoid( + i, + "package", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Private() { + _jsii_.InvokeVoid( + i, + "private", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Protected() { + _jsii_.InvokeVoid( + i, + "protected", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Public() { + _jsii_.InvokeVoid( + i, + "public", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Return() { + _jsii_.InvokeVoid( + i, + "return", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Short() { + _jsii_.InvokeVoid( + i, + "short", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Static() { + _jsii_.InvokeVoid( + i, + "static", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Strictfp() { + _jsii_.InvokeVoid( + i, + "strictfp", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Super() { + _jsii_.InvokeVoid( + i, + "super", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Switch() { + _jsii_.InvokeVoid( + i, + "switch", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Synchronized() { + _jsii_.InvokeVoid( + i, + "synchronized", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) This() { + _jsii_.InvokeVoid( + i, + "this", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Throw() { + _jsii_.InvokeVoid( + i, + "throw", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Throws() { + _jsii_.InvokeVoid( + i, + "throws", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Transient() { + _jsii_.InvokeVoid( + i, + "transient", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) True() { + _jsii_.InvokeVoid( + i, + "true", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Try() { + _jsii_.InvokeVoid( + i, + "try", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Void() { + _jsii_.InvokeVoid( + i, + "void", + nil, // no parameters + ) +} + +func (i *jsiiProxy_IJavaReservedWordsInAnInterface) Volatile() { + _jsii_.InvokeVoid( + i, + "volatile", + nil, // no parameters + ) +} + +func (j *jsiiProxy_IJavaReservedWordsInAnInterface) While() *string { + var returns *string + _jsii_.Get( + j, + "while", + &returns, + ) + return returns +} + type IJsii487External interface { } @@ -15724,6 +16202,67 @@ func init() { return &jsiiProxy_IJSII417PublicBaseOfBase{} }, ) + _jsii_.RegisterInterface( + "jsii-calc.IJavaReservedWordsInAnInterface", + reflect.TypeOf((*IJavaReservedWordsInAnInterface)(nil)).Elem(), + []_jsii_.Member{ + _jsii_.MemberMethod{JsiiMethod: "abstract", GoMethod: "Abstract"}, + _jsii_.MemberMethod{JsiiMethod: "assert", GoMethod: "Assert"}, + _jsii_.MemberMethod{JsiiMethod: "boolean", GoMethod: "Boolean"}, + _jsii_.MemberMethod{JsiiMethod: "break", GoMethod: "Break"}, + _jsii_.MemberMethod{JsiiMethod: "byte", GoMethod: "Byte"}, + _jsii_.MemberMethod{JsiiMethod: "case", GoMethod: "Case"}, + _jsii_.MemberMethod{JsiiMethod: "catch", GoMethod: "Catch"}, + _jsii_.MemberMethod{JsiiMethod: "char", GoMethod: "Char"}, + _jsii_.MemberMethod{JsiiMethod: "class", GoMethod: "Class"}, + _jsii_.MemberMethod{JsiiMethod: "const", GoMethod: "Const"}, + _jsii_.MemberMethod{JsiiMethod: "continue", GoMethod: "Continue"}, + _jsii_.MemberMethod{JsiiMethod: "default", GoMethod: "Default"}, + _jsii_.MemberMethod{JsiiMethod: "do", GoMethod: "Do"}, + _jsii_.MemberMethod{JsiiMethod: "double", GoMethod: "Double"}, + _jsii_.MemberMethod{JsiiMethod: "else", GoMethod: "Else"}, + _jsii_.MemberMethod{JsiiMethod: "enum", GoMethod: "Enum"}, + _jsii_.MemberMethod{JsiiMethod: "extends", GoMethod: "Extends"}, + _jsii_.MemberMethod{JsiiMethod: "false", GoMethod: "False"}, + _jsii_.MemberMethod{JsiiMethod: "final", GoMethod: "Final"}, + _jsii_.MemberMethod{JsiiMethod: "finally", GoMethod: "Finally"}, + _jsii_.MemberMethod{JsiiMethod: "float", GoMethod: "Float"}, + _jsii_.MemberMethod{JsiiMethod: "for", GoMethod: "For"}, + _jsii_.MemberMethod{JsiiMethod: "goto", GoMethod: "Goto"}, + _jsii_.MemberMethod{JsiiMethod: "if", GoMethod: "If"}, + _jsii_.MemberMethod{JsiiMethod: "implements", GoMethod: "Implements"}, + _jsii_.MemberMethod{JsiiMethod: "import", GoMethod: "Import"}, + _jsii_.MemberMethod{JsiiMethod: "instanceof", GoMethod: "Instanceof"}, + _jsii_.MemberMethod{JsiiMethod: "int", GoMethod: "Int"}, + _jsii_.MemberMethod{JsiiMethod: "interface", GoMethod: "Interface"}, + _jsii_.MemberMethod{JsiiMethod: "long", GoMethod: "Long"}, + _jsii_.MemberMethod{JsiiMethod: "native", GoMethod: "Native"}, + _jsii_.MemberMethod{JsiiMethod: "null", GoMethod: "Null"}, + _jsii_.MemberMethod{JsiiMethod: "package", GoMethod: "Package"}, + _jsii_.MemberMethod{JsiiMethod: "private", GoMethod: "Private"}, + _jsii_.MemberMethod{JsiiMethod: "protected", GoMethod: "Protected"}, + _jsii_.MemberMethod{JsiiMethod: "public", GoMethod: "Public"}, + _jsii_.MemberMethod{JsiiMethod: "return", GoMethod: "Return"}, + _jsii_.MemberMethod{JsiiMethod: "short", GoMethod: "Short"}, + _jsii_.MemberMethod{JsiiMethod: "static", GoMethod: "Static"}, + _jsii_.MemberMethod{JsiiMethod: "strictfp", GoMethod: "Strictfp"}, + _jsii_.MemberMethod{JsiiMethod: "super", GoMethod: "Super"}, + _jsii_.MemberMethod{JsiiMethod: "switch", GoMethod: "Switch"}, + _jsii_.MemberMethod{JsiiMethod: "synchronized", GoMethod: "Synchronized"}, + _jsii_.MemberMethod{JsiiMethod: "this", GoMethod: "This"}, + _jsii_.MemberMethod{JsiiMethod: "throw", GoMethod: "Throw"}, + _jsii_.MemberMethod{JsiiMethod: "throws", GoMethod: "Throws"}, + _jsii_.MemberMethod{JsiiMethod: "transient", GoMethod: "Transient"}, + _jsii_.MemberMethod{JsiiMethod: "true", GoMethod: "True"}, + _jsii_.MemberMethod{JsiiMethod: "try", GoMethod: "Try"}, + _jsii_.MemberMethod{JsiiMethod: "void", GoMethod: "Void"}, + _jsii_.MemberMethod{JsiiMethod: "volatile", GoMethod: "Volatile"}, + _jsii_.MemberProperty{JsiiProperty: "while", GoGetter: "While"}, + }, + func() interface{} { + return &jsiiProxy_IJavaReservedWordsInAnInterface{} + }, + ) _jsii_.RegisterInterface( "jsii-calc.IJsii487External", reflect.TypeOf((*IJsii487External)(nil)).Elem(), diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-java.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-java.test.js.snap index c15f524ba5..2b42f0ff15 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-java.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-java.test.js.snap @@ -3682,6 +3682,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` ┃ ┣━ 📄 IInterfaceWithOptionalMethodArguments.java ┃ ┣━ 📄 IInterfaceWithProperties.java ┃ ┣━ 📄 IInterfaceWithPropertiesExtension.java + ┃ ┣━ 📄 IJavaReservedWordsInAnInterface.java ┃ ┣━ 📄 IJSII417Derived.java ┃ ┣━ 📄 IJSII417PublicBaseOfBase.java ┃ ┣━ 📄 IJsii487External.java @@ -12714,6 +12715,1129 @@ public interface IJSII417PublicBaseOfBase extends software.amazon.jsii.JsiiSeria `; +exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IJavaReservedWordsInAnInterface.java 1`] = ` +package software.amazon.jsii.tests.calculator; + +/** + */ +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.IJavaReservedWordsInAnInterface") +@software.amazon.jsii.Jsii.Proxy(IJavaReservedWordsInAnInterface.Jsii$Proxy.class) +@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) +public interface IJavaReservedWordsInAnInterface extends software.amazon.jsii.JsiiSerializable { + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @org.jetbrains.annotations.NotNull java.lang.String getWhileValue(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doAbstract(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doAssert(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doBoolean(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doBreak(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doByte(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doCase(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doCatch(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doChar(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doClass(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doConst(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doContinue(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doDefault(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doDo(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doDouble(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doElse(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doEnum(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doExtends(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doFalse(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doFinal(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doFinally(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doFloat(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doFor(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doGoto(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doIf(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doImplements(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doImport(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doInstanceof(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doInt(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doInterface(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doLong(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doNative(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doNull(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doPackage(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doPrivate(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doProtected(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doPublic(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doReturn(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doShort(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doStatic(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doStrictfp(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doSuper(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doSwitch(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doSynchronized(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doThis(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doThrow(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doThrows(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doTransient(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doTrue(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doTry(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doVoid(); + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + void doVolatile(); + + /** + * A proxy class which represents a concrete javascript instance of this type. + */ + @software.amazon.jsii.Internal + final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements software.amazon.jsii.tests.calculator.IJavaReservedWordsInAnInterface.Jsii$Default { + protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { + super(objRef); + } + + /** + */ + @Override + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + public final @org.jetbrains.annotations.NotNull java.lang.String getWhileValue() { + return software.amazon.jsii.Kernel.get(this, "while", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doAbstract() { + software.amazon.jsii.Kernel.call(this, "abstract", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doAssert() { + software.amazon.jsii.Kernel.call(this, "assert", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doBoolean() { + software.amazon.jsii.Kernel.call(this, "boolean", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doBreak() { + software.amazon.jsii.Kernel.call(this, "break", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doByte() { + software.amazon.jsii.Kernel.call(this, "byte", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doCase() { + software.amazon.jsii.Kernel.call(this, "case", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doCatch() { + software.amazon.jsii.Kernel.call(this, "catch", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doChar() { + software.amazon.jsii.Kernel.call(this, "char", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doClass() { + software.amazon.jsii.Kernel.call(this, "class", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doConst() { + software.amazon.jsii.Kernel.call(this, "const", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doContinue() { + software.amazon.jsii.Kernel.call(this, "continue", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doDefault() { + software.amazon.jsii.Kernel.call(this, "default", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doDo() { + software.amazon.jsii.Kernel.call(this, "do", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doDouble() { + software.amazon.jsii.Kernel.call(this, "double", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doElse() { + software.amazon.jsii.Kernel.call(this, "else", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doEnum() { + software.amazon.jsii.Kernel.call(this, "enum", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doExtends() { + software.amazon.jsii.Kernel.call(this, "extends", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doFalse() { + software.amazon.jsii.Kernel.call(this, "false", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doFinal() { + software.amazon.jsii.Kernel.call(this, "final", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doFinally() { + software.amazon.jsii.Kernel.call(this, "finally", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doFloat() { + software.amazon.jsii.Kernel.call(this, "float", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doFor() { + software.amazon.jsii.Kernel.call(this, "for", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doGoto() { + software.amazon.jsii.Kernel.call(this, "goto", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doIf() { + software.amazon.jsii.Kernel.call(this, "if", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doImplements() { + software.amazon.jsii.Kernel.call(this, "implements", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doImport() { + software.amazon.jsii.Kernel.call(this, "import", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doInstanceof() { + software.amazon.jsii.Kernel.call(this, "instanceof", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doInt() { + software.amazon.jsii.Kernel.call(this, "int", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doInterface() { + software.amazon.jsii.Kernel.call(this, "interface", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doLong() { + software.amazon.jsii.Kernel.call(this, "long", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doNative() { + software.amazon.jsii.Kernel.call(this, "native", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doNull() { + software.amazon.jsii.Kernel.call(this, "null", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doPackage() { + software.amazon.jsii.Kernel.call(this, "package", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doPrivate() { + software.amazon.jsii.Kernel.call(this, "private", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doProtected() { + software.amazon.jsii.Kernel.call(this, "protected", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doPublic() { + software.amazon.jsii.Kernel.call(this, "public", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doReturn() { + software.amazon.jsii.Kernel.call(this, "return", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doShort() { + software.amazon.jsii.Kernel.call(this, "short", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doStatic() { + software.amazon.jsii.Kernel.call(this, "static", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doStrictfp() { + software.amazon.jsii.Kernel.call(this, "strictfp", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doSuper() { + software.amazon.jsii.Kernel.call(this, "super", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doSwitch() { + software.amazon.jsii.Kernel.call(this, "switch", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doSynchronized() { + software.amazon.jsii.Kernel.call(this, "synchronized", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doThis() { + software.amazon.jsii.Kernel.call(this, "this", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doThrow() { + software.amazon.jsii.Kernel.call(this, "throw", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doThrows() { + software.amazon.jsii.Kernel.call(this, "throws", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doTransient() { + software.amazon.jsii.Kernel.call(this, "transient", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doTrue() { + software.amazon.jsii.Kernel.call(this, "true", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doTry() { + software.amazon.jsii.Kernel.call(this, "try", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doVoid() { + software.amazon.jsii.Kernel.call(this, "void", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + public final void doVolatile() { + software.amazon.jsii.Kernel.call(this, "volatile", software.amazon.jsii.NativeType.VOID); + } + } + + /** + * Internal default implementation for {@link IJavaReservedWordsInAnInterface}. + */ + @software.amazon.jsii.Internal + interface Jsii$Default extends IJavaReservedWordsInAnInterface { + + /** + */ + @Override + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + default @org.jetbrains.annotations.NotNull java.lang.String getWhileValue() { + return software.amazon.jsii.Kernel.get(this, "while", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doAbstract() { + software.amazon.jsii.Kernel.call(this, "abstract", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doAssert() { + software.amazon.jsii.Kernel.call(this, "assert", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doBoolean() { + software.amazon.jsii.Kernel.call(this, "boolean", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doBreak() { + software.amazon.jsii.Kernel.call(this, "break", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doByte() { + software.amazon.jsii.Kernel.call(this, "byte", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doCase() { + software.amazon.jsii.Kernel.call(this, "case", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doCatch() { + software.amazon.jsii.Kernel.call(this, "catch", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doChar() { + software.amazon.jsii.Kernel.call(this, "char", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doClass() { + software.amazon.jsii.Kernel.call(this, "class", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doConst() { + software.amazon.jsii.Kernel.call(this, "const", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doContinue() { + software.amazon.jsii.Kernel.call(this, "continue", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doDefault() { + software.amazon.jsii.Kernel.call(this, "default", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doDo() { + software.amazon.jsii.Kernel.call(this, "do", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doDouble() { + software.amazon.jsii.Kernel.call(this, "double", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doElse() { + software.amazon.jsii.Kernel.call(this, "else", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doEnum() { + software.amazon.jsii.Kernel.call(this, "enum", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doExtends() { + software.amazon.jsii.Kernel.call(this, "extends", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doFalse() { + software.amazon.jsii.Kernel.call(this, "false", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doFinal() { + software.amazon.jsii.Kernel.call(this, "final", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doFinally() { + software.amazon.jsii.Kernel.call(this, "finally", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doFloat() { + software.amazon.jsii.Kernel.call(this, "float", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doFor() { + software.amazon.jsii.Kernel.call(this, "for", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doGoto() { + software.amazon.jsii.Kernel.call(this, "goto", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doIf() { + software.amazon.jsii.Kernel.call(this, "if", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doImplements() { + software.amazon.jsii.Kernel.call(this, "implements", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doImport() { + software.amazon.jsii.Kernel.call(this, "import", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doInstanceof() { + software.amazon.jsii.Kernel.call(this, "instanceof", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doInt() { + software.amazon.jsii.Kernel.call(this, "int", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doInterface() { + software.amazon.jsii.Kernel.call(this, "interface", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doLong() { + software.amazon.jsii.Kernel.call(this, "long", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doNative() { + software.amazon.jsii.Kernel.call(this, "native", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doNull() { + software.amazon.jsii.Kernel.call(this, "null", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doPackage() { + software.amazon.jsii.Kernel.call(this, "package", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doPrivate() { + software.amazon.jsii.Kernel.call(this, "private", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doProtected() { + software.amazon.jsii.Kernel.call(this, "protected", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doPublic() { + software.amazon.jsii.Kernel.call(this, "public", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doReturn() { + software.amazon.jsii.Kernel.call(this, "return", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doShort() { + software.amazon.jsii.Kernel.call(this, "short", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doStatic() { + software.amazon.jsii.Kernel.call(this, "static", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doStrictfp() { + software.amazon.jsii.Kernel.call(this, "strictfp", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doSuper() { + software.amazon.jsii.Kernel.call(this, "super", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doSwitch() { + software.amazon.jsii.Kernel.call(this, "switch", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doSynchronized() { + software.amazon.jsii.Kernel.call(this, "synchronized", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doThis() { + software.amazon.jsii.Kernel.call(this, "this", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doThrow() { + software.amazon.jsii.Kernel.call(this, "throw", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doThrows() { + software.amazon.jsii.Kernel.call(this, "throws", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doTransient() { + software.amazon.jsii.Kernel.call(this, "transient", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doTrue() { + software.amazon.jsii.Kernel.call(this, "true", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doTry() { + software.amazon.jsii.Kernel.call(this, "try", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doVoid() { + software.amazon.jsii.Kernel.call(this, "void", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + @Override + default void doVolatile() { + software.amazon.jsii.Kernel.call(this, "volatile", software.amazon.jsii.NativeType.VOID); + } + } +} + +`; + exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/IJsii487External.java 1`] = ` package software.amazon.jsii.tests.calculator; @@ -25910,6 +27034,7 @@ jsii-calc.IInterfaceWithProperties=software.amazon.jsii.tests.calculator.IInterf jsii-calc.IInterfaceWithPropertiesExtension=software.amazon.jsii.tests.calculator.IInterfaceWithPropertiesExtension jsii-calc.IJSII417Derived=software.amazon.jsii.tests.calculator.IJSII417Derived jsii-calc.IJSII417PublicBaseOfBase=software.amazon.jsii.tests.calculator.IJSII417PublicBaseOfBase +jsii-calc.IJavaReservedWordsInAnInterface=software.amazon.jsii.tests.calculator.IJavaReservedWordsInAnInterface jsii-calc.IJsii487External=software.amazon.jsii.tests.calculator.IJsii487External jsii-calc.IJsii487External2=software.amazon.jsii.tests.calculator.IJsii487External2 jsii-calc.IJsii496=software.amazon.jsii.tests.calculator.IJsii496 diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap index 815c9fcc93..b79773592b 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap @@ -5901,6 +5901,434 @@ class _IJSII417PublicBaseOfBaseProxy: typing.cast(typing.Any, IJSII417PublicBaseOfBase).__jsii_proxy_class__ = lambda : _IJSII417PublicBaseOfBaseProxy +@jsii.interface(jsii_type="jsii-calc.IJavaReservedWordsInAnInterface") +class IJavaReservedWordsInAnInterface(typing_extensions.Protocol): + @builtins.property # type: ignore[misc] + @jsii.member(jsii_name="while") + def while_(self) -> builtins.str: + ... + + @jsii.member(jsii_name="abstract") + def abstract(self) -> None: + ... + + @jsii.member(jsii_name="assert") + def assert_(self) -> None: + ... + + @jsii.member(jsii_name="boolean") + def boolean(self) -> None: + ... + + @jsii.member(jsii_name="break") + def break_(self) -> None: + ... + + @jsii.member(jsii_name="byte") + def byte(self) -> None: + ... + + @jsii.member(jsii_name="case") + def case(self) -> None: + ... + + @jsii.member(jsii_name="catch") + def catch(self) -> None: + ... + + @jsii.member(jsii_name="char") + def char(self) -> None: + ... + + @jsii.member(jsii_name="class") + def class_(self) -> None: + ... + + @jsii.member(jsii_name="const") + def const(self) -> None: + ... + + @jsii.member(jsii_name="continue") + def continue_(self) -> None: + ... + + @jsii.member(jsii_name="default") + def default(self) -> None: + ... + + @jsii.member(jsii_name="do") + def do(self) -> None: + ... + + @jsii.member(jsii_name="double") + def double(self) -> None: + ... + + @jsii.member(jsii_name="else") + def else_(self) -> None: + ... + + @jsii.member(jsii_name="enum") + def enum(self) -> None: + ... + + @jsii.member(jsii_name="extends") + def extends(self) -> None: + ... + + @jsii.member(jsii_name="false") + def false(self) -> None: + ... + + @jsii.member(jsii_name="final") + def final(self) -> None: + ... + + @jsii.member(jsii_name="finally") + def finally_(self) -> None: + ... + + @jsii.member(jsii_name="float") + def float(self) -> None: + ... + + @jsii.member(jsii_name="for") + def for_(self) -> None: + ... + + @jsii.member(jsii_name="goto") + def goto(self) -> None: + ... + + @jsii.member(jsii_name="if") + def if_(self) -> None: + ... + + @jsii.member(jsii_name="implements") + def implements(self) -> None: + ... + + @jsii.member(jsii_name="import") + def import_(self) -> None: + ... + + @jsii.member(jsii_name="instanceof") + def instanceof(self) -> None: + ... + + @jsii.member(jsii_name="int") + def int(self) -> None: + ... + + @jsii.member(jsii_name="interface") + def interface(self) -> None: + ... + + @jsii.member(jsii_name="long") + def long(self) -> None: + ... + + @jsii.member(jsii_name="native") + def native(self) -> None: + ... + + @jsii.member(jsii_name="null") + def null(self) -> None: + ... + + @jsii.member(jsii_name="package") + def package(self) -> None: + ... + + @jsii.member(jsii_name="private") + def private(self) -> None: + ... + + @jsii.member(jsii_name="protected") + def protected(self) -> None: + ... + + @jsii.member(jsii_name="public") + def public(self) -> None: + ... + + @jsii.member(jsii_name="return") + def return_(self) -> None: + ... + + @jsii.member(jsii_name="short") + def short(self) -> None: + ... + + @jsii.member(jsii_name="static") + def static(self) -> None: + ... + + @jsii.member(jsii_name="strictfp") + def strictfp(self) -> None: + ... + + @jsii.member(jsii_name="super") + def super(self) -> None: + ... + + @jsii.member(jsii_name="switch") + def switch(self) -> None: + ... + + @jsii.member(jsii_name="synchronized") + def synchronized(self) -> None: + ... + + @jsii.member(jsii_name="this") + def this(self) -> None: + ... + + @jsii.member(jsii_name="throw") + def throw(self) -> None: + ... + + @jsii.member(jsii_name="throws") + def throws(self) -> None: + ... + + @jsii.member(jsii_name="transient") + def transient(self) -> None: + ... + + @jsii.member(jsii_name="true") + def true(self) -> None: + ... + + @jsii.member(jsii_name="try") + def try_(self) -> None: + ... + + @jsii.member(jsii_name="void") + def void(self) -> None: + ... + + @jsii.member(jsii_name="volatile") + def volatile(self) -> None: + ... + + +class _IJavaReservedWordsInAnInterfaceProxy: + __jsii_type__: typing.ClassVar[str] = "jsii-calc.IJavaReservedWordsInAnInterface" + + @builtins.property # type: ignore[misc] + @jsii.member(jsii_name="while") + def while_(self) -> builtins.str: + return typing.cast(builtins.str, jsii.get(self, "while")) + + @jsii.member(jsii_name="abstract") + def abstract(self) -> None: + return typing.cast(None, jsii.invoke(self, "abstract", [])) + + @jsii.member(jsii_name="assert") + def assert_(self) -> None: + return typing.cast(None, jsii.invoke(self, "assert", [])) + + @jsii.member(jsii_name="boolean") + def boolean(self) -> None: + return typing.cast(None, jsii.invoke(self, "boolean", [])) + + @jsii.member(jsii_name="break") + def break_(self) -> None: + return typing.cast(None, jsii.invoke(self, "break", [])) + + @jsii.member(jsii_name="byte") + def byte(self) -> None: + return typing.cast(None, jsii.invoke(self, "byte", [])) + + @jsii.member(jsii_name="case") + def case(self) -> None: + return typing.cast(None, jsii.invoke(self, "case", [])) + + @jsii.member(jsii_name="catch") + def catch(self) -> None: + return typing.cast(None, jsii.invoke(self, "catch", [])) + + @jsii.member(jsii_name="char") + def char(self) -> None: + return typing.cast(None, jsii.invoke(self, "char", [])) + + @jsii.member(jsii_name="class") + def class_(self) -> None: + return typing.cast(None, jsii.invoke(self, "class", [])) + + @jsii.member(jsii_name="const") + def const(self) -> None: + return typing.cast(None, jsii.invoke(self, "const", [])) + + @jsii.member(jsii_name="continue") + def continue_(self) -> None: + return typing.cast(None, jsii.invoke(self, "continue", [])) + + @jsii.member(jsii_name="default") + def default(self) -> None: + return typing.cast(None, jsii.invoke(self, "default", [])) + + @jsii.member(jsii_name="do") + def do(self) -> None: + return typing.cast(None, jsii.invoke(self, "do", [])) + + @jsii.member(jsii_name="double") + def double(self) -> None: + return typing.cast(None, jsii.invoke(self, "double", [])) + + @jsii.member(jsii_name="else") + def else_(self) -> None: + return typing.cast(None, jsii.invoke(self, "else", [])) + + @jsii.member(jsii_name="enum") + def enum(self) -> None: + return typing.cast(None, jsii.invoke(self, "enum", [])) + + @jsii.member(jsii_name="extends") + def extends(self) -> None: + return typing.cast(None, jsii.invoke(self, "extends", [])) + + @jsii.member(jsii_name="false") + def false(self) -> None: + return typing.cast(None, jsii.invoke(self, "false", [])) + + @jsii.member(jsii_name="final") + def final(self) -> None: + return typing.cast(None, jsii.invoke(self, "final", [])) + + @jsii.member(jsii_name="finally") + def finally_(self) -> None: + return typing.cast(None, jsii.invoke(self, "finally", [])) + + @jsii.member(jsii_name="float") + def float(self) -> None: + return typing.cast(None, jsii.invoke(self, "float", [])) + + @jsii.member(jsii_name="for") + def for_(self) -> None: + return typing.cast(None, jsii.invoke(self, "for", [])) + + @jsii.member(jsii_name="goto") + def goto(self) -> None: + return typing.cast(None, jsii.invoke(self, "goto", [])) + + @jsii.member(jsii_name="if") + def if_(self) -> None: + return typing.cast(None, jsii.invoke(self, "if", [])) + + @jsii.member(jsii_name="implements") + def implements(self) -> None: + return typing.cast(None, jsii.invoke(self, "implements", [])) + + @jsii.member(jsii_name="import") + def import_(self) -> None: + return typing.cast(None, jsii.invoke(self, "import", [])) + + @jsii.member(jsii_name="instanceof") + def instanceof(self) -> None: + return typing.cast(None, jsii.invoke(self, "instanceof", [])) + + @jsii.member(jsii_name="int") + def int(self) -> None: + return typing.cast(None, jsii.invoke(self, "int", [])) + + @jsii.member(jsii_name="interface") + def interface(self) -> None: + return typing.cast(None, jsii.invoke(self, "interface", [])) + + @jsii.member(jsii_name="long") + def long(self) -> None: + return typing.cast(None, jsii.invoke(self, "long", [])) + + @jsii.member(jsii_name="native") + def native(self) -> None: + return typing.cast(None, jsii.invoke(self, "native", [])) + + @jsii.member(jsii_name="null") + def null(self) -> None: + return typing.cast(None, jsii.invoke(self, "null", [])) + + @jsii.member(jsii_name="package") + def package(self) -> None: + return typing.cast(None, jsii.invoke(self, "package", [])) + + @jsii.member(jsii_name="private") + def private(self) -> None: + return typing.cast(None, jsii.invoke(self, "private", [])) + + @jsii.member(jsii_name="protected") + def protected(self) -> None: + return typing.cast(None, jsii.invoke(self, "protected", [])) + + @jsii.member(jsii_name="public") + def public(self) -> None: + return typing.cast(None, jsii.invoke(self, "public", [])) + + @jsii.member(jsii_name="return") + def return_(self) -> None: + return typing.cast(None, jsii.invoke(self, "return", [])) + + @jsii.member(jsii_name="short") + def short(self) -> None: + return typing.cast(None, jsii.invoke(self, "short", [])) + + @jsii.member(jsii_name="static") + def static(self) -> None: + return typing.cast(None, jsii.invoke(self, "static", [])) + + @jsii.member(jsii_name="strictfp") + def strictfp(self) -> None: + return typing.cast(None, jsii.invoke(self, "strictfp", [])) + + @jsii.member(jsii_name="super") + def super(self) -> None: + return typing.cast(None, jsii.invoke(self, "super", [])) + + @jsii.member(jsii_name="switch") + def switch(self) -> None: + return typing.cast(None, jsii.invoke(self, "switch", [])) + + @jsii.member(jsii_name="synchronized") + def synchronized(self) -> None: + return typing.cast(None, jsii.invoke(self, "synchronized", [])) + + @jsii.member(jsii_name="this") + def this(self) -> None: + return typing.cast(None, jsii.invoke(self, "this", [])) + + @jsii.member(jsii_name="throw") + def throw(self) -> None: + return typing.cast(None, jsii.invoke(self, "throw", [])) + + @jsii.member(jsii_name="throws") + def throws(self) -> None: + return typing.cast(None, jsii.invoke(self, "throws", [])) + + @jsii.member(jsii_name="transient") + def transient(self) -> None: + return typing.cast(None, jsii.invoke(self, "transient", [])) + + @jsii.member(jsii_name="true") + def true(self) -> None: + return typing.cast(None, jsii.invoke(self, "true", [])) + + @jsii.member(jsii_name="try") + def try_(self) -> None: + return typing.cast(None, jsii.invoke(self, "try", [])) + + @jsii.member(jsii_name="void") + def void(self) -> None: + return typing.cast(None, jsii.invoke(self, "void", [])) + + @jsii.member(jsii_name="volatile") + def volatile(self) -> None: + return typing.cast(None, jsii.invoke(self, "volatile", [])) + +# Adding a "__jsii_proxy_class__(): typing.Type" function to the interface +typing.cast(typing.Any, IJavaReservedWordsInAnInterface).__jsii_proxy_class__ = lambda : _IJavaReservedWordsInAnInterfaceProxy + + @jsii.interface(jsii_type="jsii-calc.IJsii487External") class IJsii487External(typing_extensions.Protocol): pass @@ -10136,6 +10564,7 @@ __all__ = [ "IInterfaceWithPropertiesExtension", "IJSII417Derived", "IJSII417PublicBaseOfBase", + "IJavaReservedWordsInAnInterface", "IJsii487External", "IJsii487External2", "IJsii496", 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 a74e0b7e51..65442ee8c0 100644 --- a/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap +++ b/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap @@ -2710,6 +2710,165 @@ exports[`jsii-tree --all 1`] = ` │ │ ├── abstract │ │ ├── immutable │ │ └── type: boolean + │ ├─┬ interface IJavaReservedWordsInAnInterface (stable) + │ │ └─┬ members + │ │ ├─┬ abstract() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ assert() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ boolean() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ break() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ byte() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ case() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ catch() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ char() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ class() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ const() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ continue() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ default() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ do() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ double() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ else() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ enum() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ extends() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ false() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ final() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ finally() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ float() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ for() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ goto() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ if() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ implements() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ import() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ instanceof() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ int() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ interface() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ long() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ native() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ null() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ package() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ private() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ protected() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ public() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ return() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ short() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ static() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ strictfp() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ super() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ switch() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ synchronized() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ this() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ throw() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ throws() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ transient() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ true() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ try() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ void() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ volatile() method (stable) + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ └─┬ while property (stable) + │ │ ├── abstract + │ │ ├── immutable + │ │ └── type: string │ ├─┬ interface IJsii487External (stable) │ │ └── members │ ├─┬ interface IJsii487External2 (stable) @@ -3648,6 +3807,7 @@ exports[`jsii-tree --inheritance 1`] = ` │ │ └─┬ interfaces │ │ └── IJSII417PublicBaseOfBase │ ├── interface IJSII417PublicBaseOfBase + │ ├── interface IJavaReservedWordsInAnInterface │ ├── interface IJsii487External │ ├── interface IJsii487External2 │ ├── interface IJsii496 @@ -4977,6 +5137,60 @@ exports[`jsii-tree --members 1`] = ` │ │ └─┬ members │ │ ├── foo() method │ │ └── hasRoot property + │ ├─┬ interface IJavaReservedWordsInAnInterface + │ │ └─┬ members + │ │ ├── abstract() method + │ │ ├── assert() method + │ │ ├── boolean() method + │ │ ├── break() method + │ │ ├── byte() method + │ │ ├── case() method + │ │ ├── catch() method + │ │ ├── char() method + │ │ ├── class() method + │ │ ├── const() method + │ │ ├── continue() method + │ │ ├── default() method + │ │ ├── do() method + │ │ ├── double() method + │ │ ├── else() method + │ │ ├── enum() method + │ │ ├── extends() method + │ │ ├── false() method + │ │ ├── final() method + │ │ ├── finally() method + │ │ ├── float() method + │ │ ├── for() method + │ │ ├── goto() method + │ │ ├── if() method + │ │ ├── implements() method + │ │ ├── import() method + │ │ ├── instanceof() method + │ │ ├── int() method + │ │ ├── interface() method + │ │ ├── long() method + │ │ ├── native() method + │ │ ├── null() method + │ │ ├── package() method + │ │ ├── private() method + │ │ ├── protected() method + │ │ ├── public() method + │ │ ├── return() method + │ │ ├── short() method + │ │ ├── static() method + │ │ ├── strictfp() method + │ │ ├── super() method + │ │ ├── switch() method + │ │ ├── synchronized() method + │ │ ├── this() method + │ │ ├── throw() method + │ │ ├── throws() method + │ │ ├── transient() method + │ │ ├── true() method + │ │ ├── try() method + │ │ ├── void() method + │ │ ├── volatile() method + │ │ └── while property │ ├─┬ interface IJsii487External │ │ └── members │ ├─┬ interface IJsii487External2 @@ -5592,6 +5806,7 @@ exports[`jsii-tree --types 1`] = ` │ ├── interface IInterfaceWithPropertiesExtension │ ├── interface IJSII417Derived │ ├── interface IJSII417PublicBaseOfBase + │ ├── interface IJavaReservedWordsInAnInterface │ ├── interface IJsii487External │ ├── interface IJsii487External2 │ ├── interface IJsii496 diff --git a/packages/jsii-reflect/test/__snapshots__/tree.test.js.snap b/packages/jsii-reflect/test/__snapshots__/tree.test.js.snap index bf8838a7ff..b9fbf2a019 100644 --- a/packages/jsii-reflect/test/__snapshots__/tree.test.js.snap +++ b/packages/jsii-reflect/test/__snapshots__/tree.test.js.snap @@ -2860,6 +2860,165 @@ exports[`showAll 1`] = ` │ │ ├── abstract │ │ ├── immutable │ │ └── type: boolean + │ ├─┬ interface IJavaReservedWordsInAnInterface + │ │ └─┬ members + │ │ ├─┬ abstract() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ assert() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ boolean() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ break() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ byte() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ case() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ catch() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ char() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ class() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ const() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ continue() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ default() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ do() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ double() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ else() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ enum() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ extends() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ false() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ final() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ finally() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ float() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ for() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ goto() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ if() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ implements() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ import() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ instanceof() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ int() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ interface() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ long() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ native() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ null() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ package() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ private() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ protected() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ public() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ return() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ short() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ static() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ strictfp() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ super() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ switch() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ synchronized() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ this() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ throw() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ throws() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ transient() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ true() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ try() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ void() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ ├─┬ volatile() method + │ │ │ ├── abstract + │ │ │ └── returns: void + │ │ └─┬ while property + │ │ ├── abstract + │ │ ├── immutable + │ │ └── type: string │ ├─┬ interface IJsii487External │ │ └── members │ ├─┬ interface IJsii487External2 @@ -3758,6 +3917,7 @@ exports[`types 1`] = ` │ ├── interface IInterfaceWithPropertiesExtension │ ├── interface IJSII417Derived │ ├── interface IJSII417PublicBaseOfBase + │ ├── interface IJavaReservedWordsInAnInterface │ ├── interface IJsii487External │ ├── interface IJsii487External2 │ ├── interface IJsii496