Jelajahi Sumber

[java] Added other missing inner classes

Cauê Waneck 10 tahun lalu
induk
melakukan
4bc90995d0
4 mengubah file dengan 10 tambahan dan 0 penghapusan
  1. 3 0
      std/java/lang/Byte.hx
  2. 2 0
      std/java/lang/Integer.hx
  3. 3 0
      std/java/lang/Long.hx
  4. 2 0
      std/java/lang/Short.hx

+ 3 - 0
std/java/lang/Byte.hx

@@ -30,3 +30,6 @@ package java.lang;
 	@:overload @:throws("java.lang.NumberFormatException") static function valueOf(param1 : String) : Byte;
 	@:overload @:throws("java.lang.NumberFormatException") static function valueOf(param1 : String, param2 : Int) : Byte;
 }
+
+@:realPath("java.lang.Byte_ByteCache") @:javaNative @:native("java.lang.Byte$ByteCache") @:javaCanonical("java.lang","Byte.ByteCache") extern class Byte_ByteCache {
+}

+ 2 - 0
std/java/lang/Integer.hx

@@ -48,3 +48,5 @@ package java.lang;
 	@:overload @:throws("java.lang.NumberFormatException") static function valueOf(param1 : String) : Integer;
 }
 
+@:realPath("java.lang.Integer_IntegerCache") @:javaNative @:native("java.lang.Integer$IntegerCache") @:javaCanonical("java.lang","Integer.IntegerCache") extern class Integer_IntegerCache {
+}

+ 3 - 0
std/java/lang/Long.hx

@@ -47,3 +47,6 @@ package java.lang;
 	@:overload @:throws("java.lang.NumberFormatException") static function valueOf(param1 : String, param2 : Int) : Long;
 	@:overload @:throws("java.lang.NumberFormatException") static function valueOf(param1 : String) : Long;
 }
+
+@:realPath("java.lang.Long_LongCache") @:javaNative @:native("java.lang.Long$LongCache") @:javaCanonical("java.lang","Long.LongCache") extern class Long_LongCache {
+}

+ 2 - 0
std/java/lang/Short.hx

@@ -30,5 +30,7 @@ package java.lang;
 	@:overload @:throws("java.lang.NumberFormatException") static function valueOf(param1 : String, param2 : Int) : Short;
 	@:overload static function valueOf(param1 : java.types.Int16) : Short;
 	@:overload @:throws("java.lang.NumberFormatException") static function valueOf(param1 : String) : Short;
+}
 
+@:realPath("java.lang.Short_ShortCache") @:javaNative @:native("java.lang.Short$ShortCache") @:javaCanonical("java.lang","Short.ShortCache") extern class Short_ShortCache {
 }