I have in an input stream the complete source code of a class. Is it possible to use Javassist to create a new CtClass
object for this class ?.
I know that with the name of the class is possible to create a new CtClass
object with something like:
ClassPool.getDefault().makeClass("name_of_the_new_class");
But in my case I do not know the name of the class in advance, but just its complete source code (of course I could get the name of the class parsing the source code, but please do not tell me that this is part of the solution :-) )