Community

JBREFLECT-5 - Implementing generics in JavassistClassInfo

reply from Kabir Khan in JBoss Microcontainer Development - View the full discussion

      Type t1 = DeleteMe.class.getDeclaredMethod("m1").getGenericReturnType();       Type t2 = DeleteMe.class.getDeclaredMethod("m1").getGenericReturnType();

Should be

 

      Type t1 = DeleteMe.class.getDeclaredMethod("m1").getGenericReturnType();
      Type t2 = DeleteMe.class.getDeclaredMethod("m2").getGenericReturnType();

 

but the result is the same

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer Development at Community