Commit 8ba718f9 authored by Lionel Seinturier's avatar Lionel Seinturier
Browse files

Use the refactored UClass.

parent 14a0bfc7
......@@ -230,7 +230,9 @@ public class TinfiParserSupportImpl implements ADLParserSupportItf {
* gt is expected to be of the form "type<generic>".
* Extract generic to retrieve the type of the reference.
*/
String gt = field.getGenericType();
Class<?> rtype = field.field.getType();
UClass uc2 = UClass.get(rtype);
String gt = uc2.toString(uc2.cl);
String[] strs = gt.split("<");
if( strs.length != 2 ) {
final String msg =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment