fune/widget/android/bindings/JavaBuiltins-classes.txt
Jim Chen 8f6ba7ef0c Bug 1459297 - Use SDK JNI calls for boxing/unboxing GeckoBundle values; r=snorp
Instead of the helper methods in GeckoBundle, add SDK JNI calls for the
boxing/unboxing operations, and use those calls directly. Moreover, for
unboxing Boolean/Double/Integer, use their internal "value" field value
directly if possible, to avoid making a JNI method call.

MozReview-Commit-ID: Azvov1gCeje

--HG--
extra : rebase_source : 34cd4a821d2b47e48957f241bbf165439635be59
2018-05-07 10:05:56 -04:00

22 lines
543 B
Text

[java.lang.Boolean = skip:true]
# Use static fields for boxing boolean.
TRUE =
FALSE =
booleanValue =
[java.lang.Double = skip:true]
<init>(D)V =
[java.lang.Integer = skip:true]
# Use valueOf() for boxing int; don't use constructor
# because some Integer values are cached.
valueOf(I)Ljava/lang/Integer; =
[java.lang.Number = skip:true]
# Use doubleValue() for unboxing Double/Float/Long.
doubleValue =
# Use intValue() for unboxing Byte/Int/Short.
intValue =
[java.lang.String = skip:true]
valueOf(Ljava/lang/Object;)Ljava/lang/String; =