-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an example of @JsOverlay static final field to java readable and …
…integration tests. PiperOrigin-RevId: 589872389
- Loading branch information
1 parent
fde7a38
commit 5e354cc
Showing
14 changed files
with
84 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
...a/jsoverlay/output_closure/Main$NativeJsTypeWithOverlayConstant$$Overlay.impl.java.js.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
goog.module('jsoverlay.Main.NativeJsTypeWithOverlayConstant.$Overlay$impl'); | ||
|
||
const $Util = goog.require('nativebootstrap.Util$impl'); | ||
|
||
/** @nodts */ | ||
class $Overlay { | ||
/** @nodts */ | ||
static $clinit() { | ||
$Overlay.$clinit = () =>{}; | ||
$Overlay.$loadModules(); | ||
} | ||
/** @nodts @return {boolean} */ | ||
static $isInstance(/** ? */ instance) { | ||
return instance instanceof Object; | ||
} | ||
|
||
/** @nodts */ | ||
static $loadModules() {} | ||
} | ||
/**@const {number} @nodts*/ | ||
$Overlay.f_COMPILE_TIME_CONSTANT__jsoverlay_Main_NativeJsTypeWithOverlayConstant_$Overlay = 10; | ||
/**@const {string} @nodts*/ | ||
$Overlay.f_STRING_COMPILE_TIME_CONSTANT__jsoverlay_Main_NativeJsTypeWithOverlayConstant_$Overlay = '10'; | ||
$Util.$setClassMetadata($Overlay, 'Object'); | ||
|
||
exports = $Overlay; | ||
|
||
//# sourceMappingURL=Main$NativeJsTypeWithOverlayConstant$$Overlay.js.map |
7 changes: 7 additions & 0 deletions
7
...e/java/jsoverlay/output_closure/Main$NativeJsTypeWithOverlayConstant$$Overlay.java.js.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
goog.module('jsoverlay.Main.NativeJsTypeWithOverlayConstant.$Overlay'); | ||
|
||
goog.require('nativebootstrap.Util'); | ||
|
||
const $Overlay = goog.require('jsoverlay.Main.NativeJsTypeWithOverlayConstant.$Overlay$impl'); | ||
/** @nodts */ | ||
exports = $Overlay; |
10 changes: 10 additions & 0 deletions
10
...va/jsoverlay/output_closure/Main$NativeJsTypeWithOverlayConstant$$Overlay.js.mappings.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[NativeJsTypeWithOverlayConstant] => [$Overlay] | ||
[NativeJsTypeWithOverlayConstant] => [$clinit] | ||
[NativeJsTypeWithOverlayConstant] => [$Overlay.$clinit = () =>{};] "jsoverlay.Main$NativeJsTypeWithOverlayConstant$$Overlay.<clinit>" | ||
[NativeJsTypeWithOverlayConstant] => [$Overlay.$loadModules();] "jsoverlay.Main$NativeJsTypeWithOverlayConstant$$Overlay.<clinit>" | ||
[@JsOverlay public static final int COMPILE_TIME_CONSTANT = 10;] => [/**@const {number} @nodts*/ | ||
$Overlay.f_COMPILE_TIME_CONSTANT__jsoverlay_Main_NativeJsTypeWithOverlayConstant_$Overlay = 10;] | ||
[COMPILE_TIME_CONSTANT] => [f_COMPILE_TIME_CONSTANT__jsoverlay_Main_NativeJsTypeWithOverlayConstant_$Overlay] | ||
[@JsOverlay public static final String STRING_COMPILE_TIME_CONSTANT = "10";] => [/**@const {string} @nodts*/ | ||
$Overlay.f_STRING_COMPILE_TIME_CONSTANT__jsoverlay_Main_NativeJsTypeWithOverlayConstant_$Overlay = '10';] | ||
[STRING_COMPILE_TIME_CONSTANT] => [f_STRING_COMPILE_TIME_CONSTANT__jsoverlay_Main_NativeJsTypeWithOverlayConstant_$Overlay] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters