Prabhath Suminda [https://community.jboss.org/people/prabhathp] created the discussion
"Generating a method with Generics" To view the discussion, visit: https://community.jboss.org/message/748182#748182 -------------------------------------------------------------- Hi, For the project I am workking on I need to generate a class like this. class Foo{ pubic void doSomething(List<String> l){ } } But this falis when I called CtNewMethod.make() for the doSOmething method because of generics. In te documentation it is ssaid that this can be done using low level APIs of Java Assisst but I could not find any documentations on how to do this. So can anyone give a example on how to create the above class. -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/748182#748182] Start a new discussion in Javassist at Community [https://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
