In my code I've a class produced by the Groovy classloader scripting engine, then this class is not in the classpath.
I need to create a CtClass from that class but I failed.
I tried using ClassPool with a ClassClassPath and ClassPool with a LoaderClassPath but it never worked : allways it tries to convert the class name to a URL and it allways obtain a null.
I previous version documentation I found a method CtClass.fromClass but it was removed.
Is there any soultion ?
I need a CtClass just in order to write the Class into a file and reread it after some time.
Tks
Tullio