mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
Add needed cast to ensure type is derived from Enum
This commit is contained in:
parent
aa091be77d
commit
338c56e6ae
@ -1,4 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
|
|
||||||
This file is
|
This file is
|
||||||
@ -50,7 +50,7 @@
|
|||||||
</Method>
|
</Method>
|
||||||
<Method>
|
<Method>
|
||||||
<Imports />
|
<Imports />
|
||||||
<Java>Enum.valueOf(${enumType}, ${value})</Java>
|
<Java>Enum.valueOf(((Class<? extends Enum>))${enumType}, ${value})</Java>
|
||||||
<Params>
|
<Params>
|
||||||
<Param>
|
<Param>
|
||||||
<Type>System.Type</Type>
|
<Type>System.Type</Type>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user