Ricardo Ferreira [http://community.jboss.org/people/rfer] created the discussion

"Method returning Class<?>"

To view the discussion, visit: http://community.jboss.org/message/556019#556019

--------------------------------------------------------------
Hello all,

I just started using Javassist, and so far I find it very flexible and easy to 
use.

However, I'm trying to add a method to a class, which return type should be 
"Class<?>". I'm getting an error when compiling the method though, a simple 
CannotCompileException with syntax error near "Class<?>". If just returning 
"Class", everything works fine. But for the sake of correctness I'd like to 
return "Class<?>".

Is there any way to go around this?

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/556019#556019]

Start a new discussion in Javassist at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2062]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to