mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2025-08-04 03:46:57 -04:00
ReflectionHelper中使用参数化类型
This commit is contained in:
parent
bde01af89d
commit
126b2a19e7
@ -52,14 +52,14 @@ public final class ReflectionHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PRIMITIVES = Lang.mapOf(
|
PRIMITIVES = Lang.mapOf(
|
||||||
new Pair("byte", Byte.class),
|
new Pair<>("byte", Byte.class),
|
||||||
new Pair("short", Short.class),
|
new Pair<>("short", Short.class),
|
||||||
new Pair("int", Integer.class),
|
new Pair<>("int", Integer.class),
|
||||||
new Pair("long", Long.class),
|
new Pair<>("long", Long.class),
|
||||||
new Pair("char", Character.class),
|
new Pair<>("char", Character.class),
|
||||||
new Pair("float", Float.class),
|
new Pair<>("float", Float.class),
|
||||||
new Pair("double", Double.class),
|
new Pair<>("double", Double.class),
|
||||||
new Pair("boolean", Boolean.class)
|
new Pair<>("boolean", Boolean.class)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user